From 08881d6b6412822d5035f63a0775ca1f213c8668 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 20 十月 2025 10:17:22 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/propaganda/particty.vue |   31 +++++++++++++++++++++----------
 1 files changed, 21 insertions(+), 10 deletions(-)

diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index f52e5d2..40cb5fd 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -87,7 +87,7 @@
                   <SortCheckbox
                     v-model="checkList"
                     :options="checkboxlist"
-                    :selectedOrder="selectedOrder"
+                    :initialselectedOrder="selectedOrder"
                     value-key="value"
                     label-key="label"
                     @change="checkSelectionChange"
@@ -480,7 +480,7 @@
                         size="medium"
                         :disabled="!patientqueryParams.allhosp"
                         @click="handleQuery"
-                        >鏂板</el-button
+                        >娣诲姞鎮h��</el-button
                       >
                     </el-col>
 
@@ -896,7 +896,7 @@
 import { messagelistpatient } from "@/api/patient/homepage";
 import store from "@/store";
 import {
-  getTaskpatient,
+  getTaskpatientQC,
   getillnesslist,
   getbaseopera,
   getFollowuplist,
@@ -1134,11 +1134,11 @@
       },
       taskoptions: [
         {
-          value: "1",
+          value: "4",
           label: "鍑洪櫌鐥呬汉",
         },
         {
-          value: "4",
+          value: "1",
           label: "鍦ㄩ櫌鐥呬汉",
         },
         {
@@ -1474,7 +1474,9 @@
         this.deptcodesWards[0] ||
         this.leavehospitaldistrictcodes[0] ||
         this.diagglist[0] ||
-        this.operationcodes[0]
+        this.operationcodes[0] ||
+        this.form.longTask == 2 ||
+        this.serviceType == 14
       ) {
       } else {
         this.$modal.msgError("璇烽�夋嫨浠诲姟鍏宠仈鏉′欢");
@@ -1683,12 +1685,11 @@
       } else {
         this.patientqueryParams.pids = null;
       }
-      // 绫诲瀷鍒ゆ柇
       if (this.patientqueryParams.allhosp == 1) {
         this.patientqueryParams.cry = 1;
       } else if (this.patientqueryParams.allhosp == 4) {
-        this.patientqueryParams.cry = 0;
-        this.patientqueryParams.allhosp = "1";
+        //  this.patientqueryParams.cry = 0;
+        //  this.patientqueryParams.allhosp = "1";
       }
       // 鏉ユ簮鍒ゆ柇
 
@@ -1708,7 +1709,7 @@
         this.patientqueryParams.leavehospitaldistrictcodes =
           store.getters.belongWards.map((obj) => obj.districtCode);
       }
-      getTaskpatient(this.patientqueryParams).then((response) => {
+      getTaskpatientQC(this.patientqueryParams).then((response) => {
         this.patientuserList = response.rows;
         this.patientuserList.forEach((item) => {
           if (item.endtime) {
@@ -1798,6 +1799,10 @@
     },
     getList() {},
     handleQuery() {
+      console.log(
+        "this.patientqueryParams.allhosp",
+        this.patientqueryParams.allhosp
+      );
       if (this.patientqueryParams.topica == 0) {
         this.patientqueryParams.leavehospitaldistrictcodes =
           store.getters.leavehospitaldistrictcodes;
@@ -1821,7 +1826,13 @@
       )
         this.patientqueryParams.leaveldeptcodes = null;
       this.handleAddpatient();
+
+      console.log(
+        "this.patientqueryParams.allhosp",
+        this.patientqueryParams.allhosp
+      );
     },
+
     resetQuerymb() {
       this.topqueryParams = { svyname: "" };
       this.handleQuerymb();

--
Gitblit v1.9.3