From b6055576c96e73c93ea747527a9ef2828d17f16d Mon Sep 17 00:00:00 2001
From: hLinx <327159425@qq.com>
Date: Sat, 7 Dec 2024 20:40:27 +0800
Subject: [PATCH] =?UTF-8?q?feat(frontend):=20=E5=8D=95=E6=8D=AE=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E8=BF=AD=E4=BB=A3=5F123=20#7190?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
dbm-ui/frontend/src/locales/zh-cn.json | 10 +-
.../details/tendbCluster/spiderReduceNodes.ts | 2 +-
.../components/task-info/Index.vue | 2 +-
.../common/mysql-truncate-data/Index.vue | 4 +
.../components/info-list/InfoItem.vue | 2 +-
.../com-factory/redis/ScaleUpdown.vue | 15 ++-
.../com-factory/tendbCluster/CheckSum.vue | 4 +-
.../com-factory/tendbCluster/Flashback.vue | 33 +++--
.../tendbCluster/SpiderReduceNodes.vue | 126 +++++-------------
9 files changed, 80 insertions(+), 118 deletions(-)
diff --git a/dbm-ui/frontend/src/locales/zh-cn.json b/dbm-ui/frontend/src/locales/zh-cn.json
index 284026e78d..57c0739125 100644
--- a/dbm-ui/frontend/src/locales/zh-cn.json
+++ b/dbm-ui/frontend/src/locales/zh-cn.json
@@ -49,7 +49,7 @@
"备份目标": "备份目标",
"备份类型": "备份类型",
"备注": "备注",
- "备注:": "备注:",
+ "备注:": "备注:",
"大小": "大小",
"大数据": "大数据",
"字符集": "字符集",
@@ -3802,5 +3802,13 @@
"构造类型:": "构造类型:",
"备份记录:": "备份记录:",
"新客户端 IP": "新客户端 IP",
+ "全局超时时间(h):": "全局超时时间(h):",
+ "修复数据:": "修复数据:",
+ "修复模式:": "修复模式:",
+ "主库主机关联实例": "主库主机关联实例",
+ "数据校验:": "数据校验:",
+ "校验时间:": "校验时间:",
+ "定时执行时间:": "定时执行时间:",
+ "忽略业务连接:": "忽略业务连接:",
"这行勿动!新增翻译请在上一行添加!": ""
}
diff --git a/dbm-ui/frontend/src/services/model/ticket/details/tendbCluster/spiderReduceNodes.ts b/dbm-ui/frontend/src/services/model/ticket/details/tendbCluster/spiderReduceNodes.ts
index baa2b8e8eb..b5fdcc1d95 100644
--- a/dbm-ui/frontend/src/services/model/ticket/details/tendbCluster/spiderReduceNodes.ts
+++ b/dbm-ui/frontend/src/services/model/ticket/details/tendbCluster/spiderReduceNodes.ts
@@ -11,7 +11,7 @@ export interface SpiderReduceNodes extends DetailBase {
cluster_id: number;
reduce_spider_role: string;
spider_reduced_to_count: number;
- spider_reduced_hosts: {
+ spider_reduced_hosts?: {
ip: string;
bk_host_id: number;
bk_cloud_id: number;
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/Index.vue
index ef0213b83d..a74bd7125d 100644
--- a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/Index.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/Index.vue
@@ -20,7 +20,7 @@
class="ticket-details-page"
:data="data" />
- -
+
-
{{ data.remark || '--' }}
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-truncate-data/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-truncate-data/Index.vue
index 563a535752..aaa792b21b 100644
--- a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-truncate-data/Index.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-truncate-data/Index.vue
@@ -37,6 +37,7 @@
:key="item">
{{ item }}
+ --
@@ -46,6 +47,7 @@
:key="item">
{{ item }}
+ --
@@ -55,6 +57,7 @@
:key="item">
{{ item }}
+ --
@@ -64,6 +67,7 @@
:key="item">
{{ item }}
+ --
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/components/info-list/InfoItem.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/components/info-list/InfoItem.vue
index ab6385b302..3d41c136ac 100644
--- a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/components/info-list/InfoItem.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/components/info-list/InfoItem.vue
@@ -14,7 +14,7 @@
defineProps();