修复蓝牙设备6155/7305全局弹窗与详情弹窗重复出现的问题

This commit is contained in:
liub
2025-10-24 11:00:35 +08:00
parent 45328120c1
commit 15ba241317
4 changed files with 12 additions and 12 deletions

View File

@ -156,7 +156,7 @@
updateLoading updateLoading
} from '@/utils/loading.js' } from '@/utils/loading.js'
import BleReceive from '@/utils/BleReceive'; import BleReceive from '@/utils/BleReceive';
var pagePath = "pages/6155/HBY6155"; var pagePath = "/pages/6155/HBY6155";
var ble = null; var ble = null;
var these = null; var these = null;
@ -514,11 +514,11 @@
return f; return f;
}, },
bleValueNotify: function(receive, device, path) { bleValueNotify: function(receive, device, path,recArr) {
if (this.Status.pageHide) { if (this.Status.pageHide) {
return; return;
} }
let json = recei.ReceiveData(receive, device, path); let json = recei.ReceiveData(receive, device, path,recArr);
if (!json) { if (!json) {
return; return;
} }

View File

@ -183,7 +183,7 @@
} from '../../utils/request'; } from '../../utils/request';
import usrApi from '@/api/670/HBY670.js' import usrApi from '@/api/670/HBY670.js'
const pagePath = "pages/650/HBY650"; const pagePath = "/pages/650/HBY650";
var ble = null; var ble = null;
var these = null; var these = null;
@ -490,9 +490,9 @@
return className; return className;
}, },
bleValueNotify: function(receive, device, path) { //订阅消息 bleValueNotify: function(receive, device, path,recArr) { //订阅消息
console.log("收到设备的数据", receive) console.log("收到设备的数据", receive)
let data = recei.ReceiveData(receive, device, pagePath); let data = recei.ReceiveData(receive, device, pagePath,recArr);
if (data) { if (data) {
if ("staBlue_picture" in data) { if ("staBlue_picture" in data) {

View File

@ -289,7 +289,7 @@
} from '../../utils/request'; } from '../../utils/request';
import lnglatConvert from '@/utils/wgs84_to_gcj02.js' import lnglatConvert from '@/utils/wgs84_to_gcj02.js'
const pagePath = "pages/670/HBY670"; const pagePath = "/pages/670/HBY670";
var ble = null; var ble = null;
var these = null; var these = null;
var recei = null; var recei = null;
@ -982,9 +982,9 @@
this.refreshFormData(receiveData, 'auto'); this.refreshFormData(receiveData, 'auto');
return receiveData; 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) console.log("收到设备的数据", data)
if (data) { if (data) {
if ("staBlue_picture" in data) { if ("staBlue_picture" in data) {

View File

@ -162,7 +162,7 @@
var these = null; var these = null;
var BrighInteval = null; var BrighInteval = null;
var recei = null; var recei = null;
var pagePath = "pages/7305/BJQ7305"; var pagePath = "/pages/7305/BJQ7305";
export default { export default {
components: { components: {
textToDotMatrixV1 textToDotMatrixV1
@ -465,12 +465,12 @@
return f; return f;
}, },
bleValueNotify: function(receive, device, path) { bleValueNotify: function(receive, device, path,recArr) {
if (this.Status.pageHide) { if (this.Status.pageHide) {
return; return;
} }
let json = recei.ReceiveData(receive, device, path); let json = recei.ReceiveData(receive, device, path,recArr);
if (!json) { if (!json) {
return; return;