From 1875b0a4b6294aace3211fab75fc4e0604fa91d4 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 26 May 2022 16:00:03 +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 --- .../projectStatusBoard/index.vue | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/jero-web/src/views/projectManagement/projectStatusBoard/index.vue b/jero-web/src/views/projectManagement/projectStatusBoard/index.vue index bf4bae62e..b67d8d3d5 100644 --- a/jero-web/src/views/projectManagement/projectStatusBoard/index.vue +++ b/jero-web/src/views/projectManagement/projectStatusBoard/index.vue @@ -65,14 +65,12 @@ ref="table" size="middle" :loading="loading" + :customRow="projectNameClick" :pagination="false" :scroll="{x: true,y:500}" :data-source="dataSource" :columns="columns" > - - {{text}} - {{this.$t('projectStatus')}}
{{'('+$t('red')+'/'+$t('yellow')+'/'+$t('green')+')'}} @@ -415,10 +413,16 @@ }) }, projectNameClick() { - let newUrl = this.$router.resolve({ - path: '/projectStatusAndProgress' - }) - window.open(newUrl.href, '_blank') + return { + on: { + click: () => { + let newUrl = this.$router.resolve({ + path: '/projectStatusAndProgress' + }) + window.open(newUrl.href, '_blank') + } + } + } } } }