@@ -9,9 +10,9 @@
{{ ticketData.id }} |
{{ t('单据状态') }}: |
-
- {{ t(ticketData.statusText) }}
-
+
|
{{ t('已耗时') }}: |
@@ -35,33 +36,43 @@
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/import-sql-file/components/MessageList.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/common/MessageList.vue
similarity index 98%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/import-sql-file/components/MessageList.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/common/MessageList.vue
index b35f03c07e..16acd44d08 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/import-sql-file/components/MessageList.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/common/MessageList.vue
@@ -25,14 +25,14 @@
+ scope="global">
{{ totalMap.errorNum }}
,
+ scope="global">
{{ totalMap.warningNum }}
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/import-sql-file/components/RenderFileContent.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/common/SqlFileContent.vue
similarity index 97%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/import-sql-file/components/RenderFileContent.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/common/SqlFileContent.vue
index 49fa38a00b..e3c7a8d9ab 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/import-sql-file/components/RenderFileContent.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/common/SqlFileContent.vue
@@ -48,11 +48,7 @@
style="height: 100%" />
-
@@ -70,7 +66,6 @@
import { getSQLFilename } from '@utils';
import RenderMessageList, { type IMessageList } from './MessageList.vue';
- import SyntaxChecking from './SyntaxChecking.vue';
interface Props {
modelValue: string;
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/import-sql-file/components/SqlFileList.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/common/SqlFileList.vue
similarity index 100%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/import-sql-file/components/SqlFileList.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/common/SqlFileList.vue
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/Index.vue
new file mode 100644
index 0000000000..f0029f34d8
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/Index.vue
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/FlowTypeBase.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/FlowTypeBase.vue
new file mode 100644
index 0000000000..2c251de787
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/FlowTypeBase.vue
@@ -0,0 +1,21 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StatusFailed.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StatusFailed.vue
new file mode 100644
index 0000000000..5503e27da4
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StatusFailed.vue
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
+ {{ data.flow_type_display }}
+
+
+
+
+
+ {{ t('执行失败') }}
+ {{ ticketDetail.todo_operators.join(',') }}
+
+
+
+ ,
+
+ {{ t('查看详情') }}
+
+
+
+
+
+ {{ t('失败重试') }}
+
+
+
+
+
+ {{ data.err_msg }}
+
+
+
+
+ {{ t('system已处理') }}
+ ({{ t('超过n天未处理,自动终止', { n: data.context.expire_time }) }})
+
+
+ {{ utcDisplayTime(data.update_at) }}
+
+
+
+
+ {{ utcDisplayTime(data.update_at) }}
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StatusRunning.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StatusRunning.vue
new file mode 100644
index 0000000000..58626cf77d
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StatusRunning.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+ {{ data.flow_type_display }}
+
+
+
+
+
+
+
+ {{ t('执行中') }}
+
+
+
+ ,
+
+ {{ t('查看详情') }}
+
+
+
+
+
+ {{ data.err_msg }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StatusSkipped.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StatusSkipped.vue
new file mode 100644
index 0000000000..1bbeb08ba4
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StatusSkipped.vue
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+ {{ data.flow_type_display }}
+
+
+
+
+
+
+ {{ t('执行成功') }}
+
+
+
+ ,
+
+ {{ t('查看详情') }}
+
+
+
+
+
+ {{ data.summary }}
+
+
+
+
+
+ {{ data.err_msg }}
+
+
+
+ {{ data.updateAtDisplay }}
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StatusSucceeded.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StatusSucceeded.vue
new file mode 100644
index 0000000000..c69ea5e62c
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StatusSucceeded.vue
@@ -0,0 +1,80 @@
+
+
+
+
+
+
+ {{ data.flow_type_display }}
+
+
+
+
+
+
+ {{ t('执行成功') }}
+
+
+
+ ,
+
+ {{ t('查看详情') }}
+
+
+
+
+
+
+ {{ data.err_msg }}
+
+
+
+ {{ data.updateAtDisplay }}
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StatusTerminated.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StatusTerminated.vue
new file mode 100644
index 0000000000..e3bfe4b605
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StatusTerminated.vue
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+ {{ data.flow_type_display }}
+
+
+
+
+
+
+
+ {{ data.err_msg }}
+
+
+
+ {{ data.updateAtDisplay }}
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StausPending.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StausPending.vue
new file mode 100644
index 0000000000..6265bb2dc8
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/StausPending.vue
@@ -0,0 +1,28 @@
+
+
+
+
+ {{ data.flow_type_display }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/index.ts b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/index.ts
new file mode 100644
index 0000000000..8df5655508
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-common/index.ts
@@ -0,0 +1,17 @@
+const statusModule = Object.values(
+ import.meta.glob<{
+ default: {
+ name: string;
+ };
+ }>('../flow-type-common/*.vue', {
+ eager: true,
+ }),
+).reduce>>(
+ (result, item) =>
+ Object.assign(result, {
+ [item.default.name]: item.default,
+ }),
+ {},
+);
+
+export default statusModule;
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-delivery/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-delivery/Index.vue
new file mode 100644
index 0000000000..1cdf1d4423
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-delivery/Index.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-delivery/components/SqlGrammarCheck.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-delivery/components/SqlGrammarCheck.vue
new file mode 100644
index 0000000000..1fe92d487b
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-delivery/components/SqlGrammarCheck.vue
@@ -0,0 +1,235 @@
+
+
+
+
+ {{ executeSqlFileList.length }}
+
+
+ {{ totalWarnCount }}
+
+
+
+ handleClickFile(fileName)">
+
+
+ {{ getSQLFilename(fileName) }}
+
+
+
+ ,
+ {{ t('跳过检查') }}
+ ,
+
+
+ {{ ticketDetail.details.grammar_check_info[fileName].highrisk_warnings.length }}
+
+
+
+
+ ,
+ {{ t('检查通过') }}
+ ,
+ {{ t('无高危语句') }}
+
+
+
+
+
+
+ {{ isShowCollapse ? t('收起') : t('更多') }}
+
+
+
+
+
+
+ (isShowSqlFile = false)">
+
+ {{ t('SQL 内容') }}
+
+ {{ t('变更的 DB:') }}
+
+
+ {{ item }}
+
+ --
+
+ {{ t('忽略的 DB:') }}
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-describe-task/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-describe-task/Index.vue
new file mode 100644
index 0000000000..dd4b751942
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-describe-task/Index.vue
@@ -0,0 +1,38 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-describe-task/StatusSucceeded.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-describe-task/StatusSucceeded.vue
new file mode 100644
index 0000000000..9a025b7c0d
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-describe-task/StatusSucceeded.vue
@@ -0,0 +1,67 @@
+
+
+
+
+
+ {{ t('执行成功') }}
+ ({{ data.summary.message }})
+
+
+
+
+ ,
+
+ {{ t('查看详情') }}
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/Index.vue
new file mode 100644
index 0000000000..dc5b76208c
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/Index.vue
@@ -0,0 +1,38 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/StatusFailed.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/StatusFailed.vue
new file mode 100644
index 0000000000..18d30acda1
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/StatusFailed.vue
@@ -0,0 +1,93 @@
+
+
+
+
+ {{ t('执行失败') }}
+ {{ ticketDetail.todo_operators.join(',') }}
+
+
+
+ {{ t('执行失败') }}
+
+
+
+ ,
+
+ {{ t('去处理') }}
+
+
+
+
+
+ {{ t('失败重试') }}
+
+
+
+
+ {{ t('终止') }}
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/StatusRunning.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/StatusRunning.vue
new file mode 100644
index 0000000000..23f1cd7303
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/StatusRunning.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+ {{ t('待继续') }}
+
+
+ {{ t('执行中') }}
+
+
+
+
+ ,
+
+ {{ isTicketStatusInnerTodo ? t('去处理') : t('查看详情') }}
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/StatusSucceeded.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/StatusSucceeded.vue
new file mode 100644
index 0000000000..f59c951f3d
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/StatusSucceeded.vue
@@ -0,0 +1,72 @@
+
+
+
+
+
+ {{ data.flow_type_display }}
+
+
+ {{ t('执行成功') }}
+
+
+
+ ,
+
+
+
+ ,
+
+
+
+
+ ,
+
+ {{ t('查看详情') }}
+
+
+
+
+ {{ data.updateAtDisplay }}
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/StatusTerminated.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/StatusTerminated.vue
new file mode 100644
index 0000000000..20bdf4a11c
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/StatusTerminated.vue
@@ -0,0 +1,46 @@
+
+
+
+
+ {{ t('任务终止') }}
+
+
+
+ ,
+
+ {{ t('查看详情') }}
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/components/MysqlDumpDataDownload.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/components/MysqlDumpDataDownload.vue
new file mode 100644
index 0000000000..ea4ac502c7
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-inner-flow/components/MysqlDumpDataDownload.vue
@@ -0,0 +1,37 @@
+
+
+
+ {{ t('下载结果文件') }}
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-itsm/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-itsm/Index.vue
new file mode 100644
index 0000000000..95a0caeb35
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-itsm/Index.vue
@@ -0,0 +1,46 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-itsm/StatusFailed.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-itsm/StatusFailed.vue
new file mode 100644
index 0000000000..226e4133c4
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-itsm/StatusFailed.vue
@@ -0,0 +1,53 @@
+
+
+
+
+ {{ data.summary.operator }}
+ {{ t('已撤销') }}
+
+
+
+ ,
+
+ {{ t('查看详情') }}
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-itsm/StatusRunning.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-itsm/StatusRunning.vue
new file mode 100644
index 0000000000..2fb173158d
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-itsm/StatusRunning.vue
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-itsm/StatusSucceeded.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-itsm/StatusSucceeded.vue
new file mode 100644
index 0000000000..826b6263c0
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-itsm/StatusSucceeded.vue
@@ -0,0 +1,60 @@
+
+
+
+
+ {{ data.summary.operator }}
+ {{ t('已通过') }}
+
+
+
+ ,
+
+ {{ t('查看详情') }}
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-itsm/StatusTerminated.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-itsm/StatusTerminated.vue
new file mode 100644
index 0000000000..caa8b69ae3
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-itsm/StatusTerminated.vue
@@ -0,0 +1,72 @@
+
+
+
+
+ {{ data.summary.operator }}
+ {{ statusText }}
+
+
+
+ ,
+
+ {{ t('查看详情') }}
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-pause/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-pause/Index.vue
new file mode 100644
index 0000000000..6a52c41416
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-pause/Index.vue
@@ -0,0 +1,43 @@
+
+
+
+
+ {{ data.flow_type_display }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-pause/StatusFailed.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-pause/StatusFailed.vue
new file mode 100644
index 0000000000..0b83e400d7
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-pause/StatusFailed.vue
@@ -0,0 +1,58 @@
+
+
+
+
+ {{ data.flow_type_display }}
+
+
+
+
+ {{ data.summary.operator }}
+ {{ t('已撤销') }}
+
+
+
+ ,
+
+ {{ t('查看详情') }}
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-pause/StatusRunning.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-pause/StatusRunning.vue
new file mode 100644
index 0000000000..2951195ab6
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-pause/StatusRunning.vue
@@ -0,0 +1,33 @@
+
+
+
+
+ {{ data.flow_type_display }}
+
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-pause/StatusSucceeded.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-pause/StatusSucceeded.vue
new file mode 100644
index 0000000000..d92004f60d
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-pause/StatusSucceeded.vue
@@ -0,0 +1,33 @@
+
+
+
+
+ {{ data.flow_type_display }}
+
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-pause/StatusTerminated.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-pause/StatusTerminated.vue
new file mode 100644
index 0000000000..f70fc1a09d
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-pause/StatusTerminated.vue
@@ -0,0 +1,33 @@
+
+
+
+
+ {{ data.flow_type_display }}
+
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-timer/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-timer/Index.vue
new file mode 100644
index 0000000000..2be8c2e0cb
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-timer/Index.vue
@@ -0,0 +1,31 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-timer/StatusRunning.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-timer/StatusRunning.vue
new file mode 100644
index 0000000000..333a28573d
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-timer/StatusRunning.vue
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+ {{ data.flow_type_display }}
+
+
+
+
+ {{ utcDisplayTime(data.details.run_time) }}
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-timer/components/RunCountdown.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-timer/components/RunCountdown.vue
new file mode 100644
index 0000000000..167a971e26
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/flow-type-timer/components/RunCountdown.vue
@@ -0,0 +1,29 @@
+
+ {{ timeInterval < 1 ? '0s' : getCostTimeDisplay(timeInterval) }}
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/time-line/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/time-line/Index.vue
new file mode 100644
index 0000000000..fad6319318
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/time-line/Index.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/time-line/TimeLineItem.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/time-line/TimeLineItem.vue
new file mode 100644
index 0000000000..102ec9f9ed
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/time-line/TimeLineItem.vue
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/Index.vue
new file mode 100644
index 0000000000..daf184e637
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/Index.vue
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/common/StatusDoneFailed.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/common/StatusDoneFailed.vue
new file mode 100644
index 0000000000..f536c77001
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/common/StatusDoneFailed.vue
@@ -0,0 +1,56 @@
+
+
+
+
+ {{ data.done_by }}
+ {{ t('人工终止') }}
+
+
+
+ ,
+
+ {{ t('查看详情') }}
+
+
+
+
+ {{ data.context.remark }}
+
+
+
+ {{ utcDisplayTime(data.done_at) }}
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/common/StatusDoneSuccess.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/common/StatusDoneSuccess.vue
new file mode 100644
index 0000000000..a87df4efa1
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/common/StatusDoneSuccess.vue
@@ -0,0 +1,47 @@
+
+
+
+ {{ utcDisplayTime(data.done_at) }}
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/common/StatusTodo.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/common/StatusTodo.vue
new file mode 100644
index 0000000000..0bfd434712
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/common/StatusTodo.vue
@@ -0,0 +1,68 @@
+
+
+
+ {{ utcDisplayTime(data.done_at) }}
+
+
+
+ {{ t('确认执行') }}
+
+
+
+
+ {{ t('终止单据') }}
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/common/index.ts b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/common/index.ts
new file mode 100644
index 0000000000..d80a5cf067
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/common/index.ts
@@ -0,0 +1,17 @@
+const statusModule = Object.values(
+ import.meta.glob<{
+ default: {
+ name: string;
+ };
+ }>('./*.vue', {
+ eager: true,
+ }),
+).reduce>>(
+ (result, item) =>
+ Object.assign(result, {
+ [item.default.name]: item.default,
+ }),
+ {},
+);
+
+export default statusModule;
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-approve/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-approve/Index.vue
new file mode 100644
index 0000000000..030e301ad5
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-approve/Index.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-inner-approve/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-inner-approve/Index.vue
new file mode 100644
index 0000000000..7c7745a37a
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-inner-approve/Index.vue
@@ -0,0 +1,26 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-inner-approve/StatusTodo.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-inner-approve/StatusTodo.vue
new file mode 100644
index 0000000000..cffc62c1da
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-inner-approve/StatusTodo.vue
@@ -0,0 +1,40 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-itsm/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-itsm/Index.vue
new file mode 100644
index 0000000000..3712638185
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-itsm/Index.vue
@@ -0,0 +1,30 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-itsm/StatusDoneFailed.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-itsm/StatusDoneFailed.vue
new file mode 100644
index 0000000000..16ecce91ed
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-itsm/StatusDoneFailed.vue
@@ -0,0 +1,29 @@
+
+
+
+
+ {{ data.context.remark }}
+
+
+ {{ utcDisplayTime(data.done_at) }}
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-itsm/StatusSuccess.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-itsm/StatusSuccess.vue
new file mode 100644
index 0000000000..2132119f2c
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-itsm/StatusSuccess.vue
@@ -0,0 +1,18 @@
+
+ {{ utcDisplayTime(data.done_at) }}
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-itsm/StatusTodo.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-itsm/StatusTodo.vue
new file mode 100644
index 0000000000..5e444bd316
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-itsm/StatusTodo.vue
@@ -0,0 +1,62 @@
+
+
+
+ {{ data.operators.join(',') }}
+
+
+
+ ,
+
+ {{ t('查看详情') }}
+
+
+ {{ utcDisplayTime(data.done_at) }}
+
+
+
+ {{ t('通过') }}
+
+
+
+
+ {{ t('拒绝') }}
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-resource-replenish/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-resource-replenish/Index.vue
new file mode 100644
index 0000000000..49753a76b1
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-resource-replenish/Index.vue
@@ -0,0 +1,26 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-resource-replenish/StatusTodo.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-resource-replenish/StatusTodo.vue
new file mode 100644
index 0000000000..8ed18166f4
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/flow-info/components/todo-list/type-resource-replenish/StatusTodo.vue
@@ -0,0 +1,54 @@
+
+
+
+ {{ data.operators.join(',') }}
+
+
+ {{ utcDisplayTime(data.done_at) }}
+
+
+
+ {{ t('重试') }}
+
+
+
+
+ {{ t('终止单据') }}
+
+
+
+
+
+
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
new file mode 100644
index 0000000000..a8993178e4
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/Index.vue
@@ -0,0 +1,125 @@
+
+
+
+
+
+
+ -
+ {{ data.remark || '--' }}
+
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/Default.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/Default.vue
similarity index 95%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/Default.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/Default.vue
index d521a2a54c..b02b09282d 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/Default.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/Default.vue
@@ -21,7 +21,7 @@
import TicketModel from '@services/model/ticket/ticket';
interface Props {
- ticketDetails: TicketModel;
+ ticketDetails: TicketModel;
}
defineProps();
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/Index.vue
index 1797b3434e..42fed6f291 100644
--- a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/Index.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/Index.vue
@@ -1,16 +1,3 @@
-
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/common/Disabled&enable&destroy.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/BatchClusterOperation.vue
similarity index 71%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/common/Disabled&enable&destroy.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/BatchClusterOperation.vue
index c5ce2e06da..f2f9ca06ea 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/common/Disabled&enable&destroy.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/BatchClusterOperation.vue
@@ -12,24 +12,15 @@
-->
-
-
-
- {{ data.id }}
-
-
-
+
+
{{ ticketDetails.details.clusters[data.id].immute_domain }}
-
+
{{ ticketDetails.details.clusters[data.id].cluster_type_name }}
@@ -37,14 +28,18 @@
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/expansion-capacity/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/bigdata/scale-up-&-shrink/Index.vue
similarity index 94%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/expansion-capacity/Index.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/bigdata/scale-up-&-shrink/Index.vue
index daf9481e95..3024c121d8 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/expansion-capacity/Index.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/bigdata/scale-up-&-shrink/Index.vue
@@ -71,13 +71,13 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
+ import TicketModel, { type Es } from '@services/model/ticket/ticket';
import { getResourceSpecList } from '@services/source/dbresourceSpec';
- import type { BigDataCapacityDetails, TicketDetails } from '@services/types/ticket';
import SelectIpTable from './SelectIpTable.vue';
interface Props {
- ticketDetails: TicketDetails;
+ ticketDetails: TicketModel;
}
interface RowData {
@@ -117,8 +117,6 @@
proxy: 'Proxy',
slave: 'Slave',
bookkeeper: 'Bookkeeper',
- follower: 'Follower',
- observer: 'Observer',
};
const isScaleUp = props.ticketDetails.ticket_type.includes('SCALE_UP');
const isFromResourcePool = props.ticketDetails.details.ip_source === 'resource_pool';
@@ -178,12 +176,3 @@
},
});
-
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/expansion-capacity/SelectIpTable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/bigdata/scale-up-&-shrink/SelectIpTable.vue
similarity index 100%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/expansion-capacity/SelectIpTable.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/bigdata/scale-up-&-shrink/SelectIpTable.vue
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/account-rule-change/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-account-rule-change/Index.vue
similarity index 79%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/account-rule-change/Index.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-account-rule-change/Index.vue
index 0390c13465..a1123f6366 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/account-rule-change/Index.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-account-rule-change/Index.vue
@@ -14,12 +14,12 @@
+ :account-type="accountType"
+ :ticket-details="ticketDetails" />
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/account-rule-change/components/PreviewDiff.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-account-rule-change/components/PreviewDiff.vue
similarity index 59%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/account-rule-change/components/PreviewDiff.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-account-rule-change/components/PreviewDiff.vue
index 2aaae5cb91..8be616d3a4 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/account-rule-change/components/PreviewDiff.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-account-rule-change/components/PreviewDiff.vue
@@ -12,26 +12,28 @@
-->
-
-
- {{ t('变更类型') }}:
- {{ t('变更规则') }}
-
-
- {{ t('账户名称') }}:
- {{ ticketDetails.details.last_account_rules.userName }}
-
-
+
+
+ {{ t('变更规则') }}
+
+
+ {{ ticketDetails.details.last_account_rules.userName }}
+
+
-
+
+
+
+
+ scope="global">
{{ addCount }}
{{ deleteCount }}
+ :merge-cells="mergeCells">
+
+
+
+
+ {{ data.beforePrivilege }}
+
+ {{ t('敏感') }}
+
+
+ --
+
+
+
+
+
+ {{ data.afterPrivilege }}
+
+ {{ t('敏感') }}
+
+
+ --
+
+
+
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-authorize-rules/components/RenderTable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-authorize-rules/components/RenderTable.vue
new file mode 100644
index 0000000000..7a12fbaca7
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-authorize-rules/components/RenderTable.vue
@@ -0,0 +1,277 @@
+
+
+
+
+
+
+ {{ ip }}
+ handleCopyIps(rowData.ips)" />
+
+
+
+
+ {{ t('共n个', [rowData.ips.length]) }}
+
+ (showAllIp = !showAllIp)">
+ {{ showAllIp ? t('收起') : t('更多') }}
+
+
+
+
+
+
+
+
+ {{ item }}
+ handleCopyDomains(rowData.clusterDomains)" />
+
+
+
+
+
+
+
+
+
+
+ {{ t('共n个', [rowData.accessDbs.length]) }}
+
+ (showAllDb = !showAllDb)">
+ {{ showAllDb ? t('收起') : t('更多') }}
+
+
+
+
+
+
+
+
+ {{ key === 'glob' ? t('全局') : key.toUpperCase() }} :
+
+
+ {{ index !== 0 ? ',' : '' }}
+ {{ item }}
+
+ {{ t('敏感') }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/ExportData.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-dump-data/Index.vue
similarity index 76%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/ExportData.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-dump-data/Index.vue
index fbcb941060..1da8eb9f86 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/ExportData.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-dump-data/Index.vue
@@ -12,27 +12,24 @@
-->
-
-
-
+
-
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/components/import-sqlfile/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-import-sqlfile/Index.vue
similarity index 92%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/components/import-sqlfile/Index.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-import-sqlfile/Index.vue
index 9752cfb0ce..0740ac05dc 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/components/import-sqlfile/Index.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-import-sqlfile/Index.vue
@@ -36,9 +36,7 @@
-
+
{{ ticketDetails.details.clusters[data.id].immute_domain }}
@@ -63,7 +61,7 @@
+ style="flex: 1 0 100%; margin-top: 10px">
@@ -110,7 +108,7 @@
v-if="currentExecuteObject"
v-model:is-show="isShowSqlfile"
:execute-object="currentExecuteObject"
- :path="ticketDetails.ticket_type === TicketTypes.MYSQL_FORCE_IMPORT_SQLFILE ? '' : ticketDetails.details.path"
+ :path="ticketDetails.details.path"
:select-file-name="selectFileName"
:whole-file-list="uploadFileList" />
@@ -121,16 +119,12 @@
import TicketModel, { type Sqlserver } from '@services/model/ticket/ticket';
- import { TicketTypes } from '@common/const';
-
import RenderClusterStatus from '@components/cluster-status/Index.vue';
- import InfoList, {
- Item as InfoItem,
- } from '@views/tickets/common/components/demand-factory/components/info-list/Index.vue';
-
import { getSQLFilename } from '@utils';
+ import InfoList, { Item as InfoItem } from '../../components/info-list/Index.vue';
+
import RenderSqlfile from './components/render-sqlfile/Index.vue';
interface Props {
@@ -144,8 +138,6 @@
const { t } = useI18n();
- const pagination = { count: 11, limit: 10, current: 1 };
-
const selectFileName = ref('');
const currentExecuteObject = ref();
const isShowSqlfile = ref(false);
@@ -186,8 +178,6 @@
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/rollback/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-rollback/Index.vue
similarity index 66%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/rollback/Index.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-rollback/Index.vue
index e780c6d814..a48c3c642f 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/spider/rollback/Index.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-rollback/Index.vue
@@ -12,13 +12,12 @@
-->
-
-
- {{ t('构造类型') }}:
- {{ renderData.label }}
-
-
-
+
+ {{ renderData.label }}
+
+
+
@@ -26,16 +25,16 @@
-
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-rollback/components/RenderTableBase.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-rollback/components/RenderTableBase.vue
new file mode 100644
index 0000000000..12015adce1
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-rollback/components/RenderTableBase.vue
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
+
+
+
+
+
+ {{ backupSourceMap[data.backup_source as keyof typeof backupSourceMap] }}
+
+
+
+
+ {{ t('回档到指定时间') }} - {{ utcDisplayTime(data.rollback_time) }}
+
+ {{ t('备份记录') }} - {{ data.backupinfo?.mysql_role }}
+ {{ utcDisplayTime(data.backupinfo?.backup_time) }}
+
+ --
+
+
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-rollback/components/RollbackExistCluster.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-rollback/components/RollbackExistCluster.vue
new file mode 100644
index 0000000000..6a1a3a9ff3
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-rollback/components/RollbackExistCluster.vue
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.target_cluster_id].immute_domain }}
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-rollback/components/RollbackNewCluster.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-rollback/components/RollbackNewCluster.vue
new file mode 100644
index 0000000000..d8d211a3b5
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-rollback/components/RollbackNewCluster.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+ {{ t('业务空闲机') }}
+
+
+
+
+ {{ data.rollback_host.ip }}
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/my-tickets/components/details/components/Demand.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-rollback/components/RollbackOriginCluster.vue
similarity index 73%
rename from dbm-ui/frontend/src/views/tickets/my-tickets/components/details/components/Demand.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-rollback/components/RollbackOriginCluster.vue
index ccae834a99..f81ac2d9b0 100644
--- a/dbm-ui/frontend/src/views/tickets/my-tickets/components/details/components/Demand.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/common/mysql-rollback/components/RollbackOriginCluster.vue
@@ -12,16 +12,18 @@
-->
-
+
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/components/DemandInfo.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/components/DemandInfo.vue
similarity index 51%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/components/DemandInfo.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/components/DemandInfo.vue
index c384212943..a9d33c878a 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/components/DemandInfo.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/components/DemandInfo.vue
@@ -1,36 +1,34 @@
-
-
-
- {{ dataItem.title }}
-
-
-
-
- {{ listItem.label }}:
-
-
- {{ getValue(listItem.key as string) }}
-
-
-
-
+
+
+ {{ dataItem.title }}
+
+
+
+
+ {{ listItem.label }}:
+
+
+ {{ getValue(listItem.key as string) }}
+
+
+
@@ -38,7 +36,7 @@
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsDoris.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Apply.vue
similarity index 95%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsDoris.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Apply.vue
index d8cd0301e8..51ed353157 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsDoris.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Apply.vue
@@ -26,29 +26,32 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
+ import TicketModel, { type Doris } from '@services/model/ticket/ticket';
import { getInfrasCities,getTicketHostNodes } from '@services/source/ticket';
- import type { TicketDetails } from '@services/types/ticket';
import { useSystemEnviron } from '@stores';
+ import { TicketTypes } from '@common/const';
+
import HostPreview from '@components/host-preview/HostPreview.vue';
import { firstLetterToUpper } from '@utils';
- import SpecInfos from '../../SpecInfos.vue';
- import type { DorisCluster } from '../common/types';
import DemandInfo, {
type DemandInfoConfig
} from '../components/DemandInfo.vue';
+ import SpecInfos from '../components/SpecInfos.vue';
interface Props {
- ticketDetails: TicketDetails
+ ticketDetails: TicketModel
}
- // type ResouceSpec = NonNullable
-
const props = defineProps();
+ defineOptions({
+ name: TicketTypes.DORIS_APPLY
+ })
+
const { t } = useI18n();
const { AFFINITY: affinityList } = useSystemEnviron().urls;
@@ -116,10 +119,6 @@
label: t('http端口'),
key: 'details.http_port',
},
- {
- label: t('备注'),
- key: 'remark',
- },
],
},
];
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Destroy.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Destroy.vue
new file mode 100644
index 0000000000..c8b0e59c0a
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Destroy.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Disable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Disable.vue
new file mode 100644
index 0000000000..2034bcabae
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Disable.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Enable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Enable.vue
new file mode 100644
index 0000000000..b269245e9a
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Enable.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Reboot.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Reboot.vue
new file mode 100644
index 0000000000..d5a18fb017
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Reboot.vue
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.id].immute_domain }}
+
+
+
+
+ {{ ticketDetails.details.clusters[data.id].cluster_type_name }}
+
+
+
+
+ {{ data.node_ip.join(',') }}
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Replace.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Replace.vue
new file mode 100644
index 0000000000..db4c99502c
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Replace.vue
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/ScaleUp.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/ScaleUp.vue
new file mode 100644
index 0000000000..af787944e0
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/ScaleUp.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Shrink.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Shrink.vue
new file mode 100644
index 0000000000..fbae9e56d9
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/doris/Shrink.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/dumper/DisableNodes.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/dumper/DisableNodes.vue
new file mode 100644
index 0000000000..b975f305b2
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/dumper/DisableNodes.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/dumper/EnableNodes.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/dumper/EnableNodes.vue
new file mode 100644
index 0000000000..a338789997
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/dumper/EnableNodes.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/DumperInstall.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/dumper/Install.vue
similarity index 92%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/DumperInstall.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/dumper/Install.vue
index 58528cf4d3..7bb7d81408 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/DumperInstall.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/dumper/Install.vue
@@ -56,15 +56,24 @@
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/DumperNodeStatusUpdate.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/dumper/common/Disable&Enable.vue
similarity index 85%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/DumperNodeStatusUpdate.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/dumper/common/Disable&Enable.vue
index 22eb47c9d5..7df913de9a 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/DumperNodeStatusUpdate.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/dumper/common/Disable&Enable.vue
@@ -20,14 +20,13 @@
-
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsES.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Apply.vue
similarity index 92%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsES.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Apply.vue
index ef1691173e..44fd5739f1 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsES.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Apply.vue
@@ -185,14 +185,6 @@
{{ $t('端口号') }}:
{{ ticketDetails?.details?.http_port || '--' }}
-
- {{ $t('备注') }}:
-
- {{ ticketDetails?.remark || '--' }}
-
-
;
+ ticketDetails: TicketModel;
}
const props = defineProps();
+ defineOptions({
+ name: TicketTypes.ES_APPLY,
+ inheritAttrs: false,
+ });
+
const { t } = useI18n();
const { AFFINITY: affinityList } = useSystemEnviron().urls;
@@ -289,7 +277,3 @@
previewState.title = `【${firstLetterToUpper(role)}】${t('主机预览')}`;
}
-
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Destroy.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Destroy.vue
new file mode 100644
index 0000000000..bf9e8551e8
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Destroy.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Disable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Disable.vue
new file mode 100644
index 0000000000..cbe3bcdc6a
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Disable.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Enable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Enable.vue
new file mode 100644
index 0000000000..923580dbdf
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Enable.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/Reboot.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Reboot.vue
similarity index 76%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/Reboot.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Reboot.vue
index 51c148ee90..68cbc27c5e 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/Reboot.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Reboot.vue
@@ -21,16 +21,23 @@
-
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Replace.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Replace.vue
new file mode 100644
index 0000000000..7651fd9767
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Replace.vue
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/ScaleUp.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/ScaleUp.vue
new file mode 100644
index 0000000000..283ceca356
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/ScaleUp.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Shrink.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Shrink.vue
new file mode 100644
index 0000000000..659fec0ad0
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/elastic-search/Shrink.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsHDFS.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Apply.vue
similarity index 91%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsHDFS.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Apply.vue
index 511ee222f4..fa1f1ba8f8 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsHDFS.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Apply.vue
@@ -145,14 +145,6 @@
-
- {{ $t('备注') }}:
-
- {{ ticketDetails?.remark || '--' }}
-
-
;
+ ticketDetails: TicketModel;
}
const props = defineProps();
+ defineOptions({
+ name: TicketTypes.HDFS_APPLY,
+ inheritAttrs: false,
+ });
const { t } = useI18n();
const { AFFINITY: affinityList } = useSystemEnviron().urls;
@@ -247,7 +235,3 @@
previewState.title = `【${firstLetterToUpper(role)}】${t('主机预览')}`;
}
-
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Destroy.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Destroy.vue
new file mode 100644
index 0000000000..f2b5d0ac32
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Destroy.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Disable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Disable.vue
new file mode 100644
index 0000000000..7334f03164
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Disable.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Enable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Enable.vue
new file mode 100644
index 0000000000..1e26bf8db6
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Enable.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsClusterOperation.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Reboot.vue
similarity index 60%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsClusterOperation.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Reboot.vue
index 3a1776d187..6762cd5368 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsClusterOperation.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Reboot.vue
@@ -13,7 +13,7 @@
@@ -21,25 +21,29 @@
-
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/Replace.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Replace.vue
similarity index 86%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/Replace.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Replace.vue
index 1def8ed2c8..b32df5ee63 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/Replace.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Replace.vue
@@ -13,7 +13,6 @@
@@ -21,16 +20,23 @@
-
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/ScaleUp.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/ScaleUp.vue
new file mode 100644
index 0000000000..7edcc5d991
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/ScaleUp.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Shrink.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Shrink.vue
new file mode 100644
index 0000000000..907312d0fd
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/hdfs/Shrink.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsInfluxDB.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Apply.vue
similarity index 86%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsInfluxDB.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Apply.vue
index 1e31c8c07f..8aa755ab66 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsInfluxDB.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Apply.vue
@@ -85,10 +85,6 @@
{{ $t('访问端口') }}:
{{ ticketDetails?.details?.port || '--' }}
-
- {{ $t('备注') }}:
- {{ ticketDetails?.remark || '--' }}
-
;
}
const props = defineProps();
+ defineOptions({
+ name: TicketTypes.INFLUXDB_APPLY,
+ inheritAttrs: false,
+ });
const { t } = useI18n();
const { AFFINITY: affinityList } = useSystemEnviron().urls;
@@ -194,7 +171,3 @@
previewState.title = `【InfluxDB】${t('主机预览')}`;
}
-
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Destroy.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Destroy.vue
new file mode 100644
index 0000000000..257403aa36
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Destroy.vue
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Disable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Disable.vue
new file mode 100644
index 0000000000..a931141163
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Disable.vue
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Enable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Enable.vue
new file mode 100644
index 0000000000..de8b6ca7a7
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Enable.vue
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Reboot.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Reboot.vue
new file mode 100644
index 0000000000..d04c888bd8
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Reboot.vue
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/influxdb/Replace.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Replace.vue
similarity index 74%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/influxdb/Replace.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Replace.vue
index 86c2164e87..b817e7d58b 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/influxdb/Replace.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/Replace.vue
@@ -20,26 +20,13 @@
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/influxdb/Operations.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/common/Operation.vue
similarity index 100%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/influxdb/Operations.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/influxdb/common/Operation.vue
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsKafka.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Apply.vue
similarity index 91%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsKafka.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Apply.vue
index 894e85b04e..23021df54d 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsKafka.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Apply.vue
@@ -123,14 +123,6 @@
{{ security }}
-
- {{ $t('备注') }}:
-
- {{ ticketDetails?.remark || '--' }}
-
-
;
+ ticketDetails: TicketModel;
}
const props = defineProps();
+ defineOptions({
+ name: TicketTypes.KAFKA_APPLY,
+ inheritAttrs: false,
+ });
const { t } = useI18n();
const { AFFINITY: affinityList } = useSystemEnviron().urls;
@@ -224,7 +212,3 @@
previewState.title = `【${firstLetterToUpper(role)}】${t('主机预览')}`;
}
-
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Destroy.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Destroy.vue
new file mode 100644
index 0000000000..68a816c467
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Destroy.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Disable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Disable.vue
new file mode 100644
index 0000000000..9abf18478e
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Disable.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Enable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Enable.vue
new file mode 100644
index 0000000000..abb18ec815
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Enable.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/Rename.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Reboot.vue
similarity index 53%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/Rename.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Reboot.vue
index e523df64fc..c8bab9089d 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/Rename.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Reboot.vue
@@ -13,6 +13,7 @@
@@ -20,65 +21,62 @@
-
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Replace.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Replace.vue
new file mode 100644
index 0000000000..e8abc28083
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Replace.vue
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/ScaleUp.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/ScaleUp.vue
new file mode 100644
index 0000000000..14261175b8
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/ScaleUp.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Shrink.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Shrink.vue
new file mode 100644
index 0000000000..0041728f56
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/kafka/Shrink.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/ProxyScaleUp.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/AddMongos.vue
similarity index 58%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/ProxyScaleUp.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/AddMongos.vue
index 66ce1f73d9..d4076cde8a 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/ProxyScaleUp.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/AddMongos.vue
@@ -20,68 +20,12 @@
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/DBReplace.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/Cutoff.vue
similarity index 59%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/DBReplace.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/Cutoff.vue
index 5cb30688a2..42b8311648 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/DBReplace.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/Cutoff.vue
@@ -20,76 +20,21 @@
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/Disable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/Disable.vue
new file mode 100644
index 0000000000..1eecbee177
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/Disable.vue
@@ -0,0 +1,21 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/Enable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/Enable.vue
new file mode 100644
index 0000000000..6acbb0e0b5
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/Enable.vue
@@ -0,0 +1,21 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/AuthorizeRules.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/ExcelAuthorize.vue
similarity index 95%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/AuthorizeRules.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/ExcelAuthorize.vue
index 7ef067ca5a..9cf7c51948 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/AuthorizeRules.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/ExcelAuthorize.vue
@@ -24,21 +24,20 @@
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/InstanceDeinstall.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/InstanceDeinstall.vue
new file mode 100644
index 0000000000..7f6614f476
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/InstanceDeinstall.vue
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+ {{ `${data.ip}:${data.port}` }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/ProxyScaleDown.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/ReduceMongos.vue
similarity index 67%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/ProxyScaleDown.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/ReduceMongos.vue
index 3a3550cf75..2e58e67d8f 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/ProxyScaleDown.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/ReduceMongos.vue
@@ -20,46 +20,12 @@
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/DbClear.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/RemoveNs.vue
similarity index 71%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/DbClear.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/RemoveNs.vue
index 57400c0900..5c62321086 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/DbClear.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/RemoveNs.vue
@@ -29,55 +29,21 @@
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/DetailsMongoDBReplicaSet.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/ReplicasetApply.vue
similarity index 91%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/DetailsMongoDBReplicaSet.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/ReplicasetApply.vue
index 4b16f8381d..863e512339 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/DetailsMongoDBReplicaSet.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/ReplicasetApply.vue
@@ -21,20 +21,26 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
+ import TicketModel, { type Mongodb } from '@services/model/ticket/ticket';
import { getInfrasCities } from '@services/source/ticket';
- import type { TicketDetails } from '@services/types/ticket';
- import { useAffinity } from '../../../hooks/useAffinity';
- import SpecInfos from '../../SpecInfos.vue';
- import type { DetailsMongoDBReplicaSet } from '../common/types';
+ import { TicketTypes } from '@common/const';
+
+ import { useAffinity } from '../../hooks/useAffinity';
import DemandInfo from '../components/DemandInfo.vue';
+ import SpecInfos from '../components/SpecInfos.vue';
interface Props{
- ticketDetails: TicketDetails
+ ticketDetails: TicketModel
}
const props = defineProps();
+ defineOptions({
+ name: TicketTypes.MONGODB_REPLICASET_APPLY,
+ inheritAttrs: false,
+ });
+
const { t } = useI18n();
const { affinity } = useAffinity(props.ticketDetails);
@@ -149,10 +155,6 @@
label: t('每台主机oplog容量占比'),
key: 'details.oplog_percent',
},
- {
- label: t('备注'),
- key: 'remark',
- },
{
label: t('集群设置'),
isTable: true,
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/DbStruct.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/Restore.vue
similarity index 54%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/DbStruct.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/Restore.vue
index 52c8f0c339..6694f0bac2 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/DbStruct.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/Restore.vue
@@ -46,159 +46,23 @@
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/CapacityChange.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/ScaleUpdown.vue
similarity index 56%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/CapacityChange.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/ScaleUpdown.vue
index 09f17f5d2c..59b3d057df 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/CapacityChange.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/ScaleUpdown.vue
@@ -13,7 +13,6 @@
@@ -21,73 +20,21 @@
-
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/DetailsMongoDBSharedCluster.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/ShardApply.vue
similarity index 92%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/DetailsMongoDBSharedCluster.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/ShardApply.vue
index 95c95cad05..5b3244919a 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/DetailsMongoDBSharedCluster.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/ShardApply.vue
@@ -21,20 +21,26 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
+ import TicketModel, { type Mongodb } from '@services/model/ticket/ticket';
import { getInfrasCities } from '@services/source/ticket';
- import type { TicketDetails } from '@services/types/ticket';
- import { useAffinity } from '../../../hooks/useAffinity';
- import SpecInfos from '../../SpecInfos.vue';
- import type { DetailsMongoDBSharedCluster } from '../common/types';
+ import { TicketTypes } from '@common/const';
+
+ import { useAffinity } from '../../hooks/useAffinity';
import DemandInfo from '../components/DemandInfo.vue';
+ import SpecInfos from '../components/SpecInfos.vue';
interface Props{
- ticketDetails: TicketDetails
+ ticketDetails: TicketModel
}
const props = defineProps();
+ defineOptions({
+ name: TicketTypes.MONGODB_SHARD_APPLY,
+ inheritAttrs: false,
+ });
+
const { t } = useI18n();
const { affinity } = useAffinity(props.ticketDetails);
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/TemporaryDestrot.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/TemporaryDestroy.vue
similarity index 61%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/TemporaryDestrot.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/TemporaryDestroy.vue
index 47a94ca169..e1f0454c49 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/TemporaryDestrot.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/TemporaryDestroy.vue
@@ -20,45 +20,21 @@
-
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/script-execute/components/RenderFileContent.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/components/RenderFileContent.vue
similarity index 100%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/script-execute/components/RenderFileContent.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/components/RenderFileContent.vue
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/script-execute/components/SqlFileList.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/components/SqlFileList.vue
similarity index 100%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/script-execute/components/SqlFileList.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/components/SqlFileList.vue
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/TargetClusterPreview.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/components/TargetClusterPreview.vue
similarity index 100%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/TargetClusterPreview.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mongodb/components/TargetClusterPreview.vue
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/AccountRuleChange.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/AccountRuleChange.vue
new file mode 100644
index 0000000000..e4e8b1258f
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/AccountRuleChange.vue
@@ -0,0 +1,21 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/AddSlave.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/AddSlave.vue
new file mode 100644
index 0000000000..9bd4cc4746
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/AddSlave.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[clusterId].immute_domain }}
+
+
+
+
+
+ {{ data.new_slave.ip }}
+
+
+
+
+ {{ ticketDetails.details.backup_source === 'local' ? t('本地备份') : t('远程备份') }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/AuthorizeRule.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/AuthorizeRule.vue
new file mode 100644
index 0000000000..2ec0591975
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/AuthorizeRule.vue
@@ -0,0 +1,21 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/Checksum.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/Checksum.vue
new file mode 100644
index 0000000000..ac6334c41d
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/Checksum.vue
@@ -0,0 +1,119 @@
+
+
+
+
+ {{ ticketDetails.bk_biz_name || '--' }}
+
+
+ {{ utcDisplayTime(ticketDetails.details.timing) || '--' }}
+
+
+ {{ ticketDetails.details.data_repair.is_repair ? t('是') : t('否') }}
+
+
+ {{ ticketDetails.details.runtime_hour }}
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
+
+
+
+
+ {{ data.master.ip }}
+
+
+
+
+
+ {{ item.ip }}: {{ item.port }}
+
+
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ClientCloneRules.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ClientCloneRules.vue
new file mode 100644
index 0000000000..1a1ba7fab4
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ClientCloneRules.vue
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+ {{ data.source }}
+
+
+
+
+ {{ data.module }}
+
+
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/DataMigrate.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/DataMigrate.vue
new file mode 100644
index 0000000000..82b562bfd5
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/DataMigrate.vue
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.source_cluster].immute_domain }}
+
+
+
+
+
+ {{ ticketDetails.details.clusters[clusterId].immute_domain }}
+
+
+
+
+
+ {{ data.data_schema_grant === 'schema' ? t('克隆表结构') : t('克隆表结构和数据') }}
+
+
+
+ --
+
+
+ --
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/DataRepair.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/DataRepair.vue
new file mode 100644
index 0000000000..defb2e84bc
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/DataRepair.vue
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
+
+
+
+
+ {{ data.master.ip }}
+
+
+
+
+ {{ data.slaves.map((item) => item.ip).join(',') }}
+
+
+
+
+
+ {{ `${ticketDetails.details.start_time} - ${ticketDetails.details.end_time}` }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/DumpData.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/DumpData.vue
new file mode 100644
index 0000000000..6888ab1954
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/DumpData.vue
@@ -0,0 +1,21 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ExcelAuthrizeRule.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ExcelAuthrizeRule.vue
new file mode 100644
index 0000000000..1d5015a7c7
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ExcelAuthrizeRule.vue
@@ -0,0 +1,21 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/Flashback.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/Flashback.vue
new file mode 100644
index 0000000000..0f9e043348
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/Flashback.vue
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
+
+
+
+
+ {{ dayjs(data.start_time).format('YYYY-MM-DD HH:mm:ss ZZ') }}
+
+
+
+
+ {{ dayjs(data.end_time).format('YYYY-MM-DD HH:mm:ss ZZ') }}
+
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ForceImportSqlfile.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ForceImportSqlfile.vue
new file mode 100644
index 0000000000..87619bc808
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ForceImportSqlfile.vue
@@ -0,0 +1,21 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaApply.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaApply.vue
new file mode 100644
index 0000000000..8cc5b46ae3
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaApply.vue
@@ -0,0 +1,191 @@
+
+
+ {{ t('部署模块') }}
+
+
+ {{ ticketDetails.bk_biz_name || '--' }}
+
+
+ {{ ticketDetails.db_app_abbr || '--' }}
+
+
+ {{ ticketDetails.details.db_module_name || '--' }}
+
+
+ {{ t('地域要求') }}
+
+
+ {{ ticketDetails.details.city_name }}
+
+
+ {{ t('数据库部署信息') }}
+
+
+ {{ affinity }}
+
+
+ {{ ticketDetails.details.start_proxy_port || '--' }}
+
+
+ {{ ticketDetails.details.start_mysql_port || '--' }}
+
+
+ {{ t('需求信息') }}
+
+
+ {{ ticketDetails.details.cluster_count }}
+
+
+
+
+ {{ ticketDetails.details.resource_spec.proxy.spec_name }}({{
+ `${ticketDetails.details.resource_spec.proxy.count} ${t('台')}`
+ }})
+
+
+
+
+
+
+
+
+
+ {{ ticketDetails.details.resource_spec.backend.spec_name }}({{
+ `${ticketDetails.details.resource_spec.backend.count} ${t('台')}`
+ }})
+
+
+
+
+
+
+
+
+
+
+
+ {{ mysqlType[ticketDetails.ticket_type as MysqlTypeString].name }}
+
+
+ {{ ticketDetails.details.db_version }}
+
+
+ {{ ticketDetails.details.charset }}
+
+
+
+
+
+ P
+
+ {{ host.ip }}
+
+
+
+
+
+
+ M
+
+ {{ ticketDetails.details.nodes.backend[0].ip }}
+
+
+
+ S
+
+ {{ ticketDetails.details.nodes.backend[1].ip }}
+
+
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaDBTableBackup.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaDBTableBackup.vue
new file mode 100644
index 0000000000..d72f9d0713
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaDBTableBackup.vue
@@ -0,0 +1,85 @@
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
+
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
+ {{ item }}
+
+ --
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaDbRename.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaDbRename.vue
new file mode 100644
index 0000000000..f17413e3df
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaDbRename.vue
@@ -0,0 +1,32 @@
+
+
+
+
+ {{ ticketDetails.details.force ? t('是') : t('否') }}
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaDestroy.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaDestroy.vue
new file mode 100644
index 0000000000..41980ffc40
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaDestroy.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaDisable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaDisable.vue
new file mode 100644
index 0000000000..22eee1dd56
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaDisable.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaEnable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaEnable.vue
new file mode 100644
index 0000000000..0a47060b15
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaEnable.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaFullBackup.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaFullBackup.vue
new file mode 100644
index 0000000000..6d513a4a93
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaFullBackup.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
+
+
+
+
+ {{ data.backup_local }}
+
+
+
+
+
+ {{ backupType }}
+
+
+ {{ fileTag }}
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaTruncateData.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaTruncateData.vue
new file mode 100644
index 0000000000..73b8721e3c
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/HaTruncateData.vue
@@ -0,0 +1,21 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ImportSqlfile.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ImportSqlfile.vue
new file mode 100644
index 0000000000..03e0b0bfed
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ImportSqlfile.vue
@@ -0,0 +1,21 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/InstanceCloneRules.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/InstanceCloneRules.vue
new file mode 100644
index 0000000000..061923dca8
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/InstanceCloneRules.vue
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+ {{ data.source }}
+
+
+
+
+ {{ data.cluster_domain }}
+
+
+
+
+ {{ data.target }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/LocalUpgrade.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/LocalUpgrade.vue
new file mode 100644
index 0000000000..c58a7ba995
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/LocalUpgrade.vue
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[item].immute_domain }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ ticketDetails.details.force ? t('是') : t('否') }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/MasterFailOver.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/MasterFailOver.vue
new file mode 100644
index 0000000000..39fa47173a
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/MasterFailOver.vue
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+ {{ data.master_ip.ip }}
+
+
+
+
+ {{ data.slave_ip.ip }}
+
+
+
+
+
+ {{ ticketDetails.details.clusters[clusterId].immute_domain }}
+
+
+
+
+
+
+ {{ ticketDetails.details.is_check_process ? t('是') : t('否') }}
+
+
+ {{ ticketDetails.details.is_check_delay ? t('是') : t('否') }}
+
+
+ {{ ticketDetails.details.is_verify_checksum ? t('是') : t('否') }}
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/MasterSlaveSwitch.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/MasterSlaveSwitch.vue
new file mode 100644
index 0000000000..6a21dfe704
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/MasterSlaveSwitch.vue
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+ {{ data.master_ip.ip }}
+
+
+
+
+ {{ data.slave_ip.ip }}
+
+
+
+
+
+ {{ ticketDetails.details.clusters[clusterId].immute_domain }}
+
+
+
+
+
+
+ {{ ticketDetails.details.is_check_process ? t('是') : t('否') }}
+
+
+ {{ ticketDetails.details.is_check_delay ? t('是') : t('否') }}
+
+
+ {{ ticketDetails.details.is_verify_checksum ? t('是') : t('否') }}
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/MigrateCluster.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/MigrateCluster.vue
new file mode 100644
index 0000000000..c62cb9c0b2
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/MigrateCluster.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[clusterId].immute_domain }}
+
+
+
+
+
+
+
+ M
+
+ {{ data.new_master.ip }}
+
+
+
+ S
+
+ {{ data.new_slave.ip }}
+
+
+
+
+
+
+ {{ ticketDetails.details.backup_source === 'local' ? t('本地备份') : t('远程备份') }}
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/MigrateUpgrade.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/MigrateUpgrade.vue
new file mode 100644
index 0000000000..33e93258ca
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/MigrateUpgrade.vue
@@ -0,0 +1,145 @@
+
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[item].immute_domain }}
+
+
+
+
+
+
+
+ M
+
+ {{ data.display_info.old_master_slave[0] }}
+
+
+
+ S
+
+ {{ data.display_info.old_master_slave[1] }}
+
+
+
+
+
+
+ {{ host.old_slave.ip }}
+
+ --
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ M
+
+ {{ data.new_master.ip }}
+
+
+
+ S
+
+ {{ data.new_slave.ip }}
+
+
+
+
+
+ {{ data.read_only_slaves.length ? data.read_only_slaves.map((item) => item.new_slave.ip).join(',') : '--' }}
+
+
+
+
+
+ {{ ticketDetails.details.force ? t('是') : t('否') }}
+
+
+ {{ backupSourceMap[ticketDetails.details.backup_source] }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/OpenArea.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/OpenArea.vue
new file mode 100644
index 0000000000..9527a605ab
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/OpenArea.vue
@@ -0,0 +1,21 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/Partition.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/Partition.vue
new file mode 100644
index 0000000000..34ba5b0770
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/Partition.vue
@@ -0,0 +1,21 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ProxyAdd.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ProxyAdd.vue
new file mode 100644
index 0000000000..b32bb23a81
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ProxyAdd.vue
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[clusterId].immute_domain }}
+
+
+
+
+
+ {{ data?.new_proxy?.ip }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ProxySwitch.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ProxySwitch.vue
new file mode 100644
index 0000000000..e87ba29ed8
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ProxySwitch.vue
@@ -0,0 +1,90 @@
+
+
+
+
+
+ {{ displayInfoTypeMap[ticketDetails.details.infos[0].display_info.type] }}
+
+
+
+
+
+ {{ data.origin_proxy.ip }}
+
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+ {{ item }}
+
+
+
+
+
+ {{ data.target_proxy.ip }}
+
+
+
+
+
+ {{ ticketDetails.details.force ? t('是') : t('否') }}
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ProxyUpgrade.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ProxyUpgrade.vue
new file mode 100644
index 0000000000..04ef76b320
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/ProxyUpgrade.vue
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[item].immute_domain }}
+
+
+
+
+
+ {{ data.display_info.current_version || '--' }}
+
+
+
+
+ {{ data.display_info.target_package || '--' }}
+
+
+
+
+
+ {{ ticketDetails.details.force ? t('是') : t('否') }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/RestoreLocalSlave.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/RestoreLocalSlave.vue
new file mode 100644
index 0000000000..f8778e3748
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/RestoreLocalSlave.vue
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
+
+
+
+
+ {{ `${data.slave.ip}:${data.slave.port}` }}
+
+
+
+
+ {{ backupSourceMap[ticketDetails.details.backup_source] }}
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/RestoreSlave.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/RestoreSlave.vue
new file mode 100644
index 0000000000..2d2c6b09fc
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/RestoreSlave.vue
@@ -0,0 +1,68 @@
+
+
+
+
+
+ {{ ticketDetails.details.backup_source === 'local' ? t('本地备份') : '--' }}
+
+
+
+
+
+ {{ data.old_slave.ip }}
+
+
+
+
+
+ {{ ticketDetails.details.clusters[clusterId].immute_domain }}
+
+
+
+
+
+ {{ data?.new_slave.ip }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/RollbackCluster.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/RollbackCluster.vue
new file mode 100644
index 0000000000..a8ae969072
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/RollbackCluster.vue
@@ -0,0 +1,21 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleApply.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleApply.vue
new file mode 100644
index 0000000000..a8f310714c
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleApply.vue
@@ -0,0 +1,130 @@
+
+
+ {{ t('部署模块') }}
+
+
+ {{ ticketDetails.bk_biz_name || '--' }}
+
+
+ {{ ticketDetails.db_app_abbr || '--' }}
+
+
+ {{ ticketDetails.details.db_module_name || '--' }}
+
+
+ {{ t('地域要求') }}
+
+
+ {{ ticketDetails.details.city_name }}
+
+
+ {{ t('数据库部署信息') }}
+
+
+ {{ ticketDetails?.details?.start_mysql_port || '--' }}
+
+
+ {{ t('需求信息') }}
+
+
+
+
+ {{ ticketDetails.details.resource_spec.backend.spec_name }}({{
+ `${ticketDetails.details.resource_spec.backend.count} ${t('台')}`
+ }})
+
+
+
+
+
+
+
+
+
+
+ {{ mysqlType[ticketDetails.ticket_type as MysqlTypeString].name }}
+
+
+ {{ ticketDetails.details.db_version }}
+
+
+ {{ ticketDetails.details.charset }}
+
+
+
+
+ {{ host.ip }}
+
+
+
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleBbRename.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleBbRename.vue
new file mode 100644
index 0000000000..38e656078b
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleBbRename.vue
@@ -0,0 +1,21 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleDestroy.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleDestroy.vue
new file mode 100644
index 0000000000..9ab9fda7e4
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleDestroy.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleDisable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleDisable.vue
new file mode 100644
index 0000000000..553ead4711
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleDisable.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleEnable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleEnable.vue
new file mode 100644
index 0000000000..8774cec9fc
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleEnable.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleTruncateData.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleTruncateData.vue
new file mode 100644
index 0000000000..81030beee1
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/SingleTruncateData.vue
@@ -0,0 +1,21 @@
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/authorize-rule/Index.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/authorize-rule/Index.vue
deleted file mode 100644
index 6ccf842788..0000000000
--- a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/authorize-rule/Index.vue
+++ /dev/null
@@ -1,250 +0,0 @@
-
-
-
-
-
-
-
- {{ t('Excel文件') }}:
-
-
-
-
-
-
-
-
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/common/DBRename.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/common/DBRename.vue
new file mode 100644
index 0000000000..9b32e59554
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/common/DBRename.vue
@@ -0,0 +1,36 @@
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
+
+
+
+
+ {{ data.from_database }}
+
+
+
+
+ {{ data.to_database }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/version-upgrade/components/VersionContent.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/components/VersionContent.vue
similarity index 100%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mysql/version-upgrade/components/VersionContent.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/mysql/components/VersionContent.vue
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsPulsar.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Apply.vue
similarity index 88%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsPulsar.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Apply.vue
index ef71ad0e89..c203b3139a 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsPulsar.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Apply.vue
@@ -165,10 +165,6 @@
{{ $t('访问端口') }}:
{{ ticketDetails?.details?.port || '--' }}
-
- {{ $t('备注') }}:
- {{ ticketDetails?.remark || '--' }}
-
;
}
const props = defineProps();
+ defineOptions({
+ name: TicketTypes.PULSAR_APPLY,
+ inheritAttrs: false,
+ });
const { t } = useI18n();
const { AFFINITY: affinityList } = useSystemEnviron().urls;
const cityName = ref('--');
- const zookeeperSpec = computed(() => props.ticketDetails?.details?.resource_spec?.zookeeper || {});
- const bookkeeperSpec = computed(() => props.ticketDetails?.details?.resource_spec?.bookkeeper || {});
- const brokerSpec = computed(() => props.ticketDetails?.details?.resource_spec?.broker || {});
+ const zookeeperSpec = computed(() => props.ticketDetails?.details?.resource_spec.zookeeper || {});
+ const bookkeeperSpec = computed(() => props.ticketDetails?.details?.resource_spec.bookkeeper || {});
+ const brokerSpec = computed(() => props.ticketDetails?.details?.resource_spec.broker || {});
const affinity = computed(() => {
const level = props.ticketDetails?.details?.disaster_tolerance_level;
@@ -288,7 +256,3 @@
previewState.title = `【${title}】${t('主机预览')}`;
}
-
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Destroy.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Destroy.vue
new file mode 100644
index 0000000000..b95dcb9f4d
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Destroy.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Disable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Disable.vue
new file mode 100644
index 0000000000..2b70858a3c
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Disable.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Enable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Enable.vue
new file mode 100644
index 0000000000..affbad12ef
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Enable.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Reboot.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Reboot.vue
new file mode 100644
index 0000000000..c6910aa039
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Reboot.vue
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Replace.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Replace.vue
new file mode 100644
index 0000000000..20051f508a
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Replace.vue
@@ -0,0 +1,141 @@
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/ScaleUp.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/ScaleUp.vue
new file mode 100644
index 0000000000..ec47c50c49
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/ScaleUp.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Shrink.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Shrink.vue
new file mode 100644
index 0000000000..d5450b5aa4
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/pulsar/Shrink.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/Backup.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/Backup.vue
new file mode 100644
index 0000000000..01daf9b6d0
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/Backup.vue
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].cluster_type_name }}
+
+
+
+
+
+ {{ backupTypeMap[data.backup_type] }}
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/AddSlave.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterAddSlave.vue
similarity index 90%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/AddSlave.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterAddSlave.vue
index ee8ac934d4..2930148574 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/AddSlave.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterAddSlave.vue
@@ -20,11 +20,12 @@
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterCutoff.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterCutoff.vue
new file mode 100644
index 0000000000..974923a626
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterCutoff.vue
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterDataCopy.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterDataCopy.vue
new file mode 100644
index 0000000000..b53b0c10e4
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterDataCopy.vue
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.src_cluster].immute_domain }}
+
+
+
+
+ {{ data.src_cluster_type === 'RedisInstance' ? t('主从版') : t('集群版') }}
+
+
+
+
+ {{ ticketDetails.details.clusters[data.src_cluster].cluster_type_name }}
+
+
+
+
+ {{ bizsMap[data.dst_bk_biz_id] }}
+
+
+
+
+ {{ ticketDetails.details.clusters[data.dst_cluster].immute_domain }}
+
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+ {{ copyTypesMap[ticketDetails.details.dts_copy_type] }}
+
+
+ {{ writeTypesMap[ticketDetails.details.write_mode] }}
+
+
+ {{ disconnectTypesMap[ticketDetails.details.sync_disconnect_setting.type] }}
+
+
+ {{ remindFrequencyTypesMap[ticketDetails.details.sync_disconnect_setting.reminder_frequency] }}
+
+
+ {{ repairAndVerifyTypesMap[ticketDetails.details.data_check_repair_setting.type] }}
+
+
+ {{ repairAndVerifyFrequencyTypesMap[ticketDetails.details.data_check_repair_setting.execution_frequency] }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/RollbackDataCopy.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterRollbackDataCopy.vue
similarity index 91%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/RollbackDataCopy.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterRollbackDataCopy.vue
index 2396b56887..8b5dedac4b 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/RollbackDataCopy.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterRollbackDataCopy.vue
@@ -26,13 +26,14 @@
-
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterShardNumUpdate.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterShardNumUpdate.vue
new file mode 100644
index 0000000000..cfd2e84372
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterShardNumUpdate.vue
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.src_cluster].immute_domain }}
+
+
+
+
+ {{ ticketDetails.details.clusters[data.src_cluster].cluster_type_name }}
+
+
+
+
+ {{
+ `${data.capacity}G_${ticketDetails.details.specs[data.resource_spec.backend_group.spec_id].qps.max}/s(${data.current_shard_num}片)`
+ }}
+
+
+
+
+
+
+ {{ ticketDetails.details.specs[data.resource_spec.backend_group.spec_id].name }}
+
+
+
+
+
+ {{ data.online_switch_type === 'user_confirm' ? t('需人工确认') : t('无需确认') }}
+
+
+
+
+
+ {{ repairAndVerifyTypesMap[ticketDetails.details.data_check_repair_setting.type] }}
+
+
+ {{ repairAndVerifyFrequencyMap[ticketDetails.details.data_check_repair_setting.execution_frequency] }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterTypeUpdate.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterTypeUpdate.vue
new file mode 100644
index 0000000000..a1b71d38e6
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ClusterTypeUpdate.vue
@@ -0,0 +1,118 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.src_cluster].immute_domain }}
+
+
+
+
+ {{ ticketDetails.details.clusters[data.src_cluster].cluster_type_name }}
+
+
+
+
+
+
+ {{
+ `${data.capacity}G_${ticketDetails.details.specs[data.resource_spec.backend_group.spec_id].qps.max}/s(${data.current_shard_num}片)`
+ }}
+
+
+
+
+
+
+ {{ ticketDetails.details.specs[data.resource_spec.backend_group.spec_id].name }}
+
+
+
+
+
+ {{ data.online_switch_type === 'user_confirm' ? t('需人工确认') : t('无需确认') }}
+
+
+
+
+
+ {{ repairAndVerifyTypesMap[ticketDetails.details.data_check_repair_setting.type] }}
+
+
+ {{ repairAndVerifyFrequencyMap[ticketDetails.details.data_check_repair_setting.execution_frequency] }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/DataStructure.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/DataStructure.vue
new file mode 100644
index 0000000000..2f61963eb4
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/DataStructure.vue
@@ -0,0 +1,80 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].cluster_type_name }}
+
+
+
+
+
+ {{ item }}
+
+
+
+
+
+ {{ ticketDetails.details.specs[data.resource_spec.redis.spec_id].name }}
+
+
+
+
+ {{ data.resource_spec.redis.count }}
+
+
+
+
+ {{ utcDisplayTime(data.recovery_time_point) }}
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/StructureDelete.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/DataStructureTaskDelete.vue
similarity index 78%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/StructureDelete.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/DataStructureTaskDelete.vue
index 0d3b1fa98c..ca2d1f63e2 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/StructureDelete.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/DataStructureTaskDelete.vue
@@ -17,7 +17,7 @@
show-overflow-tooltip>
- {{ row.display_info.temp_cluster_proxy }}
+ {{ row.display_info?.temp_cluster_proxy || '--' }}
import { useI18n } from 'vue-i18n';
- import type { RedisStructureDeleteDetails } from '@services/model/ticket/details/redis';
- import TicketModel from '@services/model/ticket/ticket';
+ import TicketModel, { type Redis } from '@services/model/ticket/ticket';
+
+ import { TicketTypes } from '@common/const';
interface Props {
- ticketDetails: TicketModel;
+ ticketDetails: TicketModel;
}
defineProps();
+ defineOptions({
+ name: TicketTypes.REDIS_DATA_STRUCTURE_TASK_DELETE,
+ inheritAttrs: false,
+ });
+
const { t } = useI18n();
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/DataCheckAndRepair.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/DatacopyCheckRepair.vue
similarity index 91%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/DataCheckAndRepair.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/DatacopyCheckRepair.vue
index e0c6d1100c..ac006a6eb1 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/DataCheckAndRepair.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/DatacopyCheckRepair.vue
@@ -58,19 +58,25 @@
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/Destroy.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/Destroy.vue
new file mode 100644
index 0000000000..282641aeed
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/Destroy.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/DetailsHa.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/InsApply.vue
similarity index 93%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/DetailsHa.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/InsApply.vue
index bd812aa58f..9e5873f811 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/DetailsHa.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/InsApply.vue
@@ -21,20 +21,26 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
+ import TicketModel, { type Redis } from '@services/model/ticket/ticket';
import { getInfrasCities } from '@services/source/ticket';
- import type { TicketDetails } from '@services/types/ticket';
- import { useAffinity } from '../../../hooks/useAffinity';
- import SpecInfos from '../../SpecInfos.vue';
- import type { RedisHaApply } from '../common/types';
+ import { TicketTypes } from '@common/const';
+
+ import { useAffinity } from '../../hooks/useAffinity';
import DemandInfo from '../components/DemandInfo.vue';
+ import SpecInfos from '../components/SpecInfos.vue';
interface Props{
- ticketDetails: TicketDetails
+ ticketDetails: TicketModel
}
const props = defineProps();
+ defineOptions({
+ name: TicketTypes.REDIS_INS_APPLY,
+ inheritAttrs: false
+ })
+
const { t } = useI18n();
const { affinity } = useAffinity(props.ticketDetails);
@@ -161,10 +167,6 @@
)
},
},
- {
- label: t('备注'),
- key: 'remark',
- },
{
label: t('域名设置'),
isTable: true,
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/InstanceDestroy.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/InstanceDestroy.vue
new file mode 100644
index 0000000000..a2c5d3a20a
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/InstanceDestroy.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/InstanceProxyClose.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/InstanceProxyClose.vue
new file mode 100644
index 0000000000..34e2b23b5d
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/InstanceProxyClose.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/InstanceProxyOpen.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/InstanceProxyOpen.vue
new file mode 100644
index 0000000000..08ae187d0f
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/InstanceProxyOpen.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/KeysDelete.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/KeysDelete.vue
new file mode 100644
index 0000000000..8b3ef96797
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/KeysDelete.vue
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id]?.immute_domain }}
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id]?.cluster_type_name }}
+
+
+
+
+ --
+
+
+ {{ item }}
+
+
+
+
+
+
+ --
+
+
+ {{ item }}
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/KeysExtract.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/KeysExtract.vue
new file mode 100644
index 0000000000..de9b61b02a
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/KeysExtract.vue
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id]?.immute_domain }}
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id]?.cluster_type_name }}
+
+
+
+
+ --
+
+
+ {{ item }}
+
+
+
+
+
+
+ --
+
+
+ {{ item }}
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/PluginDeleteClb.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/PluginDeleteClb.vue
new file mode 100644
index 0000000000..e995d65354
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/PluginDeleteClb.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/PluginDnsBindClb.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/PluginDnsBindClb.vue
new file mode 100644
index 0000000000..03fae8fc69
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/PluginDnsBindClb.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/PluginDnsUnbindClb.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/PluginDnsUnbindClb.vue
new file mode 100644
index 0000000000..2a21a91b57
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/PluginDnsUnbindClb.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ProxyClose.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ProxyClose.vue
new file mode 100644
index 0000000000..2b109d723b
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ProxyClose.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ProxyOpen.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ProxyOpen.vue
new file mode 100644
index 0000000000..c44b9942c0
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ProxyOpen.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ProxyScaleDown.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ProxyScaleDown.vue
new file mode 100644
index 0000000000..a96e68374d
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ProxyScaleDown.vue
@@ -0,0 +1,75 @@
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].cluster_type_name }}
+
+
+ Proxy
+
+
+ {{
+ data.proxy_reduced_hosts?.length ? data.proxy_reduced_hosts.map((item) => item.ip).join('\n') : t('自动匹配')
+ }}
+
+
+
+
+ {{ data.target_proxy_count }}
+
+
+
+
+ {{ switchModeMap[data.online_switch_type] }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ProxyScaleUp.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ProxyScaleUp.vue
new file mode 100644
index 0000000000..c47008bbb9
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ProxyScaleUp.vue
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].cluster_type_name }}
+
+
+ Proxy
+
+
+ {{ ticketDetails.details.specs[data.resource_spec.proxy.spec_id].name }}
+
+
+
+
+ {{ data.resource_spec.proxy.count }}
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/Purge.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/Purge.vue
new file mode 100644
index 0000000000..ffb66f39b1
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/Purge.vue
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ScaleUpdown.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ScaleUpdown.vue
new file mode 100644
index 0000000000..334a7c666a
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/ScaleUpdown.vue
@@ -0,0 +1,208 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].cluster_type_name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ data.online_switch_type === 'user_confirm' ? t('需人工确认') : t('无需确认') }}
+
+
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/VersionUpgrade.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/VersionUpdateOnline.vue
similarity index 84%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/VersionUpgrade.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/VersionUpdateOnline.vue
index ad29d1a9f5..82499ae4a1 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/redis/VersionUpgrade.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/VersionUpdateOnline.vue
@@ -20,19 +20,25 @@
-
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/masterSlaveSwitch.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/masterSlaveSwitch.vue
new file mode 100644
index 0000000000..cd90426179
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/masterSlaveSwitch.vue
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ {{ data.pairs[0].redis_master }}
+
+
+
+
+
+ {{ ticketDetails.details.clusters[item].immute_domain }}
+
+
+
+
+
+ {{ data.pairs[0].redis_slave }}
+
+
+
+
+ {{ data.online_switch_type === 'user_confirm' ? t('需人工确认') : t('无需确认') }}
+
+
+
+
+
+ {{ ticketDetails.details.force ? t('是') : t('否') }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/pluginCreateClb.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/pluginCreateClb.vue
new file mode 100644
index 0000000000..40d2787c10
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/pluginCreateClb.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsRiak.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/Apply.vue
similarity index 86%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsRiak.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/Apply.vue
index defe0fb500..dee079d013 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/DetailsRiak.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/Apply.vue
@@ -59,10 +59,6 @@
{{ t('服务器选择方式') }}:
{{ isFromResourcePool ? t('从资源池匹配') : t('手动选择') }}
-
- {{ t('备注') }}:
- {{ ticketDetails?.remark || '--' }}
-
{{ t('资源规格') }}:
@@ -116,39 +112,26 @@
-
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/Destroy.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/Destroy.vue
new file mode 100644
index 0000000000..dbfc6abc2e
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/Destroy.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/Disable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/Disable.vue
new file mode 100644
index 0000000000..48ce3cc179
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/Disable.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/Enable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/Enable.vue
new file mode 100644
index 0000000000..d89d7be4e7
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/Enable.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/RiakReboot.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/Reboot.vue
similarity index 75%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/RiakReboot.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/Reboot.vue
index 215ce14e6e..850d2fe6d0 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/RiakReboot.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/Reboot.vue
@@ -20,25 +20,23 @@
-
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/ScaleIn.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/ScaleIn.vue
new file mode 100644
index 0000000000..cfb1ba6e2f
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/ScaleIn.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/ScaleOut.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/ScaleOut.vue
new file mode 100644
index 0000000000..47708062b6
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/ScaleOut.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/RiakExpansionCapacity.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/common/ScaleIn&ScaleOut.vue
similarity index 87%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/RiakExpansionCapacity.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/common/ScaleIn&ScaleOut.vue
index 2ed560a7c8..1c5811db19 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/bigdata/RiakExpansionCapacity.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/riak/common/ScaleIn&ScaleOut.vue
@@ -60,33 +60,11 @@
import { useI18n } from 'vue-i18n';
import { useRequest } from 'vue-request';
+ import TicketModel, { type Riak } from '@services/model/ticket/ticket';
import { getResourceSpecList } from '@services/source/dbresourceSpec';
- import type {
- clustersItems,
- TicketDetails,
- } from '@services/types/ticket';
interface Props {
- ticketDetails: TicketDetails<{
- clusters: clustersItems
- cluster_id: number,
- ip_source: 'manual_input' | 'resource_pool',
- resource_spec: {
- riak: {
- count: number,
- spec_id: number
- }
- },
- nodes?: {
- riak: Array<{
- bk_cloud_id: number
- bk_host_id: number
- ip: string,
- alive: number,
- bk_disk: number,
- }>
- }
- }>
+ ticketDetails: TicketModel
}
const props = defineProps();
@@ -143,7 +121,3 @@
},
});
-
-
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/spider/AuthorizeRules.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/spider/AuthorizeRules.vue
deleted file mode 100644
index a1e7ea2b03..0000000000
--- a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/spider/AuthorizeRules.vue
+++ /dev/null
@@ -1,204 +0,0 @@
-
-
-
-
-
-
- {{ t('访问源') }}:
-
-
- {{ authorizeData?.source_ips?.length || 0 }}
-
- {{ t('台') }}
-
-
-
- {{ t('目标集群') }}:
-
-
- {{ authorizeData?.target_instances.length || 0 }}
-
- {{ t('个') }}({{ clusterType }})
-
-
-
- {{ t('账号名') }}:
- {{ authorizeData?.user || '--' }}
-
-
- {{ t('访问DB') }}:
-
-
- {{ item }}
-
-
-
-
-
- {{ t('权限明细') }}:
-
-
-
-
-
- {{ t('Excel文件') }}:
-
-
-
-
-
-
-
-
-
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/AddSlave.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/AddSlave.vue
similarity index 94%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/AddSlave.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/AddSlave.vue
index 7c33155cab..fff9ba9eec 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/AddSlave.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/AddSlave.vue
@@ -12,7 +12,9 @@
-->
-
+
();
defineOptions({
name: TicketTypes.SQLSERVER_AUTHORIZE_RULES,
+ inheritAttrs: false,
});
const { t } = useI18n();
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/BackupDbs.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/BackupDbs.vue
similarity index 94%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/BackupDbs.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/BackupDbs.vue
index 24e1d4c950..300b26c287 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/BackupDbs.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/BackupDbs.vue
@@ -12,7 +12,9 @@
-->
-
+
{{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
@@ -67,9 +69,7 @@
import { TicketTypes } from '@common/const';
- import InfoList, {
- Item as InfoItem,
- } from '@views/tickets/common/components/demand-factory/components/info-list/Index.vue';
+ import InfoList, { Item as InfoItem } from '../components/info-list/Index.vue';
interface Props {
ticketDetails: TicketModel;
@@ -80,6 +80,7 @@
defineProps();
defineOptions({
name: TicketTypes.SQLSERVER_BACKUP_DBS,
+ inheritAttrs: false,
});
const { t } = useI18n();
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/BuildDbSync.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/BuildDbSync.vue
similarity index 94%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/BuildDbSync.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/BuildDbSync.vue
index cfa988a024..949230eebb 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/BuildDbSync.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/BuildDbSync.vue
@@ -12,7 +12,9 @@
-->
-
+
{{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
@@ -48,6 +50,7 @@
defineProps();
defineOptions({
name: TicketTypes.SQLSERVER_BUILD_DB_SYNC,
+ inheritAttrs: false,
});
const { t } = useI18n();
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/ClearDbs.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ClearDbs.vue
similarity index 97%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/ClearDbs.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ClearDbs.vue
index de3ee8051e..e8f1289f97 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/ClearDbs.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ClearDbs.vue
@@ -12,7 +12,9 @@
-->
-
+
@@ -93,6 +95,7 @@
defineOptions({
name: TicketTypes.SQLSERVER_CLEAR_DBS,
+ inheritAttrs: false,
});
const { t } = useI18n();
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/ClusterDestroy.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ClusterDestroy.vue
similarity index 85%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/ClusterDestroy.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ClusterDestroy.vue
index 9f04042c9a..c9f8920589 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/ClusterDestroy.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ClusterDestroy.vue
@@ -12,15 +12,15 @@
-->
-
+
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/ClusterDisable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ClusterDisable.vue
similarity index 85%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/ClusterDisable.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ClusterDisable.vue
index 3fe91a4be8..f8d669e7b6 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/ClusterDisable.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ClusterDisable.vue
@@ -12,15 +12,15 @@
-->
-
+
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/ClusterEnable.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ClusterEnable.vue
similarity index 85%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/ClusterEnable.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ClusterEnable.vue
index 15093fa220..8fd1f4a83f 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/ClusterEnable.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ClusterEnable.vue
@@ -12,15 +12,15 @@
-->
-
+
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/DataMigrate.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/DataMigrate.vue
similarity index 96%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/DataMigrate.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/DataMigrate.vue
index 2e2e09e317..df3ff5d6f2 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/DataMigrate.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/DataMigrate.vue
@@ -12,7 +12,9 @@
-->
-
+
{{ ticketDetails.details.clusters[data.src_cluster].immute_domain }}
@@ -71,6 +73,7 @@
defineOptions({
name: TicketTypes.SQLSERVER_DATA_MIGRATE,
+ inheritAttrs: false,
});
const { t } = useI18n();
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/DbRename.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/DbRename.vue
similarity index 95%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/DbRename.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/DbRename.vue
index e0609a6350..24a02275b3 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/DbRename.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/DbRename.vue
@@ -12,7 +12,9 @@
-->
-
+
{{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
@@ -54,6 +56,7 @@
defineProps();
defineOptions({
name: TicketTypes.SQLSERVER_DBRENAME,
+ inheritAttrs: false,
});
const { t } = useI18n();
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/HaApply.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/HaApply.vue
similarity index 93%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/HaApply.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/HaApply.vue
index 9e5f5e1320..374a3ab151 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/HaApply.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/HaApply.vue
@@ -28,11 +28,11 @@
import PreviewTable from '@views/db-manage/sqlserver/apply/components/PreviewTable.vue';
- import { useAffinity } from '../../../hooks/useAffinity';
- import SpecInfos from '../../SpecInfos.vue';
+ import { useAffinity } from '../../hooks/useAffinity';
import DemandInfo, {
type DemandInfoConfig,
} from '../components/DemandInfo.vue';
+ import SpecInfos from '../components/SpecInfos.vue';
interface Props {
ticketDetails: TicketModel;
@@ -41,7 +41,8 @@
const props = defineProps();
defineOptions({
- name: TicketTypes.SQLSERVER_HA_APPLY
+ name: TicketTypes.SQLSERVER_HA_APPLY,
+ inheritAttrs: false
})
const { t } = useI18n();
@@ -102,10 +103,6 @@
label: t('服务器选择'),
render: () => isFromResourcePool ? t('自动从资源池匹配') : t('业务空闲机')
},
- {
- label: t('备注'),
- key: 'remark',
- },
],
},
];
@@ -191,7 +188,3 @@
},
});
-
-
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/ImportSqlfile.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ImportSqlfile.vue
similarity index 92%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/ImportSqlfile.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ImportSqlfile.vue
index 90ea4024f4..221410ac17 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/ImportSqlfile.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ImportSqlfile.vue
@@ -20,7 +20,7 @@
import { TicketTypes } from '@common/const';
- import ImportSqlfile from '../components/import-sqlfile/Index.vue';
+ import ImportSqlfile from '../common/mysql-import-sqlfile/Index.vue';
interface Props {
ticketDetails: TicketModel;
@@ -30,5 +30,6 @@
defineOptions({
name: TicketTypes.SQLSERVER_IMPORT_SQLFILE,
+ inheritAttrs: false,
});
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/MasterFailOver.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/MasterFailOver.vue
similarity index 94%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/MasterFailOver.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/MasterFailOver.vue
index aaf6131b86..5f8c7b1284 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/MasterFailOver.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/MasterFailOver.vue
@@ -12,7 +12,9 @@
-->
-
+
@@ -53,6 +55,7 @@
defineOptions({
name: TicketTypes.SQLSERVER_MASTER_FAIL_OVER,
+ inheritAttrs: false,
});
const { t } = useI18n();
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/MasterSlaveSwitch.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/MasterSlaveSwitch.vue
similarity index 94%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/MasterSlaveSwitch.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/MasterSlaveSwitch.vue
index 50d62f8ba2..03c0a77f0b 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/MasterSlaveSwitch.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/MasterSlaveSwitch.vue
@@ -12,7 +12,9 @@
-->
-
+
@@ -53,6 +55,7 @@
defineOptions({
name: TicketTypes.SQLSERVER_MASTER_SLAVE_SWITCH,
+ inheritAttrs: false,
});
const { t } = useI18n();
diff --git a/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ModifyStatus.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ModifyStatus.vue
new file mode 100644
index 0000000000..bf7156032b
--- /dev/null
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/ModifyStatus.vue
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+ {{ ticketDetails.details.clusters[data.cluster_id].immute_domain }}
+
+
+
+
+ {{ data.ip_list.join(',') }}
+
+
+
+
+
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/Reset.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/Reset.vue
similarity index 93%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/Reset.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/Reset.vue
index 37a1bc3b83..fff231fd82 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/Reset.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/Reset.vue
@@ -12,7 +12,9 @@
-->
-
+
@@ -43,6 +45,7 @@
defineOptions({
name: TicketTypes.SQLSERVER_RESET,
+ inheritAttrs: false,
});
const { t } = useI18n();
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/RestoreLocalSlave.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/RestoreLocalSlave.vue
similarity index 94%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/RestoreLocalSlave.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/RestoreLocalSlave.vue
index ac2500d17d..6e15bef11e 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/RestoreLocalSlave.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/RestoreLocalSlave.vue
@@ -12,7 +12,9 @@
-->
-
+
@@ -45,6 +47,7 @@
defineOptions({
name: TicketTypes.SQLSERVER_RESTORE_LOCAL_SLAVE,
+ inheritAttrs: false,
});
const { t } = useI18n();
diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/RestoreSlave.vue b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/RestoreSlave.vue
similarity index 94%
rename from dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/RestoreSlave.vue
rename to dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/RestoreSlave.vue
index 6a3bcb6c6b..ba692d176a 100644
--- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/sqlserver/RestoreSlave.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/sqlserver/RestoreSlave.vue
@@ -12,7 +12,9 @@
-->
|