fix(测试跟踪): 测试计划关联功能和性能用例版本缺少版本筛选
--bug=1018847 --user=陈建星 【测试跟踪】测试计划-关联性能测试时弹框页面的版本列表字段不可筛选 https://www.tapd.cn/55049933/s/1279626
This commit is contained in:
parent
09bce0f92f
commit
3ebbeae35c
|
@ -25,7 +25,7 @@
|
|||
</ms-table-header>
|
||||
|
||||
<ms-table
|
||||
v-loading="page.result.loading"
|
||||
v-loading="page.loading"
|
||||
:data="page.data"
|
||||
:condition="page.condition"
|
||||
:total="page.total"
|
||||
|
@ -53,7 +53,7 @@
|
|||
<ms-table-column prop="name" :label="$t('commons.name')"/>
|
||||
|
||||
<ms-table-column
|
||||
v-if="versionEnable"
|
||||
v-if="versionEnable && versionFilters"
|
||||
prop="versionId"
|
||||
:filters="versionFilters"
|
||||
:label="$t('commons.version')"
|
||||
|
@ -167,7 +167,7 @@ export default {
|
|||
{text: 'P2', value: 'P2'},
|
||||
{text: 'P3', value: 'P3'}
|
||||
],
|
||||
versionFilters: []
|
||||
versionFilters: null
|
||||
};
|
||||
},
|
||||
props: {
|
||||
|
|
|
@ -54,12 +54,12 @@ export default {
|
|||
}
|
||||
},
|
||||
saveCaseRelevance(param, vueObj) {
|
||||
vueObj.page.result.loading = true;
|
||||
vueObj.page.loading = true;
|
||||
if (param.ids.length > 0) {
|
||||
param.planId = this.planId;
|
||||
testPlanRelevance(param)
|
||||
.then(() => {
|
||||
vueObj.page.result.loading = false;
|
||||
vueObj.page.loading = false;
|
||||
vueObj.isSaving = false;
|
||||
this.$success(this.$t('commons.save_success'));
|
||||
vueObj.$refs.baseRelevance.close();
|
||||
|
@ -82,10 +82,10 @@ export default {
|
|||
if (this.planId) {
|
||||
condition.planId = this.planId;
|
||||
}
|
||||
this.loading = true;
|
||||
this.page.loading = true;
|
||||
testCaseRelateList({pageNum: this.page.currentPage, pageSize: this.page.pageSize}, condition)
|
||||
.then(response => {
|
||||
this.loading = false;
|
||||
this.page.loading = false;
|
||||
getPageDate(response, this.page);
|
||||
let data = this.page.data;
|
||||
data.forEach(item => {
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
</el-table-column>
|
||||
|
||||
<el-table-column
|
||||
v-if="versionEnable"
|
||||
v-if="versionEnable && versionFilters"
|
||||
prop="versionId"
|
||||
:column-key="'versionId'"
|
||||
:filters="versionFilters"
|
||||
|
@ -156,7 +156,7 @@ export default {
|
|||
{text: 'Completed', value: 'Completed'},
|
||||
{text: 'Error', value: 'Error'}
|
||||
],
|
||||
versionFilters: [],
|
||||
versionFilters: null,
|
||||
};
|
||||
},
|
||||
props: {
|
||||
|
|
Loading…
Reference in New Issue