diff --git a/pages/6155/deviceDetail.vue b/pages/6155/deviceDetail.vue index 4f4fcff..e1daf46 100644 --- a/pages/6155/deviceDetail.vue +++ b/pages/6155/deviceDetail.vue @@ -156,7 +156,7 @@ updateLoading } from '@/utils/loading.js' import BleReceive from '@/utils/BleReceive'; - var pagePath = "pages/6155/HBY6155"; + var pagePath = "/pages/6155/HBY6155"; var ble = null; var these = null; @@ -514,11 +514,11 @@ return f; }, - bleValueNotify: function(receive, device, path) { + bleValueNotify: function(receive, device, path,recArr) { if (this.Status.pageHide) { return; } - let json = recei.ReceiveData(receive, device, path); + let json = recei.ReceiveData(receive, device, path,recArr); if (!json) { return; } diff --git a/pages/650/HBY650.vue b/pages/650/HBY650.vue index 806fbbc..7c95e0f 100644 --- a/pages/650/HBY650.vue +++ b/pages/650/HBY650.vue @@ -183,7 +183,7 @@ } from '../../utils/request'; import usrApi from '@/api/670/HBY670.js' - const pagePath = "pages/650/HBY650"; + const pagePath = "/pages/650/HBY650"; var ble = null; var these = null; @@ -490,9 +490,9 @@ return className; }, - bleValueNotify: function(receive, device, path) { //订阅消息 + bleValueNotify: function(receive, device, path,recArr) { //订阅消息 console.log("收到设备的数据", receive) - let data = recei.ReceiveData(receive, device, pagePath); + let data = recei.ReceiveData(receive, device, pagePath,recArr); if (data) { if ("staBlue_picture" in data) { diff --git a/pages/670/HBY670.vue b/pages/670/HBY670.vue index 1fbd0b2..86f66fb 100644 --- a/pages/670/HBY670.vue +++ b/pages/670/HBY670.vue @@ -289,7 +289,7 @@ } from '../../utils/request'; import lnglatConvert from '@/utils/wgs84_to_gcj02.js' - const pagePath = "pages/670/HBY670"; + const pagePath = "/pages/670/HBY670"; var ble = null; var these = null; var recei = null; @@ -982,9 +982,9 @@ this.refreshFormData(receiveData, 'auto'); return receiveData; }, - bleValueNotify: function(receive, device, path) { //订阅消息 + bleValueNotify: function(receive, device, path,recArr) { //订阅消息 - let data = recei.ReceiveData(receive, device, pagePath); + let data = recei.ReceiveData(receive, device, pagePath,recArr); console.log("收到设备的数据", data) if (data) { if ("staBlue_picture" in data) { diff --git a/pages/7305/BJQ7305.vue b/pages/7305/BJQ7305.vue index 284ee44..aabbb99 100644 --- a/pages/7305/BJQ7305.vue +++ b/pages/7305/BJQ7305.vue @@ -162,7 +162,7 @@ var these = null; var BrighInteval = null; var recei = null; - var pagePath = "pages/7305/BJQ7305"; + var pagePath = "/pages/7305/BJQ7305"; export default { components: { textToDotMatrixV1 @@ -465,12 +465,12 @@ return f; }, - bleValueNotify: function(receive, device, path) { + bleValueNotify: function(receive, device, path,recArr) { if (this.Status.pageHide) { return; } - let json = recei.ReceiveData(receive, device, path); + let json = recei.ReceiveData(receive, device, path,recArr); if (!json) { return;