feat: There is no way the, 动态消息库

This commit is contained in:
super_liu
2022-06-02 16:47:18 +08:00
parent 40eb5276e4
commit 7a3afc0975
7 changed files with 227 additions and 73 deletions
@@ -2298,6 +2298,7 @@
// this.sarStandardsInfoEO.country = item.country.split(",");
// }
this.fileInfoHandle()
this.isSubmit = true
this.saveLoading = true
let _formData = new FormData()
_formData.append('id', this.bpnId || '')
@@ -2313,10 +2314,12 @@
commentText: this.formTongGuo.commentText
}))
saveTaskForPub(_formData).then(res => {
this.isSubmit = false
this.saveLoading = false
this.$message.success('保存成功')
this.bpnId = res.result
}).catch(e => {
this.isSubmit = false
this.saveLoading = false
})
},
@@ -2339,6 +2339,7 @@
// }
this.fileInfoHandle()
this.saveLoading = true
this.isSubmit = true
let _formData = new FormData()
_formData.append('id', this.bpnId || '')
_formData.append('createUser', this.$store.getters.userInfo.userId)
@@ -2355,10 +2356,12 @@
}))
saveTaskForPub(_formData).then(res => {
this.saveLoading = false
this.isSubmit = false
this.$message.success('保存成功')
this.bpnId = res.result
}).catch(e => {
this.saveLoading = false
this.isSubmit = false
})
},
fileInfoHandle(){
@@ -2475,6 +2478,7 @@
this.$refs['formTongGuo'].validate((valid) => {
if (valid) {
this.isSubmit = true
this.saveLoading = true
this.form.commentText = this.formTongGuo.commentText
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
this.form.topId = this.pId
@@ -2490,7 +2494,7 @@
// this.$message.success(res.message)
// 流程提交之后,应该流转至待办任务页面
this.isSubmit = false
this.submitLoading = false
this.saveLoading = false
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// this.processCreateBuss(json)
// if(this.formTongGuo.approvalOpinion === '1'){
@@ -2502,6 +2506,8 @@
// this.processCreateLaws(json)
// }
}else {
this.isSubmit = false
this.saveLoading = false
this.$message.success(res.message)
}
})
@@ -2340,6 +2340,7 @@
// this.sarStandardsInfoEO.country = item.country.split(",");
// }
this.fileInfoHandle()
this.isSubmit = true
this.saveLoading = true
let _formData = new FormData()
_formData.append('id', this.bpnId || '')
@@ -2356,10 +2357,12 @@
commentText: this.formTongGuo.commentText
}))
saveTaskForPub(_formData).then(res => {
this.isSubmit = false
this.saveLoading = false
this.$message.success('保存成功')
this.bpnId = res.result
}).catch(e => {
this.isSubmit = false
this.saveLoading = false
})
},
@@ -2479,6 +2482,7 @@
this.$refs['formTongGuo'].validate((valid) => {
if (valid) {
this.isSubmit = true
this.saveLoading = true
this.form.commentText = this.formTongGuo.commentText
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
this.form.topId = this.pId
@@ -2494,6 +2498,7 @@
// this.$message.success(res.message)
// 流程提交之后,应该流转至待办任务页面
this.isSubmit = false
this.saveLoading = false
this.processCreateBuss(json)
// if(this.formTongGuo.approvalOpinion === '1'){
// this.$message.warning("驳回成功")
@@ -2504,6 +2509,8 @@
// this.processCreateLaws(json)
// }
}else {
this.isSubmit = false
this.saveLoading = false
this.$message.success(res.message)
}
})