fix(测试跟踪): 评审跨项目关联用例模块为空
--bug=1033914 --user=宋昌昌 【用例评审】关联跨项目用例,所属模块显示空 https://www.tapd.cn/55049933/s/1480944
This commit is contained in:
parent
1db7501d42
commit
57011d5ce4
|
@ -238,25 +238,24 @@ import {hasLicense} from "metersphere-frontend/src/utils/permission";
|
||||||
import {getCurrentProjectID} from "metersphere-frontend/src/utils/token";
|
import {getCurrentProjectID} from "metersphere-frontend/src/utils/token";
|
||||||
import {editTestReviewTestCaseOrder, getTestReviewTestCase} from "@/api/testCase";
|
import {editTestReviewTestCaseOrder, getTestReviewTestCase} from "@/api/testCase";
|
||||||
import {
|
import {
|
||||||
_handleSelectAll,
|
_handleSelectAll,
|
||||||
buildBatchParam,
|
buildBatchParam,
|
||||||
deepClone,
|
deepClone,
|
||||||
getCustomTableWidth,
|
getCustomTableWidth,
|
||||||
getLastTableSortField,
|
getLastTableSortField,
|
||||||
getSelectDataCounts,
|
getSelectDataCounts,
|
||||||
getTableHeaderWithCustomFields,
|
getTableHeaderWithCustomFields,
|
||||||
initCondition,
|
initCondition,
|
||||||
toggleAllSelection
|
toggleAllSelection
|
||||||
} from "metersphere-frontend/src/utils/tableUtils";
|
} from "metersphere-frontend/src/utils/tableUtils";
|
||||||
import {
|
import {
|
||||||
batchDeleteTestReviewCase,
|
batchDeleteTestReviewCase,
|
||||||
batchEditTestReviewCaseReviewer,
|
batchEditTestReviewCaseReviewer,
|
||||||
batchEditTestReviewCaseStatus,
|
batchEditTestReviewCaseStatus,
|
||||||
deleteTestReviewCase,
|
deleteTestReviewCase,
|
||||||
getTesReviewById
|
getTesReviewById
|
||||||
} from "@/api/test-review";
|
} from "@/api/test-review";
|
||||||
import {getTestTemplate} from "@/api/custom-field-template";
|
import {getTestTemplate} from "@/api/custom-field-template";
|
||||||
import {mapState} from "pinia";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "TestReviewTestCaseList",
|
name: "TestReviewTestCaseList",
|
||||||
|
@ -397,9 +396,9 @@ export default {
|
||||||
projectId() {
|
projectId() {
|
||||||
return getCurrentProjectID();
|
return getCurrentProjectID();
|
||||||
},
|
},
|
||||||
...mapState(useStore, {
|
moduleOptions() {
|
||||||
moduleOptions: 'testCaseReviewCaseModuleOptions'
|
return useStore().testCaseReviewCaseModuleOptions;
|
||||||
}),
|
},
|
||||||
nodePathMap() {
|
nodePathMap() {
|
||||||
let map = new Map();
|
let map = new Map();
|
||||||
if (this.moduleOptions) {
|
if (this.moduleOptions) {
|
||||||
|
|
|
@ -7,6 +7,7 @@ export default {
|
||||||
testCasePublicSelectNodeIds: [],
|
testCasePublicSelectNodeIds: [],
|
||||||
testCaseModuleOptions: [],
|
testCaseModuleOptions: [],
|
||||||
testCaseReviewModuleOptions: [],
|
testCaseReviewModuleOptions: [],
|
||||||
|
testCaseReviewCaseModuleOptions: [],
|
||||||
testPlanModuleOptions: [],
|
testPlanModuleOptions: [],
|
||||||
testReviewSelectNode: {},
|
testReviewSelectNode: {},
|
||||||
testReviewSelectNodeIds: [],
|
testReviewSelectNodeIds: [],
|
||||||
|
|
Loading…
Reference in New Issue