|
|
@@ -4,8 +4,8 @@ import { RouteComponent } from "vue-router";
|
|
|
const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
id: 9001,
|
|
|
parentId: 9000,
|
|
|
- name: 'responsibilityImplementation',
|
|
|
- path: 'responsibility-implementation',
|
|
|
+ name: 'responsibilityImplementation',
|
|
|
+ path: 'responsibility-implementation',
|
|
|
redirect: '',
|
|
|
meta: {
|
|
|
title: '安全责任落实',
|
|
|
@@ -14,31 +14,34 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
hidden: false,
|
|
|
noCache: false,
|
|
|
},
|
|
|
- children: [{
|
|
|
+ children: [
|
|
|
+ // 安全责任书管理(管理端)
|
|
|
+ {
|
|
|
id: 90000,
|
|
|
- parentId: 9001,
|
|
|
- name: 'responsibilityAgreeManage',
|
|
|
- path: 'responsibility-agree-manage',
|
|
|
- component: '/production-safety/implement-safety-duty/responsibility-agree-manage',
|
|
|
+ parentId: 9000,
|
|
|
+ name: 'responsibilityAgreeManage', // 路由名称
|
|
|
+ path: 'responsibility-agree-manage', // 路由地址
|
|
|
+ component: '/production-safety/implement-safety-duty/responsibility-agree-manage', // 组件路径
|
|
|
meta: {
|
|
|
- title: '安全责任书管理',
|
|
|
- icon: 'OverviewIcon',
|
|
|
- isRoot: false,
|
|
|
- hidden: false,
|
|
|
- noCache: false,
|
|
|
+ title: '安全责任书管理', // 菜单名称
|
|
|
+ icon: '', // 左侧菜单图标(二级菜单,不配icon)
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/responsibility-agree-manage', // 页面选中菜单
|
|
|
+ // 功能设置
|
|
|
+ isRoot: false, // 是否是根路由
|
|
|
+ hidden: false, // 显示状态
|
|
|
+ noCache: false, // 是否缓存
|
|
|
}
|
|
|
-
|
|
|
},
|
|
|
{
|
|
|
id: 90001,
|
|
|
- parentId: 90000,
|
|
|
+ parentId: 9000,
|
|
|
name: 'createResponsibilityAgree',
|
|
|
path: 'create-responsibility-agree',
|
|
|
component: '/production-safety/implement-safety-duty/create-responsibility-agree',
|
|
|
meta: {
|
|
|
title: '创建安全责任书',
|
|
|
activeMenu: '/work-safety/responsibility-implementation/responsibility-agree-manage',
|
|
|
- icon: 'OverviewIcon',
|
|
|
+ icon: '',
|
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
|
noCache: false,
|
|
|
@@ -47,14 +50,14 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
|
|
|
{
|
|
|
id: 90002,
|
|
|
- parentId: 9001,
|
|
|
+ parentId: 9000,
|
|
|
name: 'editResponsibilityAgree',
|
|
|
path: 'edit-responsibility-agree',
|
|
|
component: '/production-safety/implement-safety-duty/edit-responsibility-agree',
|
|
|
meta: {
|
|
|
title: '编辑安全责任书',
|
|
|
activeMenu: '/work-safety/responsibility-implementation/responsibility-agree-manage',
|
|
|
- icon: 'OverviewIcon',
|
|
|
+ icon: '',
|
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
|
noCache: false,
|
|
|
@@ -62,14 +65,14 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
},
|
|
|
{
|
|
|
id: 90003,
|
|
|
- parentId: 9001,
|
|
|
+ parentId: 9000,
|
|
|
name: 'viewRecipients',
|
|
|
path: 'view-recipients',
|
|
|
component: '/production-safety/implement-safety-duty/view-recipients',
|
|
|
meta: {
|
|
|
title: '查看下发对象',
|
|
|
activeMenu: '/work-safety/responsibility-implementation/responsibility-agree-manage',
|
|
|
- icon: 'OverviewIcon',
|
|
|
+ icon: '',
|
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
|
noCache: false,
|
|
|
@@ -78,7 +81,7 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
// 安全责任书详情反馈
|
|
|
{
|
|
|
id: 90004,
|
|
|
- parentId: 9001,
|
|
|
+ parentId: 9000,
|
|
|
name: 'responsibilityFeedback',
|
|
|
path: 'responsibility-feedback',
|
|
|
component: '/production-safety/implement-safety-duty/responsibility-feedback',
|
|
|
@@ -93,7 +96,7 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
},
|
|
|
{
|
|
|
id: 90005,
|
|
|
- parentId: 9001,
|
|
|
+ parentId: 9000,
|
|
|
name: 'agreeDocumentReview',
|
|
|
path: 'agree-document-review',
|
|
|
component: '/production-safety/implement-safety-duty/agree-document-review',
|
|
|
@@ -108,7 +111,7 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
},
|
|
|
{
|
|
|
id: 90006,
|
|
|
- parentId: 9001,
|
|
|
+ parentId: 9000,
|
|
|
name: 'responsibilityAgreeManageDept',
|
|
|
path: 'responsibility-agree-manage-dept',
|
|
|
component: '/production-safety/implement-safety-duty/responsibility-agree-manage-dept',
|
|
|
@@ -123,7 +126,7 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
},
|
|
|
{
|
|
|
id: 90007,
|
|
|
- parentId: 9001,
|
|
|
+ parentId: 9000,
|
|
|
name: 'signAgreeDept',
|
|
|
path: 'sign-agree-dept',
|
|
|
component: '/production-safety/implement-safety-duty/sign-agree-dept',
|
|
|
@@ -135,17 +138,17 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
hidden: false,
|
|
|
noCache: false,
|
|
|
}
|
|
|
-
|
|
|
},
|
|
|
- // 责任清单
|
|
|
+ // 责任清单(非公共区域)
|
|
|
{
|
|
|
- id: 90008,
|
|
|
- parentId: 9001,
|
|
|
+ id: 9000,
|
|
|
+ parentId: 9000,
|
|
|
name: 'listResponsibilities:nonPublic',
|
|
|
path: 'non-public-list-responsibilities',
|
|
|
component: '/production-safety/implement-safety-duty/non-public-list-responsibilities/list',
|
|
|
meta: {
|
|
|
title: '责任清单',
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/public-list-responsibilities',
|
|
|
icon: 'OverviewIcon',
|
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
|
@@ -156,14 +159,14 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
|
|
|
{
|
|
|
id: 90009,
|
|
|
- parentId: 90008,
|
|
|
+ parentId: 9000,
|
|
|
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',
|
|
|
- // icon: 'OverviewIcon',
|
|
|
+ title: '新增非区域责任清单(管理员)',
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/public-list-responsibilities',
|
|
|
+ icon: 'OverviewIcon',
|
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
|
noCache: false,
|
|
|
@@ -172,13 +175,13 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
{
|
|
|
|
|
|
id: 90010,
|
|
|
- parentId: 90008,
|
|
|
+ parentId: 9000,
|
|
|
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',
|
|
|
+ title: '编辑非区域责任清单(管理员)',
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/public-list-responsibilities',
|
|
|
icon: 'OverviewIcon',
|
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
|
@@ -189,13 +192,13 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
{
|
|
|
|
|
|
id: 90011,
|
|
|
- parentId: 90008,
|
|
|
+ parentId: 9000,
|
|
|
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',
|
|
|
+ title: '变更非区域责任清单(管理员)',
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/public-list-responsibilities',
|
|
|
icon: 'OverviewIcon',
|
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
|
@@ -206,13 +209,13 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
{
|
|
|
|
|
|
id: 90012,
|
|
|
- parentId: 90008,
|
|
|
+ parentId: 9000,
|
|
|
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',
|
|
|
+ title: '查看非区域责任清单(管理员)',
|
|
|
+ activeMenu: '/work-safety/responsibility-implementation/public-list-responsibilities',
|
|
|
icon: 'OverviewIcon',
|
|
|
isRoot: false,
|
|
|
hidden: false,
|
|
|
@@ -223,7 +226,7 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
// 责任区域(非区域执行人)
|
|
|
{
|
|
|
id: 90013,
|
|
|
- parentId: 9001,
|
|
|
+ parentId: 9000,
|
|
|
name: 'areaResponsibilities:nonPublic',
|
|
|
path: 'non-public-area-responsibilities',
|
|
|
component: '/production-safety/implement-safety-duty/non-public-area-responsibilities/list',
|
|
|
@@ -240,7 +243,7 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
|
|
|
{
|
|
|
id: 90014,
|
|
|
- parentId: 90008,
|
|
|
+ parentId: 9000,
|
|
|
name: 'areaAddResponsibilities:nonPublic',
|
|
|
path: 'non-public-area-add-responsibilities',
|
|
|
component: '/production-safety/implement-safety-duty/non-public-area-responsibilities/add',
|
|
|
@@ -307,7 +310,7 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
// 责任清单(公共区域)
|
|
|
{
|
|
|
id: 90020,
|
|
|
- parentId: 9001,
|
|
|
+ parentId: 9000,
|
|
|
name: 'listResponsibilities:public',
|
|
|
path: 'public-list-responsibilities',
|
|
|
component: '/production-safety/implement-safety-duty/public-list-responsibilities/list',
|
|
|
@@ -323,7 +326,7 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
|
|
|
{
|
|
|
id: 90021,
|
|
|
- parentId: 90008,
|
|
|
+ parentId: 9000,
|
|
|
name: 'addResponsibilities:public',
|
|
|
path: 'public-add-responsibilities',
|
|
|
component: '/production-safety/implement-safety-duty/public-list-responsibilities/add',
|
|
|
@@ -339,7 +342,7 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
{
|
|
|
|
|
|
id: 90022,
|
|
|
- parentId: 90008,
|
|
|
+ parentId: 9000,
|
|
|
name: 'editResponsibilities:public',
|
|
|
path: 'public-edit-responsibilities',
|
|
|
component: '/production-safety/implement-safety-duty/public-list-responsibilities/edit',
|
|
|
@@ -356,7 +359,7 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
{
|
|
|
|
|
|
id: 90023,
|
|
|
- parentId: 90008,
|
|
|
+ parentId: 9000,
|
|
|
name: 'changeResponsibilities:public',
|
|
|
path: 'public-change-responsibilities',
|
|
|
component: '/production-safety/implement-safety-duty/public-list-responsibilities/change',
|
|
|
@@ -373,7 +376,7 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
{
|
|
|
|
|
|
id: 90024,
|
|
|
- parentId: 90008,
|
|
|
+ parentId: 9000,
|
|
|
name: 'viewResponsibilities:public',
|
|
|
path: 'public-view-responsibilities',
|
|
|
component: '/production-safety/implement-safety-duty/public-list-responsibilities/view',
|
|
|
@@ -390,7 +393,7 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
// 责任区域(公共区域)
|
|
|
{
|
|
|
id: 90030,
|
|
|
- parentId: 9001,
|
|
|
+ parentId: 9000,
|
|
|
name: 'areaResponsibilities:public',
|
|
|
path: 'public-area-responsibilities',
|
|
|
component: '/production-safety/implement-safety-duty/public-area-responsibilities/list',
|
|
|
@@ -406,7 +409,7 @@ const responsibilityImplementationRoutes: RouteComponent[] = [{
|
|
|
|
|
|
{
|
|
|
id: 90031,
|
|
|
- parentId: 90008,
|
|
|
+ parentId: 9000,
|
|
|
name: 'areaAddResponsibilities:public',
|
|
|
path: 'public-area-add-responsibilities',
|
|
|
component: '/production-safety/implement-safety-duty/public-area-responsibilities/add',
|