From a5bb05090eb5c66ff9ca6a35cb9d903ba7ee023b Mon Sep 17 00:00:00 2001 From: Austin <1344583166@qq.com> Date: Mon, 23 Sep 2024 16:51:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(frontend):=20mysql=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E7=AE=B1=E6=94=AF=E6=8C=81=E6=A0=BC=E5=AD=90=E5=86=85=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E9=9B=86=E7=BE=A4/=E5=AE=9E=E4=BE=8B/IP=20#6997=20#?= =?UTF-8?q?=20Reviewed,=20transaction=20id:=2019102?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../generateCloneData/redis/scaleUpdown.ts | 1 - dbm-ui/frontend/src/locales/zh-cn.json | 1 - dbm-ui/frontend/src/types/auto-imports.d.ts | 1 - .../pages/page1/components/RenderData/Row.vue | 1 + .../edit-field/InstanceWithSelector.vue | 36 +++++++-- .../mysql/proxy-replace/pages/page1/Index.vue | 33 ++++---- .../ReplaceHost/components/RenderData/Row.vue | 76 +++++++++++++++--- .../components/RenderData/Row.vue | 78 ++++++++++++++++--- .../components/common/RenderTargetProxy.vue | 4 +- 9 files changed, 178 insertions(+), 53 deletions(-) diff --git a/dbm-ui/frontend/src/hooks/useTicketCloneInfo/generateCloneData/redis/scaleUpdown.ts b/dbm-ui/frontend/src/hooks/useTicketCloneInfo/generateCloneData/redis/scaleUpdown.ts index f7357a48cd..0d61b283b6 100644 --- a/dbm-ui/frontend/src/hooks/useTicketCloneInfo/generateCloneData/redis/scaleUpdown.ts +++ b/dbm-ui/frontend/src/hooks/useTicketCloneInfo/generateCloneData/redis/scaleUpdown.ts @@ -46,7 +46,6 @@ export async function generateRedisScaleUpdownCloneData(ticketData: TicketModel< groupNum: clusterListMap[item.cluster_id].machine_pair_cnt, version: item.db_version, clusterType: clusters[item.cluster_id].cluster_type as RedisClusterTypes, - clusterTypeName: clusters[item.cluster_id].cluster_type_name, currentCapacity: { used: 1, total: clusterListMap[item.cluster_id].cluster_capacity, diff --git a/dbm-ui/frontend/src/locales/zh-cn.json b/dbm-ui/frontend/src/locales/zh-cn.json index 147b01c963..8edfce33c8 100644 --- a/dbm-ui/frontend/src/locales/zh-cn.json +++ b/dbm-ui/frontend/src/locales/zh-cn.json @@ -3524,7 +3524,6 @@ "DB名称支持通配符_如Data_区分大小写_多个使用英文逗号_分号或换行分隔": "DB名称支持通配符_如Data_区分大小写_多个使用英文逗号_分号或换行分隔", "统计视图": "统计视图", "主机列表": "主机列表", - "DB名称支持通配符_如Data_区分大小写_多个使用英文逗号_分号或换行分隔": "DB名称支持通配符_如Data_区分大小写_多个使用英文逗号_分号或换行分隔", "不允许输入系统库和特殊库,如mysql、sys 等": "不允许输入系统库和特殊库,如mysql、sys 等", "DB名、表名不允许为空,忽略DB名、忽略表名不允许为 *": "DB名、表名不允许为空,忽略DB名、忽略表名不允许为 *", "支持 %(指代任意长度字符串), ?(指代单个字符串), *(指代全部)三个通配符": "支持 %(指代任意长度字符串), ?(指代单个字符串), *(指代全部)三个通配符", diff --git a/dbm-ui/frontend/src/types/auto-imports.d.ts b/dbm-ui/frontend/src/types/auto-imports.d.ts index 6bc2ae2a45..79be9ca2a4 100644 --- a/dbm-ui/frontend/src/types/auto-imports.d.ts +++ b/dbm-ui/frontend/src/types/auto-imports.d.ts @@ -3,7 +3,6 @@ // @ts-nocheck // noinspection JSUnusedGlobalSymbols // Generated by unplugin-auto-import -// biome-ignore lint: disable export {} declare global { const EffectScope: (typeof import('vue'))['EffectScope']; diff --git a/dbm-ui/frontend/src/views/db-manage/mysql/checksum/pages/page1/components/RenderData/Row.vue b/dbm-ui/frontend/src/views/db-manage/mysql/checksum/pages/page1/components/RenderData/Row.vue index d087f3f32d..a86d482a5c 100644 --- a/dbm-ui/frontend/src/views/db-manage/mysql/checksum/pages/page1/components/RenderData/Row.vue +++ b/dbm-ui/frontend/src/views/db-manage/mysql/checksum/pages/page1/components/RenderData/Row.vue @@ -124,6 +124,7 @@ id: 0, }, version: '', + is_stand_by: false, }); export type IDataRowBatchKey = keyof Pick; diff --git a/dbm-ui/frontend/src/views/db-manage/mysql/common/edit-field/InstanceWithSelector.vue b/dbm-ui/frontend/src/views/db-manage/mysql/common/edit-field/InstanceWithSelector.vue index 4d5313afda..cfbd672f98 100644 --- a/dbm-ui/frontend/src/views/db-manage/mysql/common/edit-field/InstanceWithSelector.vue +++ b/dbm-ui/frontend/src/views/db-manage/mysql/common/edit-field/InstanceWithSelector.vue @@ -49,13 +49,14 @@ @change="handleInstancesChange" />