@@ -428,6 +447,7 @@
label: t('部署时间'),
field: 'create_at',
sort: true,
+ width: 250,
render: ({ data }: {data: HdfsNodeModel}) =>
{data.createAtDisplay},
},
{
@@ -436,6 +456,7 @@
fixed: 'right',
render: ({ data }: { data: HdfsNodeModel }) => {
const shrinkDisableTooltips = checkNodeShrinkDisable(data);
+ const replaceDisableTooltips = checkNodeReplaceDisable(data);
return (
<>
-
+ handleReplaceOne(data)}
>
{t('替换')}
diff --git a/dbm-ui/frontend/src/views/db-manage/hdfs/list/components/detail/components/node-list/components/InstanceDetail.vue b/dbm-ui/frontend/src/views/db-manage/hdfs/list/components/detail/components/node-list/components/InstanceDetail.vue
index cbdf468d11..717133a580 100644
--- a/dbm-ui/frontend/src/views/db-manage/hdfs/list/components/detail/components/node-list/components/InstanceDetail.vue
+++ b/dbm-ui/frontend/src/views/db-manage/hdfs/list/components/detail/components/node-list/components/InstanceDetail.vue
@@ -18,7 +18,7 @@
:disabled="isBatchRestartDisabled || isRestartActionDisabled"
:loading="isBatchRestartLoading"
@click="handleBatchRestart">
- {{ $t('批量重启') }}
+ {{ t('批量重启') }}