From 0a902b578129d86028d01f780c959fb199b1164e Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Mon, 11 Mar 2024 18:38:04 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=BC=BA=E9=99=B7=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E7=BC=BA=E9=99=B7=E7=AE=A1=E7=90=86=E5=9B=9E=E6=94=B6=E7=AB=99?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=83=A8=E5=88=86=E7=AD=9B=E9=80=89=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=92=8C=E6=8E=92=E5=BA=8F=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1036456 --user=宋天阳 【缺陷管理】回收站列表,部分字段表头需支持筛选和排序 https://www.tapd.cn/55049933/s/1472938 --- .../metersphere/bug/mapper/ExtBugMapper.xml | 10 + frontend/src/views/bug-management/index.vue | 12 +- frontend/src/views/bug-management/recycle.vue | 295 ++++++++++++++++-- .../components/tableFilter.vue | 2 +- 4 files changed, 292 insertions(+), 27 deletions(-) diff --git a/backend/services/bug-management/src/main/java/io/metersphere/bug/mapper/ExtBugMapper.xml b/backend/services/bug-management/src/main/java/io/metersphere/bug/mapper/ExtBugMapper.xml index 61893fc3a2..6b4dc4c97e 100644 --- a/backend/services/bug-management/src/main/java/io/metersphere/bug/mapper/ExtBugMapper.xml +++ b/backend/services/bug-management/src/main/java/io/metersphere/bug/mapper/ExtBugMapper.xml @@ -169,6 +169,16 @@ and b.handle_user in + + + and b.delete_user in + + + + + and b.update_user in + + and b.create_user in diff --git a/frontend/src/views/bug-management/index.vue b/frontend/src/views/bug-management/index.vue index e9bd32b9f3..586b178821 100644 --- a/frontend/src/views/bug-management/index.vue +++ b/frontend/src/views/bug-management/index.vue @@ -758,12 +758,6 @@ sort.value = sortObj; } - async function searchData() { - // eslint-disable-next-line no-use-before-define - setLoadListParams(initTableParams()); - await loadList(); - } - function initTableParams() { const filterParams = { status: statusFilterValue.value, @@ -782,6 +776,12 @@ }, }; } + + function searchData() { + setLoadListParams(initTableParams()); + loadList(); + } + watchEffect(() => { setProps({ heightUsed: heightUsed.value }); }); diff --git a/frontend/src/views/bug-management/recycle.vue b/frontend/src/views/bug-management/recycle.vue index fc620ffa85..36686c4f63 100644 --- a/frontend/src/views/bug-management/recycle.vue +++ b/frontend/src/views/bug-management/recycle.vue @@ -28,26 +28,120 @@ }} + + + + + + + + + + + + + diff --git a/frontend/src/views/case-management/caseManagementFeature/components/tableFilter.vue b/frontend/src/views/case-management/caseManagementFeature/components/tableFilter.vue index fcaa2ab59f..a5c4627a2f 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/tableFilter.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/tableFilter.vue @@ -1,6 +1,6 @@