소스 검색

'修改菜单结构'

zhangyu 4 년 전
부모
커밋
283a47e8c4
1개의 변경된 파일78개의 추가작업 그리고 238개의 파일을 삭제
  1. 78 238
      src/data/menus.js

+ 78 - 238
src/data/menus.js

@@ -1,19 +1,30 @@
 export default [
-	/******************** 平台管理 ***************************/
+	/******************** 用户中心 ***************************/
 	{
-		path: '/platform',
-		name: '平台管理',
+		path: '/manage',
+		name: '用户中心',
 		disabled: true,
 	},
+	// 集团管理
+	{
+		path: '/manage/group',
+		name: '集团管理',
+		icon: 'icon-jiaoseguanli',
+		opts: [{
+			name: '查看',
+			basic: true,
+			permission: 'system:role:query'
+		}]
+	},
 	// 项目管理
 	{
-		path: '/platform/project',
+		path: '/manage/project',
 		name: '项目管理',
 		icon: 'icon-project-o'
 	},
 	// 人员管理
 	{
-		path: '/platform/user',
+		path: '/manage/user',
 		name: '人员管理',
 		icon: 'icon-renyuanguanli',
 		opts: [{
@@ -22,89 +33,40 @@ export default [
 			permission: 'system:user:query'
 		}]
 	},
-	// 角色管理
-	{
-		path: '/platform/role',
-		name: '角色管理',
-		icon: 'icon-jiaoseguanli',
-		opts: [{
-			name: '查看',
-			basic: true,
-			permission: 'system:role:query'
-		}]
-	},
-	/******************** 前期准备 ***************************/
+	/******************** 数字字典 ***************************/
 	{
-		path: '/ready',
-		name: '前期准备',
+		path: '/dictionary',
+		name: '数字字典',
 		disabled: true,
 	},
-	// 建筑楼层管理
-	{
-		path: '/ready/buildfloor',
-		name: '建筑楼层管理',
-		icon: 'icon-jianzhu'
-	},
-	// 需采集的信息点
-	{
-		path: '/ready/collectsetting',
-		name: '需采集的信息点',
-		icon: 'icon-xinxi'
-	},
-	// 扫楼App用户管理
+	// 集团字典
 	{
-		path: '/ready/appuser',
-		name: '扫楼App用户管理',
-		icon: 'icon-app4'
-	},
-	/******************** 信息收集 ***************************/
-	{
-		path: '/information',
-		name: '信息收集',
-		disabled: true,
-	},
-	// 模型管理
-	{
-		path: '/model',
-		name: '模型管理',
-		icon: 'icon-moxing___',
+		path: '/group',
+		name: '集团字典',
+		icon: 'icon-shanglou',
 		children: [{
-			path: '/model/file',
-			name: '模型文件管理',
+			path: '/group/record',
+			name: '查看审核记录',
 			icon: '',
 			opts: [{
 				name: '查看',
 				basic: true,
 				permission: 'system:role:query'
 			}]
-		}, {
-			path: '/model/report',
-			name: '模型质量报告',
-			icon: '',
-			opts: [{
-				name: '查看',
-				basic: true,
-				permission: 'system:role:query'
-			}]
-		}]
-	},
-	// 系统集成
-	{
-		path: '/point',
-		name: '系统集成',
-		icon: 'icon-xitong',
-		children: [{
-			path: '/point/pointsetting',
-			name: '子系统点位接入',
+		},
+		{
+			path: '/group/dictionary',
+			name: '管理集团字典',
 			icon: '',
 			opts: [{
 				name: '查看',
 				basic: true,
 				permission: 'system:role:query'
 			}]
-		}, {
-			path: '/point/dynamicdata',
-			name: '配置动参从点位取值',
+		},
+		{
+			path: '/group/content',
+			name: '内容管理',
 			icon: '',
 			opts: [{
 				name: '查看',
@@ -113,76 +75,50 @@ export default [
 			}]
 		},
 		// {
-		// 	path: '/point/objectdata',
-		// 	name: '配置动参从对象取值',
+		// 	path: '/floor/data',
+		// 	name: '现场数据整理',
 		// 	icon: '',
-		// 	opts: [{
-		// 		name: '查看',
-		// 		basic: true,
-		// 		permission: 'system:role:query'
+		// 	children: [ {
+		// 		path: '/floor/data',
+		// 		name: '信息点整理',
+		// 		icon: '',
+		// 		opts: [{
+		// 			name: '查看',
+		// 			basic: true,
+		// 			permission: 'system:role:query'
+		// 		}]
+		// 	},
+		// 	{
+		// 		path: '/floor/plan',
+		// 		name: '位置标签整理',
+		// 		icon: '',
+		// 		opts: [{
+		// 			name: '查看',
+		// 			basic: true,
+		// 			permission: 'system:role:query'
+		// 		}]
 		// 	}]
 		// },
-		{
-			path: '/point/report',
-			name: '系统集成成果管理',
-			icon: '',
-			opts: [{
-				name: '查看',
-				basic: true,
-				permission: 'system:role:query'
-			}]
-		}]
+		]
 	},
-	// 扫楼作业
+	// 项目字典
 	{
-		path: '/floor',
-		name: '扫楼作业',
-		icon: 'icon-shanglou',
+		path: '/project',
+		name: '项目字典',
+		icon: 'icon-taizhangzhangbushezhi',
 		children: [{
-			path: '/floor/task',
-			name: '现场任务管理',
-			icon: '',
-			opts: [{
-				name: '查看',
-				basic: true,
-				permission: 'system:role:query'
-			}]
-		},{
-			path: '/floor/data',
-			name: '现场数据整理',
-			icon: '',
-			children: [ {
-				path: '/floor/data',
-				name: '信息点整理',
-				icon: '',
-				opts: [{
-					name: '查看',
-					basic: true,
-					permission: 'system:role:query'
-				}]
-			},
-			{
-				path: '/floor/plan',
-				name: '位置标签整理',
-				icon: '',
-				opts: [{
-					name: '查看',
-					basic: true,
-					permission: 'system:role:query'
-				}]
-			}]
-		}, {
-			path: '/floor/abnormalprop',
-			name: '扫楼报告',
+			path: '/project/record',
+			name: '查看审核记录',
 			icon: '',
 			opts: [{
 				name: '查看',
 				basic: true,
 				permission: 'system:role:query'
 			}]
-		}, {
-			path: '/floor/log',
-			name: '扫楼日志查看',
+		},
+		{
+			path: '/project/dictionary',
+			name: '管理项目字典',
 			icon: '',
 			opts: [{
 				name: '查看',
@@ -191,68 +127,34 @@ export default [
 			}]
 		}]
 	},
-	// 台账管理
+	// 变更审核
 	{
-		path: '/ledger',
-		name: '台账管理',
+		path: '/record',
+		name: '变更审核',
 		icon: 'icon-taizhangzhangbushezhi',
 		children: [{
-			path: '/ledger/facility',
-			name: '设备台账',
-			icon: '',
-			opts: [{
-				name: '查看',
-				basic: true,
-				permission: 'system:role:query'
-			}]
-		}, {
-			path: '/ledger/property',
-			name: '资产台账',
+			path: '/record/add',
+			name: '审核新增',
 			icon: '',
 			opts: [{
 				name: '查看',
 				basic: true,
 				permission: 'system:role:query'
 			}]
-		}, {
-			path: '/ledger/list',
-			name: '系统台账',
-			icon: '',
-			opts: [{
-				name: '查看',
-				basic: true,
-				permission: 'system:role:query'
-			}]
-		}, {
-			path: '/ledger/spacelist',
-			name: '业务空间台账',
-			icon: '',
-			opts: [{
-				name: '查看',
-				basic: true,
-				permission: 'system:role:query'
-			}]
-		}, {
-				path: '/ledger/cenotelist',
-				name: '竖井台账',
-				icon: '',
-				opts: [{
-					name: '查看',
-					basic: true,
-					permission: 'system:role:query'
-				}]
-		},{
-			path: '/ledger/rentlist',
-			name: '租户台账',
+		},
+		{
+			path: '/record/modify',
+			name: '审核修改',
 			icon: '',
 			opts: [{
 				name: '查看',
 				basic: true,
 				permission: 'system:role:query'
 			}]
-		}, {
-			path: '/ledger/datareport',
-			name: '数据质量报告',
+		},
+		{
+			path: '/record/dictionary',
+			name: '审核记录',
 			icon: '',
 			opts: [{
 				name: '查看',
@@ -261,66 +163,4 @@ export default [
 			}]
 		}]
 	},
-	/******************** 关系维护并计算 ***************************/
-	{
-		path: '/relation',
-		name: '关系维护并计算',
-		disabled: true,
-	},
-	// 关系维护
-	// {
-	// 	path: '/relation/maintain',
-	// 	name: '关系维护',
-	// 	icon: 'icon-guanxi',
-	// 	opts: [{
-	// 		name: '查看',
-	// 		basic: true,
-	// 		permission: 'system:user:query'
-	// 	}]
-	// },
-	// 全部关系总览
-	{
-		path: '/relation/overview',
-		name: '全部关系总览',
-		icon: 'icon-jiqixuexi-',
-		opts: [{
-			name: '查看',
-			basic: true,
-			permission: 'system:role:query'
-		}]
-	},
-	/******************** 数据项目化交付 ***************************/
-	{
-		path: '/deliver',
-		name: '数据项目化交付',
-		disabled: true,
-	},
-	// 项目数据转换
-	{
-		path: '/relation/data',
-		name: '项目数据转换',
-		icon: 'icon-view',
-		opts: [{
-			name: '查看',
-			basic: true,
-			permission: 'system:role:query'
-		}]
-	},
-	/******************** 通用字典 ***************************/
-	// {
-	// 	path: '/dictionaries',
-	// 	name: '通用字典',
-	// 	disabled: true,
-	// },
-	// // 厂家库
-	// {
-	// 	path: '/manufactor/supplier',
-	// 	name: '厂家库',
-	// 	icon: '',
-	// 	opts: [{
-	// 		name: '查看',
-	// 		basic: true,
-	// 		permission: 'system:role:query'
-	// 	}]
-	// }
 ]