From 17efc8b0fb7d3fa66eb8e22f32b81e3e14bcd7f6 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 06 一月 2026 17:37:57 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/propaganda/particty.vue |   22 ++++++++++++++--------
 1 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index 7a0530c..255a030 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,
@@ -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 {
             }
           });
@@ -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;
@@ -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