This commit is contained in:
helloDy
2024-04-12 11:05:11 +08:00
parent 087af452de
commit b41dc9593c
16 changed files with 224 additions and 73 deletions

View File

@@ -160,7 +160,8 @@ export default {
// filter: publicFormatter(this.DICT_TYPE.MAINTAIN_TYPE),
// },
// { prop: 'opt1', label: '设备保养', name: '操作', subcomponent: btn },
{ prop: 'opt2', label: '保养内容', name: '详情', subcomponent: btn, width: 100 },
this.$auth.hasPermi('equipment:plan-config:query') ?
{ prop: 'opt2', label: '保养内容', name: '详情', subcomponent: btn, width: 100 } : undefined,
{
prop: 'remainDays',
label: '距离下次保养剩余时间(天)',
@@ -190,11 +191,11 @@ export default {
color: 'primary',
},
{
type: this.$auth.hasPermi('equipment:maintain-monitor:export')
type: this.$auth.hasPermi('equipment:plan-config:export')
? 'separate' : '',
},
{
type: this.$auth.hasPermi('equipment:maintain-monitor:export')
type: this.$auth.hasPermi('equipment:plan-config:export')
? 'button'
: '',
btnName: '导出',