From 01a912b399e05fadfdaeba43ecb3643f672a0fec Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Thu, 22 Aug 2024 11:37:34 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E7=BC=BA=E9=99=B7=E7=AE=A1=E7=90=86):?= =?UTF-8?q?=20=E7=BC=BA=E9=99=B7=E7=AE=A1=E7=90=86=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E7=BC=BA=E9=99=B7=E5=88=9B=E5=BB=BA=E7=BB=84=E4=BB=B6=E6=8A=BD?= =?UTF-8?q?=E7=A6=BB&=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../router/routes/modules/bugManagement.ts | 2 +- .../views/bug-management/createAndEditBug.vue | 156 +++++ frontend/src/views/bug-management/edit.vue | 595 ++++++++---------- .../components/caseDetailDrawer.vue | 8 +- .../tabContent/tabBug/tabDefect.vue | 43 +- 5 files changed, 441 insertions(+), 363 deletions(-) create mode 100644 frontend/src/views/bug-management/createAndEditBug.vue diff --git a/frontend/src/router/routes/modules/bugManagement.ts b/frontend/src/router/routes/modules/bugManagement.ts index 70926885a8..10b8d2b3e5 100644 --- a/frontend/src/router/routes/modules/bugManagement.ts +++ b/frontend/src/router/routes/modules/bugManagement.ts @@ -32,7 +32,7 @@ const BugManagement: AppRouteRecordRaw = { { path: 'detail/:mode?', name: BugManagementRouteEnum.BUG_MANAGEMENT_DETAIL, - component: () => import('@/views/bug-management/edit.vue'), + component: () => import('@/views/bug-management/createAndEditBug.vue'), meta: { locale: 'bugManagement.editBug', roles: ['PROJECT_BUG:READ+ADD', 'PROJECT_BUG:READ+UPDATE'], diff --git a/frontend/src/views/bug-management/createAndEditBug.vue b/frontend/src/views/bug-management/createAndEditBug.vue new file mode 100644 index 0000000000..06093934f5 --- /dev/null +++ b/frontend/src/views/bug-management/createAndEditBug.vue @@ -0,0 +1,156 @@ + + + + + diff --git a/frontend/src/views/bug-management/edit.vue b/frontend/src/views/bug-management/edit.vue index ac75844dc7..103cb94d6a 100644 --- a/frontend/src/views/bug-management/edit.vue +++ b/frontend/src/views/bug-management/edit.vue @@ -1,185 +1,161 @@