From ac6766c11f8a2b8de903b58c13a8f206fa01dccd Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期五, 15 三月 2024 17:56:32 +0800
Subject: [PATCH] qxtj

---
 src/views/team/teams/index.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/views/team/teams/index.vue b/src/views/team/teams/index.vue
index 96e0446..30b6629 100644
--- a/src/views/team/teams/index.vue
+++ b/src/views/team/teams/index.vue
@@ -481,7 +481,7 @@
   },
   created() {
     // this.getNowTime();
-    this.getList();
+   
     this.getdate();
   },
 
@@ -492,11 +492,17 @@
           moment(res.data).format("YYYY-MM-DD 00:00:00"),
           moment(res.data).format("YYYY-MM-DD 23:59:00"),
         ];
+        this.getList();
       });
     },
     getList() {
       this.loading = true;
-      getCompany(this.queryParam).then((response) => {
+      if(this.createTimeList){
+        this.objs.beginTime=this.createTimeList[0],
+        this.objs.endTime=this.createTimeList[1]
+      }
+     
+      getCompany(this.objs).then((response) => {
         this.CompanyList = response.data;
         this.total = response.total;
         this.loading = false;
@@ -531,6 +537,7 @@
     },
     // 琛ㄥ崟閲嶇疆
     reset() {
+      this.createTimeList =[]
       this.form = {
         company: null,
         payType: null,

--
Gitblit v1.8.0