From 5de930333272551452060b451129309a767e8440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Wed, 22 Mar 2023 15:07:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=95=E8=A7=84=E6=B8=85?= =?UTF-8?q?=E5=8D=95=E7=9A=84=E6=B5=81=E7=A8=8B=E7=8A=B6=E6=80=81=E5=BC=B9?= =?UTF-8?q?=E6=A1=86=E3=80=81=E6=89=B9=E9=87=8F=E8=AE=BE=E7=BD=AE=E3=80=81?= =?UTF-8?q?=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/listOfRegulations.vue | 63 +++++++++++++++++-- .../components/SentList.vue | 6 ++ .../components/doneList.vue | 6 ++ 3 files changed, 70 insertions(+), 5 deletions(-) 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,