修复蓝牙设备6155/7305全局弹窗与详情弹窗重复出现的问题
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user