Commit 95463f6e by mr.wang

线索审批添加提示语

parent 781a646b
...@@ -129,7 +129,7 @@ export default { ...@@ -129,7 +129,7 @@ export default {
if(val) { if(val) {
this.ApproveUsers() this.ApproveUsers()
} }
}, }
}, },
methods: { methods: {
ApproveUsers() { ApproveUsers() {
......
...@@ -309,10 +309,18 @@ export default { ...@@ -309,10 +309,18 @@ export default {
} }
queryUserPz(data).then(res => { queryUserPz(data).then(res => {
if(res.code == "200") { if(res.code == "200") {
this.jzList = res.data if(res.data.length == 0) {
this.$alert('请先添加卷宗后发起审批!', '', {
confirmButtonText: '确定',
callback: action => {
}
})
} else {
this.jzList = res.data
this.spDialogFormVisible = true
}
} }
}) })
this.spDialogFormVisible = true
}, },
// 紧急审批 // 紧急审批
jjApproval() { jjApproval() {
...@@ -322,10 +330,18 @@ export default { ...@@ -322,10 +330,18 @@ export default {
} }
queryUserPz(data).then(res => { queryUserPz(data).then(res => {
if(res.code == "200") { if(res.code == "200") {
this.jzList = res.data if(res.data.length == 0) {
this.$alert('请先添加卷宗后发起审批!', '', {
confirmButtonText: '确定',
callback: action => {
}
})
} else {
this.jzList = res.data
this.spDialogFormVisible2 = true
}
} }
}) })
this.spDialogFormVisible2 = true
}, },
bianji(scope) { bianji(scope) {
const data = { const data = {
......
...@@ -107,7 +107,7 @@ module.exports = { ...@@ -107,7 +107,7 @@ module.exports = {
} }
}, },
"/apiXssp": { "/apiXssp": {
target: "https://39.99.155.173:8006/", // 线索审批管理平台 target: "http://39.99.155.173:8006/", // 线索审批管理平台
changeOrigin: true, changeOrigin: true,
secure: false, secure: false,
......
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