fix(测试跟踪):修复功能用例关联场景/UI用例列表数据显示不对问题
--bug=1026168 --user=王旭 【测试跟踪】功能用例-关联场景/UI用例-列表数据显示不符 https://www.tapd.cn/55049933/s/1371659
This commit is contained in:
parent
e83dcb2431
commit
8b9d7f2a22
|
@ -108,6 +108,7 @@ import { TEST_CASE_RELEVANCE_LOAD_CASE } from "metersphere-frontend/src/componen
|
|||
import MxVersionSelect from "metersphere-frontend/src/components/version/MxVersionSelect";
|
||||
import { getVersionFilters } from "@/business/utils/sdk-utils";
|
||||
import { getTestCaseRelevanceLoadList } from "@/api/testCase";
|
||||
import {getCurrentProjectID} from "metersphere-frontend/src/utils/token";
|
||||
|
||||
export default {
|
||||
name: "CaseRelateLoadList",
|
||||
|
@ -154,7 +155,7 @@ export default {
|
|||
projectId() {
|
||||
this.condition.versionId = null;
|
||||
this.getVersionOptions();
|
||||
this.initTable();
|
||||
this.initTable(this.projectId);
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
|
@ -178,6 +179,9 @@ export default {
|
|||
} else if (this.projectId != null) {
|
||||
this.condition.projectId = this.projectId;
|
||||
}
|
||||
if (this.condition.projectId === "") {
|
||||
this.condition.projectId = getCurrentProjectID();
|
||||
}
|
||||
this.condition.notInIds = this.notInIds;
|
||||
this.condition.testCaseId = this.testCaseId;
|
||||
getTestCaseRelevanceLoadList(
|
||||
|
|
|
@ -130,6 +130,7 @@ import { getVersionFilters } from "@/business/utils/sdk-utils";
|
|||
import MxVersionSelect from "metersphere-frontend/src/components/version/MxVersionSelect";
|
||||
import { getTestCaseRelevanceScenarioList } from "@/api/testCase";
|
||||
import {getTagToolTips, parseColumnTag} from "@/business/case/test-case";
|
||||
import {getCurrentProjectID} from "metersphere-frontend/src/utils/token";
|
||||
|
||||
export default {
|
||||
name: "CaseRelateScenarioList",
|
||||
|
@ -190,7 +191,7 @@ export default {
|
|||
projectId() {
|
||||
this.condition.versionId = null;
|
||||
this.getVersionOptions();
|
||||
this.initTable();
|
||||
this.initTable(this.projectId);
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
|
@ -215,6 +216,9 @@ export default {
|
|||
} else if (this.projectId != null) {
|
||||
this.condition.projectId = this.projectId;
|
||||
}
|
||||
if (this.condition.projectId === "") {
|
||||
this.condition.projectId = getCurrentProjectID();
|
||||
}
|
||||
this.condition.notInIds = this.notInIds;
|
||||
this.condition.testCaseId = this.testCaseId;
|
||||
this.$emit('setCondition', this.condition);
|
||||
|
|
|
@ -185,7 +185,7 @@ export default {
|
|||
},
|
||||
projectId() {
|
||||
this.condition.versionId = null;
|
||||
this.initTable();
|
||||
this.initTable(this.projectId);
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
|
|
Loading…
Reference in New Issue