Lou
2023-11-11 03eaa258e9f6ae5aceb9e26989cd1025d35de147
subPackage/workbench/views/csjl.vue
@@ -61,11 +61,13 @@
               size: 10
            },
            tabsType: 1,
            status: 'nomore'
            status: 'nomore',
            currentRole: {}
         }
      },
      onShow() {
         this.recordsData = []
         this.recordsData = []
         this.currentRole = uni.getStorageSync('activeRole')
         this.getrRecordList()
      },
      onReachBottom() {
@@ -74,7 +76,9 @@
      },
      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: {
@@ -82,7 +86,8 @@
               }
            } = await getLocationRecord({
               placeName,
               isPerfect,
               isPerfect,
               roleName,
               ...this.pagingParams
            })
            if (code !== 200) {
@@ -126,7 +131,7 @@
               })
               return
            }
            let url = "/subPackage/workbench/views/cscj?id=" + id
            let url = "/subPackage/workbench/views/cscj?id=" + id + "&type=1"
            this.$u.func.globalNavigator(url)
         }
      }