diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index a09d02df0..0fd393253 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -811,4 +811,10 @@ module.exports = { reasonsForRejection:'Reasons for rejection', inconformity:'Non-Compliance', toTrack:'To be tracked', + Launch:'Launch', + maintainProgress:'Maintain', + redSchedule:'Red: not in conformity, and there is no acceptable scheme and schedule', + yellowSchedule:'Yellow: non conformance / to be tracked, with acceptable scheme and schedule', + greenRequirements:'Green: confirm that it meets or meets the current requirements', + blueUndeterminedState:'Blue: undetermined state', } \ 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..7ced33184 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -815,5 +815,11 @@ module.exports = { maintainVirtualList:'维护虚拟清单', reasonsForRejection:'驳回原因', inconformity:'不符合', - toTrack:'待追踪' + toTrack:'待追踪', + Launch:'发起', + maintainProgress:'维护进度', + redSchedule:'红:不符合,且无可接受的方案和时间表', + yellowSchedule:'黄:不符合/待追踪,有可接受的方案和时间表', + greenRequirements:'绿:确认符合或满足当前要求', + blueUndeterminedState:'蓝:未判断状态', } \ 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..54c1bac09 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,19 +106,24 @@
- - 实验通过 + + {{result.certificationProgress_dictText ? result.certificationProgress_dictText : $t('maintainProgress')}}
-
-
+
+
- + @@ -209,17 +220,36 @@ '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: {}, + CurrentColor: { + '1': '#f3dddd', + '2': '#f6ebdb', + '3': '#dbf6e2' + }, + CurrentColorBox: { + '1': '#E83030', + '2': '#FDA71C', + '3': '#26BD4B' + }, 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 +363,9 @@ CurrentProjectClick(val) { let item = JSON.parse(JSON.stringify(val)) this.$refs.TaskListModelRef.getData(item, this.$t('CurrentProjectStatusEvaluation')) + }, + TaskListModelList() { + this.getList() } } } @@ -459,6 +492,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; @@ -490,7 +534,7 @@ height: 28px; line-height: 32px; text-align: center; - background: #dcf7e3; + background: #ddf3f4; border-radius: 50%; } @@ -498,7 +542,7 @@ display: inline-block; width: 14px; height: 14px; - background: #26BD4B; + background: #00B3BE; border-radius: 50%; } @@ -506,16 +550,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; - } \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/projectNonConformance/index.vue b/jero-web/src/views/projectManagement/projectNonConformance/index.vue index 7bab2e5fd..2959f12dd 100644 --- a/jero-web/src/views/projectManagement/projectNonConformance/index.vue +++ b/jero-web/src/views/projectManagement/projectNonConformance/index.vue @@ -318,7 +318,6 @@ }) }, handleExport() { - let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys)) let query = { ...this.queryParam, ncrTrackVOList: this.content