| | |
| | | let m = new Date().getMonth() + 1; //获取月份 |
| | | let d = new Date().getDate(); //获取当天日期 |
| | | m = m < 10 ? '0' + m : m; //月份补 0 |
| | | d = d < 10 ? '0' + d : d; //日数补 0 |
| | | this.first = [y, m, d].join('-') + ' ' + '00:00:00'; |
| | | this.dateParams.startTime = [y, m, d].join('-') ; |
| | | this.firstFilter = [y, m, d].join('-') |
| | |
| | | uni.showLoading({ |
| | | title: '加载中' |
| | | }); |
| | | this.$reqGet('getHistoryTaskCoalList', { startTime: this.first , endTime:this.last ,bunkerIds:this.bunkerIds,productIds:uni.getStorageSync('productIds') }).then(res => { |
| | | this.$reqGet('getHistoryTaskCoalList', { startTime: decodeURIComponent(this.first) , endTime:decodeURIComponent(this.last) ,bunkerIds:this.bunkerIds,productIds:uni.getStorageSync('productIds') }).then(res => { |
| | | console.log(res.data,'res.data'); |
| | | this.filterList = this.taskList = res.data.map(item=>{ |
| | | if(!item.carNum){ |