mirror of
https://gitee.com/xiongmao1988/rax-medical.git
synced 2025-08-24 13:04:57 +08:00
错误修复
This commit is contained in:
parent
95bdf6cdff
commit
f69b9b7c5c
|
@ -43,6 +43,7 @@ const emit = defineEmits(['confirmRemote', 'errorRemote', 'breakRemote'])
|
|||
const dialogVisible = ref(false)
|
||||
const patientInfo = ref({} as any)
|
||||
const remoteWsStore = useRemoteWsStore();
|
||||
let currentIndex = -1;
|
||||
|
||||
defineExpose({
|
||||
open,
|
||||
|
@ -50,8 +51,8 @@ defineExpose({
|
|||
})
|
||||
|
||||
function open(i: number) {
|
||||
remoteWsStore.setCurrentTaskIndex(i)
|
||||
patientInfo.value = remoteWsStore.getRemoteTask()[remoteWsStore.getCurrentTaskIndex()];
|
||||
currentIndex = i
|
||||
patientInfo.value = remoteWsStore.getRemoteTask()[currentIndex];
|
||||
patientInfo.value.date = new Date();
|
||||
dialogVisible.value = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user