对接设计符合性确认

This commit is contained in:
qq787203167
2022-05-10 09:58:13 +08:00
parent 1add665a46
commit b6313d30fc
2 changed files with 27 additions and 11 deletions
@@ -69,7 +69,8 @@
url: {
urlFrom: 'project/projectLibraryBase/queryById',
queryProjectLawsInventoryInfoById: 'project/projectLawsInventoryEO/queryProjectLawsInventoryInfoById',
queryTaskDetailByTaskIds: '/task/queryTaskDetailByTaskIds'
queryTaskDetailByTaskIds: '/task/queryTaskDetailByTaskIds',
edit: '/project/projectTaskInventoryDetailEO/edit'
},
queryBy: {},
queryProject: {},
@@ -256,9 +257,10 @@
if (res.success) {
this.$message.success(this.$t('OperationSuccessful'))
this.loading = false
this.edit()
this.$router.push({
path: '/ProjectDetails',
query: this.$route.query
query: this.$route.query.primaryKeyId
})
} else {
this.loading = false
@@ -266,6 +268,17 @@
}
})
},
edit() {
let query = {
id: this.$route.query.primaryKeyId,
status: 'haveDone'
}
postAction(this.url.edit, query).then((res) => {
if (res.success) {
}
})
},
queryTaskDetailByTask(callback) {
this.loading = true
getAction(this.url.queryTaskDetailByTaskIds, { taskIds: this.$route.query.taskIds }).then((res) => {
@@ -219,7 +219,7 @@
projectTaskInventoryId: val.projectLawsInventoryId,
projectLibraryId: this.$route.query.id,
id: this.$route.query.id,
studioEngineer:this.$route.query.studioEngineer,
studioEngineer: this.$route.query.studioEngineer,
serialNumber: val.serialNumber,
TaskKey: val.designTaskDefinitionKey,
flowType: 2,
@@ -227,8 +227,9 @@
personLiable: 'designDutyName',
typeOfDeliverables: 'designDeliverableType_dictText',
deliverableTemplate: 'designDeliverableTemplate',
projectName:this.$route.query.projectName,
projectNameId:this.$route.query.projectNameId,
projectName: this.$route.query.projectName,
projectNameId: this.$route.query.projectNameId,
primaryKeyId: val.designTaskDetailId
}
break
case 2:
@@ -236,7 +237,7 @@
taskIds: val.prehomoTaskId,
actiProcInstId: val.prehomoPId,
projectTaskInventoryId: val.projectLawsInventoryId,
studioEngineer:this.$route.query.studioEngineer,
studioEngineer: this.$route.query.studioEngineer,
projectLibraryId: this.$route.query.id,
serialNumber: val.serialNumber,
TaskKey: val.prehomoTaskDefinitionKey,
@@ -246,8 +247,9 @@
personLiable: 'prehomoDutyName',
typeOfDeliverables: 'prehomoDeliverableType_dictText',
deliverableTemplate: 'prehomoDeliverableTemplate',
projectName:this.$route.query.projectName,
projectNameId:this.$route.query.projectNameId,
projectName: this.$route.query.projectName,
projectNameId: this.$route.query.projectNameId,
primaryKeyId: val.prehomoTaskDetailId
}
break
case 3:
@@ -256,7 +258,7 @@
actiProcInstId: val.verifyPId,
id: this.$route.query.id,
projectLibraryId: this.$route.query.id,
studioEngineer:this.$route.query.studioEngineer,
studioEngineer: this.$route.query.studioEngineer,
serialNumber: val.serialNumber,
projectTaskInventoryId: val.projectLawsInventoryId,
TaskKey: val.verifyTaskDefinitionKey,
@@ -265,8 +267,9 @@
personLiable: 'verifyDutyName',
typeOfDeliverables: 'verifyDeliverableType_dictText',
deliverableTemplate: 'verifyDeliverableTemplate',
projectName:this.$route.query.projectName,
projectNameId:this.$route.query.projectNameId,
projectName: this.$route.query.projectName,
projectNameId: this.$route.query.projectNameId,
primaryKeyId: val.verifyTaskDetailId
}
break
}