fix(测试跟踪): 测试计划管理功能用例页面去掉全屏显示按钮
--bug=1025721 --user=陈建星 【测试跟踪】测试计划-关联功能用例弹框页面的全屏显示功能不生效(没有这个功能) https://www.tapd.cn/55049933/s/1365620
This commit is contained in:
parent
ffd903b7ca
commit
287b384d67
|
@ -12,6 +12,7 @@
|
|||
:enable-cancel="false"
|
||||
@confirm="save"
|
||||
btn-size="mini"
|
||||
:enable-full-screen="false"
|
||||
@fullScreen="isFullScreen = !isFullScreen">
|
||||
<template #other>
|
||||
<table-select-count-bar :count="selectCounts" style="float: left; margin: 5px" />
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
title
|
||||
}}</span>
|
||||
|
||||
<div style="top: 20px; right: 50px; position: absolute">
|
||||
<div style="top: 20px; right: 50px; position: absolute" v-if="enableFullScreen">
|
||||
<el-tooltip
|
||||
effect="dark"
|
||||
:content="$t('commons.full_screen_editing')"
|
||||
|
@ -61,7 +61,13 @@ export default {
|
|||
hideButton: Boolean,
|
||||
enableCancel: Boolean,
|
||||
isButtonSaving: Boolean,
|
||||
isFullScreen:Boolean,
|
||||
isFullScreen: Boolean,
|
||||
enableFullScreen: {
|
||||
type: Boolean,
|
||||
default() {
|
||||
return true;
|
||||
},
|
||||
},
|
||||
},
|
||||
created(){
|
||||
if(this.isFullScreen) {
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
@confirm="save"
|
||||
btn-size="mini"
|
||||
@fullScreen="isFullScreen = !isFullScreen"
|
||||
:is-full-screen.sync="isFullScreen"
|
||||
:enable-full-screen="false"
|
||||
:is-full-screen.sync="enableFullScreen"
|
||||
>
|
||||
<template #other>
|
||||
<table-select-count-bar
|
||||
|
@ -135,6 +136,12 @@ export default {
|
|||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
enableFullScreen: {
|
||||
type: Boolean,
|
||||
default() {
|
||||
return true;
|
||||
},
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
refreshNode() {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<test-case-relevance-base
|
||||
@setProject="setProject"
|
||||
@save="saveCaseRelevance"
|
||||
:enable-full-screen="false"
|
||||
:flag="isTestPlan"
|
||||
:multiple-project="multipleProject"
|
||||
:is-saving="isSaving"
|
||||
|
|
|
@ -9,7 +9,10 @@
|
|||
|
||||
<template slot="title" :slot-scope="$t('test_track.review_view.relevance_case')" v-if="!$slots.headerBtn">
|
||||
<ms-dialog-header :title="$t('test_track.review_view.relevance_case')" @cancel="dialogFormVisible = false"
|
||||
@confirm="saveReviewRelevance" @fullScreen="fullScreen" :is-full-screen.sync="isFullScreen">
|
||||
@confirm="saveReviewRelevance"
|
||||
@fullScreen="fullScreen"
|
||||
:enable-full-screen="false"
|
||||
:is-full-screen.sync="isFullScreen">
|
||||
<template #other>
|
||||
<table-select-count-bar :count="selectCounts" style="float: left; margin: 5px;"/>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue