|
|
@@ -155,7 +155,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
- ...mapGetters(['tenant', 'org', 'isTopGroup'])
|
|
|
+ ...mapGetters(['tenant', 'org'])
|
|
|
},
|
|
|
created () {
|
|
|
this.$timer = -1
|
|
|
@@ -165,7 +165,7 @@ export default {
|
|
|
'+/+/calendar/update'
|
|
|
], this.onMessage)
|
|
|
this.getDepartmentTree()
|
|
|
- this.group = { path: this.org, name: '我的设备' }
|
|
|
+ this.group = { path: this.org, name: '我的部门' }
|
|
|
this.refreshDevices(true)
|
|
|
},
|
|
|
beforeDestroy () {
|
|
|
@@ -196,7 +196,7 @@ export default {
|
|
|
},
|
|
|
onGroupChanged ({ path, name }) {
|
|
|
if (this.group.path !== path) {
|
|
|
- this.group = { path, name: path === this.org ? '我的设备' : name }
|
|
|
+ this.group = { path, name }
|
|
|
this.refreshDevices(true)
|
|
|
this.drawer = false
|
|
|
}
|