From 29199412e0eba3967d38264c40bdd0f0ced700e5 Mon Sep 17 00:00:00 2001
From: cwchen <1048842385@qq.com>
Date: Wed, 24 Dec 2025 13:28:14 +0800
Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/devops/info.js | 28 ++
.../devops/info/components/SystemInfoForm.vue | 263 +++++++++++++
src/views/devops/info/index.vue | 360 ++++++++++++++++++
3 files changed, 651 insertions(+)
create mode 100644 src/api/devops/info.js
create mode 100644 src/views/devops/info/components/SystemInfoForm.vue
create mode 100644 src/views/devops/info/index.vue
diff --git a/src/api/devops/info.js b/src/api/devops/info.js
new file mode 100644
index 0000000..0a15abf
--- /dev/null
+++ b/src/api/devops/info.js
@@ -0,0 +1,28 @@
+import request from '@/utils/request'
+
+// 系统运维->设备信息->查询设备信息
+export function getDeviceInfoAPI(params) {
+ return request({
+ url: '/smartCar/data/device/getDeviceInfo',
+ method: 'GET',
+ params
+ })
+}
+
+// 系统运维->设备信息->修改设备信息
+export function updateDeviceInfoAPI(data) {
+ return request({
+ url: '/smartCar/data/device/updateDevice',
+ method: 'POST',
+ data
+ })
+}
+
+// 系统运维->设备信息->更新告警状态
+export function updateDeviceAlarmStatusAPI(data) {
+ return request({
+ url: '/smartCar/data/device/updateAlarmStatus',
+ method: 'post',
+ data
+ })
+}
\ No newline at end of file
diff --git a/src/views/devops/info/components/SystemInfoForm.vue b/src/views/devops/info/components/SystemInfoForm.vue
new file mode 100644
index 0000000..61ba37d
--- /dev/null
+++ b/src/views/devops/info/components/SystemInfoForm.vue
@@ -0,0 +1,263 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/devops/info/index.vue b/src/views/devops/info/index.vue
new file mode 100644
index 0000000..edad2ed
--- /dev/null
+++ b/src/views/devops/info/index.vue
@@ -0,0 +1,360 @@
+
+
+
+
+
+
+
+
+ {{ deviceInfo.equipmentName }}
+
+
+ {{ deviceInfo.equipmentModel }}
+
+
+ {{ deviceInfo.firmwareVersion }}
+
+
+ {{ deviceInfo.softwareVersion }}
+
+
+ {{ deviceInfo.ram }}
+
+
+ {{ deviceInfo.hardDriveSize }}
+
+
+ {{ deviceInfo.npu }}
+
+
+ {{ deviceInfo.batteryCapacity }}
+
+
+ {{ deviceInfo.tfStorage }}
+
+
+ {{ deviceInfo.serialNumber }}
+
+
+
+
+
+
+
+
+
+
+ {{ deviceOperation.equipmentStatusText }}
+
+
+
+ {{ deviceOperation.powerSupplyMethodText }}
+
+
+
+
+
+ {{ deviceOperation.equipmentOperatingTemperature }}
+
+
+
+
+
+ {{ deviceOperation.networkConnectionMethod }}
+
+
+
+
+
+
+
+
+
+
+
+