From 666059af6ea8366075dbb5f3e58722c35ed530b5 Mon Sep 17 00:00:00 2001 From: g7hoo Date: Thu, 1 Sep 2022 13:24:00 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=9F=BA=E6=9C=AC=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E7=9A=84=E6=9D=83=E9=99=90=E9=99=90=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/monitoring/equipment.vue | 4 ++-- src/views/modules/monitoring/equipmentGroup.vue | 4 ++-- src/views/modules/monitoring/equipmentGroupAlarm.vue | 4 ++-- src/views/modules/monitoring/equipmentPlc.vue | 4 ++-- src/views/modules/monitoring/equipmentPlcConnect.vue | 4 ++-- src/views/modules/monitoring/equipmentType.vue | 4 ++-- src/views/modules/monitoring/factory.vue | 4 ++-- src/views/modules/monitoring/productArrt.vue | 4 ++-- src/views/modules/monitoring/productionLine.vue | 4 ++-- src/views/modules/monitoring/qualityInspectionDet.vue | 4 ++-- src/views/modules/monitoring/qualityInspectionRecord.vue | 4 ++-- src/views/modules/monitoring/qualityInspectionType.vue | 4 ++-- src/views/modules/monitoring/reportCategory.vue | 4 ++-- src/views/modules/monitoring/reportDetail.vue | 4 ++-- src/views/modules/monitoring/workShopSection.vue | 4 ++-- 15 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/views/modules/monitoring/equipment.vue b/src/views/modules/monitoring/equipment.vue index f4dd2c0..84e7126 100644 --- a/src/views/modules/monitoring/equipment.vue +++ b/src/views/modules/monitoring/equipment.vue @@ -228,13 +228,13 @@ const addOrUpdateConfigs = { { name: 'save', url: '/monitoring/equipment', - permission: '', + permission: 'monitoring:equipment:save', showOnEdit: false }, { name: 'update', url: '/monitoring/equipment', - permission: '', + permission: 'monitoring:equipment:update', showOnEdit: true } ] diff --git a/src/views/modules/monitoring/equipmentGroup.vue b/src/views/modules/monitoring/equipmentGroup.vue index fab5fad..c213004 100644 --- a/src/views/modules/monitoring/equipmentGroup.vue +++ b/src/views/modules/monitoring/equipmentGroup.vue @@ -50,8 +50,8 @@ const addOrUpdateConfigs = { fields: [{ name: 'name', label: '分组名称' }, { name: 'code', label: '分组编码' }, 'remark'], operations: [ { name: 'cancel', showAlways: true }, - { name: 'save', url: '/monitoring/equipmentGroup', permission: '', showOnEdit: false }, - { name: 'update', url: '/monitoring/equipmentGroup', permission: '', showOnEdit: true } + { name: 'save', url: '/monitoring/equipmentGroup', permission: 'monitoring:equipmentgroup:save', showOnEdit: false }, + { name: 'update', url: '/monitoring/equipmentGroup', permission: 'monitoring:equipmentgroup:update', showOnEdit: true } ] } diff --git a/src/views/modules/monitoring/equipmentGroupAlarm.vue b/src/views/modules/monitoring/equipmentGroupAlarm.vue index 5ede7af..f3d3c0e 100644 --- a/src/views/modules/monitoring/equipmentGroupAlarm.vue +++ b/src/views/modules/monitoring/equipmentGroupAlarm.vue @@ -73,8 +73,8 @@ const addOrUpdateConfigs = { ], operations: [ { name: 'cancel', showAlways: true }, - { name: 'save', url: '/monitoring/equipmentGroupAlarm', extraFields: { equipmentGroupId: null }, permission: '', showOnEdit: false }, - { name: 'update', url: '/monitoring/equipmentGroupAlarm', extraFields: { equipmentGroupId: null }, permission: '', showOnEdit: true } + { name: 'save', url: '/monitoring/equipmentGroupAlarm', extraFields: { equipmentGroupId: null }, permission: 'monitoring:equipmentgroupalarm:save', showOnEdit: false }, + { name: 'update', url: '/monitoring/equipmentGroupAlarm', extraFields: { equipmentGroupId: null }, permission: 'monitoring:equipmentgroupalarm:update', showOnEdit: true } ] } diff --git a/src/views/modules/monitoring/equipmentPlc.vue b/src/views/modules/monitoring/equipmentPlc.vue index 1be4edd..277b174 100644 --- a/src/views/modules/monitoring/equipmentPlc.vue +++ b/src/views/modules/monitoring/equipmentPlc.vue @@ -74,8 +74,8 @@ const addOrUpdateConfigs = { ], operations: [ { name: 'cancel', url: true, showAlways: true }, - { name: 'save', url: '/monitoring/equipmentPlc', permission: '', showOnEdit: false }, - { name: 'update', url: '/monitoring/equipmentPlc', permission: '', showOnEdit: true } + { name: 'save', url: '/monitoring/equipmentPlc', permission: 'monitoring:equipmentplc:save', showOnEdit: false }, + { name: 'update', url: '/monitoring/equipmentPlc', permission: 'monitoring:equipmentplc:update', showOnEdit: true } ] } diff --git a/src/views/modules/monitoring/equipmentPlcConnect.vue b/src/views/modules/monitoring/equipmentPlcConnect.vue index d1b46a6..b1b448b 100644 --- a/src/views/modules/monitoring/equipmentPlcConnect.vue +++ b/src/views/modules/monitoring/equipmentPlcConnect.vue @@ -64,8 +64,8 @@ const addOrUpdateConfigs = { ], operations: [ { name: 'cancel', url: true, showAlways: true }, - { name: 'save', url: '/monitoring/equipmentPlcConnect', permission: '', showOnEdit: false }, - { name: 'update', url: '/monitoring/equipmentPlcConnect', permission: '', showOnEdit: true } + { name: 'save', url: '/monitoring/equipmentPlcConnect', permission: 'monitoring:equipmentplcconnect:save', showOnEdit: false }, + { name: 'update', url: '/monitoring/equipmentPlcConnect', permission: 'monitoring:equipmentplcconnect:update', showOnEdit: true } ], subtable: { title: 'PLC采集参数', diff --git a/src/views/modules/monitoring/equipmentType.vue b/src/views/modules/monitoring/equipmentType.vue index b6ae838..d4c6c42 100644 --- a/src/views/modules/monitoring/equipmentType.vue +++ b/src/views/modules/monitoring/equipmentType.vue @@ -54,8 +54,8 @@ const addOrUpdateConfigs = { ], operations: [ { name: 'cancel', showAlways: true }, - { name: 'save', url: '/monitoring/equipmentType', permission: '', showOnEdit: false }, - { name: 'update', url: '/monitoring/equipmentType', permission: '', showOnEdit: true } + { name: 'save', url: '/monitoring/equipmentType', permission: 'monitoring:equipmenttype:save', showOnEdit: false }, + { name: 'update', url: '/monitoring/equipmentType', permission: 'monitoring:equipmenttype:update', showOnEdit: true } ], extraComponents: [ { diff --git a/src/views/modules/monitoring/factory.vue b/src/views/modules/monitoring/factory.vue index 51662af..377fcce 100644 --- a/src/views/modules/monitoring/factory.vue +++ b/src/views/modules/monitoring/factory.vue @@ -63,8 +63,8 @@ const addOrUpdateConfigs = { operations: [ { name: 'reset', url: true, showAlways: true }, { name: 'cancel', url: true, showAlways: true }, - { name: 'save', url: '/monitoring/factory', permission: '', showOnEdit: false }, - { name: 'update', url: '/monitoring/factory', permission: '', showOnEdit: true } + { name: 'save', url: '/monitoring/factory', permission: 'monitoring:factory:save', showOnEdit: false }, + { name: 'update', url: '/monitoring/factory', permission: 'monitoring:factory:update', showOnEdit: true } ] } diff --git a/src/views/modules/monitoring/productArrt.vue b/src/views/modules/monitoring/productArrt.vue index 65baf14..6067003 100644 --- a/src/views/modules/monitoring/productArrt.vue +++ b/src/views/modules/monitoring/productArrt.vue @@ -78,8 +78,8 @@ const addOrUpdateConfigs = { ], operations: [ { name: 'cancel', showAlways: true }, - { name: 'save', url: '/monitoring/productArrt', permission: '', showOnEdit: false }, - { name: 'update', url: '/monitoring/productArrt', permission: '', showOnEdit: true } + { name: 'save', url: '/monitoring/productArrt', permission: 'monitoring:productarrt:save', showOnEdit: false }, + { name: 'update', url: '/monitoring/productArrt', permission: 'monitoring:productarrt:update', showOnEdit: true } ] } diff --git a/src/views/modules/monitoring/productionLine.vue b/src/views/modules/monitoring/productionLine.vue index 9938617..d6e3eb7 100644 --- a/src/views/modules/monitoring/productionLine.vue +++ b/src/views/modules/monitoring/productionLine.vue @@ -71,8 +71,8 @@ const addOrUpdateConfigs = { ], operations: [ { name: 'cancel', url: true, showAlways: true }, - { name: 'save', url: '/monitoring/productionLine', permission: '', showOnEdit: false }, - { name: 'update', url: '/monitoring/productionLine', permission: '', showOnEdit: true } + { name: 'save', url: '/monitoring/productionLine', permission: 'monitoring:productionline:save', showOnEdit: false }, + { name: 'update', url: '/monitoring/productionLine', permission: 'monitoring:productionline:update', showOnEdit: true } ] } diff --git a/src/views/modules/monitoring/qualityInspectionDet.vue b/src/views/modules/monitoring/qualityInspectionDet.vue index 3403c7d..0091ca8 100644 --- a/src/views/modules/monitoring/qualityInspectionDet.vue +++ b/src/views/modules/monitoring/qualityInspectionDet.vue @@ -55,8 +55,8 @@ const addOrUpdateConfigs = { ], operations: [ { name: 'cancel', showAlways: true }, - { name: 'save', url: '/monitoring/qualityInspectionDet', permission: '', showOnEdit: false }, - { name: 'update', url: '/monitoring/qualityInspectionDet', permission: '', showOnEdit: true } + { name: 'save', url: '/monitoring/qualityInspectionDet', permission: 'monitoring:qualityinspectiondet:save', showOnEdit: false }, + { name: 'update', url: '/monitoring/qualityInspectionDet', permission: 'monitoring:qualityinspectiondet:update', showOnEdit: true } ] } diff --git a/src/views/modules/monitoring/qualityInspectionRecord.vue b/src/views/modules/monitoring/qualityInspectionRecord.vue index 77bc877..ee425de 100644 --- a/src/views/modules/monitoring/qualityInspectionRecord.vue +++ b/src/views/modules/monitoring/qualityInspectionRecord.vue @@ -83,8 +83,8 @@ const addOrUpdateConfigs = { ], operations: [ { name: 'cancel', showAlways: true }, - { name: 'save', url: '/monitoring/qualityInspectionRecord', permission: '', showOnEdit: false }, - { name: 'update', url: '/monitoring/qualityInspectionRecord', permission: '', showOnEdit: true } + { name: 'save', url: '/monitoring/qualityInspectionRecord', permission: 'monitoring:qualityinspectionrecord:save', showOnEdit: false }, + { name: 'update', url: '/monitoring/qualityInspectionRecord', permission: 'monitoring:qualityinspectionrecord:update', showOnEdit: true } ] } diff --git a/src/views/modules/monitoring/qualityInspectionType.vue b/src/views/modules/monitoring/qualityInspectionType.vue index 458cbb4..94fd0a7 100644 --- a/src/views/modules/monitoring/qualityInspectionType.vue +++ b/src/views/modules/monitoring/qualityInspectionType.vue @@ -48,8 +48,8 @@ const addOrUpdateConfigs = { fields: [{ name: 'name', label: '检测类型' }, { name: 'code', label: '检测类型编码', api: '/monitoring/qualityInspectionType/getCode' }, 'remark'], operations: [ { name: 'cancel', showAlways: true }, - { name: 'save', url: '/monitoring/qualityInspectionType', permission: '', showOnEdit: false }, - { name: 'update', url: '/monitoring/qualityInspectionType', permission: '', showOnEdit: true } + { name: 'save', url: '/monitoring/qualityInspectionType', permission: 'monitoring:qualityinspectiontype:save', showOnEdit: false }, + { name: 'update', url: '/monitoring/qualityInspectionType', permission: 'monitoring:qualityinspectiontype:update', showOnEdit: true } ] } diff --git a/src/views/modules/monitoring/reportCategory.vue b/src/views/modules/monitoring/reportCategory.vue index ba24925..1cb693d 100644 --- a/src/views/modules/monitoring/reportCategory.vue +++ b/src/views/modules/monitoring/reportCategory.vue @@ -47,8 +47,8 @@ const addOrUpdateConfigs = { fields: [{ name: 'name', label: '分类名称', required: true, span: 24 }], operations: [ { name: 'cancel', url: true, showAlways: true }, - { name: 'save', url: '/monitoring/reportSheetCategory', permission: '', showOnEdit: false }, - { name: 'update', url: '/monitoring/reportSheetCategory', permission: '', showOnEdit: true } + { name: 'save', url: '/monitoring/reportSheetCategory', permission: 'monitoring:reportsheetcategory:save', showOnEdit: false }, + { name: 'update', url: '/monitoring/reportSheetCategory', permission: 'monitoring:reportsheetcategory:update', showOnEdit: true } ] } diff --git a/src/views/modules/monitoring/reportDetail.vue b/src/views/modules/monitoring/reportDetail.vue index 6386c7f..4ec093c 100644 --- a/src/views/modules/monitoring/reportDetail.vue +++ b/src/views/modules/monitoring/reportDetail.vue @@ -78,8 +78,8 @@ const addOrUpdateConfigs = { fields: [{ name: 'fileName', label: '报表名称', required: true, span: 24 }], operations: [ { name: 'cancel', url: true, showAlways: true }, - { name: 'save', url: '/monitoring/reportSheet', permission: '', showOnEdit: false }, - { name: 'update', url: '/monitoring/reportSheet', permission: '', showOnEdit: true } + { name: 'save', url: '/monitoring/reportSheet', permission: 'monitoring:reportsheet:save', showOnEdit: false }, + { name: 'update', url: '/monitoring/reportSheet', permission: 'monitoring:reportsheet:update', showOnEdit: true } ] } diff --git a/src/views/modules/monitoring/workShopSection.vue b/src/views/modules/monitoring/workShopSection.vue index 572f2f4..24e8b10 100644 --- a/src/views/modules/monitoring/workShopSection.vue +++ b/src/views/modules/monitoring/workShopSection.vue @@ -57,8 +57,8 @@ const addOrUpdateConfigs = { operations: [ { name: 'reset', url: true, showAlways: true }, { name: 'cancel', url: true, showAlways: true }, - { name: 'save', url: '/monitoring/workshopSection', permission: '', showOnEdit: false }, - { name: 'update', url: '/monitoring/workshopSection', permission: '', showOnEdit: true } + { name: 'save', url: '/monitoring/workshopSection', permission: 'monitoring:workshopsection:save', showOnEdit: false }, + { name: 'update', url: '/monitoring/workshopSection', permission: 'monitoring:workshopsection:update', showOnEdit: true } ] }