From 831ade21619834e18d42b8daf47722a727ab895f Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Thu, 18 Aug 2022 13:56:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/parameter/escalationlibrary/index.vue | 6 +++--- .../src/views/parameter/parameterexport/index.vue | 12 +++++++----- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/jero-web/src/views/parameter/escalationlibrary/index.vue b/jero-web/src/views/parameter/escalationlibrary/index.vue index e514ad0be..eb17a1c78 100644 --- a/jero-web/src/views/parameter/escalationlibrary/index.vue +++ b/jero-web/src/views/parameter/escalationlibrary/index.vue @@ -36,7 +36,7 @@ size="middle" :loading="loading" :pagination="false" - :scroll="{x: '100%',y:'calc(100vh - 130px)'}" + :scroll="{x: '100%',y:'calc(100vh - 158px)'}" rowKey="id" :data-source="dataSource" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" @@ -44,7 +44,7 @@ > - {{ text && text.length > 10 ? text.slice(0, 9) + '...' : text }} + {{ text && text.length > 20 ? text.slice(0, 19) + '...' : text }} @@ -113,7 +113,7 @@ { title: this.$t('entryName'), align: 'center', - width: '13%', + width: '17%', dataIndex: 'projectName', scopedSlots: { customRender: 'projectName' } }, diff --git a/jero-web/src/views/parameter/parameterexport/index.vue b/jero-web/src/views/parameter/parameterexport/index.vue index 2570f1117..6fbef4e94 100644 --- a/jero-web/src/views/parameter/parameterexport/index.vue +++ b/jero-web/src/views/parameter/parameterexport/index.vue @@ -37,14 +37,14 @@ size="middle" :loading="loading" :pagination="false" - :scroll="{x: '100%',y:'calc(100vh - 140px)'}" + :scroll="{x: '100%',y:'calc(100vh - 160px)'}" rowKey="id" :data-source="dataSource" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :columns="columns" > - {{ text && text.length > 40 ? text.slice(0, 39) + '...' : text }} + {{ text && text.length > 25 ? text.slice(0, 24) + '...' : text }} {{ text && text.length > 25 ? text.slice(0, 21) + '...' : text }} @@ -150,30 +150,32 @@ export default { title: this.$t('templateName'), align: 'center', dataIndex: 'templateName', + width: 300, scopedSlots: { customRender: 'templateName' } }, { title: this.$t('contentDescription'), align: 'center', dataIndex: 'description', + width: 300, scopedSlots: { customRender: 'projectName' } }, { title: this.$t('status'), align: 'center', - width: '5%', + width: 100, dataIndex: 'state_dictText' }, { title: this.$t('creater'), align: 'center', - width: '10%', + width: 100, dataIndex: 'createBy' }, { title: this.$t('Latestupdatetime'), align: 'center', - width: '10%', + width: 180, dataIndex: 'updateTime' }, {