fix(测试跟踪): 测试用例关联需求时组件重叠

This commit is contained in:
shiziyuan9527 2022-03-25 11:28:07 +08:00 committed by shiziyuan9527
parent 2dc27f1028
commit cbdb15f261

View File

@ -10,14 +10,15 @@
</el-tab-pane>
<el-tab-pane :label="$t('test_track.related_requirements')" name="demand">
<el-col :span="7">
<el-col :span="8">
<el-form-item :label="$t('test_track.related_requirements')" :label-width="labelWidth"
prop="demandId">
<el-cascader v-model="demandValue" :show-all-levels="false" :options="demandOptions" clearable filterable :filter-method="filterDemand"/>
<el-cascader v-model="demandValue" :show-all-levels="false" :options="demandOptions" style="width: 100%"
clearable filterable :filter-method="filterDemand"/>
</el-form-item>
</el-col>
<el-col :span="7">
<el-col :span="8" :offset="2">
<el-form-item :label="$t('test_track.case.demand_name_id')" :label-width="labelWidth" prop="demandName"
v-if="form.demandId=='other'">
<el-input :disabled="readOnly" v-model="form.demandName"></el-input>
@ -333,6 +334,5 @@ export default {
.el-cascader >>> .el-input {
cursor: pointer;
width: 250px;
}
</style>