【手机端】征求意见流程 点驳回没反应

This commit is contained in:
宋伟佳
2022-04-07 17:58:49 +08:00
parent 058e7492ef
commit dd58d319d6
@@ -396,26 +396,28 @@
} }
}) })
}, },
handleSubmitNo() { handleSubmitNo() {
if (this.commentText41) { if (this.commentText41) {
var json = this.json this.isSubmit = true
json.spFlag = '1' var json = this.json
json.commentText = this.commentText41 json.spFlag = '1'
this.$http.post('lawss/activiti/completeTask', { json.commentText = this.commentText41
json: JSON.stringify(json), this.$http.post('lawss/activiti/completeTask', {
taskId: this.taskIds, json: JSON.stringify(json),
userId: this.$store.getters.userInfo.userId taskId: this.taskIds,
}, {}, res => { userId: this.$store.getters.userInfo.userId
if (res.success) { }, {}, res => {
this.$message.success('提交成功') if (res.success) {
this.$router.push('/processCenter') this.$message.success('提交成功')
} this.$router.push('/processCenter')
}) this.isSubmit = false
} else {
this.$message.warning('请输入反馈意见')
} }
})
} else {
this.$message.warning('请输入反馈意见')
}
}, },
getData() { getData() {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
inboundLiaisonDetail({ inboundLiaisonDetail({