From 628fd01beea81bac2f0299472d528860ae07cf3f Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期日, 02 六月 2024 10:52:30 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/propaganda/particty.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index b94d4cf..8f06dbc 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -1078,8 +1078,12 @@
       this.overallCase.forEach((item) => {
         this.allpids.push(item.patid);
       });
-      this.patientqueryParams.pids = this.allpids;
-      console.log(this.patientqueryParams.pids);
+      if (this.allpids[0]) {
+        this.patientqueryParams.pids = this.allpids;
+        console.log(this.patientqueryParams.pids);
+      } else {
+        this.patientqueryParams.pids = null;
+      }
 
       getTaskpatient(this.patientqueryParams).then((response) => {
         console.log(response);

--
Gitblit v1.9.3