This commit is contained in:
liuye
2022-01-22 10:47:14 +08:00
parent b9728e577f
commit 9142bc1c6a
2 changed files with 32 additions and 2 deletions

View File

@@ -46,15 +46,21 @@ export default {
},
onLoad() {
this.selectUserList = uni.getStorageSync('selectUserList')
this.selectUserList.map((item) => {
item.id =item.wxUserId
item.mobile = item.phone
item.avatar = item.photo
})
this.getList()
},
methods: {
getListInit() {
this.userList = []
this.current = 1
this.getList()
},
getList() {
this.$http.post(`/app/appgirdmemberinfo/list?name=${this.name}&current=${this.current}&size=20`).then((res) => {
this.$http.post(`/app/wxcp/wxuser/list?name=${this.name}&current=${this.current}&size=20`).then((res) => {
if (res?.data) {
res.data.records.map((item) => {
item.isChecked = false