diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue index 1fb67f214..48c48daf7 100644 --- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue +++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue @@ -456,6 +456,40 @@ + + + + +
+
+ * + {{ $t('roleSwitching') }} +
+ + + + + + {{ item.roleName }} + + + + +
+
+
+
+
{{ $t('dataLoading') }} {{ $t('Submitting') }} @@ -510,6 +544,8 @@ data() { return { toggleSearchStatus: false, + visibleQuestion: false, + confirmLoadingQuestion: false, roleSwitchingList: [], listTitle: '', orderBy: '1', @@ -1155,12 +1191,20 @@ //流程状态点击事件 designFlowStatusClick(row, name) { let query = {} + let TaskKey = '' if (name == this.$t('designComplianceReview')) { + if (row.designFlowStatus == 'Task to be confirmed') { + TaskKey = 'zrrqr' + } else if (row.designFlowStatus == 'Results to be submitted') { + TaskKey = 'zrrtjjfw' + } else if (row.designFlowStatus == 'Results to be reviewed') { + TaskKey = 'fggcssh' + } query = { - actiProcInstId: row.actiProcInstId, + actiProcInstId: row.designPId, projectTaskInventoryId: row.id, projectLibraryId: row.projectLibraryId, - TaskKey: row.taskDefinitionKey, + TaskKey: TaskKey, isDisplay: false, flowType: 2, Sponsor: 'regulationOwnerName', @@ -1174,9 +1218,16 @@ projectNameId: row.projectNameId, primaryKeyId: row.primaryKeyId } - }else{ + } else { + if (row.verifyFlowStatus == 'Task to be confirmed') { + TaskKey = 'zrrqr' + } else if (row.verifyFlowStatus == 'Results to be submitted') { + TaskKey = 'zrrtjjfw' + } else if (row.verifyFlowStatus == 'Results to be reviewed') { + TaskKey = 'fggcssh' + } query = { - actiProcInstId: row.actiProcInstId, + actiProcInstId: row.verifyPId, projectTaskInventoryId: row.id, projectLibraryId: row.projectLibraryId, TaskKey: row.taskDefinitionKey, @@ -1191,7 +1242,7 @@ projectName: row.projectName, targetMarket: row.targetMarket, projectNameId: row.projectNameId, - primaryKeyId: row.primaryKeyId, + primaryKeyId: row.primaryKeyId } } this.$refs.designComplianceRef.getList(JSON.parse(JSON.stringify(query)), name) @@ -1740,6 +1791,7 @@ this.queryParamQuery = sqp this.getList() }, + tableOnChange(pagination, filters, sorter) { this.orderBy = sorter.order == 'ascend' ? '1' : '2' if (sorter.columnKey == 'attestationRank_dictText') { @@ -1751,6 +1803,7 @@ } this.getList() }, + getHeader() { getAction('head/headCustomEO/list', { moduleFlag: '法规清单' diff --git a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/SentList.vue b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/SentList.vue index 11bef884b..4b4c5c89a 100644 --- a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/SentList.vue +++ b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/SentList.vue @@ -213,6 +213,9 @@ if (row.taskId.length > 30) { row.taskId = '' } + if (row.taskDefinitionKey == 'fqlc'){ + row.taskId = '' + } query = { router: row.router, taskIds: row.taskId, @@ -278,6 +281,9 @@ if (row.taskId.length > 30) { row.taskId = '' } + if (row.taskDefinitionKey == 'fqlc'){ + row.taskId = '' + } query = { router: row.router, taskIds: row.taskId, diff --git a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/doneList.vue b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/doneList.vue index 2e44fdfd3..74873bffe 100644 --- a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/doneList.vue +++ b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/doneList.vue @@ -208,6 +208,9 @@ if (row.taskId.length > 30) { row.taskId = '' } + if (row.taskDefinitionKey == 'fqlc'){ + row.taskId = '' + } query = { router: row.router, taskIds:row.taskId, @@ -272,6 +275,9 @@ if (row.taskId.length > 30) { row.taskId = '' } + if (row.taskDefinitionKey == 'fqlc'){ + row.taskId = '' + } query = { router: row.router, taskIds: row.taskId,