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 @@