From 401388caa4794731a4f6faea7cd8f1e44a410f81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Tue, 17 Oct 2023 17:15:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B9=B3=E5=8F=B0=E4=BB=B6?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E8=AF=A6=E6=83=85=E7=9A=84=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/certificationActivity.vue | 40 ++- .../components/regulatoryCompliance.vue | 233 ++++++++++++++---- 2 files changed, 207 insertions(+), 66 deletions(-) diff --git a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/certificationActivity.vue b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/certificationActivity.vue index a2da1a598..8eb6ebc8c 100644 --- a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/certificationActivity.vue +++ b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/certificationActivity.vue @@ -109,34 +109,42 @@ if (dataSource && dataSource.length > 0) { this.dataSource = [{}] dataSource.forEach(res => { - if (res.taskAffirmStatus == 'Not started') { + if (res.taskAffirmStatus == 'List to be released') { data.push({ value: res.taskAffirmStatusCount, - name: this.$t('notLaunch'), + name: this.$t('listToBeReleased'), color: '#00B3BE', status: res.taskAffirmStatus }) color.push('#00B3BE') - } else if (res.taskAffirmStatus == 'List to confirm') { + } else if (res.taskAffirmStatus == 'List to be checked') { data.push({ value: res.taskAffirmStatusCount, - name: this.$t('listToConfirm'), + name: this.$t('listToBeChecked'), + color: '#4B82FF', + status: res.taskAffirmStatus + }) + color.push('#4B82FF') + } else if (res.taskAffirmStatus == 'Task to be confirmed') { + data.push({ + value: res.taskAffirmStatusCount, + name: this.$t('taskToBeConfirmed'), color: '#FDA71C', status: res.taskAffirmStatus }) color.push('#FDA71C') - } else if (res.taskAffirmStatus == 'Accepted') { + } else if (res.taskAffirmStatus == 'Refusal of responsible person') { data.push({ value: res.taskAffirmStatusCount, - name: this.$t('accept'), + name: this.$t('acceptanceTheResponsiblePerson'), color: '#26BC4B', status: res.taskAffirmStatus }) color.push('#26BC4B') - } else if (res.taskAffirmStatus == 'Rejected') { + }else if (res.taskAffirmStatus == 'Accepted of responsible person') { data.push({ value: res.taskAffirmStatusCount, - name: this.$t('refuse'), + name: this.$t('dutyPersonRejected'), color: '#E83030', status: res.taskAffirmStatus }) @@ -154,22 +162,30 @@ if (dataSource && dataSource.length > 0) { this.dataSource = [{}] dataSource.forEach(res => { - if (res.taskAffirmStatus == 'Not started') { + if (res.taskAffirmStatus == 'Task to be confirmed') { data.push({ value: res.taskAffirmStatusCount, - name: this.$t('notLaunch'), + name: this.$t('taskToBeConfirmed'), color: '#00B3BE', status: res.taskAffirmStatus }) color.push('#00B3BE') - } else if (res.taskAffirmStatus == 'To submit') { + } else if (res.taskAffirmStatus == 'Results to be submitted') { data.push({ value: res.taskAffirmStatusCount, - name: this.$t('toSubmit'), + name: this.$t('resultsToBeSubmitted'), color: '#FDA71C', status: res.taskAffirmStatus }) color.push('#FDA71C') + }else if (res.taskAffirmStatus == 'Results to be reviewed') { + data.push({ + value: res.taskAffirmStatusCount, + name: this.$t('resultsToBeReviewed'), + color: '#745ADB', + status: res.taskAffirmStatus + }) + color.push('#745ADB') } else if (res.taskAffirmStatus == 'Review and pass') { data.push({ value: res.taskAffirmStatusCount, diff --git a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/regulatoryCompliance.vue b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/regulatoryCompliance.vue index 6d1a894a1..8ad75198f 100644 --- a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/regulatoryCompliance.vue +++ b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/regulatoryCompliance.vue @@ -1,11 +1,17 @@