From f0cdd8c3b4ea86bc91507b0eb8c647b9dd2712e1 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Thu, 27 Jun 2024 15:43:33 +0800 Subject: [PATCH] Squashed commit of the following: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit d4c5e5a4a859394f1563078e471bbf2d87d61b6a Author: joylink_zhaoerwei Date: Thu Jun 27 15:41:42 2024 +0800 继电器增加批量操作 --- .../draw-app/DrawRelayCabinetProperties.vue | 4 ++ .../RelayMultipleSelectProperty.vue | 54 +++++++++++++++++++ src/stores/relayCabinet-store.ts | 2 +- 3 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 src/components/draw-app/properties/RelayMultipleSelectProperty.vue diff --git a/src/components/draw-app/DrawRelayCabinetProperties.vue b/src/components/draw-app/DrawRelayCabinetProperties.vue index 8316497..10d73c9 100644 --- a/src/components/draw-app/DrawRelayCabinetProperties.vue +++ b/src/components/draw-app/DrawRelayCabinetProperties.vue @@ -34,6 +34,9 @@ > + @@ -49,6 +52,7 @@ import { PhaseFailureProtector } from 'src/graphics/phaseFailureProtector/PhaseF import SignalFaultAlarmProperty from './properties/SignalFaultAlarmProperty.vue'; import { SignalFaultAlarm } from 'src/graphics/signalFaultAlarm/SignalFaultAlarm'; import { useRelayCabinetStore } from 'src/stores/relayCabinet-store'; +import RelayMultipleSelectProperty from './properties/RelayMultipleSelectProperty.vue'; const relayCabinetStore = useRelayCabinetStore(); diff --git a/src/components/draw-app/properties/RelayMultipleSelectProperty.vue b/src/components/draw-app/properties/RelayMultipleSelectProperty.vue new file mode 100644 index 0000000..956ba5a --- /dev/null +++ b/src/components/draw-app/properties/RelayMultipleSelectProperty.vue @@ -0,0 +1,54 @@ + + + diff --git a/src/stores/relayCabinet-store.ts b/src/stores/relayCabinet-store.ts index 5ff8c3e..72586e7 100644 --- a/src/stores/relayCabinet-store.ts +++ b/src/stores/relayCabinet-store.ts @@ -59,7 +59,7 @@ export const useRelayCabinetStore = defineStore('relayCabinet', { ).description; return name || ''; } - return '多选'; + return '批量设置'; } return ''; },