| | |
| | | return uni.getStorageSync('roleType'); |
| | | }, |
| | | dateRange() { |
| | | return `${this.firstFilter}-${this.lastFilter}`; |
| | | return `${this.firstFilter}至${this.lastFilter}`; |
| | | }, |
| | | dateselect() { |
| | | return `${this.first}-${this.last}`; |
| | | return `${this.first}至${this.last}`; |
| | | }, |
| | | coalTotal() { |
| | | return this.coalList.length; |
| | |
| | | }, |
| | | watch: { |
| | | dateselect(newV, old) { |
| | | let tempDate = `${this.first}-${this.last}`; |
| | | if (newV != old && old != '-') { |
| | | let tempDate = `${this.first}至${this.last}`; |
| | | if (newV != old && old != '至') { |
| | | this.first = newV.slice(0, 10); |
| | | this.last = newV.slice(11); |
| | | this.getTmTaskCoalData(); |
| | |
| | | width: vww(40); |
| | | } |
| | | .scroll-Y { |
| | | height: 900rpx; |
| | | height: 1000rpx; |
| | | position: relative; |
| | | top: 20rpx; |
| | | } |
| | | .utils-button { |
| | | width: 94%; |
| | |
| | | font-weight: 400; |
| | | color: #f81414; |
| | | position: absolute; |
| | | right: -10rpx; |
| | | right: 12rpx; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | } |
| | |
| | | } |
| | | } |
| | | .filter-main { |
| | | height: 950rpx; |
| | | min-height: 950rpx; |
| | | width: 100%; |
| | | display: flex; |
| | | flex-direction: column; |