From 4afb944c92aed7287cc4691fc9019f3b9faea1c0 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期二, 03 十一月 2026 16:04:37 +0800
Subject: [PATCH] 增加对pdf预览支持,统计分析对时间范围的限定要求

---
 src/views/project/statistics/chargeStatistics/index.vue |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/views/project/statistics/chargeStatistics/index.vue b/src/views/project/statistics/chargeStatistics/index.vue
index 826eacf..d5ec2bc 100644
--- a/src/views/project/statistics/chargeStatistics/index.vue
+++ b/src/views/project/statistics/chargeStatistics/index.vue
@@ -337,6 +337,10 @@
 
     /** 鏌ヨ鏀舵缁熻 */
     getList() {
+      if (!this.selecttime || this.selecttime.length !== 2) {
+        this.$modal.msgWarning("璇烽�夋嫨鏃堕棿鑼冨洿鍚庡啀鏌ヨ");
+        return;
+      }
       this.loading = true;
       listsfeistatistics(this.queryParams)
         .then(res => {

--
Gitblit v1.9.3