fix(测试用例): 自定义字段无法批量编辑#1006271
--bug=1006271 --user=lyh 【github#5726】测试跟踪-测试用例-批量编辑,自定义字段无法批量编辑 https://www.tapd.cn/55049933/s/1042597
This commit is contained in:
parent
66d7e18d36
commit
1f3c4a392b
|
@ -455,6 +455,7 @@ export default {
|
||||||
if (this.$refs.table) {
|
if (this.$refs.table) {
|
||||||
this.$refs.table.reloadTable();
|
this.$refs.table.reloadTable();
|
||||||
}
|
}
|
||||||
|
this.typeArr = [];
|
||||||
getCustomFieldBatchEditOption(template.customFields, this.typeArr, this.valueArr, this.members);
|
getCustomFieldBatchEditOption(template.customFields, this.typeArr, this.valueArr, this.members);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@ -773,7 +774,7 @@ export default {
|
||||||
},
|
},
|
||||||
handleBatchEdit() {
|
handleBatchEdit() {
|
||||||
this.getMaintainerOptions();
|
this.getMaintainerOptions();
|
||||||
this.$refs.batchEdit.open();
|
this.$refs.batchEdit.open(this.$refs.table.selectRows.size);
|
||||||
},
|
},
|
||||||
handleBatchMove() {
|
handleBatchMove() {
|
||||||
this.$refs.testBatchMove.open(this.treeNodes, this.$refs.table.selectIds, this.moduleOptions);
|
this.$refs.testBatchMove.open(this.treeNodes, this.$refs.table.selectIds, this.moduleOptions);
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<ms-tag v-if="value == 'P0'" type="danger" :content="value"/>
|
<ms-tag v-if="value === 'P0'" type="danger" :content="value"/>
|
||||||
<ms-tag v-if="value == 'P1'" type="warning" :content="value"/>
|
<ms-tag v-else-if="value === 'P1'" type="warning" :content="value"/>
|
||||||
<ms-tag v-if="value == 'P2'" effect="light" type="danger" :content="value"/>
|
<ms-tag v-else-if="value === 'P2'" effect="light" type="danger" :content="value"/>
|
||||||
<ms-tag v-if="value == 'P3'" effect="light" type="warning" :content="value"/>
|
<ms-tag v-else-if="value === 'P3'" effect="light" type="warning" :content="value"/>
|
||||||
|
<ms-tag v-else-if="value" :content="value"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue