From d725dc65cf7f74df3aa3f5a0297fd6f8b767cdbc Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 30 十月 2026 10:23:03 +0800
Subject: [PATCH] Merge branch 'subtask' of http://116.62.18.175:6699/r/~yxh/smartor-web into subtask

---
 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