From 8d0f7fcc4a961a6a2cd969171066f652cc8e736f Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 18 四月 2025 16:56:52 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/record/detailpage/index.vue |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index 0bfa17b..62dfbbc 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -323,12 +323,12 @@
             <div class="title">{{ taskname ? taskname : "闂嵎" }}</div>
 
             <div class="preview-left" v-if="!Voicetype">
-              <!-- 鍗曢�� -->
               <div
                 class="topic-dev"
                 v-for="(item, index) in tableDatatop"
                 :key="item.id"
               >
+                <!-- 鍗曢�� -->
                 <div
                   :class="
                     item.isabnormal
@@ -678,12 +678,11 @@
         if (res.code === 200) {
           this.tableDatatop = res.data.scriptResult;
           this.tableDatatop.forEach((item) => {
-            console.log(item.scriptResultId, "scriptResultId");
-
-            if (item.scriptResultId && item.scriptType != 2) {
+            if (item.scriptType == 2) item.scriptResult = [];
+            if (item.scriptResult && item.scriptType != 2) {
               item.isoption = 3;
               item.scriptResult = item.scriptResult;
-            } else if (item.scriptResultId && item.scriptType == 2) {
+            } else if (item.scriptResult && item.scriptType == 2) {
               item.scriptResult = item.scriptResult.split("&");
               item.isoption = 3;
             }
@@ -733,6 +732,8 @@
               item.scriptResult = [];
             }
           });
+          console.log(this.tableDatatop, "this.tableDatatop");
+
           if (!this.tableDatatop.length) {
             this.puttaskid(this.templateid);
           }
@@ -890,6 +891,8 @@
           }
           this.getuserinfo();
         }
+        console.log(this.Voicetype, "this.Voicetype");
+
         if (this.Voicetype) {
           this.getPersonVoices();
         } else {
@@ -988,8 +991,6 @@
     },
     overdata() {
       this.tableDatatop.forEach((item, index) => {
-        console.log(item.svyLibTemplateTargetoptions);
-
         var obj = item.svyLibTemplateTargetoptions.find(
           (items) => items.optioncontent == item.scriptResult
         );

--
Gitblit v1.9.3