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/components/FirstFollowUp.vue | 48 ++++++++++++++++++++++++++++++++++--------------
1 files changed, 34 insertions(+), 14 deletions(-)
diff --git a/src/views/sfstatistics/percentage/components/FirstFollowUp.vue b/src/views/sfstatistics/percentage/components/FirstFollowUp.vue
index e2167f6..70425f2 100644
--- a/src/views/sfstatistics/percentage/components/FirstFollowUp.vue
+++ b/src/views/sfstatistics/percentage/components/FirstFollowUp.vue
@@ -2050,20 +2050,40 @@
selectTimelyRate(row, queryParams) {
console.log(row, queryParams, 88);
- // const params = {
- // ...this.patientqueryParams,
- // starttime: this.parseTime(dateRange[0]),
- // endtime: this.parseTime(dateRange[1]),
- // deptcode: row.deptcode,
- // };
- this.patientqueryParams.starttime = this.parseTime(
- queryParams.dateRange[0]
- );
- this.patientqueryParams.endtime = this.parseTime(
- queryParams.dateRange[1]
- );
- this.patientqueryParams.deptcode = row.deptcode;
- console.log(1);
+ // 搴旈殢璁挎椂闂磋寖鍥�
+ if (queryParams.endTime) {
+ this.patientqueryParams.starttime = queryParams.startTime;
+ this.patientqueryParams.endtime = queryParams.endTime;
+ } else {
+ this.patientqueryParams.starttime = this.parseTime(
+ queryParams.dateRange[0]
+ );
+ this.patientqueryParams.endtime = this.parseTime(
+ queryParams.dateRange[1]
+ );
+ }
+ // 鍑洪櫌鏃堕棿鑼冨洿
+ if (queryParams.hospitalEndTime) {
+ this.patientqueryParams.hospitalstarttime =
+ queryParams.hospitalStartTime;
+ this.patientqueryParams.hospitalendtime = queryParams.hospitalEndTime;
+ } else {
+ this.patientqueryParams.hospitalstarttime = this.parseTime(
+ queryParams.dateRangecy[0]
+ );
+ this.patientqueryParams.hospitalendtime = this.parseTime(
+ queryParams.dateRangecy[1]
+ );
+ }
+ // 缁熻绫诲瀷锛氱梾鍖虹粺璁�(1)浼犵梾鍖篶ode锛岀瀹ょ粺璁�(2)浼犵瀹ode
+ if (queryParams.statisticaltype == 1) {
+ this.patientqueryParams.leavehospitaldistrictcode =
+ row.leavehospitaldistrictcode;
+ this.patientqueryParams.deptcode = null;
+ } else {
+ this.patientqueryParams.deptcode = row.deptcode;
+ this.patientqueryParams.leavehospitaldistrictcode = null;
+ }
this.patientqueryParams.serviceTypes = queryParams.serviceType
? Array.isArray(queryParams.serviceType)
--
Gitblit v1.9.3