数据水感应数据看板处理

This commit is contained in:
2023-07-24 15:00:50 +08:00
parent 4db49ff2d1
commit 13d8bd350f
5 changed files with 119 additions and 75 deletions

View File

@@ -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]
}