From e0c4ede7fdcacf281bd6b3303d625d87bd4e728c Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期五, 20 十月 2023 18:08:54 +0800
Subject: [PATCH] hzymxg

---
 src/views/hosp/about/index.vue |   76 +++++++++++++++++--------------------
 1 files changed, 35 insertions(+), 41 deletions(-)

diff --git a/src/views/hosp/about/index.vue b/src/views/hosp/about/index.vue
index 181961c..261476c 100644
--- a/src/views/hosp/about/index.vue
+++ b/src/views/hosp/about/index.vue
@@ -34,8 +34,8 @@
       <el-table-column label="閫�璐归噾棰�" align="center" prop="refundAmount" :show-overflow-tooltip="true" />
       <el-table-column label="搴斾氦娆�" align="center" prop="payable" :show-overflow-tooltip="true" />
       <el-table-column label="浜よ处鏃堕棿" align="center" prop="createTime" :show-overflow-tooltip="true" />
-      <el-table-column label="璧锋鏃ユ湡" align="center" prop="accountBeginTime" :show-overflow-tooltip="true" />
-      <el-table-column label="缁堟鏃ユ湡" align="center" prop="accountEndTime" :show-overflow-tooltip="true" />
+      <el-table-column label="璧锋鏃堕棿" align="center" prop="accountBeginTime" :show-overflow-tooltip="true" />
+      <el-table-column label="鎴鏃堕棿" align="center" prop="accountEndTime" :show-overflow-tooltip="true" />
     </el-table>
 
     <div class="pag">
@@ -167,42 +167,39 @@
         }
       });
 
-      let data = {
-        tollCollectorId: this.tollCollectorId,
-        accountBeginTime: this.value1[0],
-        accountEndTime: this.value1[1]
-          .toJSON()
-          .substr(0, 19)
-          .replace("T", " "),
-        pageNum: this.queryParams.pageNum,
-        pageSize: this.queryParams.pageSize,
-      };
-      getcolllist(data).then((res) => {
-        this.tableData = res.data.list;
-        if (this.tableData.length === 0) {
-          this.$message({
-            message: '璇锋悳绱㈣鎾ら攢鏁版嵁鐨勬椂闂存鍝',
-            type: 'warning'
-          });
-        }
-        if (res.code === 200) {
-          if (this.tableData.length != 0) {
-            this.$nextTick(() => {
-              this.$refs.multipleTable.toggleRowSelection(
-                this.tableData[0],
-                true
-              );
-            });
-          } else {
-            this.$refs.multipleTable.clearSelection();
-          }
-        }
+      // let data = {
+      //   tollCollectorId: this.tollCollectorId,
+      //   accountBeginTime: this.value1[0],
+      //   accountEndTime: this.value1[1],
+      //   pageNum: this.queryParams.pageNum,
+      //   pageSize: this.queryParams.pageSize,
+      // };
+      // getcolllist(data).then((res) => {
+      //   this.tableData = res.data.list;
+      //   if (this.tableData.length === 0) {
+      //     this.$message({
+      //       message: '璇锋悳绱㈣鎾ら攢鏁版嵁鐨勬椂闂存鍝',
+      //       type: 'warning'
+      //     });
+      //   }
+      //   if (res.code === 200) {
+      //     if (this.tableData.length != 0) {
+      //       this.$nextTick(() => {
+      //         this.$refs.multipleTable.toggleRowSelection(
+      //           this.tableData[0],
+      //           true
+      //         );
+      //       });
+      //     } else {
+      //       this.$refs.multipleTable.clearSelection();
+      //     }
+      //   }
 
-        // this.tableData.forEach(item => {
-        //   this.allList = item.tjTollCollectorDetailList
-        // })
-        this.total = res.data.total;
-      });
+      //   // this.tableData.forEach(item => {
+      //   //   this.allList = item.tjTollCollectorDetailList
+      //   // })
+      //   this.total = res.data.total;
+      // });
     },
     // 閫変腑涓嬫媺妗咺d
     idFn(value) {
@@ -222,10 +219,7 @@
       let data = {
         tollCollectorId: this.tollCollectorId,
         accountBeginTime: this.value1[0],
-        accountEndTime: new Date(new Date().getTime() + 8 * 3600 * 1000)
-          .toJSON()
-          .substr(0, 19)
-          .replace("T", " "),
+        accountEndTime:this.value1[1],
         pageNum: this.queryParams.pageNum,
         pageSize: this.queryParams.pageSize,
       };

--
Gitblit v1.8.0