fix(UI自动化): UI有关环境配置都不展示环境组
--bug=1020968 --user=张大海 【UI测试】场景&指令详情页、场景列表-定时任务设置、测试计划-UI用例列表-批量执行、环境配置-展示环境组 https://www.tapd.cn/55049933/s/1320062
This commit is contained in:
parent
96c361b0e0
commit
322ab0a9a1
|
@ -2,7 +2,7 @@
|
|||
<div>
|
||||
<el-radio-group v-model="radio" style="width: 100%" @change="radioChange" class="radio-change">
|
||||
<el-radio :label="ENV_TYPE.JSON">{{ $t('workspace.env_group.env_list') }}</el-radio>
|
||||
<el-radio :label="ENV_TYPE.GROUP">{{ $t('workspace.env_group.name') }}<i class="el-icon-tickets mode-span" @click="viewGroup"></i></el-radio>
|
||||
<el-radio :label="ENV_TYPE.GROUP" v-if="showEnvGroup">{{ $t('workspace.env_group.name') }}<i class="el-icon-tickets mode-span" @click="viewGroup"></i></el-radio>
|
||||
</el-radio-group>
|
||||
<div v-for="(pe, pIndex) in eventData" :key="pe.id" v-show="radio === ENV_TYPE.JSON">
|
||||
<el-card shadow="never" style="margin-top: 8px;background: #F5F6F7;border-radius: 4px;">
|
||||
|
@ -110,6 +110,10 @@ export default {
|
|||
}
|
||||
},
|
||||
props:{
|
||||
showEnvGroup: {
|
||||
type : Boolean,
|
||||
default: true
|
||||
},
|
||||
projectIds: Set,
|
||||
projectList:Array,
|
||||
projectEnvMap:Object,
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
:project-env-map="projectEnvListMap"
|
||||
:environment-type="'JSON'"
|
||||
:has-option-group="false"
|
||||
:show-env-group="false"
|
||||
:group-id="runConfig.environmentGroupId"
|
||||
@setProjectEnvMap="setProjectEnvMap"
|
||||
ref="envSelectPopover"
|
||||
|
|
Loading…
Reference in New Issue