|
|
|
@ -1321,14 +1321,15 @@ var table = {
|
|
|
|
if ($.common.isEmpty(parent.table)) {
|
|
|
|
if ($.common.isEmpty(parent.table)) {
|
|
|
|
$.modal.msgSuccessReload(result.msg);
|
|
|
|
$.modal.msgSuccessReload(result.msg);
|
|
|
|
} else if (parent.table.options.type == table_type.bootstrapTable) {
|
|
|
|
} else if (parent.table.options.type == table_type.bootstrapTable) {
|
|
|
|
$.modal.close();
|
|
|
|
|
|
|
|
parent.$.modal.msgSuccess(result.msg);
|
|
|
|
parent.$.modal.msgSuccess(result.msg);
|
|
|
|
parent.$.table.refresh();
|
|
|
|
parent.$.table.refresh();
|
|
|
|
} else if (parent.table.options.type == table_type.bootstrapTreeTable) {
|
|
|
|
} else if (parent.table.options.type == table_type.bootstrapTreeTable) {
|
|
|
|
$.modal.close();
|
|
|
|
|
|
|
|
parent.$.modal.msgSuccess(result.msg);
|
|
|
|
parent.$.modal.msgSuccess(result.msg);
|
|
|
|
parent.$.treeTable.refresh();
|
|
|
|
parent.$.treeTable.refresh();
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
parent.$.modal.msgSuccess(result.msg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$.modal.close();
|
|
|
|
} else if (result.code == web_status.WARNING) {
|
|
|
|
} else if (result.code == web_status.WARNING) {
|
|
|
|
$.modal.alertWarning(result.msg)
|
|
|
|
$.modal.alertWarning(result.msg)
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|