|  |  | 
 |  |  |       data() { | 
 |  |  |          return { | 
 |  |  |             id: 0, | 
 |  |  |             baseUrl: '', | 
 |  |  |             cstmr: { | 
 |  |  |                id: '', | 
 |  |  |                name: '河北君邦乳业有限公司', | 
 |  |  |                tel: '15067665399', | 
 |  |  |                addr: '河北省邯郸市君邦乳业有限公司', | 
 |  |  |                cstman: '朱明忠' | 
 |  |  |                name: '', | 
 |  |  |                tel: '', | 
 |  |  |                addr: '', | 
 |  |  |                cstman: '' | 
 |  |  |             }, | 
 |  |  |             addFollower: { | 
 |  |  |                follower: '', | 
 |  |  | 
 |  |  |       }, | 
 |  |  |       onLoad(option) {  | 
 |  |  |          this.id = option.id | 
 |  |  |          this.baseUrl = uni.getStorageSync('baseUrl') | 
 |  |  |          this.init() | 
 |  |  |          this.autoLoad('follower','') | 
 |  |  |          setTimeout(()=>{ | 
 |  |  |             this.getFollowers() | 
 |  |  |          },500) | 
 |  |  | 			 | 
 |  |  | 			 | 
 |  |  |       }, | 
 |  |  |       methods: { | 
 |  |  |          init() { | 
 |  |  | 
 |  |  |          del(id) { | 
 |  |  |             let that = this | 
 |  |  |             var ids = []; | 
 |  |  |             id = Number(id) | 
 |  |  |             ids.push(id) | 
 |  |  |             uni.request({ | 
 |  |  |                url: that.baseUrl + '/cstmr/delete/json', | 
 |  |  |                header: {'token' : uni.getStorageSync('token'),}, | 
 |  |  |                data: {ids: [100,20,40]}, | 
 |  |  |                data: {ids: ids}, | 
 |  |  |                method: 'POST', | 
 |  |  |                success(res) { | 
 |  |  |                   console.log(res); | 
 |  |  |                   res = res.data | 
 |  |  |                   if (res.code === 200) { | 
 |  |  |                      uni.navigateBack() | 
 |  |  | 
 |  |  |                success(result) { | 
 |  |  |                   var res = result.data | 
 |  |  |                   that.getFollowers() | 
 |  |  |                   console.log(res); | 
 |  |  |                } | 
 |  |  |             }) | 
 |  |  |             this.addFollower.follower = '' | 
 |  |  | 
 |  |  |                method: 'POST', | 
 |  |  |                success(result) { | 
 |  |  |                   var res = result.data | 
 |  |  |                   console.log(res); | 
 |  |  |                   if (res.code === 200) { | 
 |  |  |                      var element; | 
 |  |  |                      if (type == 'follower') { | 
 |  |  | 
 |  |  |          }, | 
 |  |  |          removeFollowers(userId) { | 
 |  |  |             let that = this | 
 |  |  |             console.log(that.cstmrId); | 
 |  |  |             uni.request({ | 
 |  |  |                url: that.baseUrl + '/cstmr/followers/remove/auth', | 
 |  |  |                header:{ | 
 |  |  | 
 |  |  |                success(res) { | 
 |  |  |                   res = res.data | 
 |  |  |                   that.getFollowers() | 
 |  |  |                   console.log(res); | 
 |  |  |                } | 
 |  |  |             }) | 
 |  |  |          } | 
 |  |  | 
 |  |  |    .header { | 
 |  |  |       width: auto; | 
 |  |  |       min-height: 110rpx; | 
 |  |  |       background-color: #f8f8f8; | 
 |  |  |       background-color: #fff; | 
 |  |  |       padding: 30px 20px 10px 20px; | 
 |  |  |    } | 
 |  |  |    .cstmr-name { | 
 |  |  | 
 |  |  |    .container { | 
 |  |  |       margin-top: 10px; | 
 |  |  |       padding: 10rpx 20rpx 0 20rpx; | 
 |  |  |       background-color: #f8f8f8; | 
 |  |  |       background-color: #fff; | 
 |  |  |       display: grid; | 
 |  |  |       grid-template-columns: 1fr 3fr; | 
 |  |  |    } | 
 |  |  | 
 |  |  |       min-height: 100rpx; | 
 |  |  |       bottom: 0; | 
 |  |  |       margin-bottom: 0; | 
 |  |  |       background-color: #f8f8f8; | 
 |  |  |       background-color: #fff; | 
 |  |  |       border-top: 1px solid #efefef; | 
 |  |  |       display: flex; | 
 |  |  |       align-items: center; |