修改催办传参

This commit is contained in:
范强强
2023-03-23 15:52:52 +08:00
parent fe6dc3e74b
commit 8f1eeddc79
2 changed files with 26 additions and 6 deletions
@@ -1527,10 +1527,19 @@
if (formInlineQuestion.expeditingType && formInlineQuestion.expeditingType.length > 0) {
formInlineQuestion.expeditingType = formInlineQuestion.expeditingType.join(',')
}
let operateType = ''
if (this.roleSwitchingCode == '0') {
operateType = 'lawsInventoryStudioExpediting'
} else if (this.roleSwitchingCode == '1') {
operateType = 'lawsInventoryRegulationOwnerExpediting'
} else if (this.roleSwitchingCode == '30') {
operateType = 'lawsInventoryEngineeringInterfacePersonExpediting'
}
let query = {
ids: this.questionIdList.join(','),
projectLibraryId: this.$route.query.id,
expeditingType: formInlineQuestion.expeditingType
expeditingType: formInlineQuestion.expeditingType,
operateType: operateType
}
this.confirmLoadingQuestion = true
postAction('project/projectLawsInventoryEO/expediting', query).then((res) => {
@@ -1616,11 +1625,11 @@
this.dataSource[i].verifyFlowStatus == 'NA'
) &&
(this.dataSource[i].designFlowStatus == 'Results to be submitted' ||
this.dataSource[i].designFlowStatus == 'Results to be reviewed' ||
this.dataSource[i].designFlowStatus == 'Compliance' ||
this.dataSource[i].designFlowStatus == 'Non-Compliance' ||
this.dataSource[i].designFlowStatus == 'To be tracked' ||
this.dataSource[i].designFlowStatus == 'NA'
this.dataSource[i].designFlowStatus == 'Results to be reviewed' ||
this.dataSource[i].designFlowStatus == 'Compliance' ||
this.dataSource[i].designFlowStatus == 'Non-Compliance' ||
this.dataSource[i].designFlowStatus == 'To be tracked' ||
this.dataSource[i].designFlowStatus == 'NA'
)) {
isTrue = true
} else {