From 447ac8696eb82c65d7e231a96679e0ca04943751 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 21 四月 2026 15:24:08 +0800
Subject: [PATCH] 测试完成

---
 src/views/outsideChainwtnew.vue |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/views/outsideChainwtnew.vue b/src/views/outsideChainwtnew.vue
index 3b5a39e..0dcd0dd 100644
--- a/src/views/outsideChainwtnew.vue
+++ b/src/views/outsideChainwtnew.vue
@@ -179,6 +179,7 @@
       isabnormal: 0,
       taskname: "",
       questionList: [],
+      param6:null,
       jsy: null,
       dialogVisible: false,
       Endornot: true,
@@ -208,6 +209,9 @@
   computed: {
     // 璁$畻灞炴�э細鑾峰彇鎵�鏈夊彲瑙佺殑棰樼洰
     visibleQuestions() {
+      if (!Array.isArray(this.questionList)) {
+        return [];
+      }
       return this.questionList.filter((question) => !question.ishide);
     },
   },
@@ -228,6 +232,8 @@
             res.data.param3,
             res.data.param5
           );
+          this.param6 = res.data.param6;
+
         }
       });
     },
@@ -259,7 +265,7 @@
       getCachequestionnaire({ param1: this.taskid, param2: this.patid }).then(
         (res) => {
           if (res.code == 200) {
-            this.questionList = res.data;
+            this.questionList = res.data.result;
             this.accomplish = res.data.submit;
             if (this.questionList[0]) {
               this.questionList.forEach((item) => {
@@ -316,6 +322,7 @@
       let form = {
         param1: this.taskid,
         param2: this.patid,
+        param6: this.param6,
         excep: this.excep,
         isabnormal: this.isabnormal,
         serviceSubtaskDetailList: [],
@@ -346,6 +353,7 @@
       let form = {
         param1: this.taskid,
         param2: this.patid,
+        param6: this.param6,
         svyTaskTemplateScriptVOS: [],
       };
       const arr = structuredClone(this.questionList);
@@ -471,6 +479,8 @@
         } else {
           // 姝e父璺宠浆閫昏緫
           const nextQuestionIndex = selectedOptionObj.nextQuestion - 1;
+          console.log(nextQuestionIndex, 4);
+          console.log(selectedOptionObj);
 
           this.questionList = this.questionList.map((item, index) => {
             // 淇濈暀褰撳墠棰樼洰涔嬪墠鐨勯殣钘忕姸鎬�

--
Gitblit v1.9.3