群标签
This commit is contained in:
@@ -54,9 +54,13 @@
|
||||
...mapState(['user']),
|
||||
},
|
||||
onLoad() {
|
||||
this.deptList = [{name: '', id: this.user.wxMainDepartmentId}]
|
||||
this.getList()
|
||||
this.getTotal()
|
||||
this.$http.post(`/app/wxcp/wxdepartment/queryDetailById?id=${this.user.wxMainDepartmentId}`).then(res=> {
|
||||
if(res?.data) {
|
||||
this.deptList = [{name: res.data.name, id: this.user.wxMainDepartmentId}]
|
||||
this.getList()
|
||||
this.getTotal()
|
||||
}
|
||||
})
|
||||
uni.$on('updateGroup', () => {
|
||||
this.getList()
|
||||
this.getTotal()
|
||||
|
||||
Reference in New Issue
Block a user