|
@@ -1,31 +1,32 @@
|
|
|
const productionSafetyRoutes = {
|
|
const productionSafetyRoutes = {
|
|
|
- id: 9000,
|
|
|
|
|
- parentId: -1,
|
|
|
|
|
- name: 'WorkSafety',
|
|
|
|
|
- path: '/work-safety',
|
|
|
|
|
- component: 'MENU_LAYOUT',
|
|
|
|
|
- meta: {
|
|
|
|
|
- title: '生产安全',
|
|
|
|
|
- icon: 'CameraOutlined',
|
|
|
|
|
- isRoot: false,
|
|
|
|
|
- hidden: false,
|
|
|
|
|
- noCache: false,
|
|
|
|
|
- },
|
|
|
|
|
- children: [
|
|
|
|
|
- {
|
|
|
|
|
- id: 9001,
|
|
|
|
|
- parentId: 9000,
|
|
|
|
|
- name: 'responsibilityImplementation',
|
|
|
|
|
- path: 'responsibility-implementation',
|
|
|
|
|
- redirect: '',
|
|
|
|
|
- meta: {
|
|
|
|
|
- title: '安全责任落实',
|
|
|
|
|
- icon: 'OverviewIcon',
|
|
|
|
|
- isRoot: false,
|
|
|
|
|
- hidden: false,
|
|
|
|
|
- noCache: false,
|
|
|
|
|
- },
|
|
|
|
|
- children: [{
|
|
|
|
|
|
|
+ id: 9000,
|
|
|
|
|
+ parentId: -1,
|
|
|
|
|
+ name: 'WorkSafety',
|
|
|
|
|
+ path: '/work-safety',
|
|
|
|
|
+ component: 'MENU_LAYOUT',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '生产安全',
|
|
|
|
|
+ icon: 'CameraOutlined',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 9001,
|
|
|
|
|
+ parentId: 9000,
|
|
|
|
|
+ name: 'responsibilityImplementation',
|
|
|
|
|
+ path: 'responsibility-implementation',
|
|
|
|
|
+ redirect: '/work-safety/responsibility-implementation/responsibility-agree-manage',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '安全责任落实',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
id: 90000,
|
|
id: 90000,
|
|
|
parentId: 9001,
|
|
parentId: 9001,
|
|
|
name: 'responsibilityAgreeManage',
|
|
name: 'responsibilityAgreeManage',
|
|
@@ -37,8 +38,7 @@ const productionSafetyRoutes = {
|
|
|
isRoot: false,
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
hidden: false,
|
|
|
noCache: false,
|
|
noCache: false,
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 90001,
|
|
id: 90001,
|
|
@@ -52,13 +52,12 @@ const productionSafetyRoutes = {
|
|
|
isRoot: false,
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
hidden: false,
|
|
|
noCache: false,
|
|
noCache: false,
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
{
|
|
{
|
|
|
id: 90002,
|
|
id: 90002,
|
|
|
parentId: 9001,
|
|
parentId: 9001,
|
|
|
- name: 'eidtResponsibilityAgree',
|
|
|
|
|
|
|
+ name: 'editResponsibilityAgree', // 修正拼写:eidt → edit
|
|
|
path: 'edit-responsibility-agree',
|
|
path: 'edit-responsibility-agree',
|
|
|
component: '/production-safety/implement-safety-duty/edit-responsibility-agree',
|
|
component: '/production-safety/implement-safety-duty/edit-responsibility-agree',
|
|
|
meta: {
|
|
meta: {
|
|
@@ -67,7 +66,7 @@ const productionSafetyRoutes = {
|
|
|
isRoot: false,
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
hidden: false,
|
|
|
noCache: false,
|
|
noCache: false,
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 90003,
|
|
id: 90003,
|
|
@@ -81,7 +80,7 @@ const productionSafetyRoutes = {
|
|
|
isRoot: false,
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
hidden: false,
|
|
|
noCache: false,
|
|
noCache: false,
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 90004,
|
|
id: 90004,
|
|
@@ -95,7 +94,7 @@ const productionSafetyRoutes = {
|
|
|
isRoot: false,
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
hidden: false,
|
|
|
noCache: false,
|
|
noCache: false,
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 90005,
|
|
id: 90005,
|
|
@@ -109,24 +108,470 @@ const productionSafetyRoutes = {
|
|
|
isRoot: false,
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
hidden: false,
|
|
|
noCache: false,
|
|
noCache: false,
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- ]
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90006,
|
|
|
|
|
+ parentId: 9001,
|
|
|
|
|
+ name: 'responsibilityAgreeManageDept',
|
|
|
|
|
+ path: 'responsibility-agree-manage-dept',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/responsibility-agree-manage-dept',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '安全责任书管理(部门端)',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90007,
|
|
|
|
|
+ parentId: 9001,
|
|
|
|
|
+ name: 'signAgreeDept',
|
|
|
|
|
+ path: 'sign-agree-dept',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/sign-agree-dept',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '责任书签署',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ // === 非公共区域责任清单 ===
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90008,
|
|
|
|
|
+ parentId: 9001,
|
|
|
|
|
+ name: 'listResponsibilities:nonPublic',
|
|
|
|
|
+ path: 'non-public-list-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/non-public-list-responsibilities/list',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '责任清单',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90009,
|
|
|
|
|
+ parentId: 90008,
|
|
|
|
|
+ name: 'addResponsibilities:nonPublic',
|
|
|
|
|
+ path: 'non-public-add-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/non-public-list-responsibilities/add',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '新增非区域责任清单',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/non-public-list-responsibilities',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90010,
|
|
|
|
|
+ parentId: 90008,
|
|
|
|
|
+ name: 'editResponsibilities:nonPublic',
|
|
|
|
|
+ path: 'non-public-edit-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/non-public-list-responsibilities/edit',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '编辑非区域责任清单',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/non-public-list-responsibilities',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90011,
|
|
|
|
|
+ parentId: 90008,
|
|
|
|
|
+ name: 'changeResponsibilities:nonPublic',
|
|
|
|
|
+ path: 'non-public-change-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/non-public-list-responsibilities/change',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '变更非区域责任清单',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/non-public-list-responsibilities',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90012,
|
|
|
|
|
+ parentId: 90008,
|
|
|
|
|
+ name: 'viewResponsibilities:nonPublic',
|
|
|
|
|
+ path: 'non-public-view-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/non-public-list-responsibilities/view',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '查看非区域责任清单',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/non-public-list-responsibilities',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ // === 非公共区域责任区域 ===
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90013,
|
|
|
|
|
+ parentId: 9001,
|
|
|
|
|
+ name: 'areaResponsibilities:nonPublic',
|
|
|
|
|
+ path: 'non-public-area-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/non-public-area-responsibilities/list',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '责任区域',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90014,
|
|
|
|
|
+ parentId: 90013, // 修正:父级应为 90013(责任区域),不是 90008
|
|
|
|
|
+ name: 'areaAddResponsibilities:nonPublic',
|
|
|
|
|
+ path: 'non-public-area-add-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/non-public-area-responsibilities/add',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '新增非区域责任清单',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/non-public-area-responsibilities',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90015,
|
|
|
|
|
+ parentId: 90014,
|
|
|
|
|
+ name: 'areaEditResponsibilities:nonPublic',
|
|
|
|
|
+ path: 'non-public-area-edit-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/non-public-area-responsibilities/edit',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '编辑非区域责任清单',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/non-public-area-responsibilities',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90016,
|
|
|
|
|
+ parentId: 90014,
|
|
|
|
|
+ name: 'areaChangeResponsibilities:nonPublic',
|
|
|
|
|
+ path: 'non-public-area-change-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/non-public-area-responsibilities/change',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '变更非区域责任清单',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/non-public-area-responsibilities',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90017,
|
|
|
|
|
+ parentId: 90014,
|
|
|
|
|
+ name: 'areaViewResponsibilities:nonPublic',
|
|
|
|
|
+ path: 'non-public-area-view-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/non-public-area-responsibilities/view',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '查看非区域责任清单',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/non-public-area-responsibilities',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ // === 公共区域责任清单 ===
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90020,
|
|
|
|
|
+ parentId: 9001,
|
|
|
|
|
+ name: 'listResponsibilities:public',
|
|
|
|
|
+ path: 'public-list-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/public-list-responsibilities/list',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '责任清单',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90021,
|
|
|
|
|
+ parentId: 90020, // 修正:父级应为 90020
|
|
|
|
|
+ name: 'addResponsibilities:public',
|
|
|
|
|
+ path: 'public-add-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/public-list-responsibilities/add',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '新增区域责任清单',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/public-list-responsibilities',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90022,
|
|
|
|
|
+ parentId: 90020,
|
|
|
|
|
+ name: 'editResponsibilities:public',
|
|
|
|
|
+ path: 'public-edit-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/public-list-responsibilities/edit',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '编辑区域责任清单',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/public-list-responsibilities',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90023,
|
|
|
|
|
+ parentId: 90020,
|
|
|
|
|
+ name: 'changeResponsibilities:public',
|
|
|
|
|
+ path: 'public-change-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/public-list-responsibilities/change',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '变更区域责任清单',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/public-list-responsibilities',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90024,
|
|
|
|
|
+ parentId: 90020,
|
|
|
|
|
+ name: 'viewResponsibilities:public',
|
|
|
|
|
+ path: 'public-view-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/public-list-responsibilities/view',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '查看区域责任清单',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/public-list-responsibilities',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ // === 公共区域责任区域 ===
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90030,
|
|
|
|
|
+ parentId: 9001,
|
|
|
|
|
+ name: 'areaResponsibilities:public',
|
|
|
|
|
+ path: 'public-area-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/public-area-responsibilities/list',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '责任区域',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90031,
|
|
|
|
|
+ parentId: 90030, // 修正
|
|
|
|
|
+ name: 'areaAddResponsibilities:public',
|
|
|
|
|
+ path: 'public-area-add-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/public-area-responsibilities/add',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '新增区域责任清单',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/public-area-responsibilities',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90032,
|
|
|
|
|
+ parentId: 90031, // 修正
|
|
|
|
|
+ name: 'areaEditResponsibilities:public',
|
|
|
|
|
+ path: 'public-area-edit-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/public-area-responsibilities/edit',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '编辑区域责任清单',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/public-area-responsibilities',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90033,
|
|
|
|
|
+ parentId: 90031,
|
|
|
|
|
+ name: 'areaChangeResponsibilities:public',
|
|
|
|
|
+ path: 'public-area-change-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/public-area-responsibilities/change',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '变更区域责任清单',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/public-area-responsibilities',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90034,
|
|
|
|
|
+ parentId: 90031,
|
|
|
|
|
+ name: 'areaViewResponsibilities:public',
|
|
|
|
|
+ path: 'public-area-view-responsibilities',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/public-area-responsibilities/view',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '查看区域责任清单',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/public-area-responsibilities',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ // === 安全责任通知(部门侧) ===
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90040,
|
|
|
|
|
+ parentId: 9001,
|
|
|
|
|
+ name: 'responsibilityNoticeManage',
|
|
|
|
|
+ path: 'responsibility-notice-manage',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/responsibility-notice-manage-dept/list',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '安全责任通知管理(部门侧)',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90041,
|
|
|
|
|
+ parentId: 90040,
|
|
|
|
|
+ name: 'responsibilityNoticeFeedback',
|
|
|
|
|
+ path: 'responsibility-notice-feedback',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/responsibility-notice-manage-dept/feedback',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '安全责任通知反馈(部门侧)',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/responsibility-notice-manage',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 90042,
|
|
|
|
|
+ parentId: 90040,
|
|
|
|
|
+ name: 'responsibilityNoticeView',
|
|
|
|
|
+ path: 'responsibility-notice-view',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/responsibility-notice-manage-dept/view',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '查看安全责任通知(部门侧)',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/responsibility-notice-manage',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ // === 安全责任通知(管理侧) ===
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 91000,
|
|
|
|
|
+ parentId: 9001,
|
|
|
|
|
+ name: 'responsibilityNoticeManage:admin',
|
|
|
|
|
+ path: 'admin-responsibility-notice-manage',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/responsibility-notice-manage-admin/list',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '安全责任通知管理(管理侧全部)',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 91001,
|
|
|
|
|
+ parentId: 91000,
|
|
|
|
|
+ name: 'responsibilityNoticeAdd:admin',
|
|
|
|
|
+ path: 'admin-responsibility-notice-add',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/responsibility-notice-manage-admin/add',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '创建责任通知(管理侧全部)',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/admin-responsibility-notice-manage',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 91002,
|
|
|
|
|
+ parentId: 91000,
|
|
|
|
|
+ name: 'responsibilityNoticeEdit:admin',
|
|
|
|
|
+ path: 'admin-responsibility-notice-edit',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/responsibility-notice-manage-admin/edit',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '编辑责任通知(管理侧全部)',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/admin-responsibility-notice-manage',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 91003,
|
|
|
|
|
+ parentId: 91000,
|
|
|
|
|
+ name: 'responsibilityNoticeReview:admin',
|
|
|
|
|
+ path: 'admin-responsibility-notice-review',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/responsibility-notice-manage-admin/review',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '安全责任通知材料审核(管理侧全部)',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/admin-responsibility-notice-manage',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 91004,
|
|
|
|
|
+ parentId: 91000,
|
|
|
|
|
+ name: 'responsibilityNoticeView:admin',
|
|
|
|
|
+ path: 'admin-responsibility-notice-view',
|
|
|
|
|
+ component: '/production-safety/implement-safety-duty/responsibility-notice-manage-admin/notice-view',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '查看通知对象(管理侧全部)',
|
|
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/admin-responsibility-notice-manage',
|
|
|
|
|
+ icon: 'OverviewIcon',
|
|
|
|
|
+ isRoot: false,
|
|
|
|
|
+ hidden: false,
|
|
|
|
|
+ noCache: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
|
|
+ },
|
|
|
|
|
+ // === 安全奖惩与考核 ===
|
|
|
|
|
+ {
|
|
|
|
|
+ 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,
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- id: 9002,
|
|
|
|
|
- parentId: 9000,
|
|
|
|
|
- name: 'safetyAssessment',
|
|
|
|
|
- path: 'safetyAssessment',
|
|
|
|
|
- redirect: '',
|
|
|
|
|
- meta: {
|
|
|
|
|
- title: '安全奖惩与考核',
|
|
|
|
|
- icon: 'OverviewIcon',
|
|
|
|
|
- isRoot: false,
|
|
|
|
|
- hidden: false,
|
|
|
|
|
- noCache: false,
|
|
|
|
|
- },
|
|
|
|
|
- children: [{
|
|
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
id: 90020,
|
|
id: 90020,
|
|
|
parentId: 9002,
|
|
parentId: 9002,
|
|
|
name: 'Inventory',
|
|
name: 'Inventory',
|
|
@@ -138,23 +583,21 @@ const productionSafetyRoutes = {
|
|
|
isRoot: false,
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
hidden: false,
|
|
|
noCache: false,
|
|
noCache: false,
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 9002001,
|
|
id: 9002001,
|
|
|
- parentId: 9002,
|
|
|
|
|
|
|
+ parentId: 90020,
|
|
|
name: 'InventoryItem',
|
|
name: 'InventoryItem',
|
|
|
path: 'inventory-item',
|
|
path: 'inventory-item',
|
|
|
component: '/production-safety/safetyAssessment/inventory/InventoryItem',
|
|
component: '/production-safety/safetyAssessment/inventory/InventoryItem',
|
|
|
meta: {
|
|
meta: {
|
|
|
title: '物品库存详情',
|
|
title: '物品库存详情',
|
|
|
- // activeMenu: '/work-safety/safetyAssessment/inventory',
|
|
|
|
|
icon: 'OverviewIcon',
|
|
icon: 'OverviewIcon',
|
|
|
isRoot: false,
|
|
isRoot: false,
|
|
|
hidden: true,
|
|
hidden: true,
|
|
|
noCache: false,
|
|
noCache: false,
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 90021,
|
|
id: 90021,
|
|
@@ -168,11 +611,11 @@ const productionSafetyRoutes = {
|
|
|
isRoot: false,
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
hidden: false,
|
|
|
noCache: false,
|
|
noCache: false,
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 9002101,
|
|
id: 9002101,
|
|
|
- parentId: 9002,
|
|
|
|
|
|
|
+ parentId: 90021,
|
|
|
name: 'ReceiptRecordItem',
|
|
name: 'ReceiptRecordItem',
|
|
|
path: 'receipt-record-item',
|
|
path: 'receipt-record-item',
|
|
|
component: '/production-safety/safetyAssessment/receiptRecord/receiptRecordItem',
|
|
component: '/production-safety/safetyAssessment/receiptRecord/receiptRecordItem',
|
|
@@ -182,9 +625,8 @@ const productionSafetyRoutes = {
|
|
|
isRoot: false,
|
|
isRoot: false,
|
|
|
hidden: true,
|
|
hidden: true,
|
|
|
noCache: false,
|
|
noCache: false,
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
{
|
|
{
|
|
|
id: 90022,
|
|
id: 90022,
|
|
|
parentId: 9002,
|
|
parentId: 9002,
|
|
@@ -197,11 +639,11 @@ const productionSafetyRoutes = {
|
|
|
isRoot: false,
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
hidden: false,
|
|
|
noCache: false,
|
|
noCache: false,
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 9002201,
|
|
id: 9002201,
|
|
|
- parentId: 9002,
|
|
|
|
|
|
|
+ parentId: 90022,
|
|
|
name: 'PointDeductionItem',
|
|
name: 'PointDeductionItem',
|
|
|
path: 'point-deduction-item',
|
|
path: 'point-deduction-item',
|
|
|
component: '/production-safety/safetyAssessment/pointDeduction/PointDeductionItem',
|
|
component: '/production-safety/safetyAssessment/pointDeduction/PointDeductionItem',
|
|
@@ -211,7 +653,7 @@ const productionSafetyRoutes = {
|
|
|
isRoot: false,
|
|
isRoot: false,
|
|
|
hidden: true,
|
|
hidden: true,
|
|
|
noCache: false,
|
|
noCache: false,
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 90023,
|
|
id: 90023,
|
|
@@ -225,11 +667,11 @@ const productionSafetyRoutes = {
|
|
|
isRoot: false,
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
hidden: false,
|
|
|
noCache: false,
|
|
noCache: false,
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 9002301,
|
|
id: 9002301,
|
|
|
- parentId: 9002,
|
|
|
|
|
|
|
+ parentId: 90023,
|
|
|
name: 'EvaluationDepartmentItem',
|
|
name: 'EvaluationDepartmentItem',
|
|
|
path: 'evaluation-department-item',
|
|
path: 'evaluation-department-item',
|
|
|
component: '/production-safety/safetyAssessment/evaluationDepartment/EvaluationDepartmentItem',
|
|
component: '/production-safety/safetyAssessment/evaluationDepartment/EvaluationDepartmentItem',
|
|
@@ -238,9 +680,9 @@ const productionSafetyRoutes = {
|
|
|
icon: 'OverviewIcon',
|
|
icon: 'OverviewIcon',
|
|
|
isRoot: false,
|
|
isRoot: false,
|
|
|
hidden: true,
|
|
hidden: true,
|
|
|
- activeMenu: 'EvaluationDepartment',
|
|
|
|
|
|
|
+ activeMenu: '/work-safety/safety-assessment/evaluation-department',
|
|
|
noCache: false,
|
|
noCache: false,
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 90024,
|
|
id: 90024,
|
|
@@ -254,11 +696,11 @@ const productionSafetyRoutes = {
|
|
|
isRoot: false,
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
hidden: false,
|
|
|
noCache: false,
|
|
noCache: false,
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 9002401,
|
|
id: 9002401,
|
|
|
- parentId: 9002,
|
|
|
|
|
|
|
+ parentId: 90024,
|
|
|
name: 'EvaluationSystemItem',
|
|
name: 'EvaluationSystemItem',
|
|
|
path: 'evaluation-system-item',
|
|
path: 'evaluation-system-item',
|
|
|
component: '/production-safety/safetyAssessment/evaluationSystem/EvaluationSystemItem',
|
|
component: '/production-safety/safetyAssessment/evaluationSystem/EvaluationSystemItem',
|
|
@@ -268,11 +710,11 @@ const productionSafetyRoutes = {
|
|
|
isRoot: false,
|
|
isRoot: false,
|
|
|
hidden: true,
|
|
hidden: true,
|
|
|
noCache: false,
|
|
noCache: false,
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
- ]
|
|
|
|
|
- }
|
|
|
|
|
- ],
|
|
|
|
|
- };
|
|
|
|
|
-
|
|
|
|
|
- export default productionSafetyRoutes;
|
|
|
|
|
|
|
+ ],
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export default productionSafetyRoutes;
|