From 39c8b288ec8294e026459dfb1955f0bbc49ebb52 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 19 十月 2026 11:10:40 +0800
Subject: [PATCH] 测试完成

---
 src/views/sfstatistics/percentage/index.vue |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/views/sfstatistics/percentage/index.vue b/src/views/sfstatistics/percentage/index.vue
index 39b83e2..9171a12 100644
--- a/src/views/sfstatistics/percentage/index.vue
+++ b/src/views/sfstatistics/percentage/index.vue
@@ -483,6 +483,7 @@
       if (type == 1) {
         obj.drcode = row.drcode;
       }
+      // 缁熻绫诲瀷锛氱梾鍖虹粺璁�(1)浼犵梾鍖篶ode锛岀瀹ょ粺璁�(2)浼犵瀹ode
       if (this.queryParams.statisticaltype == 1) {
         obj.leavehospitaldistrictcodes = [row.leavehospitaldistrictcode];
         obj.deptcodes = [];
@@ -490,6 +491,7 @@
         obj.deptcodes = [row.deptcode];
         obj.leavehospitaldistrictcodes = [];
       }
+      // 搴旈殢璁挎椂闂磋寖鍥�
       if (this.queryParams.endTime) {
         obj.endTime = this.queryParams.endTime;
         obj.startTime = this.queryParams.startTime;
@@ -497,6 +499,14 @@
         obj.startTime = this.parseTime(this.queryParams.dateRange[0]);
         obj.endTime = this.parseTime(this.queryParams.dateRange[1]);
       }
+      // 鍑洪櫌鏃堕棿鑼冨洿
+      if (this.queryParams.hospitalEndTime) {
+        obj.hospitalEndTime = this.queryParams.hospitalEndTime;
+        obj.hospitalStartTime = this.queryParams.hospitalStartTime;
+      } else {
+        obj.hospitalStartTime = this.parseTime(this.queryParams.dateRangecy[0]);
+        obj.hospitalEndTime = this.parseTime(this.queryParams.dateRangecy[1]);
+      }
 
       obj.statisticaltype = this.queryParams.statisticaltype;
 

--
Gitblit v1.9.3