From fdd0af4e886c7671985074872bec53f4d57677ae Mon Sep 17 00:00:00 2001 From: 3octaves <873551943@qq.com> Date: Fri, 15 Nov 2024 10:01:30 +0800 Subject: [PATCH] =?UTF-8?q?feat(frontend):=20=E5=85=A8=E7=AB=99=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E4=BC=98=E5=8C=96=20#7951?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/system-search/Index.vue | 94 +++++++--- .../components/FilterTypeSelect.vue | 80 +++++++++ .../search-result/FilterOptions.vue | 4 +- .../components/search-result/Index.vue | 90 ++++++++-- .../render-result/ClusterDomain.vue | 17 +- .../render-result/ClusterName.vue | 19 +- .../search-result/render-result/Instance.vue | 24 +-- .../search-result/render-result/Machine.vue | 4 - .../render-result/ResourcePool.vue | 1 - .../search-result/render-result/Task.vue | 4 - .../search-result/render-result/Ticket.vue | 4 - dbm-ui/frontend/src/locales/zh-cn.json | 3 + .../src/services/source/quickSearch.ts | 8 +- .../frontend/src/views/quick-search/Index.vue | 31 +++- .../quick-search/components/SearchInput.vue | 170 ++++++++++++------ 15 files changed, 402 insertions(+), 151 deletions(-) create mode 100644 dbm-ui/frontend/src/components/system-search/components/FilterTypeSelect.vue diff --git a/dbm-ui/frontend/src/components/system-search/Index.vue b/dbm-ui/frontend/src/components/system-search/Index.vue index c31ad7afba..e440915151 100644 --- a/dbm-ui/frontend/src/components/system-search/Index.vue +++ b/dbm-ui/frontend/src/components/system-search/Index.vue @@ -28,6 +28,13 @@ @enter="handleEnter" @focus="handleFocus" @paste="handlePaste"> + +