From d3c60e18b95b50751f8088fa2d23cd8ff7f173bc Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期三, 01 七月 2026 11:05:17 +0800
Subject: [PATCH] 测试完成

---
 src/views/sfstatistics/percentage/index.vue |   23 +++++++++++++++++++++--
 1 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/src/views/sfstatistics/percentage/index.vue b/src/views/sfstatistics/percentage/index.vue
index 356a03e..ca39454 100644
--- a/src/views/sfstatistics/percentage/index.vue
+++ b/src/views/sfstatistics/percentage/index.vue
@@ -83,6 +83,19 @@
             :picker-options="pickerOptions"
           />
         </el-form-item>
+        <el-form-item label-width="200" label="鍑洪櫌鏃堕棿鑼冨洿" prop="userName">
+          <el-date-picker
+            v-model="queryParams.dateRangecy"
+            value-format="yyyy-MM-dd HH:mm:ss"
+            type="daterange"
+            unlink-panels
+            range-separator="鑷�"
+            start-placeholder="寮�濮嬫棩鏈�"
+            end-placeholder="缁撴潫鏃ユ湡"
+            :default-time="['00:00:00', '23:59:59']"
+            :picker-options="pickerOptions"
+          />
+        </el-form-item>
 
         <el-form-item>
           <el-button
@@ -204,7 +217,7 @@
 import { getSfStatisticsHyperlink } from "@/api/AiCentre/index";
 
 export default {
-  name: "FollowUpStatistics",
+  name: "Percentage",
   components: {
     FirstFollowUp,
     SecondFollowUp,
@@ -225,6 +238,7 @@
       queryParams: {
         serviceType: [2],
         dateRange: this.getLastMonthRange(),
+        dateRangecy: [],
         statisticaltype: 1,
         leavehospitaldistrictcodes: ["all"],
         deptcodes: [],
@@ -361,7 +375,12 @@
         this.queryParams.dateRange[0]
       );
       this.queryParams.endTime = this.parseTime(this.queryParams.dateRange[1]);
-
+      this.queryParams.hospitalStartTime = this.parseTime(
+        this.queryParams.dateRangecy[0]
+      );
+      this.queryParams.hospitalEndTime = this.parseTime(
+        this.queryParams.dateRangecy[1]
+      );
       if (this.queryParams.statisticaltype == 1) {
         this.queryParams.deptcodes = [];
       } else if (this.queryParams.statisticaltype == 2) {

--
Gitblit v1.9.3