From 28b2e9197f93743d6c85791957c211daa4602836 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Wed, 12 Jun 2024 19:28:22 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B&?= =?UTF-8?q?=E7=BC=BA=E9=99=B7=E7=AE=A1=E7=90=86):=20=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E5=9F=BA=E6=9C=AC=E4=BF=A1=E6=81=AF=E5=92=8C?= =?UTF-8?q?=E7=BC=BA=E9=99=B7=E7=AE=A1=E7=90=86=E5=9F=BA=E6=9C=AC=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ms-associate-case/apiCaseTable.vue | 1 + .../business/ms-associate-case/apiTable.vue | 1 + .../business/ms-associate-case/caseTree.vue | 10 +- .../business/ms-associate-case/index.vue | 1 - frontend/src/config/caseManagement.ts | 22 ++ .../bug-management/components/basicInfo.vue | 290 ++++++++++++++ .../components/bug-detail-drawer.vue | 202 +++------- .../components/bugDetailTab.vue | 32 +- frontend/src/views/bug-management/utils.ts | 23 ++ .../components/caseDetailDrawer.vue | 364 +++--------------- .../components/tabContent/basicInfo.vue | 318 +++++++++++++++ .../components/tabContent/tabBug/bugList.vue | 15 +- .../tabContent/tabBug/bugNamePopover.vue | 32 ++ .../tabContent/tabBug/linkDefectDrawer.vue | 17 +- .../tabContent/tabBug/tabDefect.vue | 43 +-- .../tabContent/tabDemand/demand.vue | 2 +- .../components/tabContent/tabDetail.vue | 17 +- .../components/tabContent/tabTestPlan.vue | 3 +- .../components/index/popConfirm.vue | 16 +- .../testPlan/detail/bugManagement/index.vue | 11 +- 20 files changed, 830 insertions(+), 590 deletions(-) create mode 100644 frontend/src/views/bug-management/components/basicInfo.vue create mode 100644 frontend/src/views/case-management/caseManagementFeature/components/tabContent/basicInfo.vue create mode 100644 frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabBug/bugNamePopover.vue diff --git a/frontend/src/components/business/ms-associate-case/apiCaseTable.vue b/frontend/src/components/business/ms-associate-case/apiCaseTable.vue index 3b4fd5db0d..01e1e5bfa3 100644 --- a/frontend/src/components/business/ms-associate-case/apiCaseTable.vue +++ b/frontend/src/components/business/ms-associate-case/apiCaseTable.vue @@ -265,6 +265,7 @@ excludeIds: [...excludeKeys].concat(...(props.associatedIds || [])), selectIds: selectorStatus === 'all' ? [] : [...selectedKeys], selectAll: selectorStatus === 'all', + associateApiType: 'API_CASE', }; } diff --git a/frontend/src/components/business/ms-associate-case/apiTable.vue b/frontend/src/components/business/ms-associate-case/apiTable.vue index c774907d29..ae2476b442 100644 --- a/frontend/src/components/business/ms-associate-case/apiTable.vue +++ b/frontend/src/components/business/ms-associate-case/apiTable.vue @@ -240,6 +240,7 @@ excludeIds: [...excludeKeys].concat(...(props.associatedIds || [])), selectIds: selectorStatus === 'all' ? [] : [...selectedKeys], selectAll: selectorStatus === 'all', + associateApiType: 'API', }; } diff --git a/frontend/src/components/business/ms-associate-case/caseTree.vue b/frontend/src/components/business/ms-associate-case/caseTree.vue index cce35f867a..825821572b 100644 --- a/frontend/src/components/business/ms-associate-case/caseTree.vue +++ b/frontend/src/components/business/ms-associate-case/caseTree.vue @@ -1,22 +1,14 @@ -