From c2943d4c365e6a4719fbd5fedf89f8c2232cf88e Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期一, 25 三月 2024 18:16:27 +0800
Subject: [PATCH] qxtj

---
 src/views/team/disease/index.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/views/team/disease/index.vue b/src/views/team/disease/index.vue
index 6a5466a..0df0442 100644
--- a/src/views/team/disease/index.vue
+++ b/src/views/team/disease/index.vue
@@ -367,8 +367,14 @@
     },
     // 鍥㈡鐥呯椤甸潰鏌ヨ浜哄憳鍒楄〃
     getList() {
-      this.queryParams.beginTime = this.createTimeList[0];
+      if(this.createTimeList){
+        this.queryParams.beginTime = this.createTimeList[0];
       this.queryParams.endTime = this.createTimeList[1];
+      }else if(this.createTimeList == null){
+        this.queryParams.beginTime = null;
+      this.queryParams.endTime = null;
+      }
+      
       getPeopleList(this.queryParams).then((res) => {
         this.tableData = res.data.voList;
         this.total = res.data.total;

--
Gitblit v1.8.0