| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- // === 安全奖惩与考核 ===
- const safetyAssessmentRoutes = {
- id: 9002,
- parentId: 9000,
- name: 'safetyAssessment',
- path: 'safety-assessment', // 建议使用 kebab-case 保持一致性
- redirect: '/work-safety/safety-assessment/inventory',
- meta: {
- title: '安全奖惩与考核',
- icon: 'OverviewIcon',
- isRoot: false,
- hidden: false,
- noCache: false,
- },
- children: [
- {
- id: 90020,
- parentId: 9002,
- name: 'Inventory',
- path: 'inventory',
- component: '/production-safety/safetyAssessment/inventory/inventory',
- meta: {
- title: '物品库存管理',
- icon: 'OverviewIcon',
- isRoot: false,
- hidden: false,
- noCache: false,
- },
- },
- {
- id: 9002001,
- parentId: 90020,
- name: 'InventoryItem',
- path: 'inventory-item',
- component: '/production-safety/safetyAssessment/inventory/InventoryItem',
- meta: {
- title: '物品库存详情',
- icon: 'OverviewIcon',
- isRoot: false,
- hidden: true,
- noCache: false,
- },
- },
- {
- id: 90021,
- parentId: 9002,
- name: 'ReceiptRecord',
- path: 'receipt-record',
- component: '/production-safety/safetyAssessment/receiptRecord/receiptRecord',
- meta: {
- title: '物品领取记录管理',
- icon: 'OverviewIcon',
- isRoot: false,
- hidden: false,
- noCache: false,
- },
- },
- {
- id: 9002101,
- parentId: 90021,
- name: 'ReceiptRecordItem',
- path: 'receipt-record-item',
- component: '/production-safety/safetyAssessment/receiptRecord/receiptRecordItem',
- meta: {
- title: '物品领取记录详情',
- icon: 'OverviewIcon',
- isRoot: false,
- hidden: true,
- noCache: false,
- },
- },
- {
- id: 90022,
- parentId: 9002,
- name: 'PointDeduction',
- path: 'point-deduction',
- component: '/production-safety/safetyAssessment/pointDeduction/pointDeduction',
- meta: {
- title: '月度扣分管理',
- icon: 'OverviewIcon',
- isRoot: false,
- hidden: false,
- noCache: false,
- },
- },
- {
- id: 9002201,
- parentId: 90022,
- name: 'PointDeductionItem',
- path: 'point-deduction-item',
- component: '/production-safety/safetyAssessment/pointDeduction/PointDeductionItem',
- meta: {
- title: '月度扣分详情',
- icon: 'OverviewIcon',
- isRoot: false,
- hidden: true,
- noCache: false,
- },
- },
- {
- id: 90023,
- parentId: 9002,
- name: 'EvaluationDepartment',
- path: 'evaluation-department',
- component: '/production-safety/safetyAssessment/evaluationDepartment/evaluationDepartment',
- meta: {
- title: '安全考核管理(部)',
- icon: 'OverviewIcon',
- isRoot: false,
- hidden: false,
- noCache: false,
- },
- },
- {
- id: 9002301,
- parentId: 90023,
- name: 'EvaluationDepartmentItem',
- path: 'evaluation-department-item',
- component: '/production-safety/safetyAssessment/evaluationDepartment/EvaluationDepartmentItem',
- meta: {
- title: '安全考核管理(部)详情',
- icon: 'OverviewIcon',
- isRoot: false,
- hidden: true,
- activeMenu: '/work-safety/safety-assessment/evaluation-department',
- noCache: false,
- },
- },
- {
- id: 90024,
- parentId: 9002,
- name: 'EvaluationSystem',
- path: 'evaluation-system',
- component: '/production-safety/safetyAssessment/evaluationSystem/evaluationSystem',
- meta: {
- title: '安全考核管理(管)',
- icon: 'OverviewIcon',
- isRoot: false,
- hidden: false,
- noCache: false,
- },
- },
- {
- id: 9002401,
- parentId: 90024,
- name: 'EvaluationSystemItem',
- path: 'evaluation-system-item',
- component: '/production-safety/safetyAssessment/evaluationSystem/EvaluationSystemItem',
- meta: {
- title: '安全考核管理(管)详情',
- icon: 'OverviewIcon',
- isRoot: false,
- hidden: true,
- noCache: false,
- },
- },
- ],
- };
- export default safetyAssessmentRoutes;
|