fix(项目设置): 功能用例模板编辑页,去掉用例类型表单

--bug=1024907 --user=陈建星 【项目设置】github#23183,功能用例的模板详情页,出现冗余选择框,应去掉 https://www.tapd.cn/55049933/s/1356607
This commit is contained in:
chenjianxing 2023-03-28 16:37:29 +08:00 committed by jianxing
parent 54a89819f4
commit b4519f858a
1 changed files with 0 additions and 19 deletions

View File

@ -10,21 +10,6 @@
scene="TEST_CASE" scene="TEST_CASE"
ref="fieldTemplateEdit"> ref="fieldTemplateEdit">
<template v-slot:base>
<el-form-item :label="$t('api_test.home_page.failed_case_list.table_coloum.case_type')" prop="type"
:label-width="labelWidth">
<el-select :disabled="isSystem" filterable v-model="form.type"
:placeholder="$t('api_test.home_page.failed_case_list.table_coloum.case_type')">
<el-option
v-for="item in caseTypeOption"
:key="item.value"
:label="item.text"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</template>
<template v-slot:default> <template v-slot:default>
<el-form-item :label="$t('test_track.case.name')" prop="caseName" :label-width="labelWidth"> <el-form-item :label="$t('test_track.case.name')" prop="caseName" :label-width="labelWidth">
<el-input v-model="form.caseName" autocomplete="off"></el-input> <el-input v-model="form.caseName" autocomplete="off"></el-input>
@ -56,7 +41,6 @@ import draggable from 'vuedraggable';
import TemplateComponentEditHeader import TemplateComponentEditHeader
from "./ext/TemplateComponentEditHeader"; from "./ext/TemplateComponentEditHeader";
import MsFormDivider from "metersphere-frontend/src/components/MsFormDivider"; import MsFormDivider from "metersphere-frontend/src/components/MsFormDivider";
import {CASE_TYPE_OPTION} from "metersphere-frontend/src/utils/table-constants";
import CustomFieldFormList from "./CustomFieldFormList"; import CustomFieldFormList from "./CustomFieldFormList";
import CustomFieldRelateList from "./CustomFieldRelateList"; import CustomFieldRelateList from "./CustomFieldRelateList";
import FieldTemplateEdit from "./FieldTemplateEdit"; import FieldTemplateEdit from "./FieldTemplateEdit";
@ -107,9 +91,6 @@ export default {
}; };
}, },
computed: { computed: {
caseTypeOption() {
return new CASE_TYPE_OPTION();
},
isSystem() { isSystem() {
return this.form.system; return this.form.system;
} }