diff --git a/dbm-ui/frontend/src/services/model/hdfs/hdfs.ts b/dbm-ui/frontend/src/services/model/hdfs/hdfs.ts index c99cbffcd6..1b85fe6462 100644 --- a/dbm-ui/frontend/src/services/model/hdfs/hdfs.ts +++ b/dbm-ui/frontend/src/services/model/hdfs/hdfs.ts @@ -261,4 +261,8 @@ export default class Hdfs { return payload; } + + get isStarting() { + return Boolean(this.operations.find((item) => item.ticket_type === Hdfs.HDFS_ENABLE)); + } } diff --git a/dbm-ui/frontend/src/services/model/pulsar/pulsar.ts b/dbm-ui/frontend/src/services/model/pulsar/pulsar.ts index c6615ca357..b846e799fb 100644 --- a/dbm-ui/frontend/src/services/model/pulsar/pulsar.ts +++ b/dbm-ui/frontend/src/services/model/pulsar/pulsar.ts @@ -265,4 +265,8 @@ export default class Pulsar { return payload; } + + get isStarting() { + return Boolean(this.operations.find((item) => item.ticket_type === Pulsar.PULSAR_ENABLE)); + } } diff --git a/dbm-ui/frontend/src/views/db-manage/elastic-search/list/components/list/Index.vue b/dbm-ui/frontend/src/views/db-manage/elastic-search/list/components/list/Index.vue index 0e1bb5f866..e39758e125 100644 --- a/dbm-ui/frontend/src/views/db-manage/elastic-search/list/components/list/Index.vue +++ b/dbm-ui/frontend/src/views/db-manage/elastic-search/list/components/list/Index.vue @@ -684,6 +684,7 @@ handleSwitchRedis(TicketTypes.REDIS_PROXY_OPEN, data)}> { t('启用') }