|
|
|
@ -456,10 +456,10 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
let userInfo = this.$store.state.user
|
|
|
|
let userInfo = this.$store.state.user
|
|
|
|
if(userInfo.roles.length===1 && userInfo.roles[0]==='employee'){
|
|
|
|
/* if(userInfo.roles.length===1 && userInfo.roles[0]==='employee'){
|
|
|
|
this.isEmployee = true;
|
|
|
|
this.isEmployee = true;
|
|
|
|
this.queryParams.wordId = userInfo.name
|
|
|
|
this.queryParams.wordId = userInfo.name
|
|
|
|
}
|
|
|
|
}*/
|
|
|
|
this.getList()
|
|
|
|
this.getList()
|
|
|
|
// this.getDeptTree()
|
|
|
|
// this.getDeptTree()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|