From 5a554d0121b2b0491142a18edbcbaa0cebe30ab3 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期三, 04 二月 2026 14:13:01 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/propaganda/particty.vue | 42 ++++++++++++++++++++++++------------------
1 files changed, 24 insertions(+), 18 deletions(-)
diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index 70b06f1..20612be 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -743,7 +743,7 @@
<el-radio
v-for="(
items, index
- ) in item.ivrTaskScriptTargetoptionList"
+ ) in item.ivrLibaScriptTargetoptionList"
:key="index"
:label="index"
>{{ items.targetvalue }}</el-radio
@@ -765,7 +765,7 @@
<el-checkbox
v-for="(
items, index
- ) in item.ivrTaskScriptTargetoptionList"
+ ) in item.ivrLibaScriptTargetoptionList"
:key="index"
:label="index"
>
@@ -904,6 +904,7 @@
getbaseopera,
getFollowuplist,
getvFollowup,
+ selectInfoByCondition,
Taskparticty,
deleteTaskparticty,
getTaskInfo,
@@ -1308,7 +1309,7 @@
};
this.currenttype = this.$route.query.type;
this.title = "闅忚鍐呭鍒楄〃";
- this.tableLabel = this.tableLabelwj;
+ this.tableLabel = this.tableLabelwj||[];
if (this.form.serviceType == 1) {
this.checkboxlist = [
{
@@ -1477,11 +1478,11 @@
this.leavehospitaldistrictcodes = [];
}
if (this.checkList) {
- this.form.preachform = this.checkList.join(",");
- this.form.preachformList = this.selectedOrder;
+ this.form.preachform = this.checkList.join(",")||[];
+ this.form.preachformList = this.selectedOrder||[];
} else {
this.$modal.msgError("璇烽�夋嫨鏈嶅姟绫诲瀷");
- this.submitLoading = false;
+ this.submitLoading = false;
return;
}
@@ -1496,7 +1497,7 @@
) {
} else {
this.$modal.msgError("璇烽�夋嫨浠诲姟鍏宠仈鏉′欢");
- this.submitLoading = false;
+ this.submitLoading = false;
return;
}
@@ -1507,7 +1508,7 @@
if (!this.form.templatename && !this.templateor) {
this.$modal.msgError("鏈�夋嫨妯℃澘");
- this.submitLoading = false;
+ this.submitLoading = false;
return;
}
@@ -1521,7 +1522,7 @@
this.form.longTask
) {
} else {
- this.submitLoading = false;
+ this.submitLoading = false;
return this.$modal.msgError("鏃堕棿淇℃伅缂哄け");
}
@@ -1610,13 +1611,18 @@
// 鐤剧梾
this.getillness(this.form.libtemplateid);
- getvFollowup({ id: this.form.libtemplateid }).then((res) => {
+ selectInfoByCondition({id:this.form.templateid} ).then((res) => {
if (res.code == 200) {
this.previewtf = true;
this.previewtftype = 1;
- this.questionList = res.data.ivrLibaTemplateScriptVOList;
- this.objyl.ivrLibaTemplateScriptVOList =
- res.data.ivrLibaTemplateScriptVOList;
+ this.questionList = res.data.ivrTaskTemplateScriptVOList;
+ this.questionList.forEach((item) => {
+ item.qremark = [];
+ item.ivrLibaScriptTargetoptionList =
+ item.ivrTaskScriptTargetoptionList;
+ });
+ this.objyl.ivrLibaScriptTargetoptionList =
+ res.data.ivrTaskScriptTargetoptionList;
} else {
}
});
@@ -1930,8 +1936,8 @@
? this.form.patTaskRelevances
: [];
this.overallCase = this.form.patTaskRelevances.concat();
- this.checkList = this.form.preachform.split(",");
- this.selectedOrder = this.form.preachformList;
+ this.checkList = this.form.preachform.split(",") || [];
+ this.selectedOrder = this.form.preachformList||[];
this.overallCase.forEach((item) => {
if (item.endtime) {
@@ -2201,7 +2207,7 @@
this.objyl.suitway = this.objyl.suitway.join(",");
}
this.objyl.ivrLibaTemplateScriptVOList.forEach((item) => {
- item.ivrTaskScriptTargetoptionList = item.ivrTaskScriptTargetoptionList;
+ item.ivrTaskScriptTargetoptionList = item.ivrLibaScriptTargetoptionList;
});
this.objyl.ivrTaskTemplateScriptVOList =
this.objyl.ivrLibaTemplateScriptVOList;
@@ -2278,7 +2284,7 @@
});
},
checkSelectionChange(selectedValues, selectedOrder) {
- this.selectedOrder = selectedValues;
+ this.selectedOrder = selectedValues||[];
console.log("褰撳墠閫変腑:", selectedValues);
console.log("閫変腑椤哄簭:", selectedOrder);
},
@@ -2319,7 +2325,7 @@
this.objyl.isoperation = 1;
this.objyl.ivrLibaTemplateScriptVOList.forEach((item) => {
item.ivrTaskScriptTargetoptionList =
- item.ivrTaskScriptTargetoptionList;
+ item.ivrLibaScriptTargetoptionList;
});
this.objyl.ivrTaskTemplateScriptVOList =
this.objyl.ivrLibaTemplateScriptVOList;
--
Gitblit v1.9.3