权限22
This commit is contained in:
@@ -130,8 +130,20 @@ export default {
|
||||
{ prop: 'createTime', label: '报警时间', filter: timeFilter, width: 150, showOverflowtooltip: true },
|
||||
{ prop: 'alarmCode', label: '设备报警码', width: 180, showOverflowtooltip: true },
|
||||
{ prop: 'alarmContent', label: '报警内容', width: 150, showOverflowtooltip: true },
|
||||
{ prop: 'opt1', label: '处理记录', name: '查看', subcomponent: btn },
|
||||
{ prop: 'opt2', label: '处理', name: '报警处理', subcomponent: btn },
|
||||
this.$auth.hasPermiAnd([
|
||||
'monitoring:equipment-alarm-log:query',
|
||||
'base:equipment-alarm-hand:query'
|
||||
]) ?
|
||||
{ prop: 'opt1', label: '处理记录', name: '查看', subcomponent: btn } : undefined,
|
||||
this.$auth.hasPermiAnd([
|
||||
'monitoring:equipment-alarm-log:query',
|
||||
'base:equipment-alarm-hand:query',
|
||||
'base:core-worker:query',
|
||||
'base:equipment-alarm-hand:create',
|
||||
'base:equipment-alarm-hand:update',
|
||||
'monitoring:equipment-alarm-log:update'
|
||||
]) ?
|
||||
{ prop: 'opt2', label: '处理', name: '报警处理', subcomponent: btn } : undefined,
|
||||
// { prop: 'remark', label: '备注' },
|
||||
],
|
||||
searchBarFormConfig: [
|
||||
|
||||
Reference in New Issue
Block a user