[update] 修改bug88527

This commit is contained in:
lideqin
2024-08-13 13:40:30 +08:00
parent 3d2c396ebd
commit 5b80cfea7e
@@ -6,7 +6,9 @@
:closable="true" :closable="true"
switchFullscreen switchFullscreen
:footer="false" :footer="false"
:class="isFullScreen ? 'full-screen-modal' : ''"
@cancel="handleCancel" @cancel="handleCancel"
@update:fullscreen="updataFullScreen"
:visible="visible"> :visible="visible">
<div class="table-page-search-wrapper"> <div class="table-page-search-wrapper">
@@ -80,7 +82,7 @@
:dataSource="dataSource" :dataSource="dataSource"
:pagination="ipagination" :pagination="ipagination"
:loading="loading" :loading="loading"
:scroll="{x: '100%', y: 'calc(100vh - 500px)'}" :scroll="{x: '100%', y: isFullScreen ? 'calc(100vh - 330px)' : 'calc(100vh - 500px)'}"
@change="handleTableChange"> @change="handleTableChange">
<!--增加数据字典双语翻译的插槽--> <!--增加数据字典双语翻译的插槽-->
@@ -261,7 +263,8 @@ export default {
}, },
disableMixinCreated: true, disableMixinCreated: true,
image: false, image: false,
imageUrl: '' imageUrl: '',
isFullScreen: false
} }
}, },
mounted () { mounted () {
@@ -283,6 +286,10 @@ export default {
} }
}) })
}, },
// 全屏切换
updataFullScreen (value) {
this.isFullScreen = value
},
// 显示条款内容弹框 // 显示条款内容弹框
showContent (val) { showContent (val) {
this.$refs.splitClauseDetail.open(val) this.$refs.splitClauseDetail.open(val)
@@ -320,4 +327,10 @@ export default {
/deep/ .ant-form-item-label { /deep/ .ant-form-item-label {
min-width: 70px !important; min-width: 70px !important;
} }
.full-screen-modal {
/deep/ .ant-modal-body {
height: calc(100% - 55px) !important;
}
}
</style> </style>