Commit 3518df7c by fengshuonan

更新提示错误

parent 124dcef7
......@@ -94,7 +94,7 @@ layui.use(['table', 'admin', 'ax', 'form'], function () {
var ajax = new $ax(Feng.ctxPath + "/position/changeStatus", function (data) {
Feng.success("修改成功!");
}, function (data) {
Feng.error("修改成功!");
Feng.error("修改失败!" + data.responseJSON.message);
table.reload(Position.tableId);
});
ajax.set("positionId", positionId);
......
......@@ -65,7 +65,7 @@ layui.use(['layer', 'form', 'admin', 'laydate', 'ax', 'formSelects'], function (
window.location.href = Feng.ctxPath + "/mgr";
}, function (data) {
Feng.error("修改成功!" + data.responseJSON.message)
Feng.error("修改失败!" + data.responseJSON.message)
});
ajax.set(data.field);
ajax.start();
......
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 to comment