From c899dff1fce7f8054008cd9887a9729cdffd88cb Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 19 十一月 2026 11:34:32 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/propaganda/particty.vue | 137 +++++++++++++++++++++++++++++++++++++++++----
1 files changed, 124 insertions(+), 13 deletions(-)
diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index d8d60eb..b9fe50e 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -70,6 +70,23 @@
/>
</el-form-item>
+ <!-- <el-form-item label="鐐逛綅缂栫爜" v-if="isTongdeCampus&& (serviceType == 6 || serviceType == 14)">
+ <el-select
+ v-model="form.pointLocation"
+ 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
v-model="checkList"
@@ -206,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">
@@ -345,7 +383,7 @@
<el-input
style="width: 300px"
:disabled="true"
- v-model="nextTaskName"
+ v-model="nexttaskname"
placeholder="璇风偣鍑诲彸渚ч�夋嫨浠诲姟"
/>
<el-button
@@ -955,6 +993,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>
@@ -1672,11 +1734,13 @@
patTaskRelevances: [],
nexttaskflag: "0",
nexttaskid: null,
+ nexttaskname: "",
sendType: 3,
longTask: 0,
templatename: "",
templateid: null,
libtemplateid: null,
+ pointLocation: "",
kcb:
"浜茬埍鐨勬偅鑰�/瀹跺睘锛屾偍濂斤紒鎴戜滑鏄�" +
localStorage.getItem("orgname") +
@@ -1697,13 +1761,6 @@
detailList: [],
},
},
- taskoptions: [
- { value: "4", label: "鍑洪櫌鐥呬汉" },
- { value: "1", label: "鍦ㄩ櫌鐥呬汉" },
- { value: "2", label: "闂ㄨ瘖鐥呬汉" },
- { value: "3", label: "浣撴鐥呬汉" },
- { value: "5", label: "鎵嬫湳鐥呬汉" },
- ],
source: [
{ value: 0, label: "鎵�灞炴偅鑰�" },
{ value: 1, label: "绉戝鎮h��" },
@@ -1745,6 +1802,8 @@
belongDepts: [],
quote: false,
serviceType: null,
+ // 鍙�夌偣浣嶏紙鍚屽痉闄㈠尯锛宒eptType=3锛�
+ pointOptions: [],
// 鍐嶆闅忚鍏宠仈浠诲姟锛堢紮浜戝幙浜烘皯鍖婚櫌锛�
orgname: localStorage.getItem("orgname"),
nextTaskDialogVisible: false,
@@ -1752,7 +1811,7 @@
nextTaskList: [],
nextTaskTotal: 0,
nextTaskQuery: { pageNum: 1, pageSize: 10, taskName: "" },
- nextTaskName: "",
+ nexttaskname: "",
// 妯℃澘鎼滅储
templateOptions: [],
templateLoading: false,
@@ -1775,6 +1834,7 @@
this.getillnesslist();
this.Getdetails();
this.getFollowupclassify();
+ this.getPointOptions();
},
activated() {
if (this.id != this.$route.query.id) {
@@ -1788,6 +1848,27 @@
this.Getdetails();
this.getFollowupclassify();
}
+ },
+ computed: {
+ // 鎮h�呯被鍨嬩笅鎷夛紙鏂板绫诲瀷锛夛細鎸変换鍔$被鍨嬮檺鍒跺彲閫夎寖鍥�
+ taskoptions() {
+ const options = [
+ { value: "4", label: "鍑洪櫌鐥呬汉" },
+ { value: "1", label: "鍦ㄩ櫌鐥呬汉" },
+ { value: "2", label: "闂ㄨ瘖鐥呬汉" },
+ { value: "3", label: "浣撴鐥呬汉" },
+ { 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: {
// ---------- 宸ュ叿鏂规硶 ----------
@@ -1834,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,
@@ -1930,11 +2028,13 @@
patTaskRelevances: [],
nexttaskflag: "0",
nexttaskid: null,
+ nexttaskname: "",
sendType: 1,
sendDay: 5,
templatename: "",
templateid: null,
libtemplateid: null,
+ pointLocation: "",
kcb:
"浜茬埍鐨勬偅鑰�/瀹跺睘锛屾偍濂斤紒鎴戜滑鏄�" +
localStorage.getItem("orgname") +
@@ -1961,10 +2061,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锛屽垯瑙f瀽鏄庣粏涓殑 content
@@ -2073,7 +2174,8 @@
this.time4 = "";
this.form.nexttaskflag = "0";
this.form.nexttaskid = null;
- this.nextTaskName = "";
+ this.form.nexttaskname = "";
+ this.nexttaskname = "";
// 閲嶇疆浠诲姟缁�
this.form.serviceTaskScheduleVO = {
scheduleStyle: 0,
@@ -2252,6 +2354,7 @@
this.deptcodesWards = [];
this.medicalCodes = [];
this.medicalOptions = [];
+ this.queryParamsdept.taskid = this.form.taskid;
this.queryParamsdept.taskId = this.form.taskid;
if (this.form.appltype == 5) {
@@ -2454,7 +2557,8 @@
},
selectNextTask(row) {
this.form.nexttaskid = row.taskid;
- this.nextTaskName = row.taskName;
+ this.form.nexttaskname = row.taskName;
+ this.nexttaskname = row.taskName;
this.nextTaskDialogVisible = false;
},
@@ -2909,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 = [];
}
// 鏈嶅姟褰㈠紡鏍¢獙
@@ -2928,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