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/QueuePanel.vue | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/views/ecg/doctor/components/QueuePanel.vue b/src/views/ecg/doctor/components/QueuePanel.vue
index b2d8412..43b99be 100644
--- a/src/views/ecg/doctor/components/QueuePanel.vue
+++ b/src/views/ecg/doctor/components/QueuePanel.vue
@@ -3,12 +3,15 @@
import { QueueVO } from '@/api/ecg/queue'
import {DICT_TYPE} from "@/utils/dict";
import {PatientVO, DoctorApi} from "@/api/ecg/doctor";
+import {useCheckTypeStore} from "@/store/modules/checkType";
defineComponent({
name: 'QueuePanel'
})
const emit = defineEmits(['event_RecallFinish']) // 瀹氫箟 success 浜嬩欢锛岀敤浜庢搷浣滄垚鍔熷悗鐨勫洖璋�
+
+const checkTypeStore = useCheckTypeStore();
const message = useMessage() // 娑堟伅寮圭獥
@@ -34,12 +37,12 @@
}
let data = ""
- if (item.status === 5)
+ if (item.status === 5) // 甯歌銆侀鐢� 杩囧彿
data = await DoctorApi.recallPatient(patientVO);
else if (item.status === 7)
data = await DoctorApi.recallInstallPatient(patientVO);
- emit("event_RecallFinish")
+ emit("event_RecallFinish") // 瑁呮満 杩囧彿
message.info(data)
}
@@ -47,10 +50,10 @@
<template>
<div v-for="(item, index) in queue" :key="index">
- <span style="display:inline-block; width:70px;"> {{item.seqNum}} {{item.patName}}{{item.passed === 0 ? "":"*"}} </span>
+ <span style="display:inline-block; width:100px;"> {{item.seqNum}} {{item.patName}}{{item.passed === 0 ? "":"*"}} </span>
<dict-tag :type="DICT_TYPE.SYSTEM_USER_SEX" :value="item.patGender" />
<!-- {{item.roomName}} {{item.bedNo}}-->
- <dict-tag :type="DICT_TYPE.ECG_CHECK_TYPE" :value="item.bookCheckType" />
+ {{checkTypeStore.getCheckTypeName(item.bookCheckType)}}
<dict-tag :type="DICT_TYPE.ECG_QUEUE_STATUS" :value="item.status" />
<el-button v-if="item.status === 5 || item.status === 7" @click="recall(item)"> 鍙洖 </el-button>
</div>
--
Gitblit v1.9.3