From 566660a85a8950a9c671b750db6d1ebdbc7741ad Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 17 十一月 2025 16:56:19 +0800
Subject: [PATCH] 测试完成

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

diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index 3139041..10a6605 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -54,7 +54,6 @@
           :row-class-name="tableRowClassName"
           :max-height="350"
           style="width: 100%"
-           height="350"
           @selection-change="handleSelectionChange"
         >
           <el-table-column
@@ -319,7 +318,6 @@
                         </div>
                         <div
                           v-if="item.showAppendInput || item.answerps"
-                          v-if="item.showAppendInput || item.answerps"
                           class="append-input-container"
                         >
                           <el-input
@@ -572,7 +570,7 @@
                     >淇濆瓨鍩虹淇℃伅</el-button
                   >
                 </div>
-                <!-- <div>
+                <div>
                   <el-button
                     type="primary"
                     round
@@ -1799,7 +1797,6 @@
     yuyingetdetail() {
       const dataToSubmit = JSON.parse(JSON.stringify(this.tableDatatop));
       console.log(dataToSubmit, "dataToSubmit");
-      return;
       dataToSubmit.forEach((item, index) => {
         // 瀵规嫹璐濈殑鏁版嵁杩涜鎿嶄綔锛屼笉褰卞搷鍘熷鐨� scriptResult 鏁扮粍
         item.scriptResult = item.scriptResult.join("&");
@@ -1899,8 +1896,6 @@
         pageSize: 100,
       }).then((res) => {
         if (res.code == 200) {
-          console.log(11);
-
           this.form = res.rows[0].serviceSubtaskList.find(
             (item) => item.id == this.id
           );
@@ -2063,17 +2058,17 @@
     },
     aahandleOptionChange(a, b, c) {
       const result = c.find((item) => item.optioncontent == a);
-      // if (result.nextQuestion == 0) {
-      //   this.tableDatatop = this.tableDatatop.reduce((acc, item, i) => {
-      //     acc.push(i > b ? { ...item, astrict: 1 } : item);
-      //     return acc;
-      //   }, []);
-      // } else {
-      //   this.tableDatatop = this.tableDatatop.reduce((acc, item, i) => {
-      //     acc.push(i > b ? { ...item, astrict: 0 } : item);
-      //     return acc;
-      //   }, []);
-      // }
+      if (result.nextQuestion == 0) {
+        this.tableDatatop = this.tableDatatop.reduce((acc, item, i) => {
+          acc.push(i > b ? { ...item, astrict: 1 } : item);
+          return acc;
+        }, []);
+      } else {
+        this.tableDatatop = this.tableDatatop.reduce((acc, item, i) => {
+          acc.push(i > b ? { ...item, astrict: 0 } : item);
+          return acc;
+        }, []);
+      }
       if (this.Voicetype) {
         var obj = this.tableDatatop[b].ivrTaskScriptTargetoptionList.find(
           (item) => item.optioncontent == a

--
Gitblit v1.9.3