From 8544ad5024c46f25e25f5426c8f6bf7c2a845836 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期一, 28 十月 2024 09:22:56 +0800
Subject: [PATCH] remove pay-related icons
---
src/views/ecg/doctor/components/RoutinePanel.vue | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/views/ecg/doctor/components/RoutinePanel.vue b/src/views/ecg/doctor/components/RoutinePanel.vue
index 26d038d..9023179 100644
--- a/src/views/ecg/doctor/components/RoutinePanel.vue
+++ b/src/views/ecg/doctor/components/RoutinePanel.vue
@@ -126,8 +126,10 @@
const emit = defineEmits(['event_routine']) // 瀹氫箟 success 浜嬩欢锛岀敤浜庢搷浣滄垚鍔熷悗鐨勫洖璋�
const setPatient = (queueVO: QueueVO | undefined) => {
+ resetForm()
formData.value.patId = queueVO?.patId
- getRentInfoByPatId()
+ formData.value.patName = queueVO?.patName
+ getFreeRentInfo(formData.value)
}
defineExpose({ setPatient }) // 鎻愪緵 setPatient 鏂规硶锛岀敤浜庤缃偅鑰�
@@ -200,16 +202,18 @@
return
formData.value.patId = tempPatId;
- getFreeRentInfo()
+ getFreeRentInfo(formData.value)
}
-const getFreeRentInfo = async () => {
- const data = await DevRentApi.getFreeRent(formData.value)
+const getFreeRentInfo = async (devRentVO) => {
+ const data = await DevRentApi.getFreeRent(devRentVO)
if (null === data)
return
// formDate 瀵瑰簲 DevRent
- formData.value = data
+ // formData.value = data //涓嶈兘鏁翠釜璧嬪�硷紝 榛樿棰嗙敤鏃堕棿琚竻绌�
+ formData.value.id = data.id;
+ formData.value.patDetails = data.patDetails
}
--
Gitblit v1.9.3