| | |
| | | }, |
| | | created() { |
| | | // this.getNowTime(); |
| | | this.getList(); |
| | | |
| | | this.getdate(); |
| | | }, |
| | | |
| | |
| | | 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; |
| | |
| | | }, |
| | | // 表单重置 |
| | | reset() { |
| | | this.createTimeList =[] |
| | | this.form = { |
| | | company: null, |
| | | payType: null, |