This commit is contained in:
2023-11-13 11:50:42 +08:00
parent ac8d8ed292
commit 82cbe35f26
6 changed files with 29 additions and 3 deletions

11
api/socketurl.js Normal file
View File

@ -0,0 +1,11 @@
var socketurl = "ws://8.131.93.145:54010/webSocket/";
var dzsocketurl = "ws://112.6.122.71:8009/fd/webSocket/"; // SN码设备德州
var dysocketurl = "ws://218.58.213.15:8009/fd/webSocket/"; // SN码设备东营
export {
socketurl,
dzsocketurl,
dysocketurl
}

View File

@ -453,4 +453,4 @@
}
}
}
</style>
</style>

View File

@ -31,6 +31,10 @@
import {
savehr
} from '@/api/examinationapi/add.js'
import {
dzsocketurl,
dysocketurl
} from '@/api/socketurl.js'
export default {
data() {
return {

View File

@ -52,6 +52,10 @@
import {
bound,
} from '@/api/examinationapi/add.js'
import {
dzsocketurl,
dysocketurl
} from '@/api/socketurl.js'
export default {
data() {
return {

View File

@ -48,6 +48,10 @@
import {
bound,
} from '@/api/examinationapi/add.js'
import {
dzsocketurl,
dysocketurl
} from '@/api/socketurl.js'
export default {
data() {
return {

View File

@ -83,12 +83,15 @@
markRead
} from '@/api/pagesC/seekadvicefrom/seekadvicefrom.js';
import baseurl from '@/api/baseurl.js'
import {
socketurl
} from '@/api/socketurl.js'
export default {
data() {
return {
baseurl: '',
title: '',
SOCKETURL: 'ws://8.131.93.145:54010/webSocket/',
SOCKETURL: '',
socketOpen: false,
sendInfo: {},
currentItem: '',
@ -157,7 +160,7 @@
this.currentItem = JSON.parse(options.item)
this.title = this.currentItem.doctorName //
this.userName = this.currentItem.patientName
this.SOCKETURL = this.SOCKETURL + this.currentItem.patientId
this.SOCKETURL = socketurl + this.currentItem.patientId
this.getPageHistory()
this.scoket()
},