|
|
|
@ -46,8 +46,9 @@
|
|
|
|
|
var options = {
|
|
|
|
|
uniqueId: "id",
|
|
|
|
|
url: prefix + "/list",
|
|
|
|
|
removeUrl: prefix + "/remove",
|
|
|
|
|
queryParams: queryParams,
|
|
|
|
|
modalName: "考试",
|
|
|
|
|
modalName: "考试错题",
|
|
|
|
|
columns: [
|
|
|
|
|
{
|
|
|
|
|
field : 'title',
|
|
|
|
@ -68,6 +69,8 @@
|
|
|
|
|
formatter: function(value, row, index) {
|
|
|
|
|
var actions = [];
|
|
|
|
|
actions.push('<a class="btn btn-success btn-xs ' + '" href="javascript:void(0)" onclick="detail(\'' + row.quId + '\')"><i class="fa fa-edit"></i>详情</a> ');
|
|
|
|
|
actions.push('<a class="btn btn-danger btn-xs" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
|
|
|
|
|
|
|
|
|
|
return actions.join('');
|
|
|
|
|
}
|
|
|
|
|
}]
|
|
|
|
|