This commit is contained in:
zds
2022-11-30 10:19:00 +08:00
parent e5632397fe
commit 06aed20ca8
3 changed files with 8 additions and 10 deletions

View File

@@ -142,12 +142,6 @@ export default {
user: 'user'
})
},
created() {
this.getDepts()
this.query.use_id = this.user.dept.id
this.getSupDepts(this.user.dept.id)
this.crud.toQuery()
},
methods: {
clickChange(item) {
this.tableRadio = item
@@ -175,7 +169,10 @@ export default {
this.$refs.table.clearSelection()
},
open() {
this.crud.resetQuery(true)
this.getDepts()
this.query.use_id = this.user.dept.id
this.getSupDepts(this.user.dept.id)
this.crud.toQuery()
},
close() {
this.crud.resetQuery(false)