【修改】获取领导 修改逻辑

This commit is contained in:
zhoulingpo
2023-05-17 17:41:20 +08:00
parent 3e10351005
commit 11a21aefeb
+2 -2
View File
@@ -475,9 +475,9 @@ export default {
created() {
this.init()
// 判断当前人是不是管理员
if(this.$store.getters.userInfo.levelId=='1' || this.$store.getters.userInfo.levelId=='2'
if((this.$store.getters.userInfo.levelId=='1' || this.$store.getters.userInfo.levelId=='2'
||this.$store.getters.userInfo.levelId=='3' || this.$store.getters.userInfo.levelId=='4'
||this.$store.getters.userInfo.employeeTypeId=='1' ){
)&&this.$store.getters.userInfo.employeeTypeId=='1' ){
this.isAdmin = true
}else{
this.isAdmin=false