Commit 9c0c5629 authored by 黄卓's avatar 黄卓

【客户管理】新建或者编辑客户基本信息后,点击保存或者取消按钮无响应,后台未发送请求(无法在后台新建客户)

http://zentao.jdshangmen.com/bug-view-159.html
parent 043b0543
...@@ -514,6 +514,8 @@ export default { ...@@ -514,6 +514,8 @@ export default {
// this.getList(); // this.getList();
const obj = { path: "/customer/customer" }; const obj = { path: "/customer/customer" };
this.$tab.closeOpenPage(obj); this.$tab.closeOpenPage(obj);
}).catch(e => {
this.$modal.msgError(e.msg || '添加客户失败,请联系管理员')
}); });
return; return;
} }
...@@ -522,6 +524,10 @@ export default { ...@@ -522,6 +524,10 @@ export default {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
// this.getList(); // this.getList();
const obj = { path: "/customer/customer" };
this.$tab.closeOpenPage(obj);
}).catch(e => {
this.$modal.msgError(e.msg || '添加客户失败,请联系管理员')
}); });
}); });
}, },
......
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