refactor: LgbTable 删除按钮返回事件统一返回行集合
This commit is contained in:
parent
b3b71a143f
commit
55cf7a2d0c
|
@ -167,7 +167,7 @@
|
|||
url: options.url, data: iDs, method: 'delete', title: options.delTitle, logData: arrselections,
|
||||
callback: function (result) {
|
||||
if (result) $(options.bootstrapTable).bootstrapTable('refresh');
|
||||
handlerCallback.call(that, null, element, { oper: 'del', success: result, data: iDs });
|
||||
handlerCallback.call(that, null, element, { oper: 'del', success: result, data: arrselections });
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -167,7 +167,7 @@
|
|||
url: options.url, data: iDs, method: 'delete', title: options.delTitle, logData: arrselections,
|
||||
callback: function (result) {
|
||||
if (result) $(options.bootstrapTable).bootstrapTable('refresh');
|
||||
handlerCallback.call(that, null, element, { oper: 'del', success: result });
|
||||
handlerCallback.call(that, null, element, { oper: 'del', success: result, data: arrselections });
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -240,7 +240,7 @@
|
|||
url: op.url, data: iDs, method: 'delete', title: '删除数据', logData: data,
|
||||
callback: function (result) {
|
||||
if (result) $(op.table).bootstrapTable('refresh');
|
||||
handlerCallback.call(op.src, null, e, { oper: 'del', success: result });
|
||||
handlerCallback.call(op.src, null, e, { oper: 'del', success: result, data: data });
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue