26262
This commit is contained in:
@@ -157,6 +157,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
change(index) {
|
change(index) {
|
||||||
|
this.data = []
|
||||||
this.areaId = this.user.areaId
|
this.areaId = this.user.areaId
|
||||||
this.keyword = ''
|
this.keyword = ''
|
||||||
this.currentTabs = index
|
this.currentTabs = index
|
||||||
|
|||||||
@@ -107,7 +107,12 @@ export default {
|
|||||||
|
|
||||||
getUser(data) {
|
getUser(data) {
|
||||||
this.applicationId = data.id
|
this.applicationId = data.id
|
||||||
this.$http.post(`/app/appapplicationinfo/list?appId=${data.id}¤t=${this.current}&size=${999}`, { searchParam: this.keyword }).then((res) => {
|
this.appId = data.id
|
||||||
|
this.getUsers()
|
||||||
|
},
|
||||||
|
|
||||||
|
getUsers() {
|
||||||
|
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) {
|
||||||
res.data.records.map((item) => {
|
res.data.records.map((item) => {
|
||||||
item.isChecked = false
|
item.isChecked = false
|
||||||
@@ -139,17 +144,18 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
handerSearch(e) {
|
handerSearch(e) {
|
||||||
if (this.showType) {
|
if (!this.showType) {
|
||||||
this.keyword = e
|
this.keyword = e
|
||||||
this.current = 1
|
this.current = 1
|
||||||
this.getUser()
|
// this.getUser()
|
||||||
|
this.getUsers()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
handerClear() {
|
handerClear() {
|
||||||
this.keyword = ''
|
this.keyword = ''
|
||||||
this.current = 1
|
this.current = 1
|
||||||
this.getUser()
|
this.getUsers()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user