权限22
This commit is contained in:
@@ -108,13 +108,16 @@ export default {
|
||||
tableKey: Math.random(),
|
||||
searchBarKeys: ['name', 'plcTableName'],
|
||||
tableBtn: [
|
||||
this.$auth.hasPermi('equipment:realtime-table-config:update')
|
||||
this.$auth.hasPermiAnd([
|
||||
'base:equipment-plc:update',
|
||||
'base:equipment-plc:query'
|
||||
])
|
||||
? {
|
||||
type: 'edit',
|
||||
btnName: '修改',
|
||||
}
|
||||
: undefined,
|
||||
this.$auth.hasPermi('equipment:realtime-table-config:delete')
|
||||
this.$auth.hasPermi('base:equipment-plc:delete')
|
||||
? {
|
||||
type: 'delete',
|
||||
btnName: '删除',
|
||||
|
||||
Reference in New Issue
Block a user