From 9bc27231d681cbc1bae6d8f199521d332c9c23f7 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 19 八月 2024 11:14:23 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/propaganda/particty.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index a67e388..9c8925b 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -945,10 +945,12 @@
     // 鍒囨崲椤靛悗鎭㈠閫変腑
     Restorecheck() {
       console.log(this.overallCase, "this.overallCase");
-      const allid = this.overallCase.map((item) => item.patid);
+      const allid = this.overallCase.map((item) => item.id);
       const overlap = this.patientuserList.filter((value) => {
-        return allid.includes(value.patid);
+        return allid.includes(value.id);
       });
+      console.log(overlap, "overlap");
+
       // 淇濇寔ids鍜屽綋鍓嶉〉闈㈢殑鍚屾鎬�
       this.SelectPatientslist = overlap;
       console.log(this.SelectPatientslist, "杩涘叆鍒嗛〉SelectPatientslist");
@@ -1137,15 +1139,18 @@
     // 鏌ョ湅妯$増
     previewGo() {
       this.$router.push({
-        path: "/knowledge/templateku/configurat/",
+        path: "/knowledge/tpuconfigurat/",
         query: { id: this.previewid, task: true, data: this.form },
       });
     },
     previewFn() {
       let id = this.Tasktemplate.id;
       this.Tasktemplate.id = null;
-      this.Tasktemplate.ivrLibaTemplateScriptVOList.ivrTaskScriptTargetoptionList =
-        this.Tasktemplate.ivrLibaTemplateScriptVOList.ivrLibaScriptTargetoptionList;
+      this.Tasktemplate.ivrLibaTemplateScriptVOList.forEach((item) => {
+        item.ivrTaskScriptTargetoptionList = item.ivrLibaScriptTargetoptionList;
+      });
+      console.log(this.Tasktemplate.ivrLibaTemplateScriptVOList);
+
       this.Tasktemplate.ivrTaskTemplateScriptVOList =
         this.Tasktemplate.ivrLibaTemplateScriptVOList;
       this.Tasktemplate.ivrLibaTemplateTagList = null;

--
Gitblit v1.9.3