数据水感应数据看板处理
This commit is contained in:
@@ -199,10 +199,11 @@ export default {
|
||||
methods: {
|
||||
// 获取当前用户的组织
|
||||
staffDeparts () {
|
||||
this.loading = true
|
||||
staffDeparts().then(res => {
|
||||
console.log(res)
|
||||
this.loading = true
|
||||
this.promissions = res
|
||||
this.loading = true
|
||||
if (res.length > 0) {
|
||||
this.departs = [{ key: '', title: '全部角色' }, ...res[0].departs]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user