26262
This commit is contained in:
@@ -157,6 +157,7 @@ export default {
|
||||
},
|
||||
|
||||
change(index) {
|
||||
this.data = []
|
||||
this.areaId = this.user.areaId
|
||||
this.keyword = ''
|
||||
this.currentTabs = index
|
||||
|
||||
@@ -107,7 +107,12 @@ export default {
|
||||
|
||||
getUser(data) {
|
||||
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) {
|
||||
res.data.records.map((item) => {
|
||||
item.isChecked = false
|
||||
@@ -139,17 +144,18 @@ export default {
|
||||
},
|
||||
|
||||
handerSearch(e) {
|
||||
if (this.showType) {
|
||||
if (!this.showType) {
|
||||
this.keyword = e
|
||||
this.current = 1
|
||||
this.getUser()
|
||||
// this.getUser()
|
||||
this.getUsers()
|
||||
}
|
||||
},
|
||||
|
||||
handerClear() {
|
||||
this.keyword = ''
|
||||
this.current = 1
|
||||
this.getUser()
|
||||
this.getUsers()
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user