From 28920c8108f21fa725512ce05e1acfcd7b4e1409 Mon Sep 17 00:00:00 2001
From: chenwenchang <479999519@qq.com>
Date: Tue, 15 Oct 2024 15:31:06 +0800
Subject: [PATCH] =?UTF-8?q?feat(frontend):=20=E4=BF=AE=E5=A4=8Dmysql=20pro?=
=?UTF-8?q?xy=E6=9B=BF=E6=8D=A2=E9=97=AE=E9=A2=98=20#7006=20#=20Reviewed,?=
=?UTF-8?q?=20transaction=20id:=2021211?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
dbm-ui/frontend/src/locales/zh-cn.json | 1 +
.../mysql/proxy-replace/pages/page1/Index.vue | 37 ++++---
.../components/RenderData/Index.vue | 6 ++
.../ReplaceHost/components/RenderData/Row.vue | 23 +++-
.../components/RenderOriginalProxyHost.vue | 20 +++-
.../components/RenderData/Row.vue | 5 +-
.../RenderRelatedClusters.vue | 0
.../components/demand-factory/Index.vue | 4 +-
.../demand-factory/mysql/ProxySwitch.vue | 101 ------------------
.../mysql/proxy-replace/Index.vue | 70 ++++++++++++
.../proxy-replace/components/ReplaceHost.vue | 100 +++++++++++++++++
.../components/ReplaceInstance.vue | 94 ++++++++++++++++
12 files changed, 335 insertions(+), 126 deletions(-)
rename dbm-ui/frontend/src/views/db-manage/mysql/proxy-replace/pages/page1/components/{ReplaceInstance/components => common}/RenderRelatedClusters.vue (100%)
delete mode 100644 dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/ProxySwitch.vue
create mode 100644 dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/proxy-replace/Index.vue
create mode 100644 dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/proxy-replace/components/ReplaceHost.vue
create mode 100644 dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/proxy-replace/components/ReplaceInstance.vue
diff --git a/dbm-ui/frontend/src/locales/zh-cn.json b/dbm-ui/frontend/src/locales/zh-cn.json
index 99df896027..7f673185af 100644
--- a/dbm-ui/frontend/src/locales/zh-cn.json
+++ b/dbm-ui/frontend/src/locales/zh-cn.json
@@ -3463,5 +3463,6 @@
"时间戳类型(timestamp)": "时间戳类型(timestamp)",
"整型(int)": "整型(int)",
"整型(bigint)": "整型(bigint)",
+ "新proxy主机": "新proxy主机",
"这行勿动!新增翻译请在上一行添加!": ""
}
diff --git a/dbm-ui/frontend/src/views/db-manage/mysql/proxy-replace/pages/page1/Index.vue b/dbm-ui/frontend/src/views/db-manage/mysql/proxy-replace/pages/page1/Index.vue
index 18d6858cd3..6482d75a36 100644
--- a/dbm-ui/frontend/src/views/db-manage/mysql/proxy-replace/pages/page1/Index.vue
+++ b/dbm-ui/frontend/src/views/db-manage/mysql/proxy-replace/pages/page1/Index.vue
@@ -37,9 +37,11 @@
:true-value="ProxyReplaceTypes.HOST_REPLACE" />
-