Commit 9dd1396e by 朱继来

调整

parent bf89fd19
Showing with 2 additions and 2 deletions
......@@ -195,8 +195,8 @@ layui.use(['form', 'table', 'laydate'], function(){
data: datax,
dataType: 'json',
success: function(resp) {
console.log(resp)
if (resp.errcode == 0) {
layer.close(index)
layer.msg(resp.errmsg);
renderTable(); // 重新加载table
$('.search').trigger("click"); // 触发搜索按钮
......@@ -204,7 +204,7 @@ layui.use(['form', 'table', 'laydate'], function(){
return false;
}
layer.close(index)
layer.alert(resp.errmsg);
},
error: function(err) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment