优化操作流程界面,修改任务列表搜索和排序等
This commit is contained in:
@@ -148,9 +148,10 @@ var $,form;
|
||||
// return;
|
||||
$.post('{{urlfor "RoleController.AjaxSave"}}', data, function (out) {
|
||||
if (out.status == 0) {
|
||||
layer.msg('保存成功了', {icon: 1,shade:0.3,time:1000},function(index){
|
||||
layer.close(index);
|
||||
window.location.href="/role/list"
|
||||
layer.msg('保存成功了,去列表页查看', {icon: 1,shade:0.3,time:1000},function(index){
|
||||
// layer.close(index);
|
||||
// window.location.href="/role/list"
|
||||
window.location.reload()
|
||||
});
|
||||
} else {
|
||||
layer.msg(out.message)
|
||||
|
||||
Reference in New Issue
Block a user