修改推送的懒加载
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.queryDepartUserTreeList()
|
||||
|
||||
},
|
||||
methods: {
|
||||
getPush(data) {
|
||||
@@ -108,7 +108,14 @@
|
||||
},
|
||||
queryDepartUserTreeList() {
|
||||
this.confirmLoading = true
|
||||
getAction('sys/user/queryDepartUserTreeList', { departId: this.departId }).then((res) => {
|
||||
let gData = JSON.parse(JSON.stringify(this.gData))
|
||||
if (gData && gData.length > 0) {
|
||||
gData = JSON.stringify(gData)
|
||||
}
|
||||
postAction('sys/user/queryDepartUserTreeList', {
|
||||
departId: this.departId,
|
||||
json: gData
|
||||
}).then((res) => {
|
||||
this.confirmLoading = false
|
||||
if (res.success) {
|
||||
this.gData = res.result
|
||||
|
||||
Reference in New Issue
Block a user