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