修改任务清单发起的逻辑

This commit is contained in:
qq787203167
2022-05-11 17:25:45 +08:00
parent aff9a33634
commit 586a13f3a2
2 changed files with 8 additions and 5 deletions
@@ -397,7 +397,7 @@
status: 'NotDone',
actiProcInstId: this.$route.query.actiProcInstId,
projectTaskInventoryId: this.$route.query.projectTaskInventoryId,
flowType: '2',
flowType: this.$route.query.flowType,
userIds: this.formInline.userId,
taskDefinitionKey: 'dreDispose',
msgType: 'designIssueDreMsg'
@@ -231,7 +231,7 @@
handleExport() {
},
verifyTaskClick(val, num,isTrue) {
verifyTaskClick(val, num, isTrue) {
let query = {}
switch (num) {
case 1:
@@ -251,7 +251,7 @@
deliverableTemplate: 'designDeliverableTemplate',
projectName: this.$route.query.projectName,
projectNameId: this.$route.query.projectNameId,
primaryKeyId: val.designTaskDetailId,
primaryKeyId: val.designTaskDetailId
}
break
case 2:
@@ -271,7 +271,7 @@
deliverableTemplate: 'prehomoDeliverableTemplate',
projectName: this.$route.query.projectName,
projectNameId: this.$route.query.projectNameId,
primaryKeyId: val.prehomoTaskDetailId,
primaryKeyId: val.prehomoTaskDetailId
}
break
case 3:
@@ -291,7 +291,7 @@
deliverableTemplate: 'verifyDeliverableTemplate',
projectName: this.$route.query.projectName,
projectNameId: this.$route.query.projectNameId,
primaryKeyId: val.verifyTaskDetailId,
primaryKeyId: val.verifyTaskDetailId
}
break
}
@@ -309,12 +309,15 @@
projectLibraryId: this.$route.query.id,
...this.queryParam
}
this.loading = true
getAction(this.url.list, query).then((res) => {
if (res.success) {
this.dataSource = res.result
this.loading = false
// this.dataSource = [{}]
} else {
this.dataSource = []
this.loading = false
}
})
},