From 0b866ed102dc87ee6e847d5cfaf62321b62b5f44 Mon Sep 17 00:00:00 2001 From: 1iyc <5212514+liycone@user.noreply.gitee.com> Date: Tue, 5 Nov 2024 16:43:51 +0800 Subject: [PATCH] v 1.2 Signed-off-by: 1iyc <5212514+liycone@user.noreply.gitee.com> --- package.json | 1 + src/api/gather/pool/pool.js | 27 +++ src/components/TabComponent/index.vue | 256 ++++++++++++++------------ src/config/website.js | 22 +++ src/main.js | 11 +- src/utils/request.js | 75 +++++--- src/views/gather/pool/index.vue | 118 ++++++++---- src/views/monitor/cache/list.vue | 16 +- 8 files changed, 348 insertions(+), 178 deletions(-) create mode 100644 src/api/gather/pool/pool.js create mode 100644 src/config/website.js diff --git a/package.json b/package.json index f264df2..13ba84c 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "js-beautify": "1.13.0", "js-cookie": "3.0.1", "jsencrypt": "3.0.0-rc.1", + "micromatch": "^4.0.8", "nprogress": "0.2.0", "quill": "2.0.2", "screenfull": "5.0.2", diff --git a/src/api/gather/pool/pool.js b/src/api/gather/pool/pool.js new file mode 100644 index 0000000..1232e9d --- /dev/null +++ b/src/api/gather/pool/pool.js @@ -0,0 +1,27 @@ +import request from "@/utils/request"; + +export function getNav(query) { + return request({ + url: '/gather/nav', + method: 'get', + params: query + }) +} + + +export function getTasks(queryParams) { + return request({ + url: '/gather/task/page/', + method: 'GET', + params: queryParams, + }); +} + + +export function getDataList(dataSource, queryParams) { + return request({ + url: '/kis/supplier/list/' + dataSource, + method: 'GET', + params: queryParams, + }); +} diff --git a/src/components/TabComponent/index.vue b/src/components/TabComponent/index.vue index c721718..c367685 100644 --- a/src/components/TabComponent/index.vue +++ b/src/components/TabComponent/index.vue @@ -1,81 +1,90 @@