From 3418a10025716ed4b14f96cb4c52b5ce0875e563 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 26 十一月 2024 21:46:19 +0800
Subject: [PATCH] 排队界面 召回操作
---
src/views/ecg/doctor/components/QueuePanel.vue | 4 ++--
src/views/ecg/queue/index.vue | 14 +++++++++++---
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/src/views/ecg/doctor/components/QueuePanel.vue b/src/views/ecg/doctor/components/QueuePanel.vue
index 60ed25f..49f8e8d 100644
--- a/src/views/ecg/doctor/components/QueuePanel.vue
+++ b/src/views/ecg/doctor/components/QueuePanel.vue
@@ -32,7 +32,7 @@
bedNo: item.bedNo,
patId: item.patId,
checkType: item.bookCheckType,
- jumpFlag: 0,
+ //jumpFlag: 0,
roomId_operator: props.room.roomId,
bedNo_operator: props.room.bedNo,
}
@@ -43,7 +43,7 @@
else if (item.status === 7)
data = await DoctorApi.recallInstallPatient(patientVO);
- emit("event_RecallFinish") // 瑁呮満 杩囧彿
+ emit("event_RecallFinish") // 鍙洖瀹屾垚
message.info(data)
}
diff --git a/src/views/ecg/queue/index.vue b/src/views/ecg/queue/index.vue
index 5fcf837..c12cd38 100644
--- a/src/views/ecg/queue/index.vue
+++ b/src/views/ecg/queue/index.vue
@@ -204,7 +204,7 @@
link
type="danger"
@click="recall(scope.row)"
- v-if="scope.row.status === 5"
+ v-if="scope.row.status === 5 || scope.row.status === 7"
v-hasPermi="['ecg:queue:recall']"
>
鍙洖
@@ -334,10 +334,18 @@
roomId: item.roomId,
bedNo: item.bedNo,
patId: item.patId,
- jumpFlag: 0
+ checkType: item.bookCheckType,
+ //jumpFlag: 0,
+ roomId_operator: item.roomId, // 闃熷垪鐣岄潰 鍙洖鎿嶄綔鏃� 淇濇寔鍘熸潵鐨勫伐浣�
+ bedNo_operator: item.bedNo, // 闃熷垪鐣岄潰 鍙洖鎿嶄綔鏃� 淇濇寔鍘熸潵鐨勫伐浣�
}
- const data = await DoctorApi.recallPatient(patientVO);
+ let data = ""
+ if (item.status === 5) // 甯歌銆侀鐢� 杩囧彿
+ data = await DoctorApi.recallPatient(patientVO);
+ else if (item.status === 7)
+ data = await DoctorApi.recallInstallPatient(patientVO);
+
message.info(data)
// 鍒锋柊鍒楄〃
await getList()
--
Gitblit v1.9.3