From 09dc74e264b6262cbe41c9c8476e24705871d4a6 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期日, 08 十一月 2026 23:31:17 +0800
Subject: [PATCH] yxh

---
 src/views/ecg/appointment/CheckItemPanel.vue |   23 ++++++++++++++++++-----
 1 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/src/views/ecg/appointment/CheckItemPanel.vue b/src/views/ecg/appointment/CheckItemPanel.vue
index 63c379c..db4bc55 100644
--- a/src/views/ecg/appointment/CheckItemPanel.vue
+++ b/src/views/ecg/appointment/CheckItemPanel.vue
@@ -47,16 +47,29 @@
 
 const _confirmAppointment = async () => {
   if (!isCurrentDay(props.appointment.bookDate)) {
-    ElMessageBox.confirm('闈炲綋澶╅绾﹂」锛岀‘瀹氳浠婂ぉ妫�鏌ュ悧锛�', 'Warning', {
-      confirmButtonText: '濂界殑',
-      cancelButtonText: '涓嶇敤',
-      type: 'warning'
-    })
+    // 銆愭湰闇�姹傘�戦潪褰撳ぉ棰勭害锛氬厛鎻愰啋锛岀‘璁ゅ悗**鎸夐鐣欏彿**绛惧叆锛堜笉鍗犵敤浠婂ぉ鍚屾椂娈电殑姝e父棰勭害鍙凤級
+    // 娉ㄦ剰 bookDate 浠庡悗绔洖鏉ユ槸**鏃堕棿鎴虫暟鍊�**锛堝 1792339200000锛夛紝蹇呴』鏍煎紡鍖栧悗鍐嶆嫾杩涙彁绀猴紝
+    // 鍚﹀垯浼氱洿鎺ユ樉绀轰竴涓叉暟瀛椼�俧ormatTimestamp 鈫� dayjs(x).format('YYYY-MM-DD')銆�
+    const bookDateText = props.appointment.bookDate
+      ? formatTimestamp(props.appointment.bookDate)
+      : '-'
+    ElMessageBox.confirm(
+      `璇ユ偅鑰呴绾︽棩鏈熶负 ${bookDateText}锛屼笉鏄粖澶┿�俓n` +
+        '鏄惁浠嶈浠婂ぉ绛惧埌锛熺‘璁ゅ悗灏嗗垎閰嶃�愰鐣欏彿銆戯紙涓嶄細鍗犵敤浠婂ぉ璇ユ椂娈电殑姝e父棰勭害鍙凤級銆�',
+      '闈炲綋澶╅绾︾鍒�',
+      {
+        confirmButtonText: '缁х画绛惧埌',
+        cancelButtonText: '鍙栨秷',
+        type: 'warning'
+      }
+    )
       .then(async () => {
         const tempAppointment = cloneDeep(props.appointment)
         if (undefined !== bookTimeSlotVip.value && null !== bookTimeSlotVip.value) {
           tempAppointment.bookTimeslot = bookTimeSlotVip.value
         }
+        // 銆愭湰闇�姹傘�戞樉寮忓甫涓�"宸茬‘璁ょ鍏�"鏍囪锛氬悗绔嵁姝ゆ斁琛岄潪褰撳ぉ棰勭害锛屽苟鎸夐鐣欏彿鍙栧彿
+        tempAppointment.forceCheckIn = true
         const data = await AppointmentApi.confirmAppointmentVip(tempAppointment)
         seqNum.value = data
         // 鍙戦�佹搷浣滄垚鍔熺殑浜嬩欢

--
Gitblit v1.9.3