|
@@ -75,15 +75,9 @@ export default {
|
|
|
category: 'createPersonUrl'
|
|
|
}
|
|
|
]
|
|
|
- if(!row.authStatus) {
|
|
|
- btnList.pop()
|
|
|
- }
|
|
|
- // btnList.push({
|
|
|
- // msg: '删除',
|
|
|
- // icon: 'iconfont icon-shanchu',
|
|
|
- // power: 'projectNumber:delete',
|
|
|
- // category: 'personUrlDelete'
|
|
|
- // })
|
|
|
+ // if(!row.authStatus) {
|
|
|
+ // btnList.pop()
|
|
|
+ // }
|
|
|
const options = btnList.map(item => {
|
|
|
let str = item.svgIcon ?
|
|
|
<svg-icon icon-class={item.svgIcon} style="width: 16px; height: 16px;" />
|
|
@@ -107,9 +101,9 @@ export default {
|
|
|
personTablePower() {
|
|
|
return ({ item }) => {
|
|
|
const { power } = item
|
|
|
- // if(power && !this.btnPermission.includes(power)) {
|
|
|
- // return false
|
|
|
- // }
|
|
|
+ if(power && !this.btnPermission.includes(power)) {
|
|
|
+ return false
|
|
|
+ }
|
|
|
return true
|
|
|
}
|
|
|
}
|