|
@@ -284,7 +284,7 @@ Page({
|
|
|
// 开始配网
|
|
// 开始配网
|
|
|
bindViewConnect() {
|
|
bindViewConnect() {
|
|
|
const that = this;
|
|
const that = this;
|
|
|
- if (bluetoothSelectIndex < 0) {
|
|
|
|
|
|
|
+ if (that.data.bluetoothSelectIndex < 0) {
|
|
|
util.showToast("没有指定要配网的设备");
|
|
util.showToast("没有指定要配网的设备");
|
|
|
return false;
|
|
return false;
|
|
|
}
|
|
}
|
|
@@ -691,10 +691,15 @@ Page({
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
+// 实验室
|
|
|
|
|
+// 测试
|
|
|
|
|
+// 332016850591
|
|
|
|
|
+// sleep
|
|
|
|
|
+// sleep1234
|
|
|
checkSn(sntram) {
|
|
checkSn(sntram) {
|
|
|
const that = this;
|
|
const that = this;
|
|
|
wx.request({
|
|
wx.request({
|
|
|
- url: 'https://aipush.aidsleep.cn/customerlist',
|
|
|
|
|
|
|
+ url: 'https://aipush.aidsleep.cn/wxchecksn',
|
|
|
method: 'POST',
|
|
method: 'POST',
|
|
|
data: {
|
|
data: {
|
|
|
token: "89835e65993fee4a6a6cbbe4c271da51e5521822934e13769e61cadabaed72c3" || wx.getStorageSync('token'),
|
|
token: "89835e65993fee4a6a6cbbe4c271da51e5521822934e13769e61cadabaed72c3" || wx.getStorageSync('token'),
|