数据加载

This commit is contained in:
花有清香月有阴
2021-12-31 14:43:20 +08:00
parent 88eefe7c05
commit f0ae82eceb

View File

@@ -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}&current=${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;