From ffb5cf79a2d5d7603cb97e79bd04f598eceb0352 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 20 三月 2025 10:41:29 +0800
Subject: [PATCH] 测试完成

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

diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index 1484a67..9f82a3e 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -681,6 +681,7 @@
           subId: this.id,
           taskid: this.taskid,
           scriptid: item.id,
+          templatequestionnum:item.scriptno,
           questiontext: item.scriptContent,
         };
         if (item.scriptType == 2 && item.scriptResult[0]) {
@@ -712,10 +713,13 @@
       this.tableDatatop.forEach((item, index) => {
         console.log(item.scriptResult, "scriptResult");
         item.scriptResult = item.scriptResult.join("&");
-        item.templatequestionnum = index + 1;
+        // item.templatequestionnum = index + 1;
         item.subId = this.id;
         item.taskid = this.taskid;
         item.asrtext = item.matchedtext;
+        item.templatequestionnum = item.scriptno;
+        item.targetid = item.targetid;
+        item.scriptid = item.id;
         if (!item.id) {
           item.isoperation = 1;
         }

--
Gitblit v1.9.3