fix(测试跟踪): 修复测试计划报告不展示功能用例的缺陷

This commit is contained in:
Jianguo-Genius 2024-04-24 11:35:52 +08:00 committed by 刘瑞斌
parent a2bb9cdeeb
commit 1ce98885db
1 changed files with 5 additions and 2 deletions

View File

@ -102,8 +102,8 @@ import PriorityTableItem from "../../../../../../common/tableItems/planview/Prio
import TypeTableItem from "../../../../../../common/tableItems/planview/TypeTableItem"; import TypeTableItem from "../../../../../../common/tableItems/planview/TypeTableItem";
import MethodTableItem from "../../../../../../common/tableItems/planview/MethodTableItem"; import MethodTableItem from "../../../../../../common/tableItems/planview/MethodTableItem";
import StatusTableItem from "../../../../../../common/tableItems/planview/StatusTableItem"; import StatusTableItem from "../../../../../../common/tableItems/planview/StatusTableItem";
import { getEditSimpleTestCase } from "@/api/testCase"; import {getEditSimpleTestCase} from "@/api/testCase";
import { openCaseEdit } from "@/business/case/test-case"; import {openCaseEdit} from "@/business/case/test-case";
export default { export default {
name: "FunctionalCases", name: "FunctionalCases",
@ -143,6 +143,9 @@ export default {
this.handlePageChange(this.currentPage); this.handlePageChange(this.currentPage);
}, },
}, },
mounted() {
this.searchTestCase();
},
methods: { methods: {
redirectFunctionCaseEditPage(caseId, projectId) { redirectFunctionCaseEditPage(caseId, projectId) {
getEditSimpleTestCase(caseId) getEditSimpleTestCase(caseId)