完成008A功能开发
This commit is contained in:
@ -502,7 +502,7 @@
|
||||
these = this;
|
||||
this.initActionData();
|
||||
|
||||
this.initWatch();
|
||||
|
||||
|
||||
|
||||
|
||||
@ -545,6 +545,7 @@
|
||||
if (!f) {
|
||||
these.showBleUnConnect();
|
||||
these.getDetail();
|
||||
these.initWatch();
|
||||
return;
|
||||
}
|
||||
let form = f.formData;
|
||||
@ -564,6 +565,7 @@
|
||||
});
|
||||
|
||||
these.getDetail();
|
||||
these.initWatch();
|
||||
});
|
||||
|
||||
|
||||
@ -1280,8 +1282,8 @@
|
||||
},
|
||||
getDevice: function() {
|
||||
|
||||
// console.log("LinkedList=", ble.data.LinkedList);
|
||||
// console.log("this.device=", this.device);
|
||||
console.log("LinkedList=", ble.data.LinkedList);
|
||||
console.log("this.device=", this.device);
|
||||
let f = ble.data.LinkedList.find((v) => {
|
||||
if (v.macAddress == these.device.deviceMac) {
|
||||
if (!this.formData.deviceId) {
|
||||
@ -1428,13 +1430,7 @@
|
||||
this.formData.bleStatu = true;
|
||||
|
||||
batchTool = new SendBatchData(this, res, ble);
|
||||
setTimeout(() => {
|
||||
hideLoading(these, 1000);
|
||||
});
|
||||
uni.showToast({
|
||||
icon: 'success',
|
||||
title: '蓝牙连接成功'
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user