From ec47fecd41a22861c3fc65ca86311225dd28d7ee Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 28 十月 2025 14:02:34 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/propaganda/particty.vue | 21 +++++++++++++++++----
1 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index cdb2d0d..67e3acd 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.ivrLibaScriptTargetoptionList"
+ ) in item.ivrTaskScriptTargetoptionList"
:key="index"
:label="index"
>{{ items.targetvalue }}</el-radio
@@ -765,7 +765,7 @@
<el-checkbox
v-for="(
items, index
- ) in item.ivrLibaScriptTargetoptionList"
+ ) in item.ivrTaskScriptTargetoptionList"
:key="index"
:label="index"
>
@@ -1199,6 +1199,9 @@
sendType: [
{ required: true, message: "鍙戦�佽缃笉鑳戒负绌�", trigger: "blur" },
],
+ longTask: [
+ { required: true, message: "璇烽�夋嫨鎵ц鍛ㄦ湡", trigger: "blur" },
+ ],
// deptcode: [
// { required: true, message: "閫傜敤绉戝涓嶈兘涓虹┖", trigger: "blur" },
// ],
@@ -1479,6 +1482,8 @@
this.form.preachformList = this.selectedOrder;
} else {
this.$modal.msgError("璇烽�夋嫨鏈嶅姟绫诲瀷");
+ this.submitLoading = false;
+
return;
}
@@ -1492,6 +1497,8 @@
) {
} else {
this.$modal.msgError("璇烽�夋嫨浠诲姟鍏宠仈鏉′欢");
+ this.submitLoading = false;
+
return;
}
// if (!this.form.patTaskRelevances[0] && !this.form.longTask) {
@@ -1501,6 +1508,8 @@
if (!this.form.templatename && !this.templateor) {
this.$modal.msgError("鏈�夋嫨妯℃澘");
+ this.submitLoading = false;
+
return;
}
@@ -1513,6 +1522,8 @@
this.form.longTask
) {
} else {
+ this.submitLoading = false;
+
return this.$modal.msgError("鏃堕棿淇℃伅缂哄け");
}
const filteredArray = this.variableList.filter(
@@ -2191,7 +2202,7 @@
this.objyl.suitway = this.objyl.suitway.join(",");
}
this.objyl.ivrLibaTemplateScriptVOList.forEach((item) => {
- item.ivrTaskScriptTargetoptionList = item.ivrLibaScriptTargetoptionList;
+ item.ivrTaskScriptTargetoptionList = item.ivrTaskScriptTargetoptionList;
});
this.objyl.ivrTaskTemplateScriptVOList =
this.objyl.ivrLibaTemplateScriptVOList;
@@ -2208,6 +2219,7 @@
Taskparticty(this.objyl).then((response) => {
this.previewtf = false;
this.form.libtemplateid = this.objyl.id;
+ this.form.libtemplatename = this.objyl.templateName;
this.form.templateid = response.data;
this.putbelongDepts(response.data);
this.form.templatename = this.objyl.templateName;
@@ -2228,6 +2240,7 @@
Taskparticty(this.objyl).then((response) => {
this.previewtf = false;
this.form.libtemplateid = this.objyl.id;
+ this.form.libtemplatename = this.objyl.templateName;
this.form.templateid = response.data;
this.putbelongDepts(response.data);
this.form.templatename = this.objyl.templateName;
@@ -2307,7 +2320,7 @@
this.objyl.isoperation = 1;
this.objyl.ivrLibaTemplateScriptVOList.forEach((item) => {
item.ivrTaskScriptTargetoptionList =
- item.ivrLibaScriptTargetoptionList;
+ item.ivrTaskScriptTargetoptionList;
});
this.objyl.ivrTaskTemplateScriptVOList =
this.objyl.ivrLibaTemplateScriptVOList;
--
Gitblit v1.9.3