修改
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 {
|
||||
savehr
|
||||
} from '@/api/examinationapi/add.js'
|
||||
import {
|
||||
dzsocketurl,
|
||||
dysocketurl
|
||||
} from '@/api/socketurl.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
@ -52,6 +52,10 @@
|
||||
import {
|
||||
bound,
|
||||
} from '@/api/examinationapi/add.js'
|
||||
import {
|
||||
dzsocketurl,
|
||||
dysocketurl
|
||||
} from '@/api/socketurl.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
@ -48,6 +48,10 @@
|
||||
import {
|
||||
bound,
|
||||
} from '@/api/examinationapi/add.js'
|
||||
import {
|
||||
dzsocketurl,
|
||||
dysocketurl
|
||||
} from '@/api/socketurl.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
@ -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()
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user