fix(测试跟踪): 用例库所属项目不显示
--bug=1023392 --user=陈建星 【测试跟踪】功能用例-公共用例库-查看-所属模块字段与原型不符 https://www.tapd.cn/55049933/s/1338396
This commit is contained in:
parent
9812454f9b
commit
edbcbd544d
|
@ -226,7 +226,7 @@
|
|||
:is-form-alive="isFormAlive"
|
||||
:isloading="loading"
|
||||
:read-only="readOnly"
|
||||
:public-enable="publicEnable"
|
||||
:public-enable="isPublicShow"
|
||||
:show-input-tag="showInputTag"
|
||||
:tree-nodes="treeNodes"
|
||||
:project-list="projectList"
|
||||
|
|
|
@ -1,50 +1,6 @@
|
|||
<template>
|
||||
<div v-loading="isloading" class="case-base-info-form">
|
||||
<el-form ref="caseFrom" :rules="headerRules" :model="form" class="case-padding">
|
||||
<div class="module-row case-wrap" v-if="!publicEnable">
|
||||
<div class="case-title-wrap">
|
||||
<div class="name title-wrap">
|
||||
{{ $t("test_track.case.module") }}
|
||||
</div>
|
||||
<div class="required required-item"></div>
|
||||
</div>
|
||||
|
||||
<div class="side-content">
|
||||
<base-edit-item-component
|
||||
:editable="editable"
|
||||
:auto-save="!readOnly"
|
||||
trigger="hover"
|
||||
:contentObject="{
|
||||
content: getModuleLabel(),
|
||||
contentType: 'SELECT',
|
||||
}"
|
||||
:readonlyHoverEvent="!readOnly"
|
||||
:content-click-event="!readOnly"
|
||||
:model="form"
|
||||
:rules="headerRules"
|
||||
ref="moduleRef"
|
||||
>
|
||||
<template v-slot:content="{ onClick, hoverEditable }">
|
||||
<div :class="hoverEditable ? 'selectHover' : ''">
|
||||
<el-form-item prop="module">
|
||||
<ms-select-tree
|
||||
:disabled="readOnly"
|
||||
:data="treeNodes"
|
||||
:defaultKey="defaultModuleKey"
|
||||
:obj="moduleObj"
|
||||
@getValue="(id, data) => setModule(id, data)"
|
||||
clearable
|
||||
checkStrictly
|
||||
size="small"
|
||||
@selectClick="onClick"
|
||||
@clean="onClick"
|
||||
/>
|
||||
</el-form-item>
|
||||
</div>
|
||||
</template>
|
||||
</base-edit-item-component>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="module-row case-wrap" v-if="publicEnable">
|
||||
<div class="case-title-wrap">
|
||||
|
@ -90,6 +46,52 @@
|
|||
</base-edit-item-component>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="module-row case-wrap">
|
||||
<div class="case-title-wrap">
|
||||
<div class="name title-wrap">
|
||||
{{ $t("test_track.case.module") }}
|
||||
</div>
|
||||
<div class="required required-item"></div>
|
||||
</div>
|
||||
|
||||
<div class="side-content">
|
||||
<base-edit-item-component
|
||||
:editable="editable"
|
||||
:auto-save="!readOnly"
|
||||
trigger="hover"
|
||||
:contentObject="{
|
||||
content: getModuleLabel(),
|
||||
contentType: 'SELECT',
|
||||
}"
|
||||
:readonlyHoverEvent="!readOnly"
|
||||
:content-click-event="!readOnly"
|
||||
:model="form"
|
||||
:rules="headerRules"
|
||||
ref="moduleRef"
|
||||
>
|
||||
<template v-slot:content="{ onClick, hoverEditable }">
|
||||
<div :class="hoverEditable ? 'selectHover' : ''">
|
||||
<el-form-item prop="module">
|
||||
<ms-select-tree
|
||||
:disabled="readOnly"
|
||||
:data="treeNodes"
|
||||
:defaultKey="defaultModuleKey"
|
||||
:obj="moduleObj"
|
||||
@getValue="(id, data) => setModule(id, data)"
|
||||
clearable
|
||||
checkStrictly
|
||||
size="small"
|
||||
@selectClick="onClick"
|
||||
@clean="onClick"
|
||||
/>
|
||||
</el-form-item>
|
||||
</div>
|
||||
</template>
|
||||
</base-edit-item-component>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</el-form>
|
||||
<!-- 自定义字段 -->
|
||||
<el-form
|
||||
|
|
Loading…
Reference in New Issue