From 5cfc1a3436cb167138e3460612587fc3b7ccfde1 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期二, 10 十一月 2026 10:32:52 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/~yxh/opo-web

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

diff --git a/src/views/project/statistics/casePanorama/index.vue b/src/views/project/statistics/casePanorama/index.vue
index 6f0e584..4fe50f4 100644
--- a/src/views/project/statistics/casePanorama/index.vue
+++ b/src/views/project/statistics/casePanorama/index.vue
@@ -210,11 +210,14 @@
   },
   created() {
     this.getDeptOptions();
-    this.getList();
   },
   methods: {
     /** 鏌ヨ妗堜緥鍏ㄦ櫙 */
     getList() {
+      if (!this.dateRange || this.dateRange.length !== 2) {
+        this.$modal.msgWarning("璇烽�夋嫨鏃堕棿鑼冨洿鍚庡啀鏌ヨ");
+        return;
+      }
       this.loading = true;
       listCasePanorama(this.queryParams)
         .then(res => {

--
Gitblit v1.9.3