fix(UI 自动化): 测试计划关联高级查询对话框全屏显示

--bug=1016151 --user=张大海 【测试跟踪】测试计划-UI测试用例-关联测试用例-弹框-点击全屏按钮无反应 https://www.tapd.cn/55049933/s/1234399.cn/55049933/s/1234371
This commit is contained in:
zhangdahai112 2022-08-26 13:34:36 +08:00 committed by zhangdahai112
parent c91ab709ee
commit 1015c4e993
2 changed files with 5 additions and 3 deletions

View File

@ -5,6 +5,7 @@
:width="width ? width : '75%'" v-loading="result.loading"
:close-on-click-modal="false"
:destroy-on-close="true"
:fullscreen="fullScreen"
top="50px" append-to-body>
<template #title>
@ -52,7 +53,7 @@
dialogVisible: false,
};
},
props: ['title', 'width'],
props: ['title', 'width', 'fullScreen'],
methods: {
open() {
this.dialogVisible = true;

View File

@ -1,5 +1,5 @@
<template>
<relevance-dialog :width="width" :title="dialogTitle" ref="relevanceDialog">
<relevance-dialog :width="width" :title="dialogTitle" ref="relevanceDialog" :full-screen="isFullScreen">
<!-- todo -->
<template slot="headerBtn" v-if="$slots.headerBtn">
<div>
@ -7,7 +7,7 @@
</div>
</template>
<template slot="title" slot-scope="{title}" v-if="!$slots.headerBtn">
<ms-dialog-header :title="title" :enable-cancel="false" @confirm="save" btn-size="mini">
<ms-dialog-header :title="title" :enable-cancel="false" @confirm="save" btn-size="mini" @fullScreen="isFullScreen=!isFullScreen">
<template #other>
<table-select-count-bar :count="selectCounts" style="float: left; margin: 5px;"/>
@ -68,6 +68,7 @@ export default {
workspaceList: [],
currentWorkSpaceId: '',
selectCounts: null,
isFullScreen: false
};
},
props: {