fix(测试跟踪): 前端构建报错
This commit is contained in:
parent
45ba3db1a2
commit
57338c3c12
|
@ -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 = [];
|
||||
});
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue