From b60394f8417f6565ea673f47375ee33dd17688c0 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期六, 25 十月 2025 10:19:50 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/patient/outpatient.vue |   24 +++++++++++++++---------
 1 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/src/views/patient/patient/outpatient.vue b/src/views/patient/patient/outpatient.vue
index bb43741..0c4ec56 100644
--- a/src/views/patient/patient/outpatient.vue
+++ b/src/views/patient/patient/outpatient.vue
@@ -590,6 +590,7 @@
 import { query360PatInfo, getTasklist, addSubtask } from "@/api/AiCentre/index";
 
 import store from "@/store";
+import { type } from "jquery";
 
 export default {
   name: "Userhuanze",
@@ -879,11 +880,10 @@
       });
     },
     //鎮h��360璺宠浆
-    gettoken360(sfzh,drcode,drname) {
+    gettoken360(sfzh, drcode, drname) {
       // this.$modal.msgWarning('360鍔熻兘鏆傛湭寮�閫�');
 
       this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
-
 
       query360PatInfo(this.postData).then((res) => {
         if (res.data.url) {
@@ -1089,10 +1089,10 @@
       });
 
       // 鏍¢獙鏄惁鍚屼竴绉戝
-      if (patientDepts.size > 1) {
-        this.$modal.msgError("閫変腑鐨勬偅鑰呬笉灞炰簬鍚屼竴绉戝锛屾棤娉曟壒閲忔坊鍔犱换鍔�");
-        return;
-      }
+      // if (patientDepts.size > 1) {
+      //   this.$modal.msgError("閫変腑鐨勬偅鑰呬笉灞炰簬鍚屼竴绉戝锛屾棤娉曟壒閲忔坊鍔犱换鍔�");
+      //   return;
+      // }
 
       // 鑾峰彇閫変腑鎮h�呭垪琛�
       this.selectedPatients = this.userList.filter((item) =>
@@ -1114,8 +1114,8 @@
         pageSize: 10,
         serviceType: 3,
         type: 2,
-        deptcode: deptcode,
       };
+      //         deptcode: deptcode,鍙栨秷绉戝闄愬埗
       getTasklist(topqueryParams).then((response) => {
         this.taskList = response.rows;
         this.batchLoading = false;
@@ -1144,10 +1144,16 @@
         for (const patient of this.selectedPatients) {
           const params = {
             taskid: this.selectedTask.taskid,
+            type: this.selectedTask.type,
             taskName: this.selectedTask.taskName,
             serviceType: this.selectedTask.serviceType,
-            sendstate:2,
+            preachform: this.selectedTask.preachform,
+            templateid: this.selectedTask.templateid,
+            libtemplateid: this.selectedTask.libtemplateid,
+            sendstate: 2,
             ...patient,
+            sendname: patient.patname,
+            leavediagname: patient.diagname,
             age: "",
           };
 
@@ -1225,7 +1231,7 @@
   }
 }
 .button-textsc {
-  color: #3664D9;
+  color: #3664d9;
 }
 .batch-patient-section,
 .batch-task-section {

--
Gitblit v1.9.3