| | |
| | | size: 10
|
| | | },
|
| | | tabsType: 1,
|
| | | status: 'nomore'
|
| | | status: 'nomore', |
| | | currentRole: {}
|
| | | }
|
| | | },
|
| | | onShow() { |
| | | this.recordsData = []
|
| | | this.recordsData = [] |
| | | this.currentRole = uni.getStorageSync('activeRole')
|
| | | this.getrRecordList()
|
| | | },
|
| | | onReachBottom() {
|
| | |
| | | },
|
| | | methods: {
|
| | | async getrRecordList(placeName = this.iptContext, isPerfect = this.tabsType) {
|
| | | this.status = 'loadmore'
|
| | | this.status = 'loadmore' |
| | | const { roleName } = this.currentRole |
| | | console.log(this.currentRole);
|
| | | const {
|
| | | code,
|
| | | data: {
|
| | |
| | | }
|
| | | } = await getLocationRecord({
|
| | | placeName,
|
| | | isPerfect,
|
| | | isPerfect, |
| | | roleName,
|
| | | ...this.pagingParams
|
| | | })
|
| | | if (code !== 200) {
|