From 3b5ff0651c049d5def8fd789c52ec26188a1e8a1 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期五, 21 十一月 2025 10:45:13 +0800
Subject: [PATCH] 测试完成

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

diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index 36faefa..dd4879a 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -1405,7 +1405,7 @@
   methods: {
     // 鑾峰彇涓婚鏍峰紡绫�
     getTopicClass(item) {
-      console.log(item.isabnormal,'111');
+      console.log(item.isabnormal, "111");
 
       // 鏍规嵁鐘舵�佸�艰繑鍥炲搴旂殑鏍峰紡绫�
       if (item.isabnormal == 1) {
@@ -2053,10 +2053,34 @@
 
     // 璋冭捣鍐嶆鍙戦��
     sendAgain() {
-      document.querySelector("#app").scrollTo(0, 0);
-      // scrollTo(0, 0)
-      this.formtidy();
-      this.dialogFormVisible = true;
+      getTaskservelist({
+        patid: this.patid,
+        visitCount: 2,
+        leaveldeptcodes: [this.form.deptcode],
+      }).then((res) => {
+        if (res.rows[0].serviceSubtaskList) {
+          if (
+            res.rows[0].serviceSubtaskList[0].sendstate != 5 &&
+            res.rows[0].serviceSubtaskList[0].sendstate != 6
+          ) {
+            this.$modal
+              .confirm(
+                '鏈偅鑰呭湪"' +
+                  res.rows[0].serviceSubtaskList[0].deptname +
+                  '"绉戝涓嬪凡鏈夊啀娆¢殢璁挎湇鍔¤繘琛屼腑鏄惁缁х画鍒涘缓锛�'
+              )
+              .then(() => {
+                document.querySelector("#app").scrollTo(0, 0);
+                this.formtidy();
+                this.dialogFormVisible = true;
+              });
+          }
+        } else {
+          document.querySelector("#app").scrollTo(0, 0);
+          this.formtidy();
+          this.dialogFormVisible = true;
+        }
+      });
     },
     // 鏌ョ湅璇︽儏
     Seedetails(row) {
@@ -2232,7 +2256,8 @@
           astrict: index === questionIndex + 1 ? 0 : item.astrict,
           hiddenByEnd: index === questionIndex + 1 ? false : item.hiddenByEnd,
         }));
-      }2
+      }
+      2;
 
       this.$forceUpdate();
     },
@@ -2643,7 +2668,6 @@
 /* 鏂板锛氳鍛婄姸鎬佹牱寮� - 榛勮壊 */
 .scriptTopic-warning {
   color: #d4be00; /* 鎮ㄦ寚瀹氱殑榛勮壊 */
-
 }
 
 /* 寮傚父閫夐」鏍峰紡 - 绾㈣壊鏄熷彿 (淇濇寔涓嶅彉) */

--
Gitblit v1.9.3