diff --git a/test-track/frontend/src/business/case/components/case/CaseIssueRelate.vue b/test-track/frontend/src/business/case/components/case/CaseIssueRelate.vue
index c182589213..215020da29 100644
--- a/test-track/frontend/src/business/case/components/case/CaseIssueRelate.vue
+++ b/test-track/frontend/src/business/case/components/case/CaseIssueRelate.vue
@@ -83,7 +83,12 @@
prop="platformStatus"
>
+
+ {{ scope.row.platformStatus ? tapdIssueStatusMap[scope.row.platformStatus] : '--' }}
+
+
{{ scope.row.platformStatus ? scope.row.platformStatus : "--" }}
+
@@ -173,7 +178,7 @@ import MsTable from "metersphere-frontend/src/components/new-ui/MsTable";
import HomePagination from "@/business/home/components/pagination/HomePagination";
import MsTableColumn from "metersphere-frontend/src/components/table/MsTableColumn";
import IssueDescriptionTableItem from "@/business/issue/IssueDescriptionTableItem";
-import { ISSUE_STATUS_MAP } from "metersphere-frontend/src/utils/table-constants";
+import { ISSUE_STATUS_MAP, TAPD_ISSUE_STATUS_MAP } from "metersphere-frontend/src/utils/table-constants";
import IssueRelateList from "./CaseIssueRelateList";
import {
closeIssue,
@@ -240,6 +245,9 @@ export default {
issueStatusMap() {
return ISSUE_STATUS_MAP;
},
+ tapdIssueStatusMap() {
+ return TAPD_ISSUE_STATUS_MAP;
+ },
notInIds() {
return this.page.data ? this.page.data.map((i) => i.id) : [];
},
diff --git a/test-track/frontend/src/business/case/components/case/CaseIssueRelateList.vue b/test-track/frontend/src/business/case/components/case/CaseIssueRelateList.vue
index 645e1ff989..437f00a002 100644
--- a/test-track/frontend/src/business/case/components/case/CaseIssueRelateList.vue
+++ b/test-track/frontend/src/business/case/components/case/CaseIssueRelateList.vue
@@ -66,7 +66,12 @@
prop="platformStatus"
>
- {{ scope.row.platformStatus ? scope.row.platformStatus : "--" }}
+
+ {{ scope.row.platformStatus ? tapdIssueStatusMap[scope.row.platformStatus] : '--' }}
+
+
+ {{ scope.row.platformStatus ? scope.row.platformStatus : "--" }}
+
@@ -138,7 +143,7 @@ import {
testCaseIssueRelate,
} from "@/api/issue";
import IssueDescriptionTableItem from "@/business/issue/IssueDescriptionTableItem";
-import { ISSUE_STATUS_MAP } from "metersphere-frontend/src/utils/table-constants";
+import { ISSUE_STATUS_MAP, TAPD_ISSUE_STATUS_MAP} from "metersphere-frontend/src/utils/table-constants";
import MsTablePagination from "metersphere-frontend/src/components/pagination/TablePagination";
import { getPageInfo } from "metersphere-frontend/src/utils/tableUtils";
import { getCurrentProjectID } from "metersphere-frontend/src/utils/token";
@@ -177,6 +182,9 @@ export default {
issueStatusMap() {
return ISSUE_STATUS_MAP;
},
+ tapdIssueStatusMap() {
+ return TAPD_ISSUE_STATUS_MAP;
+ },
projectId() {
return getCurrentProjectID();
},