群标签

This commit is contained in:
liuye
2023-05-26 11:37:56 +08:00
parent fcecac4ee9
commit 8c6d83294e

View File

@@ -54,9 +54,13 @@
...mapState(['user']), ...mapState(['user']),
}, },
onLoad() { onLoad() {
this.deptList = [{name: '', id: this.user.wxMainDepartmentId}] this.$http.post(`/app/wxcp/wxdepartment/queryDetailById?id=${this.user.wxMainDepartmentId}`).then(res=> {
this.getList() if(res?.data) {
this.getTotal() this.deptList = [{name: res.data.name, id: this.user.wxMainDepartmentId}]
this.getList()
this.getTotal()
}
})
uni.$on('updateGroup', () => { uni.$on('updateGroup', () => {
this.getList() this.getList()
this.getTotal() this.getTotal()