优化
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user