authRoutes.js 5.12 KB
Newer Older
wuhao's avatar
wuhao committed
1
export default [
TZW's avatar
TZW committed
2
	{
TZW's avatar
TZW committed
3 4 5 6
		"path": "/welcome",
		"name": "欢迎",
		"icon": "smile",
		"component": "./Welcome"
TZW's avatar
TZW committed
7 8
	},
	{
TZW's avatar
TZW committed
9 10 11 12
		"name": "基础设置",
		"icon": "setting",
		"path": "/setting",
		"routes": [
TZW's avatar
TZW committed
13
			{
TZW's avatar
TZW committed
14 15 16
				"name": "用户管理",
				"path": "/setting/users",
				"component": "./setting/users"
TZW's avatar
TZW committed
17 18
			},
			{
TZW's avatar
TZW committed
19 20 21
				"name": "角色管理",
				"path": "/setting/role",
				"component": "./setting/role"
TZW's avatar
TZW committed
22 23
			},
			{
TZW's avatar
TZW committed
24 25 26
				"name": "组织管理",
				"path": "/setting/organization",
				"component": "./setting/organization"
TZW's avatar
TZW committed
27 28
			},
			{
TZW's avatar
TZW committed
29 30 31
				"name": "工厂管理",
				"path": "/setting/factory",
				"component": "./setting/factory"
TZW's avatar
TZW committed
32 33
			},
			{
TZW's avatar
TZW committed
34 35 36
				"name": "车间管理",
				"path": "/setting/workshop",
				"component": "./setting/workshop"
TZW's avatar
TZW committed
37 38
			},
			{
TZW's avatar
TZW committed
39 40 41
				"name": "工段管理",
				"path": "/setting/section",
				"component": "./setting/section"
TZW's avatar
TZW committed
42 43
			},
			{
TZW's avatar
TZW committed
44 45 46 47 48
				"name": "产线管理",
				"path": "/setting/production",
				"component": "./setting/production"
			}
		]
TZW's avatar
TZW committed
49 50
	},
	{
TZW's avatar
TZW committed
51 52 53 54
		"name": "设备管理",
		"icon": "bulb",
		"path": "/device",
		"routes": [
TZW's avatar
TZW committed
55
			{
TZW's avatar
TZW committed
56 57 58
				"name": "设备台账",
				"path": "/device/account",
				"component": "./device/account"
TZW's avatar
TZW committed
59 60
			},
			{
TZW's avatar
TZW committed
61 62 63
				"name": "设备类型",
				"path": "/device/type",
				"component": "./device/type"
TZW's avatar
TZW committed
64 65
			},
			{
TZW's avatar
TZW committed
66 67 68
				"name": "设备型号",
				"path": "/device/model",
				"component": "./device/model"
TZW's avatar
TZW committed
69 70
			},
			{
TZW's avatar
TZW committed
71 72 73 74 75
				"name": "设备供应商",
				"path": "/device/supplier",
				"component": "./device/supplier"
			}
		]
TZW's avatar
TZW committed
76 77
	},
	{
TZW's avatar
TZW committed
78 79 80 81
		"name": "维修管理",
		"path": "/repair",
		"icon": "tool",
		"routes": [
TZW's avatar
TZW committed
82
			{
TZW's avatar
TZW committed
83 84 85 86
				"name": "接单平台",
				"path": "/repair/platform",
				"icon": "",
				"component": "./repair/platform"
TZW's avatar
TZW committed
87 88
			},
			{
TZW's avatar
TZW committed
89 90 91 92
				"name": "故障报修",
				"path": "/repair/failure",
				"icon": "",
				"component": "./repair/failure"
TZW's avatar
TZW committed
93 94
			},
			{
TZW's avatar
TZW committed
95 96 97 98
				"name": "维修工单",
				"path": "/repair/order",
				"icon": "",
				"component": "./repair/order"
TZW's avatar
TZW committed
99 100
			},
			{
TZW's avatar
TZW committed
101 102 103 104
				"name": "追踪工单",
				"path": "/repair/track",
				"icon": "",
				"component": "./repair/track"
TZW's avatar
TZW committed
105 106
			},
			{
TZW's avatar
TZW committed
107 108 109 110
				"name": "外协工单",
				"path": "/repair/outsourcing",
				"icon": "",
				"component": "./repair/outsourcing"
TZW's avatar
TZW committed
111 112
			},
			{
TZW's avatar
TZW committed
113 114 115 116 117 118
				"name": "故障设置",
				"path": "/repair/fault",
				"icon": "",
				"component": "./repair/fault"
			}
		]
TZW's avatar
TZW committed
119 120
	},
	{
TZW's avatar
TZW committed
121 122 123 124
		"name": "系统管理",
		"path": "/system",
		"icon": "desktop",
		"routes": [
TZW's avatar
TZW committed
125
			{
TZW's avatar
TZW committed
126 127 128 129
				"name": "数据字典",
				"path": "/system/dictionary",
				"icon": "",
				"component": "./system/dictionary"
TZW's avatar
TZW committed
130 131
			},
			{
TZW's avatar
TZW committed
132 133 134 135
				"name": "扩展字段",
				"path": "/system/field",
				"icon": "",
				"component": "./system/field"
TZW's avatar
TZW committed
136 137
			},
			{
TZW's avatar
TZW committed
138 139 140 141
				"name": "编号规则",
				"path": "/system/rules",
				"icon": "",
				"component": "./system/rules"
TZW's avatar
TZW committed
142 143
			},
			{
TZW's avatar
TZW committed
144 145 146 147 148 149
				"name": "推送配置",
				"path": "/system/pushsetting",
				"icon": "",
				"component": "./system/pushsetting"
			}
		]
wuhao's avatar
wuhao committed
150 151
	},
	{
TZW's avatar
TZW committed
152 153 154 155
		"name": "备件管理",
		"path": "/spare",
		"icon": "sliders",
		"routes": [
wuhao's avatar
wuhao committed
156
			{
TZW's avatar
TZW committed
157 158 159 160
				"name": " 备件库存",
				"path": "/spare/stock",
				"icon": "",
				"component": "./spare/stock"
wuhao's avatar
wuhao committed
161 162
			},
			{
TZW's avatar
TZW committed
163 164 165 166
				"name": "入库管理",
				"path": "/spare/instore",
				"icon": "",
				"component": "./spare/instore"
wuhao's avatar
wuhao committed
167 168
			},
			{
TZW's avatar
TZW committed
169 170 171 172
				"name": "出库管理",
				"path": "/spare/outstore",
				"icon": "",
				"component": "./spare/outstore"
wuhao's avatar
wuhao committed
173
			},
174
			{
TZW's avatar
TZW committed
175 176 177 178
				"name": "出入库记录",
				"path": "/spare/record",
				"icon": "",
				"component": "./spare/record"
wuhao's avatar
wuhao committed
179
			},
180
			{
TZW's avatar
TZW committed
181 182 183 184
				"name": "备件领用",
				"path": "/spare/requisition",
				"icon": "",
				"component": "./spare/requisition"
wuhao's avatar
wuhao committed
185
			},
186
			{
TZW's avatar
TZW committed
187 188 189 190
				"name": "备件回冲",
				"path": "/spare/spareback",
				"icon": "",
				"component": "./spare/spareback"
wuhao's avatar
wuhao committed
191 192
			},
			{
TZW's avatar
TZW committed
193 194 195 196
				"name": " 线边库存",
				"path": "/spare/edgestore",
				"icon": "",
				"component": "./spare/edgestore"
wuhao's avatar
wuhao committed
197 198
			},
			{
TZW's avatar
TZW committed
199 200 201 202
				"name": "备件供应商",
				"path": "/spare/supplier",
				"icon": "",
				"component": "./spare/supplier"
wuhao's avatar
wuhao committed
203 204
			},
			{
TZW's avatar
TZW committed
205 206 207 208 209 210
				"name": " 备件设置",
				"path": "/spare/setting",
				"icon": "",
				"component": "./spare/setting"
			}
		]
211 212
	},
	{
TZW's avatar
TZW committed
213 214 215 216
		"name": "点检管理",
		"path": "/check",
		"icon": "check-circle",
		"routes": [
217
			{
TZW's avatar
TZW committed
218 219 220 221
				"name": " 点检标准",
				"path": "/check/standard",
				"icon": "",
				"component": "./check/standard"
wuhao's avatar
wuhao committed
222
			},
223
			{
TZW's avatar
TZW committed
224 225 226 227
				"name": "点检计划",
				"path": "/check/plan",
				"icon": "",
				"component": "./check/plan"
228 229
			},
			{
TZW's avatar
TZW committed
230 231 232 233
				"name": "点检接单",
				"path": "/check/order",
				"icon": "",
				"component": "./check/order"
234 235
			},
			{
TZW's avatar
TZW committed
236 237 238 239 240 241
				"name": "点检工单",
				"path": "/check/task",
				"icon": "",
				"component": "./check/task"
			}
		]
左玲玲's avatar
左玲玲 committed
242
	},
TZW's avatar
TZW committed
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274
	{
		"name": "保养管理",
		"path": "/maintain",
		"icon": "dashboard",
		"routes": [
			{
				"name": "保养接单",
				"path": "/maintain/orders",
				"icon": "",
				"component": "./maintain/orders"
			},
			{
				"name": "保养工单",
				"path": "/maintain/workOrder",
				"icon": "",
				"component": "./maintain/workOrder"
			},
			{
				"name": " 保养标准",
				"path": "/maintain/criterion",
				"icon": "",
				"component": "./maintain/criterion"
			},
			{
				"name": "保养计划",
				"path": "/maintain/plan",
				"icon": "",
				"component": "./maintain/plan"
			}
		]
	}
];