From e56bbfe67465aea2be5b383a0c7d9741a572c15c Mon Sep 17 00:00:00 2001 From: fengerli <528575642@qq.com> Date: Thu, 14 Aug 2025 13:46:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AE=BE=E5=A4=87=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=EF=BC=8C=E6=8F=90=E4=BA=A4=E5=90=8E=EF=BC=8C=E5=AE=9E?= =?UTF-8?q?=E6=97=B6=E8=8E=B7=E5=8F=96=E8=AE=BE=E5=A4=87=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/6170/deviceControl.js | 11 +- package.json | 1 + pages.json | 14 +- pages/210/call/index.vue | 311 ++++++++++++++ pages/210/deviceControl/index.vue | 69 +++- pages/210/onlineDevice/index.vue | 16 +- pages/6170/callPolice/index.vue | 125 ++++-- pages/6170/deviceControl/index.vue | 586 +++++++++++++++------------ pages/6170/shareManagement/index.vue | 143 +++++-- pages/common/index/index.vue | 33 +- pages/common/login/index.vue | 12 +- pages/common/qrcode/qrcode.vue | 7 +- pages/common/send/index.vue | 143 +++++-- static/images/common/bj_1.png | Bin 0 -> 2936 bytes utils/function.js | 16 + 15 files changed, 1104 insertions(+), 383 deletions(-) create mode 100644 pages/210/call/index.vue create mode 100644 static/images/common/bj_1.png create mode 100644 utils/function.js diff --git a/api/6170/deviceControl.js b/api/6170/deviceControl.js index e257231..c53c1bb 100644 --- a/api/6170/deviceControl.js +++ b/api/6170/deviceControl.js @@ -61,4 +61,13 @@ export function mapReverseGeocoding(data) { method: 'post', data: data }) -} \ No newline at end of file +} + +// 或者设备状态 +export function deviceRealTimeStatus(params) { + return request({ + url: `/app/device/realTimeStatus`, + method: 'get', + data:params + }) +} diff --git a/package.json b/package.json index 0ded30f..73c0a2f 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "axios": "^1.9.0", "cordova-sqlite-storage": "^7.0.0", "iconv-lite": "^0.6.3", + "mescroll-uni": "^1.3.7", "paho-mqtt": "^1.1.0", "text-encoding": "^0.7.0", "vk-uview-ui": "^1.5.2" diff --git a/pages.json b/pages.json index dae6342..afe1ed9 100644 --- a/pages.json +++ b/pages.json @@ -8,13 +8,11 @@ } }, - - - { "path": "pages/common/index/index", "style": { - "navigationStyle": "custom" + "navigationStyle": "custom", + "enablePullDownRefresh": true } }, { @@ -184,8 +182,14 @@ "style": { "navigationBarTitleText": "历史记录" } + }, + { + "path": "pages/210/call/index", + "style": { + "navigationBarTitleText": "呼叫" + } } - + ], "tabBar": { diff --git a/pages/210/call/index.vue b/pages/210/call/index.vue new file mode 100644 index 0000000..dc6c0ac --- /dev/null +++ b/pages/210/call/index.vue @@ -0,0 +1,311 @@ + + + + + \ No newline at end of file diff --git a/pages/210/deviceControl/index.vue b/pages/210/deviceControl/index.vue index 4c9088f..7c64e04 100644 --- a/pages/210/deviceControl/index.vue +++ b/pages/210/deviceControl/index.vue @@ -128,9 +128,9 @@ --> - - + + {{ item.title }} @@ -249,23 +249,31 @@