作者 shenhailong

Revert "给小范上传 一下我这边的routes文件"

This reverts commit 58de4bba.

# Conflicts:
#	src/routes.js
#	src/views/Home.vue
@@ -23,10 +23,9 @@ var axois_init = { @@ -23,10 +23,9 @@ var axois_init = {
23 // 直接丢sessionStorage 23 // 直接丢sessionStorage
24 if (!sessionStorage.getItem("token")) { 24 if (!sessionStorage.getItem("token")) {
25 // 若是接口访问的时候没有发现有鉴权的基础信息,直接返回登录页 25 // 若是接口访问的时候没有发现有鉴权的基础信息,直接返回登录页
26 - // router.push({  
27 - // // path: "/login"  
28 - // path: "/main"  
29 - // }); 26 + router.push({
  27 + path: "/login"
  28 + });
30 } 29 }
31 30
32 // 下面是接口回调的satus ,因为我做了一些错误页面,所以都会指向对应的报错页面 31 // 下面是接口回调的satus ,因为我做了一些错误页面,所以都会指向对应的报错页面
@@ -87,20 +86,20 @@ var axois_init = { @@ -87,20 +86,20 @@ var axois_init = {
87 init_router: (router,axios) => { 86 init_router: (router,axios) => {
88 router.beforeEach((to, from, next) => { 87 router.beforeEach((to, from, next) => {
89 //NProgress.start(); 88 //NProgress.start();
90 - // if (to.path == '/login') {  
91 - // sessionStorage.removeItem('user');  
92 - // sessionStorage.removeItem('menu');  
93 - // sessionStorage.removeItem('token');  
94 - // }else{  
95 - // let user = JSON.parse(sessionStorage.getItem('user'));  
96 - // if(sessionStorage.getItem('token')){  
97 - // axios.defaults.headers.common['Authorization'] = sessionStorage.getItem('token');  
98 - // }  
99 - //  
100 - // if (!jsutil.checkNull(user) && to.path != '/login' && !sessionStorage.getItem('menu') && !sessionStorage.getItem('token')) {  
101 - // next({ path: '/login' })  
102 - // }  
103 - // } 89 + if (to.path == '/login') {
  90 + sessionStorage.removeItem('user');
  91 + sessionStorage.removeItem('menu');
  92 + sessionStorage.removeItem('token');
  93 + }else{
  94 + let user = JSON.parse(sessionStorage.getItem('user'));
  95 + if(sessionStorage.getItem('token')){
  96 + axios.defaults.headers.common['Authorization'] = sessionStorage.getItem('token');
  97 + }
  98 +
  99 + if (!jsutil.checkNull(user) && to.path != '/login' && !sessionStorage.getItem('menu') && !sessionStorage.getItem('token')) {
  100 + next({ path: '/login' })
  101 + }
  102 + }
104 next() 103 next()
105 }); 104 });
106 } 105 }
@@ -126,181 +126,207 @@ let routes = [ @@ -126,181 +126,207 @@ let routes = [
126 }, 126 },
127 // { path: '/test', component: Main }, 127 // { path: '/test', component: Main },
128 128
129 - {  
130 - path: '/',  
131 - component: Home,  
132 - name: '海关货物流转',  
133 - iconCls: 'el-icon-delete-location',  
134 - children: [  
135 - { path: '/Page6', component: Page6, name: '申请列表' },  
136 - { path: '/Page7', component: Page7, name: '申请添加' },  
137 - ]  
138 - },  
139 -  
140 - {  
141 - path: '/domdep',  
142 - component: Home,  
143 - name: '订舱系统',  
144 - iconCls: 'el-icon-delete-location',  
145 - children: [  
146 - // { path: '/booking', component: booking, name: '在线订舱' },  
147 - { path: '/order', component: order, name: '订舱信息' },  
148 - { path: '/airlift', component: airlift, name: '空运专线' },  
149 - ]  
150 - }, 129 + // {
  130 + // path: '/',
  131 + // component: Home,
  132 + // name: '海关货物流转',
  133 + // iconCls: 'el-icon-delete-location',
  134 + // children: [
  135 + // { path: '/Page6', component: Page6, name: '申请列表' },
  136 + // { path: '/Page7', component: Page7, name: '申请添加' },
  137 + // ]
  138 + // },
  139 + //
  140 + // {
  141 + // path: '/domdep',
  142 + // component: Home,
  143 + // name: '订舱系统',
  144 + // iconCls: 'el-icon-delete-location',
  145 + // children: [
  146 + // { path: '/booking', component: booking, name: '在线订舱' },
  147 + // { path: '/order', component: order, name: '订舱信息' },
  148 + // { path: '/airlift', component: airlift, name: '空运专线' },
  149 + // ]
  150 + // },
151 151
152 152
153 153
154 154
155 // 货运系统--航班预配 155 // 货运系统--航班预配
156 - {  
157 - path: '/domdep',  
158 - component: Home,  
159 - name: '国内出港',  
160 - iconCls: 'el-icon-position',  
161 - children: [  
162 - { path: '/preConfiguration', component: preConfiguration, name: '航班预配' },  
163 - { path: '/allocate', component: allocate, name: '航班配载' },  
164 - { path: '/documents', component: documents, name: '航班文件' },  
165 - { path: '/charge', component: charge, name: '付费处理' },  
166 -  
167 - // { path: '/perm', component: Perm, name: '权限管理' },  
168 - // { path: '/log', component: LOG, name: '系统日志' },  
169 - // { path: '/department', component: Department, name: '部门管理' },  
170 - // { path: '/company', component: Company, name: '公司管理'},  
171 - // { path: '/group', component: Group, name: '集团管理'}  
172 - ]  
173 - },  
174 - {  
175 - path: '/admin',  
176 - component: Home,  
177 - name: '系统设置',  
178 - iconCls: 'el-icon-setting',//图标样式class  
179 - children: [  
180 - { path: '/user', component: User, name: '用户管理' },  
181 - { path: '/role', component: Role, name: '组织机构' },  
182 - { path: '/perm', component: Perm, name: '权限管理' },  
183 - { path: '/log', component: LOG, name: '系统日志' },  
184 - { path: '/department', component: Department, name: '部门管理' },  
185 - { path: '/company', component: Company, name: '公司管理'},  
186 - { path: '/group', component: Group, name: '集团管理'}  
187 - ]  
188 - },  
189 - {  
190 - path: '/guestService',  
191 - component: Home,  
192 - name: '客服系统',  
193 - iconCls: 'fa fa-id-card-o',  
194 - children: [  
195 - { path: '/process', component: Process, name: '工单管理' },  
196 - { path: '/job', component: Job, name: '任务管理' },  
197 - {path: '/pre1', component: PreManifest, name: '预配'},  
198 - ]  
199 - }, 156 + // {
  157 + // path: '/domdep',
  158 + // component: Home,
  159 + // name: '国内出港',
  160 + // iconCls: 'el-icon-position',
  161 + // children: [
  162 + // { path: '/preConfiguration', component: preConfiguration, name: '航班预配' },
  163 + // { path: '/allocate', component: allocate, name: '航班配载' },
  164 + // { path: '/documents', component: documents, name: '航班文件' },
  165 + // { path: '/charge', component: charge, name: '付费处理' },
  166 + //
  167 + // // { path: '/perm', component: Perm, name: '权限管理' },
  168 + // // { path: '/log', component: LOG, name: '系统日志' },
  169 + // // { path: '/department', component: Department, name: '部门管理' },
  170 + // // { path: '/company', component: Company, name: '公司管理'},
  171 + // // { path: '/group', component: Group, name: '集团管理'}
  172 + // ]
  173 + // },
  174 + // {
  175 + // path: '/admin',
  176 + // component: Home,
  177 + // name: '系统设置',
  178 + // iconCls: 'el-icon-setting',//图标样式class
  179 + // children: [
  180 + // { path: '/user', component: User, name: '用户管理' },
  181 + // { path: '/role', component: Role, name: '组织机构' },
  182 + // { path: '/perm', component: Perm, name: '权限管理' },
  183 + // { path: '/log', component: LOG, name: '系统日志' },
  184 + // { path: '/department', component: Department, name: '部门管理' },
  185 + // { path: '/company', component: Company, name: '公司管理'},
  186 + // { path: '/group', component: Group, name: '集团管理'}
  187 + // ]
  188 + // },
  189 + // {
  190 + // path: '/guestService',
  191 + // component: Home,
  192 + // name: '客服系统',
  193 + // iconCls: 'fa fa-id-card-o',
  194 + // children: [
  195 + // { path: '/process', component: Process, name: '工单管理' },
  196 + // { path: '/job', component: Job, name: '任务管理' },
  197 + // {path: '/pre1', component: PreManifest, name: '预配'},
  198 + // ]
  199 + // },
200 { 200 {
201 path: '/output', 201 path: '/output',
202 component: Home, 202 component: Home,
203 - name: '出港业务申报', 203 + name: '国际出港业务申报',
204 iconCls: 'el-icon-collection', 204 iconCls: 'el-icon-collection',
205 children: [ 205 children: [
206 - {path: '/flight', component: ExitFlight, name: '出港航班申报'},  
207 - {path: '/manifest', component: ExitManifest, name: '出港运单申报'},  
208 - {path: '/pre', component: ExitPre, name: '出港预配舱单'},  
209 - {path: '/arrive', component: ExitArrive, name: '出港运抵'},  
210 - {path: '/loadingView', component: ExitFlightDesc, name: '出港航班信息'},  
211 - {path: '/loading', component: ExitLoading, name: '出港装载'},  
212 - {path: '/tidy', component: ExitTidy, name: '出港理货'} 206 + // {path: '/flight', component: ExitFlight, name: '出港航班申报'},
  207 + // {path: '/manifest', component: ExitManifest, name: '出港运单申报'},
  208 + {path: '/pre', component: ExitPre, name: '国际出港预配舱单'},
  209 + // {path: '/arrive', component: ExitArrive, name: '出港运抵'},
  210 + // {path: '/loadingView', component: ExitFlightDesc, name: '出港航班信息'},
  211 + // {path: '/loading', component: ExitLoading, name: '出港装载'},
  212 + // {path: '/tidy', component: ExitTidy, name: '出港理货'}
213 ] 213 ]
214 }, 214 },
215 { 215 {
216 path: '/sec', 216 path: '/sec',
217 component: Home, 217 component: Home,
218 - name: '安检清单申报管理', 218 + name: '国际安检清单申报管理',
219 iconCls: 'el-icon-collection', 219 iconCls: 'el-icon-collection',
220 children: [ 220 children: [
221 - {path: '/security', component: Security, name: '安检清单申报'} 221 + {path: '/security', component: Security, name: '国际安检清单申报'}
222 ] 222 ]
223 }, 223 },
  224 +
224 { 225 {
225 - path: '/nmms2', 226 + path: '/output',
226 component: Home, 227 component: Home,
227 - name: '进港业务申报',  
228 - iconCls: 'fa fa-id-card-o', 228 + name: '国内出港业务申报',
  229 + iconCls: 'el-icon-collection',
229 children: [ 230 children: [
230 - { path: '/orig', component: OrigFlightList, name: '进港航班申报' },  
231 - {path:'/waybill',component:Waybill,name:'进港运单申报'},  
232 - {path:'/allocateSearch',component:AllocateSearch,name:'运单分拨申报'},  
233 - { path: '/enter', component: EnterFlightInfo, name: '原始舱单'},  
234 - { path:'/origmaster',component:OrigMaster,name:'进港原始舱单'},  
235 - {path:'/entertall',component:EnterTally,name:'进港理货'},  
236 - {path:'/tallymaster',component:TallyMster,name:'进港理货舱单'},  
237 - {path:'/importallocation',component:Importallocation,name:'进港分拨'},  
238 - {path:'/allocatearrive',component:Allocatearrive,name:'分拨运抵'}, 231 + // {path: '/flight', component: ExitFlight, name: '出港航班申报'},
  232 + // {path: '/manifest', component: ExitManifest, name: '出港运单申报'},
  233 + {path: '/pre', component: ExitPre, name: '国内出港预配舱单'},
  234 + // {path: '/arrive', component: ExitArrive, name: '出港运抵'},
  235 + // {path: '/loadingView', component: ExitFlightDesc, name: '出港航班信息'},
  236 + // {path: '/loading', component: ExitLoading, name: '出港装载'},
  237 + // {path: '/tidy', component: ExitTidy, name: '出港理货'}
239 ] 238 ]
240 }, 239 },
241 - // 货运系统--航班预配  
242 { 240 {
243 - path: '/flight_scheduling', 241 + path: '/sec',
244 component: Home, 242 component: Home,
245 - name: '航班计划',  
246 - iconCls: 'el-icon-delete-location', 243 + name: '国内安检清单申报管理',
  244 + iconCls: 'el-icon-collection',
247 children: [ 245 children: [
248 - { path: '/inquiry', component: inquiry, name: '航班计划查询' }, 246 + {path: '/security', component: Security, name: '国内安检清单申报'}
249 ] 247 ]
250 }, 248 },
251 - {  
252 - path: '/lost',  
253 - component: Home,  
254 - name: '落装改配申报',  
255 - iconCls:'el-icon-goods',  
256 - children:[  
257 - {path:'/lostLoad',component:LostLoad,name:'落装业务申报'},  
258 - {path:'/lostLoadChange',component:LostLoadChange,name:'改配业务申报'}  
259 249
260 - ]  
261 - },  
262 - {  
263 - path: '/airtransport',  
264 - component: Home,  
265 - name: '通用业务申报',  
266 - iconCls:'el-icon-goods',  
267 - children:[  
268 - {path:'/route',component:Route,name:'航线申报'},  
269 - {path:'/bill',component:Bill,name:'单据申报'},  
270 - {path:'/flights',component:Flight,name:'航班申报'},  
271 - {path:'/flightplan',component:Flightplan,name:'当日飞行计划'},  
272 - {path:'/aircraft',component:Aircraft,name:'通用航空器申报'},  
273 - {path:'/routeaircraft',component:Routeaircraft,name:'航线航空器申报'},  
274 - ]  
275 - },  
276 - {  
277 - path: '/querytransport',  
278 - component: Home,  
279 - name: '通用业务查询',  
280 - iconCls:'el-icon-goods',  
281 - children:[  
282 - {path:'/queryRoute',component:queryRoute,name:'航线查询'},  
283 - {path:'/queryBill',component:queryBill,name:'单据查询'},  
284 - {path:'/queryFlights',component:queryFlight,name:'航班查询'},  
285 - {path:'/queryFlightplan',component:queryFlightplan,name:'当日飞行计划查询'},  
286 - {path:'/queryAircraft',component:queryAircraft,name:'通用航空器查询'},  
287 - {path:'/queryRouteaircraft',component:queryRouteaircraft,name:'航线航空器查询'},  
288 - ]  
289 - },  
290 - {  
291 - path: '/input',  
292 - component: Home,  
293 - name: '进港航班申报',  
294 - iconCls:'el-icon-goods',  
295 - children:[  
296 - {path:'/arrival',component:arrival,name:'进港预报申报'},  
297 - {path:'/confirmatory',component:confirmatory,name:'进港确报申报'},  
298 - {path:'/queryArrival',component:queryArrival,name:'进港预报查询'},  
299 - {path:'/queryConfirmatory',component:queryConfirmatory,name:'进港确报查询'},  
300 - {path:'/configure',component:configure,name:'进港航班配置'},  
301 - {path:'/queryConfigure',component:queryConfigure,name:'航班配置查询'},  
302 - ]  
303 - }, 250 + // {
  251 + // path: '/nmms2',
  252 + // component: Home,
  253 + // name: '进港业务申报',
  254 + // iconCls: 'fa fa-id-card-o',
  255 + // children: [
  256 + // { path: '/orig', component: OrigFlightList, name: '进港航班申报' },
  257 + // {path:'/waybill',component:Waybill,name:'进港运单申报'},
  258 + // {path:'/allocateSearch',component:AllocateSearch,name:'运单分拨申报'},
  259 + // { path: '/enter', component: EnterFlightInfo, name: '原始舱单'},
  260 + // { path:'/origmaster',component:OrigMaster,name:'进港原始舱单'},
  261 + // {path:'/entertall',component:EnterTally,name:'进港理货'},
  262 + // {path:'/tallymaster',component:TallyMster,name:'进港理货舱单'},
  263 + // {path:'/importallocation',component:Importallocation,name:'进港分拨'},
  264 + // {path:'/allocatearrive',component:Allocatearrive,name:'分拨运抵'},
  265 + // ]
  266 + // },
  267 + // 货运系统--航班预配
  268 + // {
  269 + // path: '/flight_scheduling',
  270 + // component: Home,
  271 + // name: '航班计划',
  272 + // iconCls: 'el-icon-delete-location',
  273 + // children: [
  274 + // { path: '/inquiry', component: inquiry, name: '航班计划查询' },
  275 + // ]
  276 + // },
  277 + // {
  278 + // path: '/lost',
  279 + // component: Home,
  280 + // name: '落装改配申报',
  281 + // iconCls:'el-icon-goods',
  282 + // children:[
  283 + // {path:'/lostLoad',component:LostLoad,name:'落装业务申报'},
  284 + // {path:'/lostLoadChange',component:LostLoadChange,name:'改配业务申报'}
  285 + //
  286 + // ]
  287 + // },
  288 + // {
  289 + // path: '/airtransport',
  290 + // component: Home,
  291 + // name: '通用业务申报',
  292 + // iconCls:'el-icon-goods',
  293 + // children:[
  294 + // {path:'/route',component:Route,name:'航线申报'},
  295 + // {path:'/bill',component:Bill,name:'单据申报'},
  296 + // {path:'/flights',component:Flight,name:'航班申报'},
  297 + // {path:'/flightplan',component:Flightplan,name:'当日飞行计划'},
  298 + // {path:'/aircraft',component:Aircraft,name:'通用航空器申报'},
  299 + // {path:'/routeaircraft',component:Routeaircraft,name:'航线航空器申报'},
  300 + // ]
  301 + // },
  302 + // {
  303 + // path: '/querytransport',
  304 + // component: Home,
  305 + // name: '通用业务查询',
  306 + // iconCls:'el-icon-goods',
  307 + // children:[
  308 + // {path:'/queryRoute',component:queryRoute,name:'航线查询'},
  309 + // {path:'/queryBill',component:queryBill,name:'单据查询'},
  310 + // {path:'/queryFlights',component:queryFlight,name:'航班查询'},
  311 + // {path:'/queryFlightplan',component:queryFlightplan,name:'当日飞行计划查询'},
  312 + // {path:'/queryAircraft',component:queryAircraft,name:'通用航空器查询'},
  313 + // {path:'/queryRouteaircraft',component:queryRouteaircraft,name:'航线航空器查询'},
  314 + // ]
  315 + // },
  316 + // {
  317 + // path: '/input',
  318 + // component: Home,
  319 + // name: '进港航班申报',
  320 + // iconCls:'el-icon-goods',
  321 + // children:[
  322 + // {path:'/arrival',component:arrival,name:'进港预报申报'},
  323 + // {path:'/confirmatory',component:confirmatory,name:'进港确报申报'},
  324 + // {path:'/queryArrival',component:queryArrival,name:'进港预报查询'},
  325 + // {path:'/queryConfirmatory',component:queryConfirmatory,name:'进港确报查询'},
  326 + // {path:'/configure',component:configure,name:'进港航班配置'},
  327 + // {path:'/queryConfigure',component:queryConfigure,name:'航班配置查询'},
  328 + // ]
  329 + // },
304 { 330 {
305 path: '/con', 331 path: '/con',
306 component: Home, 332 component: Home,
@@ -311,20 +337,20 @@ let routes = [ @@ -311,20 +337,20 @@ let routes = [
311 {path:'/consignee',component:Consignee,name:'收货人管理'}, 337 {path:'/consignee',component:Consignee,name:'收货人管理'},
312 ] 338 ]
313 }, 339 },
314 - {  
315 - path: '/out',  
316 - component: Home,  
317 - name: '出港申报',  
318 - iconCls:'el-icon-goods',  
319 - children:[  
320 - {path:'/departure',component:departure,name:'出港预报申报'},  
321 - {path:'/declare',component:declare,name:'出港确报申报'},  
322 - {path:'/queryDeparture',component:queryDeparture,name:'出港预报查询'},  
323 - {path:'/queryDeclare',component:queryDeclare,name:'出港确报查询'},  
324 - {path:'/outConfigure',component:outConfigure,name:'出港航班配置'},  
325 - {path:'/queryFlightConfigure',component:queryFlightConfigure,name:'航班配置查询'},  
326 - ]  
327 - }, 340 + // {
  341 + // path: '/out',
  342 + // component: Home,
  343 + // name: '出港申报',
  344 + // iconCls:'el-icon-goods',
  345 + // children:[
  346 + // {path:'/departure',component:departure,name:'出港预报申报'},
  347 + // {path:'/declare',component:declare,name:'出港确报申报'},
  348 + // {path:'/queryDeparture',component:queryDeparture,name:'出港预报查询'},
  349 + // {path:'/queryDeclare',component:queryDeclare,name:'出港确报查询'},
  350 + // {path:'/outConfigure',component:outConfigure,name:'出港航班配置'},
  351 + // {path:'/queryFlightConfigure',component:queryFlightConfigure,name:'航班配置查询'},
  352 + // ]
  353 + // },
328 354
329 { 355 {
330 path: '/express-system', 356 path: '/express-system',
@@ -336,69 +362,69 @@ let routes = [ @@ -336,69 +362,69 @@ let routes = [
336 ] 362 ]
337 }, 363 },
338 364
339 - {  
340 - path: '/',  
341 - component: Home,  
342 - name: '场站管理',  
343 - iconCls: 'el-icon-setting',//图标样式class  
344 - children: [  
345 - {path: '/yard', component: Yard, name: '场站管理'},  
346 - {path: '/bayonet', component: Bayonet, name: '卡口管理'},  
347 - {path: '/warehouse', component: Warehouse, name: '仓库管理'},  
348 - ]  
349 - },  
350 -  
351 - {  
352 - path: '/empt',  
353 - component: Home,  
354 - name: '能源管理',  
355 - iconCls: 'fa fa-id-card-o',  
356 - children: [  
357 - { path: '/location', component: Location, name: '能源缴费' },  
358 -  
359 - ]  
360 - },  
361 - {  
362 - path: '/satff',  
363 - component: Home,  
364 - name: '生活保障部门',  
365 - iconCls: 'fa fa-id-card-o',  
366 - children: [  
367 - { path: '/security_inspection', component: SecrityInspection, name: '职工公寓安全巡视管理' },  
368 - { path: '/key', component: Key, name: '职工公寓备用钥匙使用登记管理' },  
369 - { path: '/maintain', component: Maintain, name: '职工公寓设施设备维修记录管理' },  
370 - { path: '/come_car', component: ComeCar, name: '职工公寓外来人员车辆登记管理' },  
371 - { path: '/on_duty', component: OnDuty, name: '职工公寓值班巡视记录管理' },  
372 - ]  
373 - },  
374 - {  
375 - path: '/water_heating_chamber',  
376 - component: Home,  
377 - name: '水暖室',  
378 - iconCls: 'fa fa-address-card',  
379 - // leaf: true,//只有一个节点  
380 - children: [  
381 - { path: '/water_stations_patrol', component: WaterStationsPatrol, name: '二水厂-水站巡视记录单管理' },  
382 - // { path: '/page6', component: Page6, name: '水质量检测' },  
383 - // { path: '/page6', component: Page6, name: '污水站' },  
384 - // { path: '/page6', component: Page6, name: '一水厂' },  
385 - // { path: '/page6', component: Page6, name: '综合楼空调站' },  
386 - ]  
387 - },  
388 - {  
389 - path: '/',  
390 - component: Home,  
391 - name: 'Charts',  
392 - iconCls: 'fa fa-bar-chart',  
393 - children: [  
394 - {path: '/echarts', component: echarts, name: 'echarts'}  
395 - ]  
396 - },  
397 - {  
398 - path: '*',  
399 - hidden: true,  
400 - redirect: {path: '/404'}  
401 - } 365 + // {
  366 + // path: '/',
  367 + // component: Home,
  368 + // name: '场站管理',
  369 + // iconCls: 'el-icon-setting',//图标样式class
  370 + // children: [
  371 + // {path: '/yard', component: Yard, name: '场站管理'},
  372 + // {path: '/bayonet', component: Bayonet, name: '卡口管理'},
  373 + // {path: '/warehouse', component: Warehouse, name: '仓库管理'},
  374 + // ]
  375 + // },
  376 + //
  377 + // {
  378 + // path: '/empt',
  379 + // component: Home,
  380 + // name: '能源管理',
  381 + // iconCls: 'fa fa-id-card-o',
  382 + // children: [
  383 + // { path: '/location', component: Location, name: '能源缴费' },
  384 + //
  385 + // ]
  386 + // },
  387 + // {
  388 + // path: '/satff',
  389 + // component: Home,
  390 + // name: '生活保障部门',
  391 + // iconCls: 'fa fa-id-card-o',
  392 + // children: [
  393 + // { path: '/security_inspection', component: SecrityInspection, name: '职工公寓安全巡视管理' },
  394 + // { path: '/key', component: Key, name: '职工公寓备用钥匙使用登记管理' },
  395 + // { path: '/maintain', component: Maintain, name: '职工公寓设施设备维修记录管理' },
  396 + // { path: '/come_car', component: ComeCar, name: '职工公寓外来人员车辆登记管理' },
  397 + // { path: '/on_duty', component: OnDuty, name: '职工公寓值班巡视记录管理' },
  398 + // ]
  399 + // },
  400 + // {
  401 + // path: '/water_heating_chamber',
  402 + // component: Home,
  403 + // name: '水暖室',
  404 + // iconCls: 'fa fa-address-card',
  405 + // // leaf: true,//只有一个节点
  406 + // children: [
  407 + // { path: '/water_stations_patrol', component: WaterStationsPatrol, name: '二水厂-水站巡视记录单管理' },
  408 + // // { path: '/page6', component: Page6, name: '水质量检测' },
  409 + // // { path: '/page6', component: Page6, name: '污水站' },
  410 + // // { path: '/page6', component: Page6, name: '一水厂' },
  411 + // // { path: '/page6', component: Page6, name: '综合楼空调站' },
  412 + // ]
  413 + // },
  414 + // {
  415 + // path: '/',
  416 + // component: Home,
  417 + // name: 'Charts',
  418 + // iconCls: 'fa fa-bar-chart',
  419 + // children: [
  420 + // {path: '/echarts', component: echarts, name: 'echarts'}
  421 + // ]
  422 + // },
  423 + // {
  424 + // path: '*',
  425 + // hidden: true,
  426 + // redirect: {path: '/404'}
  427 + // }
402 ]; 428 ];
403 let initRouters = routes.concat(); 429 let initRouters = routes.concat();
404 let setUserMenus = function (list) { 430 let setUserMenus = function (list) {