From fb34ba28cb908bd328cf6690ab0b19a56428f4e2 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期五, 13 十一月 2026 10:56:55 +0800
Subject: [PATCH] 测试完成
---
src/views/sfstatistics/percentage/components/FirstFollowUp.vue | 21 ++++++---------------
1 files changed, 6 insertions(+), 15 deletions(-)
diff --git a/src/views/sfstatistics/percentage/components/FirstFollowUp.vue b/src/views/sfstatistics/percentage/components/FirstFollowUp.vue
index ff4f3c8..1e2b17e 100644
--- a/src/views/sfstatistics/percentage/components/FirstFollowUp.vue
+++ b/src/views/sfstatistics/percentage/components/FirstFollowUp.vue
@@ -1118,7 +1118,7 @@
delete params.leavehospitaldistrictcodes.all;
delete params.deptcodes.all;
params.rateDay = this.orgname == "榫欐硥甯備汉姘戝尰闄�" ? 21 : 7;
- getSfStatistics(params)
+ return getSfStatistics(params)
.then((response) => {
this.tableData = this.customSort(response.data);
})
@@ -1660,19 +1660,9 @@
sheetNameSuffix = `${startDateFormatted}鑷�${endDateFormatted}`;
}
} else {
- const now = new Date();
- const currentMonth = now.getMonth() + 1;
- const currentYear = now.getFullYear();
-
- if (isLishuiHospital) {
- // 涓芥按甯備腑鍖婚櫌锛氭樉绀哄勾鏈�
- dateRangeString = `${currentYear}骞�${currentMonth}鏈坄;
- sheetNameSuffix = `${currentYear}骞�${currentMonth}鏈坄;
- } else {
- // 鍏朵粬鍖婚櫌锛氭樉绀烘湀浠�
- dateRangeString = `${currentMonth}鏈坄;
- sheetNameSuffix = `${currentMonth}鏈坄;
- }
+ // 鏈�夋嫨鏃堕棿锛氭暟鎹湭鍋氭椂闂寸瓫閫夛紝涓哄叏閮ㄦ暟鎹紝鏂囦欢鍚嶆爣娉ㄢ�滃叏閮ㄢ��
+ dateRangeString = "鍏ㄩ儴";
+ sheetNameSuffix = "鍏ㄩ儴";
}
// 鏍规嵁 serviceType 鐢熸垚闅忚绫诲瀷鍚嶇О锛堝吋瀹瑰崟閫�/澶氶�夛級
@@ -1768,7 +1758,8 @@
const end = this.queryParams.dateRange[1].split(" ")[0];
dateRangeString = `${start}鑷�${end}`;
} else {
- dateRangeString = `${new Date().getMonth() + 1}鏈坄;
+ // 鏈�夋嫨鏃堕棿锛氭暟鎹负鍏ㄩ儴
+ dateRangeString = "鍏ㄩ儴";
}
const fileName = `${areaName}鍖荤敓闅忚鍒楄〃_${dateRangeString}.xlsx`;
--
Gitblit v1.9.3