From a99e82da2b087d7019cdce015c25befc620b9d61 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 10 十一月 2026 14:14:16 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/propaganda/QuestionnaireTask.vue |   90 +++++++++++++++++++++++++++++++++++++--------
 1 files changed, 74 insertions(+), 16 deletions(-)

diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index ec22748..d54357c 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -70,6 +70,19 @@
                   />
                 </el-form-item>
 
+                <el-form-item
+                  label="鐐逛綅缂栫爜"
+                  v-if="
+                    isTongdeCampus && (serviceType == 6 || serviceType == 14)
+                  "
+                >
+                  <el-input
+                    style="width: 220px"
+                    v-model="form.pointLocation"
+                    placeholder="璇疯緭鍏ョ偣浣嶇紪鐮�"
+                  />
+                </el-form-item>
+
                 <el-form-item label="鏈嶅姟褰㈠紡">
                   <SortCheckbox
                     v-model="checkList"
@@ -333,7 +346,9 @@
                 </el-row>
 
                 <!-- 缂欎簯鍘夸汉姘戝尰闄細瓒呮椂鏈畬鎴愭槸鍚﹀啀娆¢殢璁� / 鍐嶆闅忚鍏宠仈浠诲姟 -->
-                <el-row v-if="form.appltype == 1 && orgname == '缂欎簯鍘夸汉姘戝尰闄�'">
+                <el-row
+                  v-if="form.appltype == 1 && orgname == '缂欎簯鍘夸汉姘戝尰闄�'"
+                >
                   <el-col :span="12">
                     <el-form-item label="瓒呮椂鏈畬鎴愭槸鍚﹀啀娆¢殢璁�">
                       <el-radio-group v-model="form.nexttaskflag">
@@ -347,7 +362,7 @@
                       <el-input
                         style="width: 300px"
                         :disabled="true"
-                        v-model="nextTaskName"
+                        v-model="nexttaskname"
                         placeholder="璇风偣鍑诲彸渚ч�夋嫨浠诲姟"
                       />
                       <el-button
@@ -956,6 +971,30 @@
                   </el-table>
                 </el-row>
               </div>
+            </div>
+          </div>
+          <div class="examine-jic">
+            <div class="headline">
+              <div>浜屾闅忚浠诲姟閰嶇疆</div>
+            </div>
+            <div class="jic-value">
+              <el-form label-width="125px">
+                <el-form-item label="浜屾闅忚浠诲姟">
+                  <el-input
+                    style="width: 300px"
+                    :disabled="true"
+                    v-model="nexttaskname"
+                    placeholder="璇风偣鍑诲彸渚ч�夋嫨浠诲姟"
+                  />
+                  <el-button
+                    style="margin-left: 10px"
+                    type="primary"
+                    icon="el-icon-edit"
+                    circle
+                    @click="openNextTaskDialog"
+                  ></el-button>
+                </el-form-item>
+              </el-form>
             </div>
           </div>
         </div>
@@ -1661,11 +1700,13 @@
         patTaskRelevances: [],
         nexttaskflag: "0",
         nexttaskid: null,
+        nexttaskname: "",
         sendType: 1,
         longTask: 0,
         templatename: "",
         templateid: null,
         libtemplateid: null,
+        pointLocation: "",
         kcb:
           "浜茬埍鐨勬偅鑰�/瀹跺睘锛屾垜浠槸" +
           localStorage.getItem("orgname") +
@@ -1686,14 +1727,6 @@
           detailList: [],
         },
       },
-      taskoptions: [
-        { value: "4", label: "鍑洪櫌鐥呬汉" },
-        { value: "1", label: "鍦ㄩ櫌鐥呬汉" },
-        { value: "2", label: "闂ㄨ瘖鐥呬汉" },
-        { value: "3", label: "浣撴鐥呬汉" },
-        { value: "6", label: "闄㈠鎮h��" },
-        { value: "5", label: "鎵嬫湳鐥呬汉" },
-      ],
       source: [
         { value: 0, label: "鎵�灞炴偅鑰�" },
         { value: 1, label: "绉戝鎮h��" },
@@ -1738,7 +1771,7 @@
       nextTaskList: [],
       nextTaskTotal: 0,
       nextTaskQuery: { pageNum: 1, pageSize: 10, taskName: "" },
-      nextTaskName: "",
+      nexttaskname: "",
       // 妯℃澘鎼滅储
       templateOptions: [],
       templateLoading: false,
@@ -1777,6 +1810,26 @@
     },
     remaining() {
       return this.illnesslist.length - 10;
+    },
+    // 鎮h�呯被鍨嬩笅鎷夛紙鏂板绫诲瀷锛夛細鎸変换鍔$被鍨嬮檺鍒跺彲閫夎寖鍥�
+    taskoptions() {
+      const options = [
+        { value: "4", label: "鍑洪櫌鐥呬汉" },
+        { value: "1", label: "鍦ㄩ櫌鐥呬汉" },
+        { value: "2", label: "闂ㄨ瘖鐥呬汉" },
+        { value: "3", label: "浣撴鐥呬汉" },
+        { value: "6", label: "闄㈠鎮h��" },
+        { value: "5", label: "鎵嬫湳鐥呬汉" },
+      ];
+      // 鍑洪櫌闅忚锛坰erviceType=2锛夛細鍙兘閫夋嫨鍦ㄩ櫌鎮h��
+      if (this.serviceType == 2) {
+        return options.filter((item) => item.value == "1");
+      }
+      // 鍏ラ櫌闅忚锛坰erviceType=18锛夛細涓嶅彲閫夋嫨鍑洪櫌鎮h��
+      if (this.serviceType == 18) {
+        return options.filter((item) => item.value != "4");
+      }
+      return options;
     },
   },
   methods: {
@@ -1906,11 +1959,13 @@
         patTaskRelevances: [],
         nexttaskflag: "0",
         nexttaskid: null,
+        nexttaskname: "",
         sendType: 1,
         sendDay: 5,
         templatename: "",
         templateid: null,
         libtemplateid: null,
+        pointLocation: "",
         kcb:
           "浜茬埍鐨勬偅鑰�/瀹跺睘锛屾垜浠槸" +
           localStorage.getItem("orgname") +
@@ -1937,10 +1992,11 @@
             this.form = res.data;
             // 鍥炴樉鍐嶆闅忚鍏宠仈浠诲姟
             if (this.form.nexttaskflag == null) this.form.nexttaskflag = "0";
-            this.nextTaskName = "";
+            this.nexttaskname = "";
             if (this.form.nexttaskid) {
               getIvrtask(this.form.nexttaskid).then((r) => {
-                this.nextTaskName = (r.data && r.data.taskName) || "";
+                this.nexttaskname = (r.data && r.data.taskName) || "";
+                this.form.nexttaskname = (r.data && r.data.taskName) || "";
               });
             }
             // 濡傛灉杩斿洖浜� serviceTaskScheduleVO锛岃В鏋愭槑缁嗕腑鐨� content
@@ -2047,7 +2103,8 @@
       this.time4 = "";
       this.form.nexttaskflag = "0";
       this.form.nexttaskid = null;
-      this.nextTaskName = "";
+      this.form.nexttaskname = "";
+      this.nexttaskname = "";
       // 閲嶇疆浠诲姟缁�
       this.form.serviceTaskScheduleVO = {
         scheduleStyle: 0,
@@ -2228,8 +2285,8 @@
       this.deptcodesWards = [];
       this.medicalCodes = [];
       this.medicalOptions = [];
-      // this.queryParamsdept.taskId = this.form.taskid;
       this.queryParamsdept.taskId = this.form.taskid;
+      this.queryParamsdept.taskid = this.form.taskid;
 
       if (this.form.appltype == 5) {
         rwztaskdepthospgetsonlist(this.queryParamsdept).then((res) => {
@@ -2431,7 +2488,8 @@
     },
     selectNextTask(row) {
       this.form.nexttaskid = row.taskid;
-      this.nextTaskName = row.taskName;
+      this.form.nexttaskname = row.taskName;
+      this.nexttaskname = row.taskName;
       this.nextTaskDialogVisible = false;
     },
 

--
Gitblit v1.9.3