diff --git a/pagesC/addHeartRate/addHeartRate.vue b/pagesC/addHeartRate/addHeartRate.vue
index 6e54a25..207ff10 100644
--- a/pagesC/addHeartRate/addHeartRate.vue
+++ b/pagesC/addHeartRate/addHeartRate.vue
@@ -19,9 +19,9 @@
-
+
@@ -49,21 +49,21 @@
};
},
onLoad(options) {
- // this.info();
- bound(uni.getStorageSync('userinfo').cardNo).then(res => {
- if (res.code == 200) {
- res.data.forEach(e => {
- if (Number(e.deviceType) == 1) {
- if (uni.getStorageSync('region') == 1) {
- this.SOCKETURL = dzsocketurl + `${e.sn}`
- } else if (uni.getStorageSync('region') == 2) {
- this.SOCKETURL = dysocketurl + `${e.sn}`
- }
- this.scoket();
- }
- })
- }
- })
+ this.info();
+ // bound(uni.getStorageSync('userinfo').cardNo).then(res => {
+ // if (res.code == 200) {
+ // res.data.forEach(e => {
+ // if (Number(e.deviceType) == 1) {
+ // if (uni.getStorageSync('region') == 1) {
+ // this.SOCKETURL = dzsocketurl + `${e.sn}`
+ // } else if (uni.getStorageSync('region') == 2) {
+ // this.SOCKETURL = dysocketurl + `${e.sn}`
+ // }
+ // this.scoket();
+ // }
+ // })
+ // }
+ // })
},
methods: {
info() {
diff --git a/pagesC/addPressure/addPressure.vue b/pagesC/addPressure/addPressure.vue
index 5a0265c..fcc8780 100644
--- a/pagesC/addPressure/addPressure.vue
+++ b/pagesC/addPressure/addPressure.vue
@@ -37,9 +37,9 @@
-
+
@@ -69,21 +69,21 @@
};
},
onLoad(options) {
- // this.info();
- bound(uni.getStorageSync('userinfo').cardNo).then(res => {
- if (res.code == 200) {
- res.data.forEach(e => {
- if (Number(e.deviceType) == 1) {
- if (uni.getStorageSync('region') == 1) {
- this.SOCKETURL = dzsocketurl + `${e.sn}`
- } else if (uni.getStorageSync('region') == 2) {
- this.SOCKETURL = dysocketurl + `${e.sn}`
- }
- this.scoket();
- }
- })
- }
- })
+ this.info();
+ // bound(uni.getStorageSync('userinfo').cardNo).then(res => {
+ // if (res.code == 200) {
+ // res.data.forEach(e => {
+ // if (Number(e.deviceType) == 1) {
+ // if (uni.getStorageSync('region') == 1) {
+ // this.SOCKETURL = dzsocketurl + `${e.sn}`
+ // } else if (uni.getStorageSync('region') == 2) {
+ // this.SOCKETURL = dysocketurl + `${e.sn}`
+ // }
+ // this.scoket();
+ // }
+ // })
+ // }
+ // })
},
methods: {
info() {
diff --git a/pagesC/addsugar/addsugar.vue b/pagesC/addsugar/addsugar.vue
index 47f9704..27f1365 100644
--- a/pagesC/addsugar/addsugar.vue
+++ b/pagesC/addsugar/addsugar.vue
@@ -32,11 +32,11 @@
睡前2小时
-
+
@@ -65,21 +65,21 @@
};
},
onLoad(options) {
- // this.info();
- bound(uni.getStorageSync('userinfo').cardNo).then(res => {
- if (res.code == 200) {
- res.data.forEach(e => {
- if (Number(e.deviceType) == 2) {
- if (uni.getStorageSync('region') == 1) {
- this.SOCKETURL = dzsocketurl + `${e.sn}`
- } else if (uni.getStorageSync('region') == 2) {
- this.SOCKETURL = dysocketurl + `${e.sn}`
- }
- this.scoket();
- }
- })
- }
- })
+ this.info();
+ // bound(uni.getStorageSync('userinfo').cardNo).then(res => {
+ // if (res.code == 200) {
+ // res.data.forEach(e => {
+ // if (Number(e.deviceType) == 2) {
+ // if (uni.getStorageSync('region') == 1) {
+ // this.SOCKETURL = dzsocketurl + `${e.sn}`
+ // } else if (uni.getStorageSync('region') == 2) {
+ // this.SOCKETURL = dysocketurl + `${e.sn}`
+ // }
+ // this.scoket();
+ // }
+ // })
+ // }
+ // })
},
methods: {
info() {