mirror of
https://gitee.com/xiongmao1988/rax-medical.git
synced 2025-08-24 21:14:57 +08:00
commit: 二期
This commit is contained in:
parent
22820d1035
commit
3480ee2af7
|
@ -193,7 +193,7 @@ export const useRemoteWsStore = defineStore("remoteWs", {
|
||||||
patientName: name,
|
patientName: name,
|
||||||
idNum: id,
|
idNum: id,
|
||||||
date: date,
|
date: date,
|
||||||
msgType: "msg"
|
msgType: "init"
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -251,10 +251,11 @@ export const useRemoteWsStore = defineStore("remoteWs", {
|
||||||
const patient: any = this.patient[name + id + date + index]
|
const patient: any = this.patient[name + id + date + index]
|
||||||
if (patient) {
|
if (patient) {
|
||||||
const params = {
|
const params = {
|
||||||
|
msgType: "msg",
|
||||||
patientName: name,
|
patientName: name,
|
||||||
idNum: id,
|
idNum: id,
|
||||||
date: date,
|
date: date,
|
||||||
msg
|
content:msg
|
||||||
}
|
}
|
||||||
patient.chatWS.send(JSON.stringify(params))
|
patient.chatWS.send(JSON.stringify(params))
|
||||||
cb({
|
cb({
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user