修改
This commit is contained in:
parent
ac8d8ed292
commit
82cbe35f26
11
api/socketurl.js
Normal file
11
api/socketurl.js
Normal 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
|
||||||
|
}
|
||||||
@ -31,6 +31,10 @@
|
|||||||
import {
|
import {
|
||||||
savehr
|
savehr
|
||||||
} from '@/api/examinationapi/add.js'
|
} from '@/api/examinationapi/add.js'
|
||||||
|
import {
|
||||||
|
dzsocketurl,
|
||||||
|
dysocketurl
|
||||||
|
} from '@/api/socketurl.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@ -52,6 +52,10 @@
|
|||||||
import {
|
import {
|
||||||
bound,
|
bound,
|
||||||
} from '@/api/examinationapi/add.js'
|
} from '@/api/examinationapi/add.js'
|
||||||
|
import {
|
||||||
|
dzsocketurl,
|
||||||
|
dysocketurl
|
||||||
|
} from '@/api/socketurl.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@ -48,6 +48,10 @@
|
|||||||
import {
|
import {
|
||||||
bound,
|
bound,
|
||||||
} from '@/api/examinationapi/add.js'
|
} from '@/api/examinationapi/add.js'
|
||||||
|
import {
|
||||||
|
dzsocketurl,
|
||||||
|
dysocketurl
|
||||||
|
} from '@/api/socketurl.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@ -83,12 +83,15 @@
|
|||||||
markRead
|
markRead
|
||||||
} from '@/api/pagesC/seekadvicefrom/seekadvicefrom.js';
|
} from '@/api/pagesC/seekadvicefrom/seekadvicefrom.js';
|
||||||
import baseurl from '@/api/baseurl.js'
|
import baseurl from '@/api/baseurl.js'
|
||||||
|
import {
|
||||||
|
socketurl
|
||||||
|
} from '@/api/socketurl.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
baseurl: '',
|
baseurl: '',
|
||||||
title: '',
|
title: '',
|
||||||
SOCKETURL: 'ws://8.131.93.145:54010/webSocket/',
|
SOCKETURL: '',
|
||||||
socketOpen: false,
|
socketOpen: false,
|
||||||
sendInfo: {},
|
sendInfo: {},
|
||||||
currentItem: '',
|
currentItem: '',
|
||||||
@ -157,7 +160,7 @@
|
|||||||
this.currentItem = JSON.parse(options.item)
|
this.currentItem = JSON.parse(options.item)
|
||||||
this.title = this.currentItem.doctorName //导航栏标题
|
this.title = this.currentItem.doctorName //导航栏标题
|
||||||
this.userName = this.currentItem.patientName
|
this.userName = this.currentItem.patientName
|
||||||
this.SOCKETURL = this.SOCKETURL + this.currentItem.patientId
|
this.SOCKETURL = socketurl + this.currentItem.patientId
|
||||||
this.getPageHistory()
|
this.getPageHistory()
|
||||||
this.scoket()
|
this.scoket()
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user