diff --git a/dbm-ui/frontend/src/components/apply-items/BackendQPSSpec.vue b/dbm-ui/frontend/src/components/apply-items/BackendQPSSpec.vue
index db726ec4e8..7b53877fee 100644
--- a/dbm-ui/frontend/src/components/apply-items/BackendQPSSpec.vue
+++ b/dbm-ui/frontend/src/components/apply-items/BackendQPSSpec.vue
@@ -79,12 +79,12 @@
import _ from 'lodash';
import { useI18n } from 'vue-i18n';
- import { getSpecResourceCount } from '@services/dbResource';
import RedisClusterSpecModel from '@services/model/resource-spec/redis-cluster-sepc';
+ import { getSpecResourceCount } from '@services/source/dbresourceResource';
import {
getFilterClusterSpec,
queryQPSRange,
- } from '@services/resourceSpec';
+ } from '@services/source/dbresourceSpec';
import { ClusterTypes } from '@common/const';
diff --git a/dbm-ui/frontend/src/components/apply-items/BackendSpec.vue b/dbm-ui/frontend/src/components/apply-items/BackendSpec.vue
index 1510e95672..9d179e14a7 100644
--- a/dbm-ui/frontend/src/components/apply-items/BackendSpec.vue
+++ b/dbm-ui/frontend/src/components/apply-items/BackendSpec.vue
@@ -60,9 +60,9 @@
import _ from 'lodash';
import { useI18n } from 'vue-i18n';
- import { getSpecResourceCount } from '@services/dbResource';
import RedisClusterSpecModel from '@services/model/resource-spec/redis-cluster-sepc';
- import { getFilterClusterSpec } from '@services/resourceSpec';
+ import { getSpecResourceCount } from '@services/source/dbresourceResource';
+ import { getFilterClusterSpec } from '@services/source/dbresourceSpec';
import { ClusterTypes } from '@common/const';
diff --git a/dbm-ui/frontend/src/components/apply-items/BusinessItems.vue b/dbm-ui/frontend/src/components/apply-items/BusinessItems.vue
index 4cc8f26522..53b34c8768 100644
--- a/dbm-ui/frontend/src/components/apply-items/BusinessItems.vue
+++ b/dbm-ui/frontend/src/components/apply-items/BusinessItems.vue
@@ -41,7 +41,7 @@
import { useI18n } from 'vue-i18n';
import { useRoute } from 'vue-router';
- import { getBizs } from '@services/common';
+ import { getBizs } from '@services/source/cmdb';
import type { BizItem } from '@services/types/common';
import { nameRegx } from '@common/regex';
diff --git a/dbm-ui/frontend/src/components/apply-items/ClusterAlias.vue b/dbm-ui/frontend/src/components/apply-items/ClusterAlias.vue
index 0d654e85f1..67d35eaa11 100644
--- a/dbm-ui/frontend/src/components/apply-items/ClusterAlias.vue
+++ b/dbm-ui/frontend/src/components/apply-items/ClusterAlias.vue
@@ -29,7 +29,7 @@
diff --git a/dbm-ui/frontend/src/components/cluster-common/big-data-host-table/RenderHostTable.vue b/dbm-ui/frontend/src/components/cluster-common/big-data-host-table/RenderHostTable.vue
index 66ac1b7f26..4c8caea64c 100644
--- a/dbm-ui/frontend/src/components/cluster-common/big-data-host-table/RenderHostTable.vue
+++ b/dbm-ui/frontend/src/components/cluster-common/big-data-host-table/RenderHostTable.vue
@@ -77,9 +77,9 @@
diff --git a/dbm-ui/frontend/src/components/cluster-common/big-data-host-table/es-host-table/index.vue b/dbm-ui/frontend/src/components/cluster-common/big-data-host-table/es-host-table/index.vue
index fb943b54b6..cbfcf4469b 100644
--- a/dbm-ui/frontend/src/components/cluster-common/big-data-host-table/es-host-table/index.vue
+++ b/dbm-ui/frontend/src/components/cluster-common/big-data-host-table/es-host-table/index.vue
@@ -82,7 +82,9 @@
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/ProxyScaleUp.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/ProxyScaleUp.vue
index bab41c891b..9f69d68194 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/ProxyScaleUp.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/ProxyScaleUp.vue
@@ -24,8 +24,8 @@
import { useRequest } from 'vue-request';
import ResourceSpecModel from '@services/model/resource-spec/resourceSpec';
- import { listClusterList } from '@services/redis/toolbox';
- import { getResourceSpecList } from '@services/resourceSpec';
+ import { getResourceSpecList } from '@services/source/dbresourceSpec';
+ import { getRedisList } from '@services/source/redis';
import type { RedisProxyScaleUpDetails, TicketDetails } from '@services/types/ticket';
import { useGlobalBizs } from '@stores';
@@ -76,7 +76,7 @@
},
];
- const { loading } = useRequest(listClusterList, {
+ const { loading } = useRequest(getRedisList, {
defaultParams: [{ bk_biz_id: currentBizId }],
onSuccess: async (result) => {
if (result.results.length < 1) {
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/RollbackDataCopy.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/RollbackDataCopy.vue
index 856475134f..1b962d0a24 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/RollbackDataCopy.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/RollbackDataCopy.vue
@@ -42,7 +42,7 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
- import { listClusterList } from '@services/redis/toolbox';
+ import { getRedisList } from '@services/source/redis';
import type { RedisRollbackDataCopyDetails, TicketDetails } from '@services/types/ticket';
import { useGlobalBizs } from '@stores';
@@ -115,7 +115,7 @@
},
];
- const { loading } = useRequest(listClusterList, {
+ const { loading } = useRequest(getRedisList, {
defaultParams: [{ bk_biz_id: currentBizId }],
onSuccess: async (result) => {
if (result.results.length < 1) {
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/AddNodes.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/AddNodes.vue
index fee18f3d49..7674071de8 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/AddNodes.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/AddNodes.vue
@@ -24,8 +24,8 @@
import { useRequest } from 'vue-request';
import ResourceSpecModel from '@services/model/resource-spec/resourceSpec';
- import { getResourceSpecList } from '@services/resourceSpec';
- import { getList } from '@services/spider';
+ import { getResourceSpecList } from '@services/source/dbresourceSpec';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderAddNodesDeatils, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -74,7 +74,7 @@
},
];
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: async (r) => {
if (r.results.length < 1) {
return;
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/CheckSum.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/CheckSum.vue
index 8943519509..7816c2039e 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/CheckSum.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/CheckSum.vue
@@ -62,7 +62,7 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
- import { getList } from '@services/spider';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderCheckSumDetails, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -136,7 +136,7 @@
},
];
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: (r) => {
if (r.results.length < 1) {
return;
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Destroy.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Destroy.vue
index 33a5b3b2f4..9c8318cb55 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Destroy.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Destroy.vue
@@ -44,7 +44,7 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
- import { getList } from '@services/spider';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderDestroyDetails, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -70,7 +70,7 @@
},
];
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: (r) => {
if (r.results.length < 1) {
return;
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Disable.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Disable.vue
index dc374b5df9..edeae8b775 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Disable.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Disable.vue
@@ -23,7 +23,7 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
- import { getList } from '@services/spider';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderDisableDetails, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -49,7 +49,7 @@
},
];
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: (r) => {
if (r.results.length < 1) {
return;
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Enable.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Enable.vue
index 8342a5bbfb..e5845d3a6a 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Enable.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Enable.vue
@@ -44,7 +44,7 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
- import { getList } from '@services/spider';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderEnableDetails, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -70,7 +70,7 @@
},
];
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: (r) => {
if (r.results.length < 1) {
return;
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Flashback.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Flashback.vue
index f7296f589f..cc0fc38e8f 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Flashback.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Flashback.vue
@@ -23,7 +23,7 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
- import { getList } from '@services/spider';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderFlashbackDetails, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -85,7 +85,7 @@
},
];
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: (r) => {
if (r.results.length < 1) {
return;
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/FullBackup.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/FullBackup.vue
index 3c579e2e49..d992480dda 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/FullBackup.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/FullBackup.vue
@@ -48,7 +48,7 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
- import { getList } from '@services/spider';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderFullBackupDetails, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -80,7 +80,7 @@
},
];
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: (r) => {
if (r.results.length < 1) {
return;
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/MNTApply.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/MNTApply.vue
index d14a7af62e..62c66fce65 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/MNTApply.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/MNTApply.vue
@@ -23,7 +23,7 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
- import { getList } from '@services/spider';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderMNTApplyDetails, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -56,7 +56,7 @@
},
];
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: (r) => {
if (r.results.length < 1) {
return;
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/MNTDestroy.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/MNTDestroy.vue
index ce0c8eacac..7d00f57694 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/MNTDestroy.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/MNTDestroy.vue
@@ -23,7 +23,7 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
- import { getList } from '@services/spider';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderMNTDestroyDetails, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -55,7 +55,7 @@
},
];
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: (r) => {
if (r.results.length < 1) {
return;
@@ -80,4 +80,3 @@
});
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/NodeRebalance.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/NodeRebalance.vue
index 3524bcb626..2387977f76 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/NodeRebalance.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/NodeRebalance.vue
@@ -55,8 +55,8 @@
import { useRequest } from 'vue-request';
import ResourceSpecModel from '@services/model/resource-spec/resourceSpec';
- import { getResourceSpecList } from '@services/resourceSpec';
- import { getList } from '@services/spider';
+ import { getResourceSpecList } from '@services/source/dbresourceSpec';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderNodeRebalanceDetails, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -105,7 +105,7 @@
},
];
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: async (r) => {
if (r.results.length < 1) {
return;
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/ReduceNodes.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/ReduceNodes.vue
index 8772a195ef..73a7190918 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/ReduceNodes.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/ReduceNodes.vue
@@ -24,8 +24,8 @@
import { useRequest } from 'vue-request';
import ResourceSpecModel from '@services/model/resource-spec/resourceSpec';
- import { getResourceSpecList } from '@services/resourceSpec';
- import { getList } from '@services/spider';
+ import { getResourceSpecList } from '@services/source/dbresourceSpec';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderReduceNodesDetails, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -73,7 +73,7 @@
},
];
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: async (r) => {
if (r.results.length < 1) {
return;
@@ -119,4 +119,3 @@
});
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/RenameDatabase.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/RenameDatabase.vue
index a24e3ad375..eacd973a65 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/RenameDatabase.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/RenameDatabase.vue
@@ -23,7 +23,7 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
- import { getList } from '@services/spider';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderRenameDatabaseDetails, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -61,7 +61,7 @@
},
];
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: (r) => {
if (r.results.length < 1) {
return;
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Rollback.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Rollback.vue
index 38f5e9414b..bc457ecb01 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Rollback.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/Rollback.vue
@@ -23,7 +23,7 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
- import { getList } from '@services/spider';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderRollbackDetails, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -85,7 +85,7 @@
},
];
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: (r) => {
if (r.results.length < 1) {
return;
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/SlaveApply.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/SlaveApply.vue
index f2245a3255..f3051516cc 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/SlaveApply.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/SlaveApply.vue
@@ -24,8 +24,8 @@
import { useRequest } from 'vue-request';
import ResourceSpecModel from '@services/model/resource-spec/resourceSpec';
- import { getResourceSpecList } from '@services/resourceSpec';
- import { getList } from '@services/spider';
+ import { getResourceSpecList } from '@services/source/dbresourceSpec';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderSlaveApplyDetails, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -67,7 +67,7 @@
},
];
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: async (r) => {
if (r.results.length < 1) {
return;
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/SlaveDestroy.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/SlaveDestroy.vue
index b34c490aef..d4b891ca11 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/SlaveDestroy.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/SlaveDestroy.vue
@@ -44,7 +44,7 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
- import { getList } from '@services/spider';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderSlaveDestroyDetails, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -70,7 +70,7 @@
},
];
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: (r) => {
if (r.results.length < 1) {
return;
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/TableBackup.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/TableBackup.vue
index 0e7137d24d..dc11393a47 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/TableBackup.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/TableBackup.vue
@@ -23,7 +23,7 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
- import { getList } from '@services/spider';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderTableBackupDetails, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -79,7 +79,7 @@
},
];
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: (r) => {
if (r.results.length < 1) {
return;
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/TargetClusterPreview.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/TargetClusterPreview.vue
index 4ad38eeafb..cd7e6440f3 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/TargetClusterPreview.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/TargetClusterPreview.vue
@@ -50,7 +50,7 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
- import { getModules } from '@services/common';
+ import { getModules } from '@services/source/cmdb';
import type {
MysqlAuthorizationDetails,
TicketDetails,
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/TruncateDatabase.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/TruncateDatabase.vue
index 2e7cb9d721..163d4da12c 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/TruncateDatabase.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/TruncateDatabase.vue
@@ -23,7 +23,7 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
- import { getList } from '@services/spider';
+ import { getSpiderList } from '@services/source/spider';
import type { SpiderTruncateDatabaseDetails, TicketDetails } from '@services/types/ticket';
interface Props {
@@ -86,7 +86,7 @@
drop_database: t('删除整库_dropdatabase'),
};
- const { loading } = useRequest(getList, {
+ const { loading } = useRequest(getSpiderList, {
onSuccess: (r) => {
if (r.results.length < 1) {
return;
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/flow-content/Index.vue b/dbm-ui/frontend/src/views/tickets/common/components/flow-content/Index.vue
index 80476a328d..ace39532dd 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/flow-content/Index.vue
+++ b/dbm-ui/frontend/src/views/tickets/common/components/flow-content/Index.vue
@@ -116,7 +116,7 @@