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

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

diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index 3c23bf2..b9fe50e 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -70,13 +70,22 @@
                   />
                 </el-form-item>
 
-                <el-form-item label="鐐逛綅缂栫爜" v-if="isTongdeCampus&& (serviceType == 6 || serviceType == 14)">
-                  <el-input
-                    style="width: 220px"
+                <!-- <el-form-item label="鐐逛綅缂栫爜" v-if="isTongdeCampus&& (serviceType == 6 || serviceType == 14)">
+                  <el-select
                     v-model="form.pointLocation"
-                    placeholder="璇疯緭鍏ョ偣浣嶇紪鐮�"
-                  />
-                </el-form-item>
+                    style="width: 220px"
+                    clearable
+                    filterable
+                    placeholder="璇烽�夋嫨鐐逛綅"
+                  >
+                    <el-option
+                      v-for="item in pointOptions"
+                      :key="item.value"
+                      :label="item.label"
+                      :value="item.value"
+                    />
+                  </el-select>
+                </el-form-item> -->
 
                 <el-form-item label="鏈嶅姟褰㈠紡">
                   <SortCheckbox
@@ -214,8 +223,29 @@
                     <el-radio label="4">鎵嬫湳鍏宠仈</el-radio>
                     <el-radio label="5">浠诲姟缁�</el-radio>
                     <el-radio label="6">鑽搧鍏宠仈</el-radio>
+                    <el-radio label="7"v-if="isTongdeCampus&& (serviceType == 6 || serviceType == 14)">鐐逛綅鍏宠仈</el-radio>
                   </el-radio-group>
                 </el-form-item>
+
+                <!-- 鐐逛綅鍏宠仈 -->
+                <el-row v-if="form.appltype == 7">
+                  <el-form-item label="鍏宠仈鐐逛綅" prop="pointLocation">
+                    <el-select
+                      v-model="form.pointLocation"
+                      style="width: 400px"
+                      clearable
+                      filterable
+                      placeholder="璇烽�夋嫨鐐逛綅"
+                    >
+                      <el-option
+                        v-for="item in pointOptions"
+                        :key="item.value"
+                        :label="item.label"
+                        :value="item.value"
+                      />
+                    </el-select>
+                  </el-form-item>
+                </el-row>
 
                 <!-- 鑽搧鍏宠仈 -->
                 <el-row v-if="form.appltype == 6">
@@ -1772,6 +1802,8 @@
       belongDepts: [],
       quote: false,
       serviceType: null,
+      // 鍙�夌偣浣嶏紙鍚屽痉闄㈠尯锛宒eptType=3锛�
+      pointOptions: [],
       // 鍐嶆闅忚鍏宠仈浠诲姟锛堢紮浜戝幙浜烘皯鍖婚櫌锛�
       orgname: localStorage.getItem("orgname"),
       nextTaskDialogVisible: false,
@@ -1802,6 +1834,7 @@
     this.getillnesslist();
     this.Getdetails();
     this.getFollowupclassify();
+    this.getPointOptions();
   },
   activated() {
     if (this.id != this.$route.query.id) {
@@ -1882,6 +1915,23 @@
     },
 
     // ---------- 鏁版嵁鍔犺浇 ----------
+    getPointOptions() {
+      // 浠呭悓寰烽櫌鍖猴細鐐逛綅涓嬫媺锛坉eptType=3锛�
+      if (!this.isTongdeCampus) return;
+      deptTreeSelect(3).then((response) => {
+        const flat = [];
+        const walk = (nodes) => {
+          (Array.isArray(nodes) ? nodes : []).forEach((n) => {
+            if (n.label && n.deptCode) {
+              flat.push({ label: n.label, value: String(n.deptCode) });
+            }
+            if (n.children && n.children.length) walk(n.children);
+          });
+        };
+        walk(response && response.data);
+        this.pointOptions = flat;
+      });
+    },
     Acquisitiontype() {
       let queryParams = {
         pageNum: this.topqueryParams.pageNum,
@@ -2963,6 +3013,12 @@
           this.leavehospitaldistrictcodes = [];
           this.illnesscodes = [];
           this.operationcodes = [];
+        } else if (this.form.appltype == 7) {
+          this.deptcodesWards = [];
+          this.leavehospitaldistrictcodes = [];
+          this.illnesscodes = [];
+          this.operationcodes = [];
+          this.medicalCodes = [];
         }
 
         // 鏈嶅姟褰㈠紡鏍¢獙
@@ -2982,6 +3038,7 @@
           this.diagglist[0] ||
           this.operationcodes[0] ||
           this.medicalCodes[0] ||
+          this.form.pointLocation ||
           this.form.longTask == 2 ||
           this.serviceType == 3 ||
           this.form.appltype == 5; // 浠诲姟缁勮烦杩囧己鍒跺叧鑱�

--
Gitblit v1.9.3