diff --git a/dbm-ui/frontend/src/components/cluster-selector/Index.vue b/dbm-ui/frontend/src/components/cluster-selector/Index.vue index b4b1491a24..f81c20213d 100644 --- a/dbm-ui/frontend/src/components/cluster-selector/Index.vue +++ b/dbm-ui/frontend/src/components/cluster-selector/Index.vue @@ -123,11 +123,11 @@ T extends | RedisModel | TendbhaModel - | SpiderModel + | TendbclusterModel | TendbsingleModel | MongodbModel - | SqlServerHaClusterModel - | SqlServerSingleClusterModel + | SqlServerHaModel + | SqlServerSingleModel "> import _ from 'lodash'; import { useI18n } from 'vue-i18n'; @@ -136,14 +136,14 @@ import TendbhaModel from '@services/model/mysql/tendbha'; import TendbsingleModel from '@services/model/mysql/tendbsingle'; import RedisModel from '@services/model/redis/redis'; - import SpiderModel from '@services/model/spider/tendbCluster'; - import SqlServerHaClusterModel from '@services/model/sqlserver/sqlserver-ha-cluster'; - import SqlServerSingleClusterModel from '@services/model/sqlserver/sqlserver-single-cluster'; + import SqlServerHaModel from '@services/model/sqlserver/sqlserver-ha'; + import SqlServerSingleModel from '@services/model/sqlserver/sqlserver-single'; + import TendbclusterModel from '@services/model/tendbcluster/tendbcluster'; import { getMongoList } from '@services/source/mongodb'; import { getRedisList } from '@services/source/redis'; - import { getSpiderList } from '@services/source/spider'; import { getHaClusterList } from '@services/source/sqlserveHaCluster'; import { getSingleClusterList } from '@services/source/sqlserverSingleCluster'; + import { getTendbClusterList } from '@services/source/tendbcluster'; import { getTendbhaList, getTendbhaSalveList } from '@services/source/tendbha'; import { getTendbsingleList } from '@services/source/tendbsingle'; import type { ListBase } from '@services/types'; @@ -229,7 +229,7 @@ }, ], multiple: true, - getResourceList: getSpiderList, + getResourceList: getTendbClusterList, tableContent: SpiderTable, resultContent: ResultPreview, }, diff --git a/dbm-ui/frontend/src/components/cluster-selector/components/sqlserver-ha/Index.vue b/dbm-ui/frontend/src/components/cluster-selector/components/sqlserver-ha/Index.vue index 56bf9110b7..fb1517b695 100644 --- a/dbm-ui/frontend/src/components/cluster-selector/components/sqlserver-ha/Index.vue +++ b/dbm-ui/frontend/src/components/cluster-selector/components/sqlserver-ha/Index.vue @@ -44,8 +44,8 @@ import { shallowRef } from 'vue'; import { useI18n } from 'vue-i18n'; - import SqlServerHaClusterModel from '@services/model/sqlserver/sqlserver-ha-cluster'; - import SqlServerSingleClusterModel from '@services/model/sqlserver/sqlserver-single-cluster'; + import SqlServerHaModel from '@services/model/sqlserver/sqlserver-ha'; + import SqlServerSingleModel from '@services/model/sqlserver/sqlserver-single'; import { useLinkQueryColumnSerach } from '@hooks'; @@ -63,7 +63,7 @@ interface Props { activeTab: ClusterTypes, - selected: Record, + selected: Record, getResourceList: NonNullable, disabledRowConfig: NonNullable, columnStatusFilter?: TabItem['columnStatusFilter'], diff --git a/dbm-ui/frontend/src/components/cluster-selector/components/sqlserver-single/Index.vue b/dbm-ui/frontend/src/components/cluster-selector/components/sqlserver-single/Index.vue index 75f0f41f62..ddaf0be209 100644 --- a/dbm-ui/frontend/src/components/cluster-selector/components/sqlserver-single/Index.vue +++ b/dbm-ui/frontend/src/components/cluster-selector/components/sqlserver-single/Index.vue @@ -44,8 +44,8 @@ import { shallowRef } from 'vue'; import { useI18n } from 'vue-i18n'; - import SqlServerHaClusterModel from '@services/model/sqlserver/sqlserver-ha-cluster'; - import SqlServerSingleClusterModel from '@services/model/sqlserver/sqlserver-single-cluster'; + import SqlServerHaModel from '@services/model/sqlserver/sqlserver-ha'; + import SqlServerSingleModel from '@services/model/sqlserver/sqlserver-single'; import { useLinkQueryColumnSerach } from '@hooks'; @@ -63,7 +63,7 @@ interface Props { activeTab: ClusterTypes, - selected: Record, + selected: Record, getResourceList: NonNullable, disabledRowConfig: NonNullable, columnStatusFilter?: TabItem['columnStatusFilter'], diff --git a/dbm-ui/frontend/src/components/instance-selector/Index.vue b/dbm-ui/frontend/src/components/instance-selector/Index.vue index 4add7352cc..35229067e3 100644 --- a/dbm-ui/frontend/src/components/instance-selector/Index.vue +++ b/dbm-ui/frontend/src/components/instance-selector/Index.vue @@ -95,7 +95,7 @@ -