| | |
| | | </u-sticky> |
| | | |
| | | <view class="list"> |
| | | <view class="list-item bgc-ff mb-20" v-for="(i,k) in list" :key="k"> |
| | | <view class="list-item bgc-ff mb-20" v-for="(i,k) in list" :key="k" @click="navTo(i.id,i.status)"> |
| | | <view class="item-title flex a-i-c j-c-s-b mb-20"> |
| | | <text class="f-32 fw">{{i.name}}</text> |
| | | <u-tag v-if="i.status == 1" text="待处理" type="warning" plain plainFill></u-tag> |
| | |
| | | }, |
| | | |
| | | onLoad(option) { |
| | | if (option.code) { |
| | | this.houseCode = option.code; |
| | | } |
| | | this.getList() |
| | | }, |
| | | onReachBottom() { |
| | |
| | | }) |
| | | }) |
| | | let params = { |
| | | page: this.currentPage, |
| | | current: this.currentPage, |
| | | size: 20, |
| | | status: this.currentStatus, |
| | | frequency: this.frequency |
| | | frequency: this.frequency, |
| | | roleName: uni.getStorageSync('activeRole').roleName |
| | | } |
| | | if (this.selectDate.length) { |
| | | params.startTime = this.selectDate[0] |
| | |
| | | this.loadingStatus = 'nomore' |
| | | }) |
| | | }, |
| | | navTo(name, id, type) { |
| | | |
| | | if (type == 1) { |
| | | this.$u.func.globalNavigator(`bailReportDetail?id=${id}`) |
| | | } else if (type == 2) { |
| | | this.$u.func.globalNavigator(`hotelReportDetail?id=${id}`) |
| | | } else if (type == 3 || type == 4 || type == 5) { |
| | | this.$u.func.globalNavigator(`labelReportDetail?id=${id}`) |
| | | } else if (type == 6) { |
| | | this.$u.func.globalNavigator(`schoolReportDetail?id=${id}`) |
| | | navTo(id, status) { |
| | | if (status == 1) { |
| | | this.$u.func.globalNavigator(`/subPackage/workbench/views/workLog?id=${id}`) |
| | | } else { |
| | | this.$u.func.globalNavigator(`workLogDetail?id=${id}`) |
| | | } |
| | | }, |
| | | |