From f08b755cd2db76f99b96355e8e1f60dda50fffdb Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 02 十二月 2025 15:22:38 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/record/detailpage/index.vue |   48 +++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 37 insertions(+), 11 deletions(-)

diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index 36faefa..f41424d 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -1173,8 +1173,12 @@
           value: "5",
         },
         {
-          label: "鍏朵粬鎯呭喌涓嶅疁闅忚",
+          label: "涓嶅疁闅忚琚繃婊�",
           value: "6",
+        },
+        {
+          label: "鍏朵粬",
+          value: "7",
         },
       ],
       tableDatatop: [], //棰樼洰琛�
@@ -1405,8 +1409,6 @@
   methods: {
     // 鑾峰彇涓婚鏍峰紡绫�
     getTopicClass(item) {
-      console.log(item.isabnormal,'111');
-
       // 鏍规嵁鐘舵�佸�艰繑鍥炲搴旂殑鏍峰紡绫�
       if (item.isabnormal == 1) {
         return "scriptTopic-isabnormal"; // 寮傚父 - 绾㈣壊
@@ -1762,12 +1764,12 @@
         return;
       }
       this.currentPhoneNumber = phone;
-      // 鍛煎彨鍒ゆ柇
+      // 鏄惁鏅畞鍛煎彨
       if (this.orgname == "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�") {
         this.CaldialogVisible = true;
         return;
       }
-
+// 涓嬫柟鏄腑鍖婚櫌鍛煎彨
       this.callType = type;
       this.callStatus = "calling";
 
@@ -2053,10 +2055,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.length) {
+          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 +2258,8 @@
           astrict: index === questionIndex + 1 ? 0 : item.astrict,
           hiddenByEnd: index === questionIndex + 1 ? false : item.hiddenByEnd,
         }));
-      }2
+      }
+      2;
 
       this.$forceUpdate();
     },
@@ -2643,7 +2670,6 @@
 /* 鏂板锛氳鍛婄姸鎬佹牱寮� - 榛勮壊 */
 .scriptTopic-warning {
   color: #d4be00; /* 鎮ㄦ寚瀹氱殑榛勮壊 */
-
 }
 
 /* 寮傚父閫夐」鏍峰紡 - 绾㈣壊鏄熷彿 (淇濇寔涓嶅彉) */

--
Gitblit v1.9.3