Skip to content

Commit d0d6c66

Browse files
committed
fix(frontend): 修复redis主从集群操作单据详情传值问题 #10394
1 parent 5ecc45a commit d0d6c66

File tree

5 files changed

+10
-103
lines changed

5 files changed

+10
-103
lines changed

dbm-ui/frontend/src/common/const/ticketTypes.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ export enum TicketTypes {
6464
REDIS_INSTANCE_CLOSE = 'REDIS_INSTANCE_CLOSE', // redis 主从集群禁用
6565
REDIS_INSTANCE_DESTROY = 'REDIS_INSTANCE_DESTROY', // redis 主从集群删除
6666
REDIS_INSTANCE_OPEN = 'REDIS_INSTANCE_OPEN', // redis 主从集群启用
67-
REDIS_INSTANCE_PROXY_CLOSE = 'REDIS_INSTANCE_PROXY_CLOSE',
68-
REDIS_INSTANCE_PROXY_OPEN = 'REDIS_INSTANCE_PROXY_OPEN',
67+
// REDIS_INSTANCE_PROXY_CLOSE = 'REDIS_INSTANCE_PROXY_CLOSE',
68+
// REDIS_INSTANCE_PROXY_OPEN = 'REDIS_INSTANCE_PROXY_OPEN',
6969
REDIS_KEYS_DELETE = 'REDIS_KEYS_DELETE',
7070
REDIS_KEYS_EXTRACT = 'REDIS_KEYS_EXTRACT',
7171
REDIS_MASTER_SLAVE_SWITCH = 'REDIS_MASTER_SLAVE_SWITCH',

dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/InstanceDestroy.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
-->
1313

1414
<template>
15-
<ClusterOperation :ticket-details="ticketDetails" />
15+
<BatchClusterOperation :ticket-details="ticketDetails" />
1616
</template>
1717
<script setup lang="ts">
1818
import TicketModel, { type Redis } from '@services/model/ticket/ticket';
1919

2020
import { TicketTypes } from '@common/const';
2121

22-
import ClusterOperation from './common/InstanceOperation.vue';
22+
import BatchClusterOperation from '../common/BatchClusterOperation.vue';
2323

2424
interface Props {
2525
ticketDetails: TicketModel<Redis.InstanceDestroy>;

dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/InstanceProxyClose.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@
1212
-->
1313

1414
<template>
15-
<ClusterOperation :ticket-details="ticketDetails" />
15+
<BatchClusterOperation :ticket-details="ticketDetails" />
1616
</template>
1717
<script setup lang="ts">
1818
import TicketModel, { type Redis } from '@services/model/ticket/ticket';
1919

2020
import { TicketTypes } from '@common/const';
2121

22-
import ClusterOperation from './common/InstanceOperation.vue';
22+
import BatchClusterOperation from '../common/BatchClusterOperation.vue';
2323

2424
interface Props {
2525
ticketDetails: TicketModel<Redis.InstanceProxyClose>;
2626
}
2727

2828
defineOptions({
29-
name: TicketTypes.REDIS_INSTANCE_PROXY_CLOSE,
29+
name: TicketTypes.REDIS_INSTANCE_CLOSE,
3030
inheritAttrs: false,
3131
});
3232

dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/InstanceProxyOpen.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@
1212
-->
1313

1414
<template>
15-
<ClusterOperation :ticket-details="ticketDetails" />
15+
<BatchClusterOperation :ticket-details="ticketDetails" />
1616
</template>
1717
<script setup lang="ts">
1818
import TicketModel, { type Redis } from '@services/model/ticket/ticket';
1919

2020
import { TicketTypes } from '@common/const';
2121

22-
import ClusterOperation from './common/InstanceOperation.vue';
22+
import BatchClusterOperation from '../common/BatchClusterOperation.vue';
2323

2424
interface Props {
2525
ticketDetails: TicketModel<Redis.InstanceProxyOpen>;
2626
}
2727

2828
defineOptions({
29-
name: TicketTypes.REDIS_INSTANCE_PROXY_OPEN,
29+
name: TicketTypes.REDIS_INSTANCE_OPEN,
3030
inheritAttrs: false,
3131
});
3232

dbm-ui/frontend/src/views/ticket-center/common/ticket-detail/components/task-info/com-factory/redis/common/InstanceOperation.vue

-93
This file was deleted.

0 commit comments

Comments
 (0)