fix(测试跟踪): 前端构建报错

This commit is contained in:
chenjianxing 2022-07-03 15:28:54 +08:00 committed by jianxing
parent 45ba3db1a2
commit 57338c3c12
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
import {buildPagePath, getPageDate, getPageInfo} from "@/common/js/tableUtils";
import {TEST_PLAN_RELEVANCE_FUNC_CONFIGS} from "@/business/components/common/components/search/search-components";
import FunctionalRelevance from "@/business/components/track/plan/view/comonents/functional/FunctionalRelevance";
import {getTestCaseNodes} from "@/network/testCase";
import {getTestCaseNodesByCaseFilter} from "@/network/testCase";
export default {
name: "RelationshipFunctionalRelevance",
@ -86,7 +86,7 @@ export default {
});
},
getTreeNodes(vueObj) {
vueObj.$refs.nodeTree.result = getTestCaseNodes(vueObj.projectId, data => {
vueObj.$refs.nodeTree.result = getTestCaseNodesByCaseFilter(vueObj.projectId, {}, data => {
vueObj.treeNodes = data;
vueObj.selectNodeIds = [];
});

View File

@ -69,7 +69,7 @@ import {buildNodePath} from "@/business/components/api/definition/model/NodeTree
import {getCurrentProjectID} from "@/common/js/utils";
import ModuleTrashButton from "@/business/components/api/definition/components/module/ModuleTrashButton";
import ModulePublicButton from "@/business/components/api/definition/components/module/ModulePublicButton";
import {getTestCaseNodes, getTestCaseNodesByCaseFilter} from "@/network/testCase";
import {getTestCaseNodesByCaseFilter} from "@/network/testCase";
import IsChangeConfirm from "@/business/components/common/components/IsChangeConfirm";
export default {