完成BJQ4877功能开发
This commit is contained in:
1587
pages/100/HBY100.vue
Normal file
1587
pages/100/HBY100.vue
Normal file
File diff suppressed because it is too large
Load Diff
1587
pages/4877/BJQ4877.vue
Normal file
1587
pages/4877/BJQ4877.vue
Normal file
File diff suppressed because it is too large
Load Diff
@ -357,6 +357,7 @@
|
||||
these.formData.img = device.devicePic;
|
||||
these.formData.id = device.id;
|
||||
these.formData.deviceId = f.deviceId;
|
||||
these.formData.bleStatu=false;
|
||||
ble.LinkBlue(f.deviceId, f.writeServiceId, f.wirteCharactId, f.notifyCharactId).then(res => {
|
||||
these.formData.bleStatu = true;
|
||||
});
|
||||
|
||||
@ -345,7 +345,7 @@
|
||||
these.formData.blename = f.name ? f.name : "Unname";
|
||||
these.formData.deviceName = device.deviceName;
|
||||
these.formData.img = device.devicePic;
|
||||
|
||||
these.formData.bleStatu=false;
|
||||
these.formData.deviceId = f.deviceId;
|
||||
ble.LinkBlue(f.deviceId, f.writeServiceId, f.wirteCharactId, f.notifyCharactId).then(res=>{
|
||||
these.formData.bleStatu=true;
|
||||
|
||||
@ -523,6 +523,7 @@
|
||||
these.formData['imei'] = these.device.deviceImei;
|
||||
}
|
||||
these.getDetail();
|
||||
these.formData.bleStatu=false;
|
||||
ble.LinkBlue(f.deviceId, f.writeServiceId, f.wirteCharactId, f.notifyCharactId).then(res => {
|
||||
these.formData.bleStatu = true;
|
||||
});
|
||||
|
||||
@ -313,6 +313,7 @@
|
||||
these.formData.img = device.devicePic;
|
||||
these.formData.id = device.id;
|
||||
these.formData.deviceId = f.deviceId;
|
||||
these.formData.bleStatu=false;
|
||||
ble.LinkBlue(f.deviceId, f.writeServiceId, f.wirteCharactId, f.notifyCharactId).then(res => {
|
||||
console.log("连接成功")
|
||||
these.formData.bleStatu = true;
|
||||
|
||||
Reference in New Issue
Block a user