From ecbcc059d43f64877551756de129c653d31d0032 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 07 五月 2026 09:20:20 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/discharge/index.vue |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/src/views/followvisit/discharge/index.vue b/src/views/followvisit/discharge/index.vue
index fb620ef..43f171c 100644
--- a/src/views/followvisit/discharge/index.vue
+++ b/src/views/followvisit/discharge/index.vue
@@ -210,7 +210,7 @@
       </el-form>
       <el-divider></el-divider>
       <el-row :gutter="10" class="mb8">
-        <!-- <el-col :span="1.5">
+        <el-col :span="1.5">
           <div class="documentf">
             <div class="document">
               <el-button
@@ -223,7 +223,7 @@
               >
             </div>
           </div>
-        </el-col> -->
+        </el-col>
         <el-col :span="1.5">
           <el-button
             type="primary"
@@ -1250,6 +1250,10 @@
           value: 8,
           label: "搴旈殢璁挎棩鏈�(鍊掑簭)",
         },
+         {
+          value: 9,
+          label: "鎸夌収鎮h�呮帓搴�",
+        },
       ],
       // 鏌ヨ鍙傛暟
       topqueryParams: {
@@ -2036,7 +2040,9 @@
     },
     /** 瀵煎嚭鎸夐挳鎿嶄綔 */
     handleExport() {
-      this.topqueryParams.pageNum = null;
+      const originalPageNum = this.topqueryParams.pageNum;
+      const originalPageSize = this.topqueryParams.pageSize;
+this.topqueryParams.pageNum = null;
       this.topqueryParams.pageSize = null;
       this.download(
         "smartor/serviceSubtask/patItemExport",
@@ -2044,7 +2050,12 @@
           ...this.topqueryParams,
         },
         `user_${new Date().getTime()}.xlsx`
-      );
+      ).finally(() => {
+        // 瀵煎嚭鍚庢仮澶嶅垎椤靛弬鏁�
+        this.topqueryParams.pageNum = originalPageNum;
+        this.topqueryParams.pageSize = originalPageSize;
+        this.getList()
+      });
     },
     // 寮傚父鍒楁覆鏌�
     tableRowClassName({ row, rowIndex }) {
@@ -2062,7 +2073,7 @@
           this.zcform.remark =
             this.zcform.remark + "銆�" + this.getCurrentTime() + "銆�";
           let form = structuredClone(this.zcform);
-          form.longSendTime = this.formatTime(form.date1);
+          form.visitTime = this.formatTime(form.date1);
           form.finishtime = "";
           if (form.resource) {
             if (form.resource == 2) {

--
Gitblit v1.9.3