From bcb646727c7169fd6f312fdf04a0928730e41fb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Tue, 5 Mar 2024 17:29:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8B=86=E8=A7=A3=E5=8D=95):=20=E6=B0=B4?= =?UTF-8?q?=E5=B9=B3=E8=B6=8A=E6=9D=83=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/StandardResolutionSheet.vue | 24 ++++++++++++++++--- .../documentSplit/StandardSplitSheet.vue | 2 +- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/src/components/StandardResolutionSheet.vue b/src/components/StandardResolutionSheet.vue index 9c36c5a9..4c2ec34e 100644 --- a/src/components/StandardResolutionSheet.vue +++ b/src/components/StandardResolutionSheet.vue @@ -96,6 +96,14 @@ import { FieldType } from '@/enums/commonEnums' export default { name: 'StandardResolutionSheet', + props: { + // 是否文档拆分处查看 + horizontalOverstep: { + type: Boolean, + required: false, + default: false + } + }, data () { return { showClauseLabel: true, // 是否展示条文标签 @@ -130,7 +138,13 @@ export default { }, initDetailInfo () { this.loading = true - previewDocSplit(this.queryParams).then(res => { + const params = { + ...this.queryParams + } + if (this.horizontalOverstep) { + params.horizontalOverstep = true + } + previewDocSplit(params).then(res => { if (res.success) { const data = res.result || {} this.treeData = data.sarFileSplitMenuEO || [] @@ -237,8 +251,10 @@ export default { height: 100%; position: relative; transition: width .2s linear; - /deep/ .ant-tree li .ant-tree-node-content-wrapper{ + + /deep/ .ant-tree li .ant-tree-node-content-wrapper { max-width: calc(100% - 24px); + &:hover { max-width: 100%; } @@ -434,12 +450,14 @@ export default { /deep/ table { width: 100%; border: 1px solid; + td { border: 1px solid; } } + /deep/ img.wordImg { - width: auto!important; + width: auto !important; max-width: 100%; } } diff --git a/src/views/documentTool/documentSplit/StandardSplitSheet.vue b/src/views/documentTool/documentSplit/StandardSplitSheet.vue index 83f2554b..1c1d12b2 100644 --- a/src/views/documentTool/documentSplit/StandardSplitSheet.vue +++ b/src/views/documentTool/documentSplit/StandardSplitSheet.vue @@ -1,6 +1,6 @@