From 2e3c94de2aa941fb15b1d7c59564d3a575fab7b5 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 11 Aug 2022 09:50:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93=E5=B7=B2?= =?UTF-8?q?=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/modules/defaultTemplate.vue | 4 ++-- .../components/modules/fillAdd.vue | 12 ++++++++++++ .../components/modules/fillTable.vue | 5 +++-- .../documentTools/documentTranslation/index.vue | 14 ++++++++------ 4 files changed, 25 insertions(+), 10 deletions(-) diff --git a/jero-web/src/views/businessSupport/regulationReport/components/modules/defaultTemplate.vue b/jero-web/src/views/businessSupport/regulationReport/components/modules/defaultTemplate.vue index d091d3d9b..ace3619da 100644 --- a/jero-web/src/views/businessSupport/regulationReport/components/modules/defaultTemplate.vue +++ b/jero-web/src/views/businessSupport/regulationReport/components/modules/defaultTemplate.vue @@ -391,8 +391,8 @@ this.formInline = { ...this.formInline } } else { this.formInline = {} - this.formInline.lawsContact = this.userInfo().username - this.formInline.lawsContactName = this.userInfo().id + this.formInline.lawsContact = this.userInfo().id + this.formInline.lawsContactName = this.userInfo().username this.formInline = { ...this.formInline } } }) diff --git a/jero-web/src/views/businessSupport/regulationReport/components/modules/fillAdd.vue b/jero-web/src/views/businessSupport/regulationReport/components/modules/fillAdd.vue index ca2803ca7..ffa3a6543 100644 --- a/jero-web/src/views/businessSupport/regulationReport/components/modules/fillAdd.vue +++ b/jero-web/src/views/businessSupport/regulationReport/components/modules/fillAdd.vue @@ -384,4 +384,16 @@ height: 38px; margin-top: 4px; } + + ::v-deep .ant-select-tree-treenode-switcher-close { + width: 255px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + ::v-deep .ant-select-tree-node-content-wrapper{ + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } \ No newline at end of file diff --git a/jero-web/src/views/businessSupport/regulationReport/components/modules/fillTable.vue b/jero-web/src/views/businessSupport/regulationReport/components/modules/fillTable.vue index df745bf88..55010c29d 100644 --- a/jero-web/src/views/businessSupport/regulationReport/components/modules/fillTable.vue +++ b/jero-web/src/views/businessSupport/regulationReport/components/modules/fillTable.vue @@ -84,12 +84,13 @@ title: this.$t('chineseTitle'), align: 'center', dataIndex: 'titleCn', - width: 210 + ellipsis: true, + width: 320 }, { title: this.$t('englishTitle'), align: 'center', - width: 210, + width: 320, ellipsis: true, dataIndex: 'titleEn' }, diff --git a/jero-web/src/views/documentTools/documentTranslation/index.vue b/jero-web/src/views/documentTools/documentTranslation/index.vue index e0521ba0c..aea26d78f 100644 --- a/jero-web/src/views/documentTools/documentTranslation/index.vue +++ b/jero-web/src/views/documentTools/documentTranslation/index.vue @@ -100,8 +100,8 @@ v-if="record.createBy == userInfoQuery.username && record.releaseCondition == 'draft'" @click="deleteData(record)">{{$t('delete')}} - - {{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }} + + {{ text}} @@ -150,7 +150,7 @@ }, toggleSearchStatus: false, loading: false, - dataSource: [{}], + dataSource: [], selectedRowKeys: [], total: 0, pageSize: 10, @@ -164,14 +164,16 @@ align: 'center', dataIndex: 'serialNumber', width: 170, - scopedSlots: { customRender: 'title' } + ellipsis: true, + scopedSlots: { customRender: 'standardTitle' } }, { title: this.$t('title'), align: 'center', dataIndex: 'title', width: 170, - scopedSlots: { customRender: 'title' } + ellipsis: true, + scopedSlots: { customRender: 'standardTitle' } }, { title: this.$t('TextStatus'), @@ -254,7 +256,7 @@ this.pageNo = page this.getList() }, - SizeChange(page,pageSize) { + SizeChange(page, pageSize) { this.pageNo = 1 this.pageSize = pageSize this.getList()