diff --git a/src/components/device-page/box-circuit-card.vue b/src/components/device-page/box-circuit-card.vue new file mode 100644 index 0000000..9ef16e2 --- /dev/null +++ b/src/components/device-page/box-circuit-card.vue @@ -0,0 +1,361 @@ + + + + + diff --git a/src/components/device-page/box-info-card.vue b/src/components/device-page/box-info-card.vue new file mode 100644 index 0000000..daf98eb --- /dev/null +++ b/src/components/device-page/box-info-card.vue @@ -0,0 +1,107 @@ + + + + + diff --git a/src/components/device-page/camera-card.vue b/src/components/device-page/camera-card.vue new file mode 100644 index 0000000..b03684b --- /dev/null +++ b/src/components/device-page/camera-card.vue @@ -0,0 +1,41 @@ + + + + + diff --git a/src/components/device-page/decoder-card.vue b/src/components/device-page/decoder-card.vue new file mode 100644 index 0000000..6f60d97 --- /dev/null +++ b/src/components/device-page/decoder-card.vue @@ -0,0 +1,60 @@ + + + + + diff --git a/src/components/device-page/device-common-card.vue b/src/components/device-page/device-common-card.vue new file mode 100644 index 0000000..f289f69 --- /dev/null +++ b/src/components/device-page/device-common-card.vue @@ -0,0 +1,26 @@ + + + + + diff --git a/src/components/device-page/device-hardware-card.vue b/src/components/device-page/device-hardware-card.vue new file mode 100644 index 0000000..8369b2c --- /dev/null +++ b/src/components/device-page/device-hardware-card.vue @@ -0,0 +1,95 @@ + + + + + diff --git a/src/components/device-page/device-header-card.vue b/src/components/device-page/device-header-card.vue new file mode 100644 index 0000000..412beaf --- /dev/null +++ b/src/components/device-page/device-header-card.vue @@ -0,0 +1,57 @@ + + + + + diff --git a/src/components/device-page/keyboard-card.vue b/src/components/device-page/keyboard-card.vue new file mode 100644 index 0000000..34fd1c5 --- /dev/null +++ b/src/components/device-page/keyboard-card.vue @@ -0,0 +1,31 @@ + + + + + diff --git a/src/components/device-page/nvr-card.vue b/src/components/device-page/nvr-card.vue new file mode 100644 index 0000000..a0685d2 --- /dev/null +++ b/src/components/device-page/nvr-card.vue @@ -0,0 +1,75 @@ + + + + + diff --git a/src/components/device-page/nvr-disk-card.vue b/src/components/device-page/nvr-disk-card.vue new file mode 100644 index 0000000..08c562c --- /dev/null +++ b/src/components/device-page/nvr-disk-card.vue @@ -0,0 +1,398 @@ + + + + + diff --git a/src/components/device-page/nvr-record-diag-card.vue b/src/components/device-page/nvr-record-diag-card.vue new file mode 100644 index 0000000..7ae3e8b --- /dev/null +++ b/src/components/device-page/nvr-record-diag-card.vue @@ -0,0 +1,310 @@ + + + + + + + diff --git a/src/components/device-page/security-box-card.vue b/src/components/device-page/security-box-card.vue new file mode 100644 index 0000000..8696955 --- /dev/null +++ b/src/components/device-page/security-box-card.vue @@ -0,0 +1,71 @@ + + + + + diff --git a/src/components/device-page/server-card.vue b/src/components/device-page/server-card.vue new file mode 100644 index 0000000..4a1b2eb --- /dev/null +++ b/src/components/device-page/server-card.vue @@ -0,0 +1,50 @@ + + + + + diff --git a/src/components/device-page/switch-card.vue b/src/components/device-page/switch-card.vue index 9978560..c3bb5ab 100644 --- a/src/components/device-page/switch-card.vue +++ b/src/components/device-page/switch-card.vue @@ -38,11 +38,13 @@ const selectedTab = ref('设备状态'); -
{{ lastDiagInfo }}
- + + diff --git a/src/components/device-page/switch-port-card.vue b/src/components/device-page/switch-port-card.vue new file mode 100644 index 0000000..1f0a686 --- /dev/null +++ b/src/components/device-page/switch-port-card.vue @@ -0,0 +1,517 @@ + + + + + + + diff --git a/src/pages/device-page.vue b/src/pages/device-page.vue index f55101e..85937ed 100644 --- a/src/pages/device-page.vue +++ b/src/pages/device-page.vue @@ -9,7 +9,7 @@ import ServerCard from '@/components/device-page/server-card.vue'; import SwitchCard from '@/components/device-page/switch-card.vue'; import { useDeviceSelection } from '@/composables/device'; import { useLineDevicesQuery } from '@/composables/query'; -import { DeviceType, getDeviceTypeVal, type DeviceTypeVal } from '@/enums/device-type'; +import { DeviceType, type DeviceTypeVal } from '@/enums/device-type'; import { useLineDevicesStore } from '@/stores/line-devices'; import { useStationStore } from '@/stores/station'; import { ChevronBack } from '@vicons/ionicons5'; @@ -93,28 +93,27 @@ watch(