|
|
|
@ -2131,11 +2131,11 @@ export default { |
|
|
|
|
|
|
|
//获取按钮的权限数据 |
|
|
|
getButtonAuthData(){ |
|
|
|
let updateFlag = this.isAuth(this.menuId+":update"); |
|
|
|
let updateFlag = this.isAuth(this.menuId+":revise"); |
|
|
|
let fullControFlag = this.isAuth(this.menuId+":fullContro"); |
|
|
|
let deleteFlag = this.isAuth(this.menuId+":remove"); |
|
|
|
//处理页面的权限数据 |
|
|
|
this.authEdit = !updateFlag ||!fullControFlag; |
|
|
|
this.authEdit = !updateFlag && !fullControFlag; |
|
|
|
this.authAdd = !fullControFlag; |
|
|
|
this.authDelete = !deleteFlag; |
|
|
|
} |
|
|
|
@ -2189,7 +2189,7 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
//获取按钮的权限 |
|
|
|
//this.getButtonAuthData(); |
|
|
|
this.getButtonAuthData(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|