From c4f2875b50f07e6f375cd9c9ec4d8fbc2494d35d Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 27 八月 2024 16:55:54 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/propaganda/QuestionnaireTask.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index 441b241..a66736f 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -1065,6 +1065,7 @@
         const isExist = this.overallCase.find((obj) => obj.name == item.name);
         if (!isExist) {
           item.isoperation = 1;
+          item.patid = item.id;
           item.hospType = this.patientqueryParams.allhosp;
           this.overallCase.push(item);
           this.form.patTaskRelevances.push(item);
@@ -1274,8 +1275,11 @@
       let id = this.Tasktemplate.id;
       this.Tasktemplate.id = null;
       console.log(this.Tasktemplate);
-      this.Tasktemplate.svyTemplateLibScripts.svyTaskTemplateTargetoptions =
-        this.Tasktemplate.svyTemplateLibScripts.svyLibTemplateTargetoptions;
+
+        this.Tasktemplate.svyTemplateLibScripts.forEach((item) => {
+          item.svyTaskTemplateTargetoptions =
+          item.svyLibTemplateTargetoptions;
+      });
       this.Tasktemplate.svyTaskTemplateScriptVOS =
         this.Tasktemplate.svyTemplateLibScripts;
       this.Tasktemplate.templateid = id;

--
Gitblit v1.9.3