mirror of
https://gitee.com/xiongmao1988/rax-medical.git
synced 2025-08-24 13:04:57 +08:00
feat: ping增加传参字段
This commit is contained in:
parent
49138bfcc7
commit
1e6116d01f
|
@ -342,7 +342,9 @@ export const useRemoteWsStore = defineStore("remoteWs", {
|
||||||
loopSendMedicinePing(name: string, id: string, date: string, index: number, cb: any){
|
loopSendMedicinePing(name: string, id: string, date: string, index: number, cb: any){
|
||||||
const patient = this.patient[name + id + date + index]
|
const patient = this.patient[name + id + date + index]
|
||||||
if (patient) {
|
if (patient) {
|
||||||
patient.medicineWS.send(JSON.stringify({msgType: "ping"}))
|
patient.medicineWS.send(JSON.stringify({msgType: "ping",patientName: name,
|
||||||
|
idNum: id,
|
||||||
|
date: date}))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
medicineOnclose(name: string, id: string, date: string, index: number, cb: any) {
|
medicineOnclose(name: string, id: string, date: string, index: number, cb: any) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user