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