diff --git a/frontend/src/business/components/track/case/components/RelationshipFunctionalRelevance.vue b/frontend/src/business/components/track/case/components/RelationshipFunctionalRelevance.vue index 3a55a5cf57..79c67ae3dd 100644 --- a/frontend/src/business/components/track/case/components/RelationshipFunctionalRelevance.vue +++ b/frontend/src/business/components/track/case/components/RelationshipFunctionalRelevance.vue @@ -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 = []; }); diff --git a/frontend/src/business/components/track/module/TestCaseNodeTree.vue b/frontend/src/business/components/track/module/TestCaseNodeTree.vue index 8bf8cc7bbf..8b54022e90 100644 --- a/frontend/src/business/components/track/module/TestCaseNodeTree.vue +++ b/frontend/src/business/components/track/module/TestCaseNodeTree.vue @@ -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 {