fix(测试跟踪): 去掉用例列表版本字段过滤

--bug=1023461 --user=陈建星 【测试跟踪】功能用例编辑-版本-在其它版本新建-返回用例列表-数据不显示 https://www.tapd.cn/55049933/s/1339375
This commit is contained in:
chenjianxing 2023-02-21 11:51:14 +08:00 committed by jianxing
parent 42885019b3
commit 00eb2b5a17
1 changed files with 0 additions and 10 deletions

View File

@ -169,7 +169,6 @@
:label="$t('project.version.name')" :label="$t('project.version.name')"
:field="item" :field="item"
:fields-width="fieldsWidth" :fields-width="fieldsWidth"
:filters="versionFilters"
min-width="100px" min-width="100px"
prop="versionId"> prop="versionId">
<template v-slot:default="scope"> <template v-slot:default="scope">
@ -360,7 +359,6 @@ export default {
filters: {}, filters: {},
custom: false, custom: false,
}, },
versionFilters: [],
graphData: {}, graphData: {},
batchButtons: [], batchButtons: [],
simpleButtons: [ simpleButtons: [
@ -546,7 +544,6 @@ export default {
this.$emit('testCaseEdit', testCase); this.$emit('testCaseEdit', testCase);
}); });
} }
this.getVersionOptions();
}, },
watch: { watch: {
'$route'(to) { '$route'(to) {
@ -562,7 +559,6 @@ export default {
} }
this.initTableData(); this.initTableData();
this.condition.ids = null; this.condition.ids = null;
this.getVersionOptions();
} }
}, },
selectNodeIds() { selectNodeIds() {
@ -1201,12 +1197,6 @@ export default {
this.refresh(); this.refresh();
}); });
}, },
getVersionOptions() {
if (hasLicense()) {
getVersionFilters(getCurrentProjectID())
.then(r => this.versionFilters = r.data);
}
},
checkVersionEnable() { checkVersionEnable() {
if (!this.projectId) { if (!this.projectId) {
return; return;