From 15371b329484632c987e349e50f41cab90d3ae8c Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期三, 15 四月 2026 09:28:25 +0800
Subject: [PATCH] 测试完成

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

diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index 955da10..65aeb31 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -2286,35 +2286,7 @@
         })
         .catch(() => {});
     },
-    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 (this.Voicetype) {
-        var obj = this.tableDatatop[b].ivrTaskScriptTargetoptionList.find(
-          (item) => item.optioncontent == a
-        );
-      } else {
-        var obj = this.tableDatatop[b].svyTaskTemplateTargetoptions.find(
-          (item) => item.optioncontent == a
-        );
-      }
-      if (obj.isabnormal) {
-        this.tableDatatop[b].isabnormal = true;
-      } else {
-        this.tableDatatop[b].isabnormal = false;
-      }
-      this.$forceUpdate();
-    },
+
     handleRadioToggles(questionItem, optionValue) {
       if (!questionItem.matchedtext) {
         questionItem.matchedtext == "";
@@ -2373,7 +2345,13 @@
       this.tableDatatop[questionIndex].showAppendInput =
         selectedOptionObj.appendflag == 1;
       console.log(this.tableDatatop);
-
+      if (
+        selectedOptionObj.nextQuestion !== undefined &&
+        selectedOptionObj.nextQuestion !== null
+      ) {
+        this.tableDatatop[questionIndex].nextScriptno =
+          selectedOptionObj.nextQuestion;
+      }
       // if (!this.tableDatatop[questionIndex].showAppendInput) {
       //   this.tableDatatop[questionIndex].answerps = ""; // 娓呴櫎闄勫姞淇℃伅
       // }
@@ -2443,7 +2421,6 @@
           hiddenByEnd: index === questionIndex + 1 ? false : item.hiddenByEnd,
         }));
       }
-      2;
 
       this.$forceUpdate();
     },

--
Gitblit v1.9.3