This commit is contained in:
helloDy
2024-04-11 16:49:48 +08:00
parent 2592551e66
commit 63a753d7d6
32 changed files with 284 additions and 219 deletions

View File

@@ -65,57 +65,57 @@ const tableProps = [
{
prop: 'name',
label: '保养计划名称',
width: 120,
minWidth: 120,
showOverflowtooltip: true
},
{
prop: 'departmentName',
label: '部门',
width: 120,
minWidth: 120,
showOverflowtooltip: true
},
{
prop: 'lineName',
label: '产线名',
width: 120,
minWidth: 120,
showOverflowtooltip: true
},
{
prop: 'maintenancePeriod',
label: '保养频率(天/次)',
width: 150,
minWidth: 150,
showOverflowtooltip: true
},
{
prop: 'firstMaintenanceTime',
label: '首次保养时间',
filter: parseTime,
width: 150,
minWidth: 150,
showOverflowtooltip: true
},
{
prop: 'maintainDuration',
label: '保养时长',
width: 120,
minWidth: 120,
showOverflowtooltip: true
},
{
prop: 'maintainer',
label: '计划保养人员',
width: 150,
minWidth: 150,
showOverflowtooltip: true
},
{
prop: 'confirmTimeLimit',
label: '确认时限',
filter: toDay,
width: 130,
minWidth: 130,
showOverflowtooltip: true
},
{
prop: 'remark',
label: '备注',
width: 150,
minWidth: 150,
showOverflowtooltip: true
}
];
@@ -172,7 +172,7 @@ export default {
color: 'primary',
},
{
type: 'separate',
type: this.$auth.hasPermi('equipment:plan-config:create') ? 'separate' : '',
},
{
type: this.$auth.hasPermi('equipment:plan-config:create') ? 'button' : '',