From a1b3d03a0cbc7b0e643510a175f29391b108a2b5 Mon Sep 17 00:00:00 2001 From: liub Date: Mon, 12 Jan 2026 10:22:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=B1=BB=E5=9E=8B=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- .env.production | 4 +- index.html | 7 +- .../equipmentManagement/deviceType/index.ts | 9 +- src/views/controlCenter/018A/index.vue | 1090 +++++++++++++++++ .../equipmentManagement/deviceType/index.vue | 267 +++- 6 files changed, 1316 insertions(+), 65 deletions(-) create mode 100644 src/views/controlCenter/018A/index.vue diff --git a/.env.development b/.env.development index 0c2cb45..3dfc58d 100644 --- a/.env.development +++ b/.env.development @@ -6,8 +6,8 @@ VITE_APP_ENV = 'development' # 开发环境 # VITE_APP_BASE_API = 'http://139.224.253.23:8000' - VITE_APP_BASE_API = 'https://www.cnxhyc.com/jq' -#VITE_APP_BASE_API = 'http://192.168.110.56:8000' +# VITE_APP_BASE_API = 'https://www.cnxhyc.com/jq' +VITE_APP_BASE_API = 'http://192.168.110.57:8000' #代永飞接口 # VITE_APP_BASE_API = 'http://457102h2d6.qicp.vip:24689' diff --git a/.env.production b/.env.production index 25ffc11..fdd251b 100644 --- a/.env.production +++ b/.env.production @@ -8,7 +8,7 @@ VITE_APP_ENV = 'https://www.cnxhyc.com' # VITE_APP_ENV = 'https://fuyuanshen.com/backend-fys' # 应用访问路径 晶全1 -VITE_APP_CONTEXT_PATH = '/jingquan/' +VITE_APP_CONTEXT_PATH = '/' # 高德地图Key VITE_AMAP_KEY='84a12a692ae378effdf741e16d584cd3' @@ -23,7 +23,7 @@ VITE_APP_MONITOR_ADMIN = '/admin/applications' VITE_APP_SNAILJOB_ADMIN = '/snail-job' # 生产环境 晶全3 代理访问 -VITE_APP_BASE_API = '/jq' +VITE_APP_BASE_API = 'https://www.cnxhyc.com/jq' # 生产环境 富源晟3 #VITE_APP_BASE_API = '/backend-fys' diff --git a/index.html b/index.html index d4a9c8a..48eb08c 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,12 @@ - + + 物联网管理平台 +
+
设备名称:{{ deviceDetail.deviceName }},IMEI:{{ deviceDetail.deviceImei }}
+
设备型号:{{ deviceDetail.typeName }}
+
+ 设备状态: + + {{ deviceDetail.onlineStatus === 1 ? '在线' : '离线' }} + +
+
电量:{{ deviceDetail.staPowerPercent || 0 }}%
+
续航:{{ powerTime }}
+
+ + +
+ + +
设备静止报警中!
+
+ 设备强制报警中,{{ Status.timeOut }}S! +
+
+
+ + + +
+
+

SOS档位

+
+
+ +
{{ mode.name }}
+ +
+
+
+
+
+ +
+
+

静电探测档位

+
+
+ +
{{ mode.name }}
+ +
+
+
+
+
+ +
+
+

灯光模式

+
+
+ +
{{ mode.name }}
+ +
+
+
+
+
+
+
+ + +
+

人员信息登记

+
+
+ 单位: + +
+
+ 职位: + +
+
+ 姓名: + +
+
+ ID: + +
+ + {{ fullscreenLoading ? '登记中' : '登记' }} +
+
+
+ +
+

发送信息

+
+ +
+ + {{ sendTextLoading ? '发送中' : '发送' }} +
+
+
+
+ + +
+

位置信息

+
+
+ + 经纬度 {{ deviceDetail && deviceDetail.longitude ? Number(deviceDetail.longitude).toFixed(4) : '无' }} + {{ deviceDetail && deviceDetail.latitude ? Number(deviceDetail.latitude).toFixed(4) : '无' }} + +
+
+
+ 地址 {{ deviceDetail.address || '未获取到地址' }} +
+ 查看 +
+
+
+
+
+
+ + +
+

设备电量低于20%

+
+
请及时充电
+ + 确 定 + +
+ + + + + {{ Status.confirm.text }} + + + + + + + diff --git a/src/views/equipmentManagement/deviceType/index.vue b/src/views/equipmentManagement/deviceType/index.vue index 98c0bab..7ac68f3 100644 --- a/src/views/equipmentManagement/deviceType/index.vue +++ b/src/views/equipmentManagement/deviceType/index.vue @@ -1,7 +1,6 @@ - + - - + @@ -101,14 +92,12 @@ - + - + - + @@ -147,6 +136,22 @@ + + + + +
+ +
+ +
+
+
+ +
+
+
+