Commit 9332e3c4 by qiaoyanqi

问题修改

parent 30d8056f
...@@ -26,11 +26,22 @@ export default { ...@@ -26,11 +26,22 @@ export default {
window.GMS.$http window.GMS.$http
.post("/rbczgh/carryForward/balance",list) .post("/rbczgh/carryForward/balance",list)
.then((res) => { .then((res) => {
if(res.data.code == 0){
context.dom.$Modal.warning({
title: "信息提示",
content: res.data.message,
onOk: () => {
GMS.vbus.$emit("custom-query-refresh");
GMS.vbus.$emit("tab-count-refresh");
},
});
}else{
context.dom.$Modal.warning({ context.dom.$Modal.warning({
title: "信息提示", title: "信息提示",
content: res.data.message, content: res.data.message,
onOk: () => {}, onOk: () => {},
}); });
}
}); });
}, },
}; };
...@@ -26,11 +26,22 @@ export default { ...@@ -26,11 +26,22 @@ export default {
window.GMS.$http window.GMS.$http
.post("/rbczgh/carryForward/project",list) .post("/rbczgh/carryForward/project",list)
.then((res) => { .then((res) => {
if(res.data.code == 0){
context.dom.$Modal.warning({
title: "信息提示",
content: res.data.message,
onOk: () => {
GMS.vbus.$emit("custom-query-refresh");
GMS.vbus.$emit("tab-count-refresh");
},
});
}else{
context.dom.$Modal.warning({ context.dom.$Modal.warning({
title: "信息提示", title: "信息提示",
content: res.data.message, content: res.data.message,
onOk: () => {}, onOk: () => {},
}); });
}
}); });
}, },
}; };
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