数据加载
This commit is contained in:
@@ -104,15 +104,22 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
getUser(data) {
|
||||
this.applicationId = data.id
|
||||
this.appId = data.id
|
||||
this.getUsers()
|
||||
},
|
||||
// getUser(data) {
|
||||
// this.applicationId = data.id
|
||||
// this.appId = data.id
|
||||
// this.getUsers()
|
||||
// },
|
||||
|
||||
getUsers() {
|
||||
uni.showLoading({
|
||||
title: '加载中',
|
||||
})
|
||||
this.$http.post(`/app/appapplicationinfo/list?appId=${this.appId}¤t=${this.current}&size=${999}`, { searchParam: this.keyword }).then((res) => {
|
||||
if (res.code == 0) {
|
||||
uni.showToast({
|
||||
title: '加载完毕',
|
||||
icon: 'none',
|
||||
})
|
||||
res.data.records.map((item) => {
|
||||
item.isChecked = false
|
||||
})
|
||||
@@ -132,8 +139,11 @@ export default {
|
||||
|
||||
toUserSelect(item) {
|
||||
this.applicationName = item.applicationName
|
||||
this.applicationId = item.id
|
||||
this.appId = item.id
|
||||
this.getUsers()
|
||||
|
||||
this.showType = false
|
||||
this.getUser(item)
|
||||
},
|
||||
|
||||
back() {
|
||||
@@ -173,6 +183,7 @@ export default {
|
||||
}
|
||||
|
||||
.header-middle {
|
||||
padding-bottom: 140px;
|
||||
.hint {
|
||||
padding: 0 20px 0 32px;
|
||||
height: 112px;
|
||||
|
||||
Reference in New Issue
Block a user