From 943aa27de19b2e39ed13b4a5ae3759d2d9d4a179 Mon Sep 17 00:00:00 2001 From: yangsy Date: Thu, 2 Apr 2026 10:38:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=86=E2=80=9C=E7=94=B5=E8=B7=AF?= =?UTF-8?q?=E2=80=9D=E7=BB=9F=E4=B8=80=E6=9B=B4=E6=AD=A3=E4=B8=BA=E2=80=9C?= =?UTF-8?q?=E7=A9=BA=E5=BC=80=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/current-diag/security-box-circuit-card.vue | 8 ++++---- .../current-diag/security-box-circuit-link-modal.vue | 4 ++-- .../history-diag/security-box-runtime-history-card.vue | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/device/device-card/components/current-diag/security-box-circuit-card.vue b/src/components/device/device-card/components/current-diag/security-box-circuit-card.vue index 9476e03..792382e 100644 --- a/src/components/device/device-card/components/current-diag/security-box-circuit-card.vue +++ b/src/components/device/device-card/components/current-diag/security-box-circuit-card.vue @@ -202,7 +202,7 @@ const contextmenuOptions = computed(() => [ if (!lowerDevice) return; window.$dialog.warning({ title: '确认解除关联吗?', - content: `将解除【电路${circuitIndex + 1}】与【${lowerDevice.name}】的关联关系。`, + content: `将解除【空开${circuitIndex + 1}】与【${lowerDevice.name}】的关联关系。`, style: { width: '600px' }, contentStyle: { height: '60px' }, negativeText: '取消', @@ -299,7 +299,7 @@ const { mutate: unlinkDevice } = useMutation({ diff --git a/src/components/device/device-card/components/current-diag/security-box-circuit-link-modal.vue b/src/components/device/device-card/components/current-diag/security-box-circuit-link-modal.vue index 7db7d84..efd7a18 100644 --- a/src/components/device/device-card/components/current-diag/security-box-circuit-link-modal.vue +++ b/src/components/device/device-card/components/current-diag/security-box-circuit-link-modal.vue @@ -60,7 +60,7 @@ const { mutate: linkPortToDevice, isPending: linking } = useMutation({ const upperDeviceDbId = ndmDevice.value.id; if (!upperDeviceDbId) throw new Error('本设备没有ID'); - if (circuitIndex.value === undefined) throw new Error('该电路不存在'); + if (circuitIndex.value === undefined) throw new Error('该空开不存在'); if (!lowerDevice.value) throw new Error('请选择要关联的设备'); const lowerDeviceType = tryGetDeviceType(lowerDevice.value?.deviceType); @@ -195,7 +195,7 @@ const onCancel = () => { diff --git a/src/components/device/device-card/components/history-diag/security-box-runtime-history-card.vue b/src/components/device/device-card/components/history-diag/security-box-runtime-history-card.vue index 42f8190..8b5561b 100644 --- a/src/components/device/device-card/components/history-diag/security-box-runtime-history-card.vue +++ b/src/components/device/device-card/components/history-diag/security-box-runtime-history-card.vue @@ -31,7 +31,7 @@ const { ndmDevice, station } = toRefs(props); const showDetailModal = ref(false); const detailTableColumns: DataTableColumns = [ - { title: '电路序号', key: 'number' }, + { title: '空开序号', key: 'number' }, { title: '状态', key: 'status', @@ -98,7 +98,7 @@ const tableColumns: DataTableColumns = [ }, // { title: '开关状态', key: 'switches' }, { - title: '电路状态', + title: '空开状态', key: 'circuits', render(rowData) { const { info } = rowData.diagInfo;