From bd3f4b0a9b9207b647de0f0d8c52600a2742fd56 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 26 十一月 2026 09:34:58 +0800
Subject: [PATCH] 修改了框架,适用chrome85
---
src/views/ecg/doctor/components/QueuePanel.vue | 40 +++++++++++++++++++++++++++++++++-------
1 files changed, 33 insertions(+), 7 deletions(-)
diff --git a/src/views/ecg/doctor/components/QueuePanel.vue b/src/views/ecg/doctor/components/QueuePanel.vue
index 5598be0..6ae8c05 100644
--- a/src/views/ecg/doctor/components/QueuePanel.vue
+++ b/src/views/ecg/doctor/components/QueuePanel.vue
@@ -10,7 +10,7 @@
name: 'QueuePanel'
})
-const emit = defineEmits(['event_RecallFinish', 'event_PullWaiting', 'event_HurryUp']) // 瀹氫箟 success 浜嬩欢锛岀敤浜庢搷浣滄垚鍔熷悗鐨勫洖璋�
+const emit = defineEmits(['event_RecallFinish', 'event_PullWaiting', 'event_HurryUp', 'event_Examine']) // 瀹氫箟 success 浜嬩欢锛岀敤浜庢搷浣滄垚鍔熷悗鐨勫洖璋�
const message = useMessage() // 娑堟伅寮圭獥
const props = defineProps({
@@ -52,6 +52,17 @@
/** 绔嬪嵆琛ヤ汉锛堢埗椤甸潰璐熻矗璋冩帴鍙e苟鎶�"缁撹"灞曠ず鍑烘潵锛� */
const hurryUp = () => {
emit('event_HurryUp')
+}
+
+/**
+ * 銆愰渶姹偮蜂笉鍙彿鐩存帴妫�鏌ャ�戞妸杩欒鎮h�呭姞杞借繘琛ㄥ崟鐩存帴鍋氭鏌ャ��
+ *
+ * 璇箟涓庛�岀揣鎬ュ姞鍋氥�嶅畬鍏ㄧ浉鍚岋紙杈撳叆鐢宠鍗曞彿/灏辫瘖鍙�/鎮h�呯紪鍙峰悗鍥炶溅鏌ュ埌鐨勬晥鏋滐級锛�
+ * 涓嶆帓闃熴�佷笉鍙栧彿銆佷笉鍙彿锛�**涔熶笉鏀逛粬鐨勯槦鍒楃姸鎬�** 鈥斺�� 澶у睆/璇婇棿灞忎笂鐪嬩笉鍒�"灏辫瘖涓�"锛�
+ * 閬垮厤鍏朵粬鐥呬汉璇互涓烘湁浜烘彃闃熴�傜埗椤甸潰璐熻矗璋冩帴鍙d笌鍒锋柊銆�
+ */
+const examine = (item: any) => {
+ emit('event_Examine', item)
}
const recall = async (item) => {
@@ -145,6 +156,19 @@
{{getCheckTypeName(item.bookCheckType)}}
<dict-tag :type="DICT_TYPE.ECG_QUEUE_STATUS" :value="item.status" />
<el-button v-if="item.status === 5 || item.status === 7" size="small" @click="recall(item)"> 鍙洖 </el-button>
+ <!--
+ 銆愰渶姹偮蜂紭鍏堟鏌ャ�戜笉鍙彿锛岀洿鎺ユ妸杩欎綅鎮h�呭姞杞藉幓鍋氭鏌ャ��
+ 鍙"鍑嗗涓�(20) / 宸插彫鍥�(15)"鏄剧ず锛氬氨璇婁腑(30) 宸茬粡鍦ㄥ仛锛岃繃鍙�(3/5) 璇峰厛鍙洖銆�
+ -->
+ <el-button
+ v-if="canOperate && (item.status === 15 || item.status === 20)"
+ size="small"
+ type="success"
+ plain
+ @click="examine(item)"
+ >
+ 妫�鏌�
+ </el-button>
</div>
<!--
@@ -155,7 +179,7 @@
-->
<div v-if="waitingList && waitingList.length > 0" class="room-waiting">
<div class="room-waiting__title">
- 鏈瘖瀹ゆ帓闃熶腑锛堟湭鍒嗛厤宸ヤ綅锛墈{ waitingList.length }} 浜�
+ 鍊欒瘖鍖猴紙鏈垎閰嶅伐浣嶏細鍑嗗涓� / 鎺掗槦涓級{{ waitingList.length }} 浜�
</div>
<div v-for="(item, index) in waitingList" :key="'w' + index" class="room-waiting__row">
<span class="col-seq">
@@ -166,6 +190,8 @@
{{ getCheckTypeName(item.bookCheckType) }}
<template v-if="canOperate">
<el-button size="small" type="primary" plain @click="pullWaiting(item)"> 鎷夊叆 </el-button>
+ <!-- 銆愰渶姹偮蜂紭鍏堟鏌ャ�戣繕娌″垎閰嶅伐浣嶄篃鍙互鐩存帴鍋氾紙涓嶅彨鍙枫�佷笉涓婂睆銆佸畬鎴愭椂鎸夋湰浜烘帓闃熻鏀跺熬锛� -->
+ <el-button size="small" type="success" plain @click="examine(item)"> 妫�鏌� </el-button>
</template>
<span v-else class="room-waiting__readonly">锛堝彧璇伙級</span>
</div>
@@ -189,13 +215,13 @@
text-align: center;
&__title {
- font-size: 15px;
+ font-size: 16px;
color: var(--el-text-color-secondary);
}
&__meta {
margin-top: 6px;
- font-size: 13px;
+ font-size: 14px;
line-height: 1.6;
color: var(--el-text-color-placeholder);
}
@@ -212,7 +238,7 @@
&__title {
margin-bottom: 4px;
- font-size: 13px;
+ font-size: 14px;
font-weight: 600;
color: var(--el-color-primary);
}
@@ -224,7 +250,7 @@
}
&__readonly {
- font-size: 12px;
+ font-size: 13px;
color: var(--el-text-color-placeholder);
}
}
@@ -290,7 +316,7 @@
border-radius: 2px;
background-color: var(--el-color-danger);
color: #fff;
- font-size: 11px;
+ font-size: 12px;
line-height: 15px;
vertical-align: 1px;
}
--
Gitblit v1.9.3