| | |
| | | }, |
| | | created() { |
| | | // this.getNowTime() |
| | | this.getList(); |
| | | |
| | | this.getdate(); |
| | | }, |
| | | methods: { |
| | |
| | | moment(res.data).format("YYYY-MM-DD 00:00:00"), |
| | | moment(res.data).format("YYYY-MM-DD 23:59:00") |
| | | ];; |
| | | this.getList(); |
| | | }); |
| | | }, |
| | | getNowTime() { |
| | |
| | | /** 查询核销记录列表 */ |
| | | getList() { |
| | | this.loading = true; |
| | | this.queryParams.startTime = this.createTimeList[0] |
| | | if(this.createTimeList){ |
| | | this.queryParams.startTime = this.createTimeList[0] |
| | | this.queryParams.endTime = this.createTimeList[1] |
| | | }else if(this.createTimeList == null){ |
| | | this.queryParams.startTime = null |
| | | this.queryParams.endTime = null |
| | | } |
| | | |
| | | listChecklog(this.queryParams).then((response) => { |
| | | response.rows.forEach((item, index) => { |
| | | item.newID = |