qinxianzhangyao
2024-03-15 ac6766c11f8a2b8de903b58c13a8f206fa01dccd
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,