员工管理新增编辑权限
This commit is contained in:
parent
fabe70289b
commit
06379db48f
|
|
@ -490,13 +490,14 @@ export default {
|
|||
console.log(this.form)
|
||||
if(this.form.accessAuthorityList&&this.form.accessAuthorityList.length>0){
|
||||
console.log(this.form.accessAuthorityList)
|
||||
this.accessAuthorityList = []
|
||||
this.form.accessAuthorityList.forEach(item=>{
|
||||
if(item.deviceType==3){
|
||||
this.accessAuthorityList.push(item)
|
||||
this.$forceUpdate()
|
||||
}
|
||||
if(item.deviceType==7){
|
||||
this.simpleCabinetStatus = item.privilegeValue
|
||||
this.simpleCabinetStatus = Number(item.privilegeValue)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue