This commit is contained in:
zhutianqi
2021-12-14 15:19:57 +08:00
parent 61840bcb42
commit 25b42d796a
3 changed files with 22 additions and 18 deletions
@@ -573,22 +573,26 @@ export default {
handleSave() {
},
handleSubmit() {
this.isSubmit = true
var json = this.json
json.actionFlag = 0
json.commentText = this.commentText
json.spId = this.form.spId
json.spName = this.form.spName
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
userId: this.$store.getters.userInfo.userId
}, {}, res => {
if (res.success) {
this.$message.success('提交成功')
this.$router.push('/processCenter')
this.$refs['bzzqyjForm'].validate((valid) => {
if (valid) {
this.isSubmit = true
var json = this.json
json.actionFlag = 0
json.commentText = this.commentText
json.spId = this.form.spId
json.spName = this.form.spName
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
userId: this.$store.getters.userInfo.userId
}, {}, res => {
if (res.success) {
this.$message.success('提交成功')
this.$router.push('/processCenter')
}
this.isSubmit = false
})
}
this.isSubmit = false
})
},
// handleSubmitNo() {
@@ -427,7 +427,7 @@ export default {
} else {
this.isSubmit = true;
var json = this.json;
json.actionFlag = 0;
json.hqFlag = '0';
json.commentText = this.commentText;
this.$http.post("lawss/activiti/completeTask", {
json: JSON.stringify(json),
@@ -446,7 +446,7 @@ export default {
if (this.commentText) {
this.isSubmit = true;
var json = this.json;
json.actionFlag = 1;
json.hqFlag = '1';
json.commentText = this.commentText;
this.$http.post("lawss/activiti/completeTask", {
json: JSON.stringify(json),
@@ -658,7 +658,7 @@ export default {
prcType: row.prcType
}
})
} else if (row.taskInfo === '部长+对接人审核') {
} else if (row.taskInfo === '标准法规工程师汇总') {
this.$router.push({
name: 'bzzqyjStep7',
query: {