From 340af48fb3537f0f4444328f9a3ea7726869a045 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Mon, 20 Feb 2023 15:32:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20Ta?= =?UTF-8?q?pd=E7=8A=B6=E6=80=81=E5=88=97=E6=95=B0=E6=8D=AE=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=BA=E8=8B=B1=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1023335 --user=李玉号 【测试跟踪】功能用例-编辑-关联现有缺陷列表-集成Tapd-状态列数据显示为英文 https://www.tapd.cn/55049933/s/1338458 --- .../case/components/case/CaseIssueRelate.vue | 10 +++++++++- .../case/components/case/CaseIssueRelateList.vue | 12 ++++++++++-- 2 files changed, 19 insertions(+), 3 deletions(-) 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" > @@ -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" > @@ -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(); },