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

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

diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index 1113245..3139041 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -54,6 +54,7 @@
           :row-class-name="tableRowClassName"
           :max-height="350"
           style="width: 100%"
+           height="350"
           @selection-change="handleSelectionChange"
         >
           <el-table-column
@@ -318,6 +319,7 @@
                         </div>
                         <div
                           v-if="item.showAppendInput || item.answerps"
+                          v-if="item.showAppendInput || item.answerps"
                           class="append-input-container"
                         >
                           <el-input
@@ -570,7 +572,7 @@
                     >淇濆瓨鍩虹淇℃伅</el-button
                   >
                 </div>
-                <div>
+                <!-- <div>
                   <el-button
                     type="primary"
                     round
@@ -1190,21 +1192,21 @@
       selectedTag: "",
       tagOptions: [
         {
-          value: '0',
+          value: "0",
           label: "姝e父",
           type: "normal",
           color: "#7ff5e1",
           description: "鎮h�呮儏鍐垫甯革紝鏃犻渶鐗瑰埆鍏虫敞",
         },
         {
-          value: '1',
+          value: "1",
           label: "寮傚父",
           type: "abnormal",
           color: "#f75c5c",
           description: "鎮h�呭瓨鍦ㄥ紓甯告儏鍐碉紝闇�瑕侀噸鐐瑰叧娉�",
         },
         {
-          value: '2',
+          value: "2",
           label: "璀﹀憡",
           type: "warning",
           color: "#fbfb4a",
@@ -1609,11 +1611,15 @@
         var objs = item.svyTaskTemplateTargetoptions.find(
           (items) => items.optioncontent == item.scriptResult
         );
-        if (obj) {
-          if (objs.isabnormal) {
+
+        if (objs) {
+          if (excep != 1 && objs.isabnormal) {
             excep = objs.isabnormal;
+            this.selectedTag = objs.isabnormal;
           }
         }
+        console.log(excep, "excep");
+
         let obj = {
           asrtext: null,
           patid: this.patid,
@@ -1792,7 +1798,8 @@
     },
     yuyingetdetail() {
       const dataToSubmit = JSON.parse(JSON.stringify(this.tableDatatop));
-
+      console.log(dataToSubmit, "dataToSubmit");
+      return;
       dataToSubmit.forEach((item, index) => {
         // 瀵规嫹璐濈殑鏁版嵁杩涜鎿嶄綔锛屼笉褰卞搷鍘熷鐨� scriptResult 鏁扮粍
         item.scriptResult = item.scriptResult.join("&");
@@ -1892,6 +1899,8 @@
         pageSize: 100,
       }).then((res) => {
         if (res.code == 200) {
+          console.log(11);
+
           this.form = res.rows[0].serviceSubtaskList.find(
             (item) => item.id == this.id
           );
@@ -2054,17 +2063,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
@@ -2101,8 +2110,6 @@
     },
     // 鏂板鐨勫垏鎹㈤�変腑/鍙栨秷閫変腑鏂规硶
     handleRadioToggle(questionItem, index, options, optionValue) {
-      console.log(questionItem, optionValue, 999);
-
       // 濡傛灉鐐瑰嚮鐨勬槸褰撳墠宸查�変腑鐨勯�夐」锛屽垯鍙栨秷閫変腑
       if (questionItem.scriptResult === optionValue) {
         questionItem.scriptResult = ""; // 娓呯┖閫変腑鍊�
@@ -2760,7 +2767,7 @@
   margin: 0 10px 20px 10px;
 
   /* 褰撶缉鏀炬瘮渚嬪ぇ浜�100%鎴栧睆骞曞搴﹁緝灏忔椂鏀逛负涓婁笅鎺掑垪 */
-  @media screen and  (min-resolution: 1.5dppx) {
+  @media screen and (min-resolution: 1.5dppx) {
     flex-direction: column;
 
     .call-action,

--
Gitblit v1.9.3