2026-05-28 16:15:57 +08:00
|
|
|
import layoutHeaderAside from '@/layout/header-aside'
|
|
|
|
|
|
|
|
|
|
const meta = { auth: true }
|
|
|
|
|
|
|
|
|
|
const _import = require('@/libs/util.import.' + process.env.NODE_ENV)
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
path: '/device_management',
|
|
|
|
|
component: layoutHeaderAside,
|
|
|
|
|
children: (pre => [
|
|
|
|
|
{
|
|
|
|
|
path: 'index',
|
|
|
|
|
name: `${pre}index`,
|
|
|
|
|
meta: { ...meta, title: '设备管理', root: '/device_management' },
|
|
|
|
|
component: _import('system/function/module-index')
|
2026-06-02 13:54:55 +08:00
|
|
|
},
|
|
|
|
|
{
|
2026-06-02 14:26:17 +08:00
|
|
|
path: 'device_model/device_category',
|
2026-06-02 13:54:55 +08:00
|
|
|
name: `${pre}equipment_model-equipment_category`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '设备类别' },
|
|
|
|
|
component: _import('equipment-management/equipment-model/equipment-category')
|
2026-06-22 18:12:51 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'device_model/device_management',
|
|
|
|
|
name: `${pre}equipment_model-equipment_registry`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '设备信息' },
|
|
|
|
|
component: _import('equipment-management/equipment-model/equipment-registry')
|
2026-06-22 18:16:26 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'device_check/device_check_items',
|
|
|
|
|
name: `${pre}device_check-device_check_items`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '设备点检项目' },
|
|
|
|
|
component: _import('equipment-management/inspection-management/inspection-items')
|
2026-06-22 18:18:52 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'device_check/device_check_record',
|
|
|
|
|
name: `${pre}device_check-device_check_record`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '设备点检记录' },
|
|
|
|
|
component: _import('equipment-management/inspection-management/inspection-records')
|
2026-06-22 18:19:14 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'device_check/device_check_items_log',
|
|
|
|
|
name: `${pre}device_check-device_check_items_log`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '设备点检日志' },
|
|
|
|
|
component: _import('equipment-management/inspection-management/inspection-logs')
|
2026-06-22 18:19:35 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'device_maintain/device_maintain_items',
|
|
|
|
|
name: `${pre}device_maintain-device_maintain_items`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '设备保养项目' },
|
|
|
|
|
component: _import('equipment-management/maintenance-management/maintenance-items')
|
2026-06-22 18:19:57 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'device_maintain/device_maintain_items_details',
|
|
|
|
|
name: `${pre}device_maintain-device_maintain_items_details`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '设备保养详情' },
|
|
|
|
|
component: _import('equipment-management/maintenance-management/maintenance-details')
|
2026-06-22 18:20:51 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'device_maintain/device_maintain_items_log',
|
|
|
|
|
name: `${pre}device_maintain-device_maintain_items_log`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '设备保养日志' },
|
|
|
|
|
component: _import('equipment-management/maintenance-management/maintenance-logs')
|
2026-06-22 18:23:39 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'device_repair/device_repair_management',
|
|
|
|
|
name: `${pre}device_repair-device_repair_management`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '设备维修管理' },
|
|
|
|
|
component: _import('equipment-management/repair-management/repair-management')
|
2026-06-22 18:24:00 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'device_repair/device_repair_log',
|
|
|
|
|
name: `${pre}device_repair-device_repair_log`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '设备维修日志' },
|
|
|
|
|
component: _import('equipment-management/repair-management/repair-logs')
|
2026-06-22 18:24:21 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'device_consumables/device_consumables_category',
|
|
|
|
|
name: `${pre}device_consumables-device_consumables_category`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '设备损耗品类别' },
|
|
|
|
|
component: _import('equipment-management/consumables-management/consumables-category')
|
2026-06-22 18:24:42 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'device_consumables/device_consumables_items',
|
|
|
|
|
name: `${pre}device_consumables-device_consumables_items`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '设备损耗品项目' },
|
|
|
|
|
component: _import('equipment-management/consumables-management/consumables-items')
|
2026-06-22 18:25:04 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'device_consumables/device_consumables_lifetime_management',
|
|
|
|
|
name: `${pre}device_consumables-device_consumables_lifetime_management`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '设备损耗品寿命管理' },
|
|
|
|
|
component: _import('equipment-management/consumables-management/consumables-lifecycle')
|
2026-06-22 18:25:25 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'device_consumables/device_consumables_replace_log',
|
|
|
|
|
name: `${pre}device_consumables-device_consumables_replace_log`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '设备损耗品更换日志' },
|
|
|
|
|
component: _import('equipment-management/consumables-management/replacement-logs')
|
2026-05-28 16:15:57 +08:00
|
|
|
}
|
|
|
|
|
])('device_management-')
|
|
|
|
|
}
|