From 62bfa86a41c6797881194f91b9b748e120c11ea7 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 22 八月 2024 17:10:46 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/propaganda/QuestionnaireTask.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index 19a1f63..a66736f 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -222,7 +222,6 @@
         }}</el-button>
         <el-button @click="resetForm('ruleForm')">閲嶇疆</el-button>
       </div>
-
       <!-- 浠诲姟璇︽儏 -->
       <div v-if="Editprogress == 2">
         <el-alert title="鍦ㄦ湰闃舵閫夋嫨瀹f暀鐥呬汉" type="success" effect="dark">
@@ -1066,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);
@@ -1267,7 +1267,7 @@
     // 鏌ョ湅妯$増
     previewGo() {
       this.$router.push({
-        path: "/knowledge/templateku/configurat/",
+        path: "/knowledge/tpuconfigurat/",
         query: { id: this.previewid, task: true, data: this.form },
       });
     },
@@ -1275,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