Commit e521d8c7 by 乔延琦

Merge branch 'develop-zhouyi' into 'develop'

fix(@gms/gms-plugin-billexpand): 同意驳回提交接口报错时统一提示信息

See merge request GFP/RBC/rbc-frontend!112
parents 18f2def3 98dc2da8
...@@ -187,7 +187,7 @@ export default { ...@@ -187,7 +187,7 @@ export default {
function (error) { function (error) {
bill.setControlsSate(param["_control_name_"], "enable", true) bill.setControlsSate(param["_control_name_"], "enable", true)
bill.setControlsSate(param["_control_name_"], "loading", false) bill.setControlsSate(param["_control_name_"], "loading", false)
GMS.$hideContainer.$Message.error('error') GMS.$hideContainer.$Message.error('工作流配置错误,请联系管理员')
}.bind(this) }.bind(this)
); );
}, },
......
...@@ -100,7 +100,7 @@ export default { ...@@ -100,7 +100,7 @@ export default {
function(error) { function(error) {
bill.setControlsSate(param["_control_name_"], "enable", true) bill.setControlsSate(param["_control_name_"], "enable", true)
bill.setControlsSate(param["_control_name_"],"loading",false) bill.setControlsSate(param["_control_name_"],"loading",false)
GMS.$hideContainer.$Message.error(error) GMS.$hideContainer.$Message.error('工作流配置错误,请联系管理员')
}.bind(this) }.bind(this)
); );
}, },
......
...@@ -98,6 +98,10 @@ export default { ...@@ -98,6 +98,10 @@ export default {
GMS.$hideContainer.$Spin.hide(); GMS.$hideContainer.$Spin.hide();
GMS.$hideContainer.$Message.error("暂存单据异常请联系管理员"); GMS.$hideContainer.$Message.error("暂存单据异常请联系管理员");
} }
}).catch((err) => {
GMS.$hideContainer.$Message.error('工作流配置错误,请联系管理员');
bill.setControlsSate(param["_control_name_"], "enable", true)
bill.setControlsSate(param["_control_name_"],"loading",false)
}) })
} else { } else {
GMS.$hideContainer.$Spin.hide(); GMS.$hideContainer.$Spin.hide();
......
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