|
@@ -54,22 +54,23 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
title: '编辑',
|
|
|
classname: 'btn btn-success btn-xs btn-magic btn-dialog',
|
|
|
url: 'teacher/info/edit',
|
|
|
- }, {
|
|
|
- name: 'dispatch',
|
|
|
- text: '删除',
|
|
|
- icon: 'fa fa-trash',
|
|
|
- title: '删除',
|
|
|
- classname: 'btn btn-danger btn-xs btn-magic btn-ajax',
|
|
|
- url: 'teacher/info/del',
|
|
|
- confirm: '确定要删除吗?',
|
|
|
- success: function (data, ret) {
|
|
|
- $(".btn-refresh").trigger("click");
|
|
|
- },
|
|
|
- error: function (data, ret) {
|
|
|
- Layer.alert(ret.msg);
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // name: 'dispatch',
|
|
|
+ // text: '删除',
|
|
|
+ // icon: 'fa fa-trash',
|
|
|
+ // title: '删除',
|
|
|
+ // classname: 'btn btn-danger btn-xs btn-magic btn-ajax',
|
|
|
+ // url: 'teacher/info/del',
|
|
|
+ // confirm: '确定要删除吗?',
|
|
|
+ // success: function (data, ret) {
|
|
|
+ // $(".btn-refresh").trigger("click");
|
|
|
+ // },
|
|
|
+ // error: function (data, ret) {
|
|
|
+ // Layer.alert(ret.msg);
|
|
|
+ // return false;
|
|
|
+ // }
|
|
|
+ // }
|
|
|
],
|
|
|
|
|
|
// events: Table.api.events.operate,
|