From 348f49b1d10bec2956d1e9665524f8d05be6ced7 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 12 May 2022 16:22:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=AA=E7=AC=A6=E5=90=88?= =?UTF-8?q?=E9=A1=B9=E7=9A=84=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 2 + jero-web/src/common/lang/zh-cn.js | 4 +- .../components/taskCirculationHistory.vue | 10 +- .../projectManagement/components/TaskList.vue | 59 ++++++++---- .../components/TaskListModel.vue | 92 +++++++++++-------- .../projectNonConformance/index.vue | 1 - 6 files changed, 107 insertions(+), 61 deletions(-) diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index a09d02df0..558ec8b23 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -811,4 +811,6 @@ module.exports = { reasonsForRejection:'Reasons for rejection', inconformity:'Non-Compliance', toTrack:'To be tracked', + Launch:'Launch', + maintainProgress:'Maintain' } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index 1c3fb1d94..8bf85de11 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -815,5 +815,7 @@ module.exports = { maintainVirtualList:'维护虚拟清单', reasonsForRejection:'驳回原因', inconformity:'不符合', - toTrack:'待追踪' + toTrack:'待追踪', + Launch:'发起', + maintainProgress:'维护进度' } \ No newline at end of file diff --git a/jero-web/src/views/processCenter/components/taskCirculationHistory.vue b/jero-web/src/views/processCenter/components/taskCirculationHistory.vue index 50d04eb39..8cb57ba70 100644 --- a/jero-web/src/views/processCenter/components/taskCirculationHistory.vue +++ b/jero-web/src/views/processCenter/components/taskCirculationHistory.vue @@ -34,10 +34,12 @@ dataSource: [], loading: false, reviewResult: { - 'conformity': this.$t('accord'), - 'inconformity': this.$t('nonConformity'), - 'to track': this.$t('Tracked'), - 'uninvolved': this.$t('notInvolved') + 'launch':this.$t('Launch'), + 'Compliance': this.$t('accord'), + 'Non-Compliance': this.$t('nonConformity'), + 'To be tracked': this.$t('Tracked'), + 'NA': this.$t('notInvolved'), + 'No rating': this.$t('toBeConfirmed') }, columns: [ { diff --git a/jero-web/src/views/projectManagement/components/TaskList.vue b/jero-web/src/views/projectManagement/components/TaskList.vue index a969ff589..95c9ac589 100644 --- a/jero-web/src/views/projectManagement/components/TaskList.vue +++ b/jero-web/src/views/projectManagement/components/TaskList.vue @@ -67,7 +67,9 @@
{{$t('Deadline')}}: {{result.designDueDate}}
{{$t('ProcessStatus')}}: {{result.designStatus}}
- + {{statusText[result.designFlowTaskStatus]}}
@@ -79,7 +81,9 @@
{{$t('Deadline')}}: {{result.prehomoDueDate}}
{{$t('ProcessStatus')}}: {{result.prehomoStatus}}
- + {{statusText[result.prehomoFlowTaskStatus]}}
@@ -91,7 +95,9 @@
{{$t('Deadline')}}: {{result.verifyDueDate}}
{{$t('ProcessStatus')}}: {{result.verifyStatus}}
- + {{statusText[result.verifyFlowTaskStatus]}}
@@ -100,8 +106,12 @@
- - 实验通过 + + {{result.certificationProgress_dictText ? result.certificationProgress_dictText : $t('maintainProgress')}}
@@ -112,7 +122,7 @@
- + @@ -209,17 +219,26 @@ 'NA': this.$t('notInvolved'), 'No rating': this.$t('toBeConfirmed') }, - + CertificationColor: { + 'Test passed': 'accordColor', + 'Test failed': 'nonConformityColor', + 'In progress': 'TrackedColor', + 'NA': 'notInvolvedColor', + 'Not start': 'submittedColor' + }, queryParam: {}, url: { list: '/project/projectTaskInventoryEO/list' }, loading: false, - dataSource: [] + dataSource: [], + long: '' } }, mounted() { this.getList() + this.long = localStorage.getItem('language') || 'zh-cn' + }, methods: { ...mapGetters(['userInfo']), @@ -333,6 +352,9 @@ CurrentProjectClick(val) { let item = JSON.parse(JSON.stringify(val)) this.$refs.TaskListModelRef.getData(item, this.$t('CurrentProjectStatusEvaluation')) + }, + TaskListModelList() { + this.getList() } } } @@ -459,6 +481,17 @@ line-height: 32px; } + .box-content-Progress { + width: 88px; + height: 32px; + display: inline-block; + text-align: center; + line-height: 32px; + border-radius: 4px; + background: #dbf6e2; + color: #26BD4B; + } + .accordColor { background: #dbf6e2; color: #26BD4B; @@ -506,16 +539,6 @@ cursor: pointer; } - .box-content-Progress { - width: 88px; - height: 32px; - display: inline-block; - text-align: center; - line-height: 32px; - border-radius: 4px; - background: #dbf6e2; - color: #26BD4B; - }