From b989da3c3a99fef9068c20ac55467d7ce25523af Mon Sep 17 00:00:00 2001
From: su1124 <1583764726@qq.com>
Date: 星期五, 08 三月 2024 14:25:04 +0800
Subject: [PATCH] su

---
 src/views/hosp/Summary/index.vue |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/src/views/hosp/Summary/index.vue b/src/views/hosp/Summary/index.vue
index 99cc69b..4e65302 100644
--- a/src/views/hosp/Summary/index.vue
+++ b/src/views/hosp/Summary/index.vue
@@ -61,6 +61,7 @@
 import { getlistWater, getWater, getdatalist, addTjSummary, getNewDate, getbigntime } from "@/api/hosp/water";
 import { getInfo } from "@/api/login";
 import moment from "moment";
+import {getNewDateList} from "@/api/hosp/order";
 export default {
   name: "Water",
   data() {
@@ -136,15 +137,26 @@
           this.queryParams.tollCollectorId = response.user.userId;
         });
       });
-      getNewDate().then((response) => {
+      // getNewDate().then((response) => {
+      //   if (response.code === 200) {
+      //     this.queryParams.accountEndTime = moment(response.data).format("YYYY-MM-DD HH:mm:ss")
+      //   }
+      // });
+      getNewDateList().then((response) => {
         if (response.code === 200) {
-          this.queryParams.accountEndTime = moment(response.data).format("YYYY-MM-DD HH:mm:ss")
+          this.queryParams.accountEndTime = moment(response.data).format("YYYY-MM-DD 23:59:00")
         }
       });
-      getbigntime().then((response) => {
+      // getbigntime().then((response) => {
+      //   if (response.code === 200) {
+      //     this.queryParams.accountBeginTime =
+      //       moment(response.data).format("YYYY-MM-DD HH:mm:ss")
+      //   }
+      // });
+      getNewDateList().then((response) => {
         if (response.code === 200) {
           this.queryParams.accountBeginTime =
-            moment(response.data).format("YYYY-MM-DD HH:mm:ss")
+            moment(response.data).format("YYYY-MM-DD 00:00:00")
         }
       });
     },

--
Gitblit v1.8.0