From d93ed5c5aadcf3d49f824339c26ebfac911be06d Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期五, 07 十一月 2025 14:39:38 +0800
Subject: [PATCH] 测试完成

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

diff --git a/src/views/followvisit/discharge/index.vue b/src/views/followvisit/discharge/index.vue
index bc617b4..700d638 100644
--- a/src/views/followvisit/discharge/index.vue
+++ b/src/views/followvisit/discharge/index.vue
@@ -274,7 +274,7 @@
             </div>
           </div>
         </el-col>
-        <!-- <el-col :span="1.5">
+        <el-col :span="1.5">
           <div class="documentf">
             <div class="document">
               <el-tooltip
@@ -295,7 +295,7 @@
               </el-tooltip>
             </div>
           </div>
-        </el-col> -->
+        </el-col>
       </el-row>
       <el-table
         v-loading="loading"
@@ -1187,7 +1187,8 @@
         qystatus: "",
         btstatus: "",
       },
-      endOut: 1,
+      // endOut: 1,
+      endOut: localStorage.getItem("orgname") == "涓芥按甯備腑鍖婚櫌" ? 0 : 1, //0 鍑洪櫌鏃堕棿(姝e簭)    1 鍑洪櫌鏃堕棿(鍊掑簭)   2 鍙戦�佹椂闂�(姝e簭)    3 鍙戦�佹椂闂�(鍊掑簭)  7搴旈殢璁挎棩鏈�(鍊掑簭) 搴旈殢璁挎棩鏈�(姝e簭)
       endOuts: [
         {
           value: 0,
@@ -1286,6 +1287,10 @@
           value: 1,
           label: "寮傚父",
         },
+         {
+          value: 2,
+          label: "璀﹀憡",
+        },
         {
           value: 0,
           label: "姝e父",
@@ -1377,15 +1382,13 @@
         this.topqueryParams.leavehospitaldistrictcodes =
           store.getters.belongWards.map((obj) => obj.districtCode);
       }
-      console.log(this.endOut);
-
-      if (this.endOut == 0) {
-        this.topqueryParams.endOutHospTime = this.formatDateToYYYYMMDDHHMMSS(
-          this.getEndOfDay()
-        );
-      } else {
-        this.topqueryParams.endOutHospTime = null;
-      }
+      // if (this.endOut == 0) {
+        // this.topqueryParams.endSendDateTime = this.formatDateToYYYYMMDDHHMMSS(
+        //   this.getEndOfDay()
+        // );
+      // } else {
+      //   this.topqueryParams.endSendDateTime = null;
+      // }
       // 鎺ュ彈寮傚父璺宠浆
       if (this.errtype) {
         this.topqueryParams.leavehospitaldistrictcodes.push(
@@ -1456,7 +1459,7 @@
       const minutes = String(date.getMinutes()).padStart(2, "0");
       const seconds = String(date.getSeconds()).padStart(2, "0");
 
-      return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
+      return `${year}-${month}-${day}`;
     },
     affiliation() {
       this.topqueryParams.managementDoctorCode = store.getters.hisUserId;
@@ -1844,11 +1847,9 @@
     Seedetails(row) {
       let type = "";
       console.log(row, "rwo");
-      if (row.preachformson) {
         if (row.type == 1) {
           type = 1;
         }
-      }
       this.$router.push({
         path: "/followvisit/record/detailpage/",
         query: {

--
Gitblit v1.9.3