From 7e6bbefe402f0546da6b490dfebe529b4026539c Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 17 十月 2024 15:58:37 +0800
Subject: [PATCH] update
---
src/views/ecg/doctor/components/QueuePanel.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/views/ecg/doctor/components/QueuePanel.vue b/src/views/ecg/doctor/components/QueuePanel.vue
index f55d1a2..154050c 100644
--- a/src/views/ecg/doctor/components/QueuePanel.vue
+++ b/src/views/ecg/doctor/components/QueuePanel.vue
@@ -33,8 +33,13 @@
jumpFlag: 0
}
- const data = await DoctorApi.recallPatient(patientVO);
- emit("event_RecallFinish")
+ let data = ""
+ if (item.status === 5) // 甯歌銆侀鐢� 杩囧彿
+ data = await DoctorApi.recallPatient(patientVO);
+ else if (item.status === 7)
+ data = await DoctorApi.recallInstallPatient(patientVO);
+
+ emit("event_RecallFinish") // 瑁呮満 杩囧彿
message.info(data)
}
@@ -47,7 +52,7 @@
<!-- {{item.roomName}} {{item.bedNo}}-->
<dict-tag :type="DICT_TYPE.ECG_CHECK_TYPE" :value="item.bookCheckType" />
<dict-tag :type="DICT_TYPE.ECG_QUEUE_STATUS" :value="item.status" />
- <el-button v-if="item.status === 5" @click="recall(item)"> 鍙洖 </el-button>
+ <el-button v-if="item.status === 5 || item.status === 7" @click="recall(item)"> 鍙洖 </el-button>
</div>
</template>
--
Gitblit v1.9.3