5986eeb5 by liangyifan

业务申请 错误提示优化

1 parent da0a783c
...@@ -145,7 +145,6 @@ export default { ...@@ -145,7 +145,6 @@ export default {
145 message: '已取消删除' 145 message: '已取消删除'
146 }); 146 });
147 }); 147 });
148 console.log(999999999999999);
149 }, 148 },
150 ywhClick (item) { 149 ywhClick (item) {
151 const { href } = this.$router.resolve('/fqsq?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid) 150 const { href } = this.$router.resolve('/fqsq?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid)
......
...@@ -115,9 +115,14 @@ export default { ...@@ -115,9 +115,14 @@ export default {
115 bdcdysz: this.bdcdysz 115 bdcdysz: this.bdcdysz
116 }).then(res => { 116 }).then(res => {
117 this.saveloding = false 117 this.saveloding = false
118 this.$emit("closeDialog") 118 if(res.code==200){
119 this.$emit("closeDialog")
119 const { href } = this.$router.resolve('/fqsq?bsmSlsq=' + res.result.bsmSlsq + '&bestepid=' + res.result.bestepid) 120 const { href } = this.$router.resolve('/fqsq?bsmSlsq=' + res.result.bsmSlsq + '&bestepid=' + res.result.bestepid)
120 window.open(href, '_blank'); 121 window.open(href, '_blank');
122 }else{
123 this.$message.error(res.message)
124 }
125
121 }) 126 })
122 }, 127 },
123 handleSelectionChange (val) { 128 handleSelectionChange (val) {
......