From 15c90ad541d895a4e0ceab0dd430260535479341 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 07 五月 2026 10:20:44 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/propaganda/Missioncreation.vue | 30 ++++++++++++++++++++++++++++--
1 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/src/views/patient/propaganda/Missioncreation.vue b/src/views/patient/propaganda/Missioncreation.vue
index cfd57e0..94b8b95 100644
--- a/src/views/patient/propaganda/Missioncreation.vue
+++ b/src/views/patient/propaganda/Missioncreation.vue
@@ -870,6 +870,8 @@
questionList: [],
uploadingData: [],
deptcodesWards: [], //绉戝鏁版嵁
+ deptlist: [],
+ hosplist: [],
leavehospitaldistrictcodes: [], //鐥呭尯鏁版嵁
operationcodes: [], //鎵嬫湳鏁版嵁
illnesscodes: [], //鐤剧梾鏁版嵁
@@ -1041,6 +1043,10 @@
"鐨勫尰鎶や汉鍛橈紝涓轰簡鏇村ソ鍦颁簡瑙f偍鐨勫悍澶嶆儏鍐碉紝璇锋偍鎶戒竴鐐瑰疂璐垫椂闂达紝瑙傜湅杩欎唤瀹f暀璧勮銆�",
jsy: "鐢熸椿涓婅鍔抽�哥粨鍚堬紝娉ㄦ剰浼戞伅鍜岃惀鍏伙紝閫傚綋閿荤偧锛屾垝鐑熼檺閰掞紝淇濇寔蹇冩儏鑸掔晠锛屽畾鏈熷璇娿�傞偅鏈瀹f暀鍐呭灏卞埌杩欓噷锛岀鎮ㄨ韩浣撳仴搴凤紒",
},
+ queryParamsdept: {
+ tempid: "",
+ type: 2,
+ },
taskoptions: [
{
value: "4",
@@ -1147,7 +1153,7 @@
this.currenttype = this.$route.query.type;
this.title = "瀹f暀鍐呭鍒楄〃";
this.tableLabel = this.tableLabelxj;
- if (this.form.serviceType == 4) {
+ if (this.form.serviceType == 4 || this.form.serviceType == 17) {
this.checkboxlist = [
{
value: "2",
@@ -1362,10 +1368,21 @@
});
},
addStyleToImages(html) {
- return html.replace(
+ if (!html) return html;
+
+ // 1. 鍏堜慨澶嶈矾寰�
+ let processedHtml = html.replace(
+ /\/aifollowup\/aifollowup\//g,
+ "/aifollowup/"
+ );
+
+ // 2. 鍐嶄慨澶嶆牱寮�
+ processedHtml = processedHtml.replace(
/<img([^>]*)style=(['"])(?:(?!\2).)*\2([^>]*)>/g,
'<img$1style="width:100%;height:auto;"$3>'
);
+
+ return processedHtml;
},
// 瀛愪换鍔′簩绾у脊妗�
@@ -1635,6 +1652,9 @@
this.time1 = this.form.showTimeMorn.split(",");
}
}
+ if (this.form.taskid) {
+ this.listDept();
+ }
if (this.form.showTimeNoon)
this.time2 = this.form.showTimeNoon.split(",");
if (this.form.showTimeNight)
@@ -1721,14 +1741,20 @@
this.leavehospitaldistrictcodes = [];
this.deptcodesWards = [];
this.queryParamsdept.taskId = this.form.taskid;
+ console.log(1, this.queryParamsdept);
+
taskdepthospgetsonlist(this.queryParamsdept).then((res) => {
if (res.code == 200) {
let arr = res.rows;
arr.forEach((item) => {
if (item.deptType == 1) {
+ console.log(1);
+
this.deptlist.push(item);
this.deptcodesWards.push(item.deptCode);
} else if (item.deptType == 2) {
+ console.log(2, this.hosplist);
+
this.hosplist.push(item);
this.leavehospitaldistrictcodes.push(item.deptCode);
}
--
Gitblit v1.9.3