From 403c8d703e27b64f1bbc1cf7814704df21939fd2 Mon Sep 17 00:00:00 2001 From: yangsy Date: Thu, 26 Feb 2026 11:15:55 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E6=97=A7?= =?UTF-8?q?=E7=89=88=E7=9A=84=E5=BD=95=E5=83=8F=E8=AF=8A=E6=96=AD=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E4=B8=8E=E8=BE=85=E5=8A=A9=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/current-diag/index.ts | 14 +- .../current-diag/nvr-record-card.vue | 267 ------------------ .../device-card/ndm-nvr/nvr-current-diag.vue | 4 +- src/helpers/export-record-diag-csv.ts | 26 -- src/helpers/index.ts | 2 - src/helpers/record-check.ts | 71 ----- 6 files changed, 2 insertions(+), 382 deletions(-) delete mode 100644 src/components/device/device-card/components/current-diag/nvr-record-card.vue delete mode 100644 src/helpers/export-record-diag-csv.ts delete mode 100644 src/helpers/record-check.ts diff --git a/src/components/device/device-card/components/current-diag/index.ts b/src/components/device/device-card/components/current-diag/index.ts index 21146fa..e83f79b 100644 --- a/src/components/device/device-card/components/current-diag/index.ts +++ b/src/components/device/device-card/components/current-diag/index.ts @@ -2,22 +2,10 @@ import DeviceCommonCard from './device-common-card.vue'; import DeviceHardwareCard from './device-hardware-card.vue'; import DeviceHeaderCard from './device-header-card.vue'; import NvrDiskCard from './nvr-disk-card.vue'; -import NvrRecordCard from './nvr-record-card.vue'; import SecurityBoxCircuitCard from './security-box-circuit-card.vue'; import SecurityBoxCircuitLinkModal from './security-box-circuit-link-modal.vue'; import SecurityBoxEnvCard from './security-box-env-card.vue'; import SwitchPortCard from './switch-port-card.vue'; import SwitchPortLinkModal from './switch-port-link-modal.vue'; -export { - DeviceCommonCard, - DeviceHardwareCard, - DeviceHeaderCard, - NvrDiskCard, - NvrRecordCard, - SecurityBoxCircuitCard, - SecurityBoxCircuitLinkModal, - SecurityBoxEnvCard, - SwitchPortCard, - SwitchPortLinkModal, -}; +export { DeviceCommonCard, DeviceHardwareCard, DeviceHeaderCard, NvrDiskCard, SecurityBoxCircuitCard, SecurityBoxCircuitLinkModal, SecurityBoxEnvCard, SwitchPortCard, SwitchPortLinkModal }; diff --git a/src/components/device/device-card/components/current-diag/nvr-record-card.vue b/src/components/device/device-card/components/current-diag/nvr-record-card.vue deleted file mode 100644 index 0105ca4..0000000 --- a/src/components/device/device-card/components/current-diag/nvr-record-card.vue +++ /dev/null @@ -1,267 +0,0 @@ - - - - - diff --git a/src/components/device/device-card/ndm-nvr/nvr-current-diag.vue b/src/components/device/device-card/ndm-nvr/nvr-current-diag.vue index 0b1b540..a380945 100644 --- a/src/components/device/device-card/ndm-nvr/nvr-current-diag.vue +++ b/src/components/device/device-card/ndm-nvr/nvr-current-diag.vue @@ -1,7 +1,6 @@