mirror of
https://gitee.com/xiongmao1988/rax-medical.git
synced 2025-08-24 21:14: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 dialogVisible = ref(false)
|
||||||
const patientInfo = ref({} as any)
|
const patientInfo = ref({} as any)
|
||||||
const remoteWsStore = useRemoteWsStore();
|
const remoteWsStore = useRemoteWsStore();
|
||||||
|
let currentIndex = -1;
|
||||||
|
|
||||||
defineExpose({
|
defineExpose({
|
||||||
open,
|
open,
|
||||||
|
@ -50,8 +51,8 @@ defineExpose({
|
||||||
})
|
})
|
||||||
|
|
||||||
function open(i: number) {
|
function open(i: number) {
|
||||||
remoteWsStore.setCurrentTaskIndex(i)
|
currentIndex = i
|
||||||
patientInfo.value = remoteWsStore.getRemoteTask()[remoteWsStore.getCurrentTaskIndex()];
|
patientInfo.value = remoteWsStore.getRemoteTask()[currentIndex];
|
||||||
patientInfo.value.date = new Date();
|
patientInfo.value.date = new Date();
|
||||||
dialogVisible.value = true;
|
dialogVisible.value = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user