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