fzq #31

Closed
fanzhiqin wants to merge 215 commits from fzq into test
15 changed files with 30 additions and 30 deletions
Showing only changes of commit 666059af6e - Show all commits

View File

@ -228,13 +228,13 @@ const addOrUpdateConfigs = {
{ {
name: 'save', name: 'save',
url: '/monitoring/equipment', url: '/monitoring/equipment',
permission: '', permission: 'monitoring:equipment:save',
showOnEdit: false showOnEdit: false
}, },
{ {
name: 'update', name: 'update',
url: '/monitoring/equipment', url: '/monitoring/equipment',
permission: '', permission: 'monitoring:equipment:update',
showOnEdit: true showOnEdit: true
} }
] ]

View File

@ -50,8 +50,8 @@ const addOrUpdateConfigs = {
fields: [{ name: 'name', label: '分组名称' }, { name: 'code', label: '分组编码' }, 'remark'], fields: [{ name: 'name', label: '分组名称' }, { name: 'code', label: '分组编码' }, 'remark'],
operations: [ operations: [
{ name: 'cancel', showAlways: true }, { name: 'cancel', showAlways: true },
{ name: 'save', url: '/monitoring/equipmentGroup', permission: '', showOnEdit: false }, { name: 'save', url: '/monitoring/equipmentGroup', permission: 'monitoring:equipmentgroup:save', showOnEdit: false },
{ name: 'update', url: '/monitoring/equipmentGroup', permission: '', showOnEdit: true } { name: 'update', url: '/monitoring/equipmentGroup', permission: 'monitoring:equipmentgroup:update', showOnEdit: true }
] ]
} }

View File

@ -73,8 +73,8 @@ const addOrUpdateConfigs = {
], ],
operations: [ operations: [
{ name: 'cancel', showAlways: true }, { name: 'cancel', showAlways: true },
{ name: 'save', url: '/monitoring/equipmentGroupAlarm', extraFields: { equipmentGroupId: null }, permission: '', showOnEdit: false }, { name: 'save', url: '/monitoring/equipmentGroupAlarm', extraFields: { equipmentGroupId: null }, permission: 'monitoring:equipmentgroupalarm:save', showOnEdit: false },
{ name: 'update', url: '/monitoring/equipmentGroupAlarm', extraFields: { equipmentGroupId: null }, permission: '', showOnEdit: true } { name: 'update', url: '/monitoring/equipmentGroupAlarm', extraFields: { equipmentGroupId: null }, permission: 'monitoring:equipmentgroupalarm:update', showOnEdit: true }
] ]
} }

View File

@ -74,8 +74,8 @@ const addOrUpdateConfigs = {
], ],
operations: [ operations: [
{ name: 'cancel', url: true, showAlways: true }, { name: 'cancel', url: true, showAlways: true },
{ name: 'save', url: '/monitoring/equipmentPlc', permission: '', showOnEdit: false }, { name: 'save', url: '/monitoring/equipmentPlc', permission: 'monitoring:equipmentplc:save', showOnEdit: false },
{ name: 'update', url: '/monitoring/equipmentPlc', permission: '', showOnEdit: true } { name: 'update', url: '/monitoring/equipmentPlc', permission: 'monitoring:equipmentplc:update', showOnEdit: true }
] ]
} }

View File

@ -64,8 +64,8 @@ const addOrUpdateConfigs = {
], ],
operations: [ operations: [
{ name: 'cancel', url: true, showAlways: true }, { name: 'cancel', url: true, showAlways: true },
{ name: 'save', url: '/monitoring/equipmentPlcConnect', permission: '', showOnEdit: false }, { name: 'save', url: '/monitoring/equipmentPlcConnect', permission: 'monitoring:equipmentplcconnect:save', showOnEdit: false },
{ name: 'update', url: '/monitoring/equipmentPlcConnect', permission: '', showOnEdit: true } { name: 'update', url: '/monitoring/equipmentPlcConnect', permission: 'monitoring:equipmentplcconnect:update', showOnEdit: true }
], ],
subtable: { subtable: {
title: 'PLC采集参数', title: 'PLC采集参数',

View File

@ -54,8 +54,8 @@ const addOrUpdateConfigs = {
], ],
operations: [ operations: [
{ name: 'cancel', showAlways: true }, { name: 'cancel', showAlways: true },
{ name: 'save', url: '/monitoring/equipmentType', permission: '', showOnEdit: false }, { name: 'save', url: '/monitoring/equipmentType', permission: 'monitoring:equipmenttype:save', showOnEdit: false },
{ name: 'update', url: '/monitoring/equipmentType', permission: '', showOnEdit: true } { name: 'update', url: '/monitoring/equipmentType', permission: 'monitoring:equipmenttype:update', showOnEdit: true }
], ],
extraComponents: [ extraComponents: [
{ {

View File

@ -63,8 +63,8 @@ const addOrUpdateConfigs = {
operations: [ operations: [
{ name: 'reset', url: true, showAlways: true }, { name: 'reset', url: true, showAlways: true },
{ name: 'cancel', url: true, showAlways: true }, { name: 'cancel', url: true, showAlways: true },
{ name: 'save', url: '/monitoring/factory', permission: '', showOnEdit: false }, { name: 'save', url: '/monitoring/factory', permission: 'monitoring:factory:save', showOnEdit: false },
{ name: 'update', url: '/monitoring/factory', permission: '', showOnEdit: true } { name: 'update', url: '/monitoring/factory', permission: 'monitoring:factory:update', showOnEdit: true }
] ]
} }

View File

@ -78,8 +78,8 @@ const addOrUpdateConfigs = {
], ],
operations: [ operations: [
{ name: 'cancel', showAlways: true }, { name: 'cancel', showAlways: true },
{ name: 'save', url: '/monitoring/productArrt', permission: '', showOnEdit: false }, { name: 'save', url: '/monitoring/productArrt', permission: 'monitoring:productarrt:save', showOnEdit: false },
{ name: 'update', url: '/monitoring/productArrt', permission: '', showOnEdit: true } { name: 'update', url: '/monitoring/productArrt', permission: 'monitoring:productarrt:update', showOnEdit: true }
] ]
} }

View File

@ -71,8 +71,8 @@ const addOrUpdateConfigs = {
], ],
operations: [ operations: [
{ name: 'cancel', url: true, showAlways: true }, { name: 'cancel', url: true, showAlways: true },
{ name: 'save', url: '/monitoring/productionLine', permission: '', showOnEdit: false }, { name: 'save', url: '/monitoring/productionLine', permission: 'monitoring:productionline:save', showOnEdit: false },
{ name: 'update', url: '/monitoring/productionLine', permission: '', showOnEdit: true } { name: 'update', url: '/monitoring/productionLine', permission: 'monitoring:productionline:update', showOnEdit: true }
] ]
} }

View File

@ -55,8 +55,8 @@ const addOrUpdateConfigs = {
], ],
operations: [ operations: [
{ name: 'cancel', showAlways: true }, { name: 'cancel', showAlways: true },
{ name: 'save', url: '/monitoring/qualityInspectionDet', permission: '', showOnEdit: false }, { name: 'save', url: '/monitoring/qualityInspectionDet', permission: 'monitoring:qualityinspectiondet:save', showOnEdit: false },
{ name: 'update', url: '/monitoring/qualityInspectionDet', permission: '', showOnEdit: true } { name: 'update', url: '/monitoring/qualityInspectionDet', permission: 'monitoring:qualityinspectiondet:update', showOnEdit: true }
] ]
} }

View File

@ -83,8 +83,8 @@ const addOrUpdateConfigs = {
], ],
operations: [ operations: [
{ name: 'cancel', showAlways: true }, { name: 'cancel', showAlways: true },
{ name: 'save', url: '/monitoring/qualityInspectionRecord', permission: '', showOnEdit: false }, { name: 'save', url: '/monitoring/qualityInspectionRecord', permission: 'monitoring:qualityinspectionrecord:save', showOnEdit: false },
{ name: 'update', url: '/monitoring/qualityInspectionRecord', permission: '', showOnEdit: true } { name: 'update', url: '/monitoring/qualityInspectionRecord', permission: 'monitoring:qualityinspectionrecord:update', showOnEdit: true }
] ]
} }

View File

@ -48,8 +48,8 @@ const addOrUpdateConfigs = {
fields: [{ name: 'name', label: '检测类型' }, { name: 'code', label: '检测类型编码', api: '/monitoring/qualityInspectionType/getCode' }, 'remark'], fields: [{ name: 'name', label: '检测类型' }, { name: 'code', label: '检测类型编码', api: '/monitoring/qualityInspectionType/getCode' }, 'remark'],
operations: [ operations: [
{ name: 'cancel', showAlways: true }, { name: 'cancel', showAlways: true },
{ name: 'save', url: '/monitoring/qualityInspectionType', permission: '', showOnEdit: false }, { name: 'save', url: '/monitoring/qualityInspectionType', permission: 'monitoring:qualityinspectiontype:save', showOnEdit: false },
{ name: 'update', url: '/monitoring/qualityInspectionType', permission: '', showOnEdit: true } { name: 'update', url: '/monitoring/qualityInspectionType', permission: 'monitoring:qualityinspectiontype:update', showOnEdit: true }
] ]
} }

View File

@ -47,8 +47,8 @@ const addOrUpdateConfigs = {
fields: [{ name: 'name', label: '分类名称', required: true, span: 24 }], fields: [{ name: 'name', label: '分类名称', required: true, span: 24 }],
operations: [ operations: [
{ name: 'cancel', url: true, showAlways: true }, { name: 'cancel', url: true, showAlways: true },
{ name: 'save', url: '/monitoring/reportSheetCategory', permission: '', showOnEdit: false }, { name: 'save', url: '/monitoring/reportSheetCategory', permission: 'monitoring:reportsheetcategory:save', showOnEdit: false },
{ name: 'update', url: '/monitoring/reportSheetCategory', permission: '', showOnEdit: true } { name: 'update', url: '/monitoring/reportSheetCategory', permission: 'monitoring:reportsheetcategory:update', showOnEdit: true }
] ]
} }

View File

@ -78,8 +78,8 @@ const addOrUpdateConfigs = {
fields: [{ name: 'fileName', label: '报表名称', required: true, span: 24 }], fields: [{ name: 'fileName', label: '报表名称', required: true, span: 24 }],
operations: [ operations: [
{ name: 'cancel', url: true, showAlways: true }, { name: 'cancel', url: true, showAlways: true },
{ name: 'save', url: '/monitoring/reportSheet', permission: '', showOnEdit: false }, { name: 'save', url: '/monitoring/reportSheet', permission: 'monitoring:reportsheet:save', showOnEdit: false },
{ name: 'update', url: '/monitoring/reportSheet', permission: '', showOnEdit: true } { name: 'update', url: '/monitoring/reportSheet', permission: 'monitoring:reportsheet:update', showOnEdit: true }
] ]
} }

View File

@ -57,8 +57,8 @@ const addOrUpdateConfigs = {
operations: [ operations: [
{ name: 'reset', url: true, showAlways: true }, { name: 'reset', url: true, showAlways: true },
{ name: 'cancel', url: true, showAlways: true }, { name: 'cancel', url: true, showAlways: true },
{ name: 'save', url: '/monitoring/workshopSection', permission: '', showOnEdit: false }, { name: 'save', url: '/monitoring/workshopSection', permission: 'monitoring:workshopsection:save', showOnEdit: false },
{ name: 'update', url: '/monitoring/workshopSection', permission: '', showOnEdit: true } { name: 'update', url: '/monitoring/workshopSection', permission: 'monitoring:workshopsection:update', showOnEdit: true }
] ]
} }