From 7449ee9bca84c18944e65592ac8ea33a7c191639 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 22 七月 2025 18:29:00 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/record/detailpage/index.vue |    5 +++++
 src/views/sfstatistics/percentage/index.vue       |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index e78cdd6..855b8c3 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -727,6 +727,7 @@
                 :picker-options="pickerOptions"
                 align="right"
                 v-model="form.date1"
+                class="custom-disabled"
               ></el-date-picker>
             </el-form-item>
           </el-col>
@@ -852,6 +853,10 @@
         },
       },
       pickerOptions: {
+        disabledDate(time) {
+        // 绂佺敤浠婂ぉ鍙婁箣鍓嶇殑鏃ユ湡
+        return time.getTime() < Date.now() - 24 * 60 * 60 * 1000;
+      },
         shortcuts: [
           {
             text: "涓冨ぉ鍚�",
diff --git a/src/views/sfstatistics/percentage/index.vue b/src/views/sfstatistics/percentage/index.vue
index fb3b8fb..e919b2f 100644
--- a/src/views/sfstatistics/percentage/index.vue
+++ b/src/views/sfstatistics/percentage/index.vue
@@ -980,7 +980,7 @@
     /** 鎼滅储鎸夐挳鎿嶄綔 */
     handleQuery() {
       this.queryParams.pageNum = 1;
-      if (this.queryParams.dateRange) this.queryParams.dateRange = [];
+      if (!this.queryParams.dateRange) this.queryParams.dateRange = [];
       if (this.queryParams.statisticaltype == 1) {
         this.queryParams.deptcodes = [];
       } else if (this.queryParams.statisticaltype == 2) {

--
Gitblit v1.9.3