From 0529f319b668d11a0479ae3b615ad8418442a10e Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 27 五月 2025 16:19:57 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/record/index.vue |   46 ++++++++++++++++++++++++++++++++++++----------
 1 files changed, 36 insertions(+), 10 deletions(-)

diff --git a/src/views/followvisit/record/index.vue b/src/views/followvisit/record/index.vue
index c70694d..1063d26 100644
--- a/src/views/followvisit/record/index.vue
+++ b/src/views/followvisit/record/index.vue
@@ -165,7 +165,6 @@
                 icon="el-icon-upload2"
                 size="medium"
                 @click="handleExport"
-                v-hasPermi="['system:user:export']"
                 >瀵煎嚭</el-button
               >
             </div>
@@ -208,6 +207,15 @@
                 size="medium"
                 @click="buidegetTasklist()"
                 >寰呭姙鏈嶅姟</el-button
+              >
+            </div>
+          </div>
+        </el-col>
+        <el-col :span="1.5">
+          <div class="documentf">
+            <div class="document">
+              <el-button type="success" size="medium" @click="onthatday()"
+                >褰撴棩鏈嶅姟</el-button
               >
             </div>
           </div>
@@ -508,7 +516,7 @@
                 ></el-button
               >
             </el-tooltip> -->
-            <el-tooltip
+            <!-- <el-tooltip
               v-if="scope.row.sendstate == 1 || scope.row.sendstate == 2"
               class="item"
               effect="dark"
@@ -524,7 +532,7 @@
                   ><i class="el-icon-remove-outline"></i>鏆傚仠鏈嶅姟</span
                 ></el-button
               >
-            </el-tooltip>
+            </el-tooltip> -->
             <el-button size="medium" type="text" @click="Seedetails(scope.row)"
               ><span class="button-zx"
                 ><i class="el-icon-s-order"></i>鏌ョ湅璇︽儏</span
@@ -908,6 +916,10 @@
 
       topicoptions: [
         {
+          value: null,
+          label: "鍏ㄩ儴",
+        },
+        {
           value: 1,
           label: "琛ㄥ崟宸查鍙�",
         },
@@ -1036,7 +1048,7 @@
           this.cardlist[1].value = response.rows[0].ysf;
           this.ycvalue = response.rows[0].yc;
           this.cardlist[2].value = response.rows[0].fssb;
-          this.cardlist[3].value = response.rows[0].dfs;
+          this.cardlist[3].value = response.rows[0].dsf;
           this.cardlist[4].value = response.rows[0].yfs2;
           this.yfsvalue = response.rows[0].yfs;
         }
@@ -1067,11 +1079,11 @@
       });
     },
     //鎮h��360璺宠浆
-    gettoken360(sfzh,drcode,drname) {
+    gettoken360(sfzh, drcode, drname) {
       this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
-      if (this.postData.XiaoXiTou.ZuHuMC=='涓芥按甯備腑鍖婚櫌') {
-        this.postData.YeWuXX.YongHuXX.YongHuID = '1400398571877961728';
-        this.postData.YeWuXX.YongHuXX.YongHuXM = 'LSZYY';
+      if (this.postData.XiaoXiTou.ZuHuMC == "涓芥按甯備腑鍖婚櫌") {
+        this.postData.YeWuXX.YongHuXX.YongHuID = "1400398571877961728";
+        this.postData.YeWuXX.YongHuXX.YongHuXM = "LSZYY";
       }
       query360PatInfo(this.postData).then((res) => {
         if (res.data.url) {
@@ -1114,7 +1126,7 @@
           this.cardlist[2].value = response.rows[0].ysf;
           this.ycvalue = response.rows[0].yc;
           this.cardlist[3].value = response.rows[0].fssb;
-          this.cardlist[4].value = response.rows[0].dfs;
+          this.cardlist[4].value = response.rows[0].dsf;
           this.cardlist[5].value = response.rows[0].yfs2;
           this.yfsvalue = response.rows[0].yfs;
         }
@@ -1244,6 +1256,9 @@
         sort: 2,
         searchscope: 2,
         sendstate: 2,
+        scopetype: [],
+        leaveldeptcodes: [],
+        leavehospitaldistrictcodes: [],
       };
       this.handleQuery(1);
     },
@@ -1263,6 +1278,15 @@
       this.$nextTick((_) => {
         this.$refs.saveTagInput.$refs.input.focus();
       });
+    },
+    onthatday() {
+      this.topqueryParams.startSendDateTime = this.getCurrentDate();
+      this.topqueryParams.endSendDateTime = this.getCurrentDate();
+      this.getList(1);
+    },
+    getCurrentDate() {
+      const now = new Date();
+      return now.toISOString().slice(0, 10); // 鎴彇鍓�10涓瓧绗︼紝鍗� YYYY-MM-DD
     },
     //鑾峰彇澶卞幓鐒︾偣瑙﹀彂
     handleInputConfirm() {
@@ -1395,6 +1419,7 @@
           patid: row.patid,
           id: row.id,
           Voicetype: type,
+          again: 1,
         },
       });
     },
@@ -1448,7 +1473,8 @@
       this.topqueryParams.pageNum = null;
       this.topqueryParams.pageSize = null;
       this.download(
-        "smartor/serviceSubtask/export",
+        // "smartor/serviceSubtask/export",
+        "smartor/serviceSubtask/patItemExport",
         {
           ...this.topqueryParams,
         },

--
Gitblit v1.9.3