fix(测试跟踪): 关联测试用例全选时切换模块没有状态没改变
--user=郭雨琦 --bug=1013988 【测试跟踪】github#14657,测试计划关联用例问题汇总 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001013988
This commit is contained in:
parent
8050ef6edc
commit
f979a31549
|
@ -65,6 +65,7 @@
|
||||||
import RelevanceApiList from "../../../../../api/automation/scenario/api/RelevanceApiList";
|
import RelevanceApiList from "../../../../../api/automation/scenario/api/RelevanceApiList";
|
||||||
import RelevanceCaseList from "../../../../../api/automation/scenario/api/RelevanceCaseList";
|
import RelevanceCaseList from "../../../../../api/automation/scenario/api/RelevanceCaseList";
|
||||||
import {getCurrentProjectID, hasLicense} from "@/common/js/utils";
|
import {getCurrentProjectID, hasLicense} from "@/common/js/utils";
|
||||||
|
|
||||||
const requireComponent = require.context('@/business/components/xpack/', true, /\.vue$/);
|
const requireComponent = require.context('@/business/components/xpack/', true, /\.vue$/);
|
||||||
const VersionSelect = requireComponent.keys().length > 0 ? requireComponent("./version/VersionSelect.vue") : {};
|
const VersionSelect = requireComponent.keys().length > 0 ? requireComponent("./version/VersionSelect.vue") : {};
|
||||||
|
|
||||||
|
@ -154,6 +155,13 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
nodeChange(node, nodeIds, pNodes) {
|
nodeChange(node, nodeIds, pNodes) {
|
||||||
|
if (this.$refs.apiList) {
|
||||||
|
this.$refs.apiList.condition.selectAll = false;
|
||||||
|
}
|
||||||
|
if (this.$refs.apiCaseList) {
|
||||||
|
this.$refs.apiCaseList.condition.selectAll = false;
|
||||||
|
}
|
||||||
|
this.condition.selectAll = false;
|
||||||
this.selectNodeIds = nodeIds;
|
this.selectNodeIds = nodeIds;
|
||||||
},
|
},
|
||||||
handleProtocolChange(protocol) {
|
handleProtocolChange(protocol) {
|
||||||
|
@ -164,8 +172,6 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
saveCaseRelevance() {
|
saveCaseRelevance() {
|
||||||
|
|
||||||
|
|
||||||
let url = '';
|
let url = '';
|
||||||
let environmentId = undefined;
|
let environmentId = undefined;
|
||||||
let selectIds = [];
|
let selectIds = [];
|
||||||
|
|
|
@ -235,6 +235,8 @@ export default {
|
||||||
this.save(param, this);
|
this.save(param, this);
|
||||||
},
|
},
|
||||||
nodeChange(node, nodeIds, nodeNames) {
|
nodeChange(node, nodeIds, nodeNames) {
|
||||||
|
this.page.condition.selectAll = false;
|
||||||
|
this.$refs.table.condition.selectAll = false;
|
||||||
this.selectNodeIds = nodeIds;
|
this.selectNodeIds = nodeIds;
|
||||||
this.selectNodeNames = nodeNames;
|
this.selectNodeNames = nodeNames;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue