mirror of
https://gitee.com/xiongmao1988/rax-medical.git
synced 2025-08-24 04:54:58 +08:00
Merge remote-tracking branch 'origin/一期' into 一期
This commit is contained in:
commit
c575509eaf
|
@ -83,7 +83,7 @@ export const useRemoteWsStore = defineStore("remoteWs", {
|
|||
Session.set("remoteTasks", this.remoteTasks)
|
||||
},
|
||||
getActiveRemoteTask() {
|
||||
let index = 0;
|
||||
let index = 0
|
||||
for (let i = 0; i < this.remoteTasks.length; i++) {
|
||||
if (this.remoteTasks[i].isRemote) index = i
|
||||
}
|
||||
|
|
|
@ -202,9 +202,7 @@ const breakRemote = () => {
|
|||
remoteWsStore.getRemoteTask()[currentIndex]
|
||||
remoteWsStore.disconnect(remoteItem.value.patient, remoteItem.value.patientId, remoteItem.value.date, currentIndex)
|
||||
remoteWsStore.resetRemoteTask(currentIndex)
|
||||
if (remoteWsStore.getActiveRemoteTask()) {
|
||||
showData(remoteWsStore.getActiveRemoteTask())
|
||||
}
|
||||
showData(remoteWsStore.getActiveRemoteTask())
|
||||
emit('breakRemote')
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user