能源权限
This commit is contained in:
@@ -114,13 +114,20 @@ export default {
|
||||
defaultSelect: [],
|
||||
},
|
||||
{
|
||||
type: 'button',
|
||||
type: this.$auth.hasPermi('base:energy-quantity-manual:query')
|
||||
? 'button'
|
||||
: '',
|
||||
btnName: '查询',
|
||||
name: 'search',
|
||||
color: 'primary',
|
||||
},
|
||||
{
|
||||
type: 'separate',
|
||||
type: this.$auth.hasPermiOr([
|
||||
'base:energy-quantity-manual:export',
|
||||
'base:energy-quantity-manual:create',
|
||||
])
|
||||
? 'separate'
|
||||
: '',
|
||||
},
|
||||
{
|
||||
type: this.$auth.hasPermi('base:energy-quantity-manual:export')
|
||||
@@ -147,13 +154,19 @@ export default {
|
||||
// 班次基础信息列表
|
||||
list: [],
|
||||
tableBtn: [
|
||||
this.$auth.hasPermi('base:energy-quantity-manual:create')
|
||||
this.$auth.hasPermiAnd([
|
||||
'base:energy-quantity-manual:query',
|
||||
'base:energy-quantity-manual:create',
|
||||
])
|
||||
? {
|
||||
type: 'meterReading',
|
||||
btnName: '抄表',
|
||||
}
|
||||
: undefined,
|
||||
this.$auth.hasPermi('base:energy-quantity-manual:update')
|
||||
this.$auth.hasPermiAnd([
|
||||
'base:energy-quantity-manual:update',
|
||||
'base:energy-quantity-manual:query',
|
||||
])
|
||||
? {
|
||||
type: 'edit',
|
||||
btnName: '编辑',
|
||||
|
||||
Reference in New Issue
Block a user