From a2f72851dee6a147bcf86c44e0932f121700de88 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 26 May 2022 15:52:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B9=E7=9B=AE=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E7=9C=8B=E6=9D=BF-=E6=97=B6=E9=97=B4=E8=BD=B4-?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E6=97=B6=E9=97=B4=E8=BD=B4=E5=8C=BA=E5=9F=9F?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=85=A8=E5=B1=8F=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/TaskPlanList.vue | 365 +++++++++++++++++- .../components/projectStatusAndProgress.vue | 198 +++++++++- .../projectStatusBoard/index.vue | 17 +- 3 files changed, 571 insertions(+), 9 deletions(-) diff --git a/jero-web/src/views/projectManagement/projectStatusBoard/components/TaskPlanList.vue b/jero-web/src/views/projectManagement/projectStatusBoard/components/TaskPlanList.vue index d0a509823..605349b17 100644 --- a/jero-web/src/views/projectManagement/projectStatusBoard/components/TaskPlanList.vue +++ b/jero-web/src/views/projectManagement/projectStatusBoard/components/TaskPlanList.vue @@ -1,13 +1,372 @@ - \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/projectStatusBoard/components/projectStatusAndProgress.vue b/jero-web/src/views/projectManagement/projectStatusBoard/components/projectStatusAndProgress.vue index 31222304b..743e8bed5 100644 --- a/jero-web/src/views/projectManagement/projectStatusBoard/components/projectStatusAndProgress.vue +++ b/jero-web/src/views/projectManagement/projectStatusBoard/components/projectStatusAndProgress.vue @@ -3,23 +3,213 @@
- {{this.title}} + {{this.$t('projectStatusAndProgress')}}
-
+
+ + + {{this.$t('projectStatus')}}
+ {{'('+$t('red')+'/'+$t('yellow')+'/'+$t('green')+')'}} +
+ + {{this.$t('CertificationProgress')}}
+ {{'('+$t('notInvolved')+'/'+$t('toBeStarted')+'/'+$t('inProgress')+'/'+$t('experimentFailed')+'/'+$t('experimentPassed')+')'}} +
+ + {{this.$t('listConfirmationStatus')}}
+ {{'('+$t('notLaunch')+'/'+$t('toBeConfirmed')+'/'+$t('accept')+'/'+$t('refuse')+')'}} +
+ + {{this.$t('taskAffirmStatus')}}
+ {{'('+$t('notLaunch')+'/'+$t('toBeConfirmed')+'/'+$t('accept')+'/'+$t('refuse')+')'}} +
+ + {{this.$t('designComplianceReview')}}
+ {{'('+$t('toBeConfirmed')+'/'+$t('accord')+'/'+$t('nonConformity')+'/'+$t('Tracked')+'/'+$t('notInvolved')+'/'+$t('taskTermination')+')'}} +
+ + {{this.$t('preHomeConfirmation')}}
+ {{'('+$t('toBeConfirmed')+'/'+$t('accord')+'/'+$t('nonConformity')+'/'+$t('Tracked')+'/'+$t('notInvolved')+'/'+$t('taskTermination')+')'}} +
+ + {{this.$t('verificationComplianceReview')}}
+ {{'('+$t('toBeConfirmed')+'/'+$t('accord')+'/'+$t('nonConformity')+'/'+$t('Tracked')+'/'+$t('notInvolved')+'/'+$t('taskTermination')+')'}} +
+
- \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/projectStatusBoard/index.vue b/jero-web/src/views/projectManagement/projectStatusBoard/index.vue index b2a372396..bf4bae62e 100644 --- a/jero-web/src/views/projectManagement/projectStatusBoard/index.vue +++ b/jero-web/src/views/projectManagement/projectStatusBoard/index.vue @@ -70,6 +70,9 @@ :data-source="dataSource" :columns="columns" > + + {{text}} + {{this.$t('projectStatus')}}
{{'('+$t('red')+'/'+$t('yellow')+'/'+$t('green')+')'}} @@ -374,9 +377,7 @@ myChart.resize() } myChart.on('mouseover', 'yAxis.category', function(e) { - console.log(e) let axisTip = document.querySelector('.axis-tip') - console.log(axisTip) axisTip.innerText = e.value axisTip.style.left = 100 + 'px' axisTip.style.top = (e.event.event.y) - 180 + 'px' @@ -387,6 +388,12 @@ axisTip.innerText = '' axisTip.style.display = 'none' }) + myChart.on('click', (params) => { + let newUrl = this.$router.resolve({ + path: '/TaskPlanList' + }) + window.open(newUrl.href, '_blank') + }) }, searchQuery() { this.getList() @@ -406,6 +413,12 @@ this.dataSource = [] } }) + }, + projectNameClick() { + let newUrl = this.$router.resolve({ + path: '/projectStatusAndProgress' + }) + window.open(newUrl.href, '_blank') } } }