From 039c34d6e2b6d6100b0f2cc942d46adaaaff1e98 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 03 七月 2025 15:45:55 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/propaganda/QuestionnaireTask.vue |   29 +++++++++++++++++------------
 1 files changed, 17 insertions(+), 12 deletions(-)

diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index c736989..6e19352 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -1027,11 +1027,11 @@
       },
       taskoptions: [
         {
-          value: "1",
+          value: "4",
           label: "鍑洪櫌鐥呬汉",
         },
         {
-          value: "4",
+          value: "1",
           label: "鍦ㄩ櫌鐥呬汉",
         },
         {
@@ -1487,9 +1487,7 @@
       this.overallCase.forEach((item) => {
         this.allpids.push(item.patid);
       });
-      if (
-        this.patientqueryParams.allhosp == 1
-      ) {
+      if (this.patientqueryParams.allhosp == 4) {
         this.tableLabelhz = [
           // { label: "鍏ラ櫌鏃ユ湡", width: "170", prop: "starttime" },
           { label: "鍑洪櫌鏃ユ湡", width: "180", prop: "endtime" },
@@ -1503,9 +1501,7 @@
           { label: "绉戝", width: "180", prop: "dept" },
           { label: "鐥呭尯", width: "150", prop: "leavehospitaldistrictname" },
         ];
-      } else if (
-        this.patientqueryParams.allhosp == 4
-      ) {
+      } else if (this.patientqueryParams.allhosp == 1) {
         this.tableLabelhz = [
           { label: "鍏ラ櫌鏃ユ湡", width: "150", prop: "starttime" },
           { label: "鎮h��", width: "", prop: "name" },
@@ -1514,6 +1510,17 @@
           { label: "鎮h�呮爣绛�", width: "200", prop: "tag" },
           { label: "鍑洪櫌澶╂暟", width: "", prop: "endDay" },
           { label: "璐d换鎶ゅ+", width: "", prop: "nurseName" },
+          { label: "鍖荤敓", width: "", prop: "drname" },
+          { label: "绉戝", width: "180", prop: "dept" },
+          { label: "鐥呭尯", width: "150", prop: "leavehospitaldistrictname" },
+        ];
+      } else {
+        this.tableLabelhz = [
+          // { label: "灏辫瘖鏃ユ湡", width: "150", prop: "createTime" },
+          { label: "鎮h��", width: "", prop: "name" },
+          { label: "鎮h�呯紪鍙�", width: "200", prop: "patientno" },
+          { label: "鎬у埆", width: "", prop: "sex" },
+          { label: "鎮h�呮爣绛�", width: "200", prop: "tag" },
           { label: "鍖荤敓", width: "", prop: "drname" },
           { label: "绉戝", width: "180", prop: "dept" },
           { label: "鐥呭尯", width: "150", prop: "leavehospitaldistrictname" },
@@ -1527,12 +1534,11 @@
 
       // 绉戝杩樻槸鐥呭尯
 
-
       // 鍑洪櫌杩樻槸鍏ラ櫌
-      if (this.patientqueryParams.allhosp == 1) {
+      if (this.patientqueryParams.allhosp == 4) {
         this.patientqueryParams.hospitaldistrictcodes = [];
         this.patientqueryParams.deptcodes = [];
-      } else if (this.patientqueryParams.allhosp == 4) {
+      } else if (this.patientqueryParams.allhosp == 1) {
         this.patientqueryParams.deptcodes =
           this.patientqueryParams.leaveldeptcodes;
         this.patientqueryParams.hospitaldistrictcodes =
@@ -1628,7 +1634,6 @@
       if (this.patientqueryParams.allhosp == 6) {
         this.Externallist();
         console.log();
-
         return;
       }
       if (this.patientqueryParams.searchscope == 1) {

--
Gitblit v1.9.3