This commit is contained in:
2023-10-23 09:58:29 +08:00
parent 7bfad8624e
commit 89d5c69198
8 changed files with 14 additions and 14 deletions

View File

@ -249,7 +249,7 @@
} }
}, },
scoket() { scoket() {
var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userInfo').cardNo var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userinfo').cardNo
const that = this const that = this
uni.closeSocket() uni.closeSocket()
this.socketOpen = false this.socketOpen = false
@ -302,7 +302,7 @@
// //
reset() { reset() {
let that = this let that = this
var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userInfo').cardNo var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userinfo').cardNo
clearInterval(that.timer); clearInterval(that.timer);
that.timer = setInterval(() => { that.timer = setInterval(() => {
uni.sendSocketMessage({ uni.sendSocketMessage({

View File

@ -221,7 +221,7 @@
} }
}, },
scoket() { scoket() {
var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userInfo').cardNo var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userinfo').cardNo
const that = this const that = this
uni.closeSocket() uni.closeSocket()
this.socketOpen = false this.socketOpen = false

View File

@ -221,7 +221,7 @@
} }
}, },
scoket() { scoket() {
var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userInfo').cardNo var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userinfo').cardNo
const that = this const that = this
uni.closeSocket() uni.closeSocket()
this.socketOpen = false this.socketOpen = false
@ -274,7 +274,7 @@
// //
reset() { reset() {
let that = this let that = this
var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userInfo').cardNo var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userinfo').cardNo
clearInterval(that.timer); clearInterval(that.timer);
that.timer = setInterval(() => { that.timer = setInterval(() => {
uni.sendSocketMessage({ uni.sendSocketMessage({

View File

@ -241,7 +241,7 @@
} }
}, },
scoket() { scoket() {
var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userInfo').cardNo var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userinfo').cardNo
const that = this const that = this
uni.closeSocket() uni.closeSocket()
this.socketOpen = false this.socketOpen = false
@ -294,7 +294,7 @@
// //
reset() { reset() {
let that = this let that = this
var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userInfo').cardNo var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userinfo').cardNo
clearInterval(that.timer); clearInterval(that.timer);
that.timer = setInterval(() => { that.timer = setInterval(() => {
uni.sendSocketMessage({ uni.sendSocketMessage({

View File

@ -234,7 +234,7 @@
} }
}, },
scoket() { scoket() {
var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userInfo').cardNo var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userinfo').cardNo
const that = this const that = this
uni.closeSocket() uni.closeSocket()
this.socketOpen = false this.socketOpen = false
@ -287,7 +287,7 @@
// //
reset() { reset() {
let that = this let that = this
var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userInfo').cardNo var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userinfo').cardNo
clearInterval(that.timer); clearInterval(that.timer);
that.timer = setInterval(() => { that.timer = setInterval(() => {
uni.sendSocketMessage({ uni.sendSocketMessage({

View File

@ -221,7 +221,7 @@
} }
}, },
scoket() { scoket() {
var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userInfo').cardNo var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userinfo').cardNo
const that = this const that = this
uni.closeSocket() uni.closeSocket()
this.socketOpen = false this.socketOpen = false
@ -274,7 +274,7 @@
// //
reset() { reset() {
let that = this let that = this
var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userInfo').cardNo var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userinfo').cardNo
clearInterval(that.timer); clearInterval(that.timer);
that.timer = setInterval(() => { that.timer = setInterval(() => {
uni.sendSocketMessage({ uni.sendSocketMessage({

View File

@ -221,7 +221,7 @@
} }
}, },
scoket() { scoket() {
var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userInfo').cardNo var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userinfo').cardNo
const that = this const that = this
uni.closeSocket() uni.closeSocket()
this.socketOpen = false this.socketOpen = false
@ -274,7 +274,7 @@
// //
reset() { reset() {
let that = this let that = this
var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userInfo').cardNo var SOCKETURL = 'ws://112.7.50.34:9002/webSocket/' + uni.getStorageSync('userinfo').cardNo
clearInterval(that.timer); clearInterval(that.timer);
that.timer = setInterval(() => { that.timer = setInterval(() => {
uni.sendSocketMessage({ uni.sendSocketMessage({

View File

@ -435,7 +435,7 @@
// //
homeshow() { homeshow() {
// this.getSetting() // this.getSetting()
// this.listquery.bindingCity = uni.getStorageSync('userInfo').bindingCity // this.listquery.bindingCity = uni.getStorageSync('userinfo').bindingCity
var patientCode = this.userinfo.patientCode var patientCode = this.userinfo.patientCode
var openid = uni.getStorageSync('openid') var openid = uni.getStorageSync('openid')