From fabc0f99148c6ebc2748572aab7e21e5f4249e54 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Mon, 15 Aug 2022 17:14:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/views/parameter/escalationlibrary/index.vue | 9 +++++---- .../components/ParameterCollectionEchart.vue | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/jero-web/src/views/parameter/escalationlibrary/index.vue b/jero-web/src/views/parameter/escalationlibrary/index.vue index 3a5a5c50a..e514ad0be 100644 --- a/jero-web/src/views/parameter/escalationlibrary/index.vue +++ b/jero-web/src/views/parameter/escalationlibrary/index.vue @@ -43,8 +43,8 @@ :columns="columns" > - - {{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }} + + {{ text && text.length > 10 ? text.slice(0, 9) + '...' : text }} @@ -113,8 +113,9 @@ { title: this.$t('entryName'), align: 'center', - width: '10%', - dataIndex: 'projectName' + width: '13%', + dataIndex: 'projectName', + scopedSlots: { customRender: 'projectName' } }, { title: this.$t('ListTitle'), diff --git a/jero-web/src/views/projectManagement/components/ParameterCollectionEchart.vue b/jero-web/src/views/projectManagement/components/ParameterCollectionEchart.vue index 5688112ca..ef1051a7e 100644 --- a/jero-web/src/views/projectManagement/components/ParameterCollectionEchart.vue +++ b/jero-web/src/views/projectManagement/components/ParameterCollectionEchart.vue @@ -5,13 +5,13 @@ - + {{ d.label }} - + {{$t('Thepercentage')}}