#
whycq
2023-10-07 42befdd31d6c897381bb7c80fd41d0d9619c085c
pages/basics/matQuery.vue
@@ -84,24 +84,28 @@
         eventChannel.on('url', function(data) {
            that.commonUrl = data.data
         })
         setTimeout(()=> {
         this.locOwner()
         },100)
      },
      methods: {
         locOwner() {
            let _this = this
            let that = this
            uni.request({
               url: _this.commonUrl + '/locOwner/list/auth',
               url: 'http://10.10.10.100:8080/bfwms' + '/locOwner/list/auth',
               data:{curr:1,limit:15},
               header: { 'token':uni.getStorageSync('token') },
               method:'GET',
               success(res) {
                  res = res.data
                  if (res.code === 200) {
                     _this.owner = res.data.records
                     that.owner = res.data.records
                     for (let k of res.data.records) {
                        _this.owners.push(k.owner)
                        that.owners.push(k.owner)
                     }
                  }
               },
               fail(res) {
               }
            })
         },