修改菜单图标
Showing
1 changed file
with
2 additions
and
30 deletions
... | @@ -307,20 +307,13 @@ function leftMenuFormat (data) { | ... | @@ -307,20 +307,13 @@ function leftMenuFormat (data) { |
307 | */ | 307 | */ |
308 | function listByRoleIdSucceFunc(data, object, navigator, divId, nav, text) { | 308 | function listByRoleIdSucceFunc(data, object, navigator, divId, nav, text) { |
309 | //判断路由 2020年6月8日 18:31:37 vers | 309 | //判断路由 2020年6月8日 18:31:37 vers |
310 | /* if(navigator==='规划成果审查'){ | 310 | if(navigator==='规划成果审查'){ |
311 | var activeIconUrlList = [ | 311 | var activeIconUrlList = [ |
312 | 'image/index/menus/reviewmanage/icon_dbsx_select.svg', | 312 | 'image/index/menus/reviewmanage/icon_dbsx_select.svg', |
313 | 'image/index/menus/reviewmanage/icon_ybsx_select.svg', | 313 | 'image/index/menus/reviewmanage/icon_ybsx_select.svg', |
314 | 'image/index/menus/reviewmanage/icon_cgck_select.svg', | 314 | 'image/index/menus/reviewmanage/icon_cgck_select.svg', |
315 | 'image/index/menus/reviewmanage/icon_cgtj_select.svg', | 315 | 'image/index/menus/reviewmanage/icon_cgtj_select.svg', |
316 | ] | 316 | ] |
317 | }else if(navigator==='业务协同'){ | ||
318 | var activeIconUrlList = [ | ||
319 | 'image/index/menus/approvaltask/icon_dbsx_select.svg', | ||
320 | 'image/index/menus/approvaltask/icon_ybsx_select.svg', | ||
321 | 'image/index/menus/approvaltask/icon_xmcx_select.svg', | ||
322 | 'image/index/menus/approvaltask/icon_xmdt_select.svg', | ||
323 | ] | ||
324 | }else if(navigator==='实施监督预警'){ | 317 | }else if(navigator==='实施监督预警'){ |
325 | var activeIconUrlList = [ | 318 | var activeIconUrlList = [ |
326 | 'image/index/menus/monitorevaluate/icon_zbjc_select.svg', | 319 | 'image/index/menus/monitorevaluate/icon_zbjc_select.svg', |
... | @@ -330,27 +323,6 @@ function listByRoleIdSucceFunc(data, object, navigator, divId, nav, text) { | ... | @@ -330,27 +323,6 @@ function listByRoleIdSucceFunc(data, object, navigator, divId, nav, text) { |
330 | 'image/index/menus/monitorevaluate/icon_sspg_select.svg', | 323 | 'image/index/menus/monitorevaluate/icon_sspg_select.svg', |
331 | 'image/index/menus/monitorevaluate/icon_zxpg_select.svg', | 324 | 'image/index/menus/monitorevaluate/icon_zxpg_select.svg', |
332 | ] | 325 | ] |
333 | }else if(navigator==='指标管理'){ | ||
334 | |||
335 | var activeIconUrlList = [ | ||
336 | 'image/index/menus/normmodelmanage/icon_zbgl_select.svg', | ||
337 | 'image/index/menus/normmodelmanage/icon_zbtxgl_select.svg', | ||
338 | 'image/index/menus/normmodelmanage/icon_zbzgl_select.svg', | ||
339 | 'image/index/menus/normmodelmanage/icon_mxgl_select.svg', | ||
340 | 'image/index/menus/normmodelmanage/icon_sfgl_select.svg', | ||
341 | 'image/index/menus/normmodelmanage/icon_sjygl_select.svg', | ||
342 | 'image/index/menus/normmodelmanage/icon_yxjk_select.svg', | ||
343 | ] | ||
344 | }else if(navigator==='案件查处'){ | ||
345 | var activeIconUrlList = [ | ||
346 | 'image/index/menus/normmodelmanage/icon_zbgl_select.svg', | ||
347 | 'image/index/menus/normmodelmanage/icon_zbtxgl_select.svg', | ||
348 | 'image/index/menus/normmodelmanage/icon_zbzgl_select.svg', | ||
349 | 'image/index/menus/normmodelmanage/icon_mxgl_select.svg', | ||
350 | 'image/index/menus/normmodelmanage/icon_sfgl_select.svg', | ||
351 | 'image/index/menus/normmodelmanage/icon_sjygl_select.svg', | ||
352 | 'image/index/menus/normmodelmanage/icon_yxjk_select.svg', | ||
353 | ] | ||
354 | }else if(navigator==='批后监管'){ | 326 | }else if(navigator==='批后监管'){ |
355 | var activeIconUrlList = [ | 327 | var activeIconUrlList = [ |
356 | 'image/index/menus/normmodelmanage/icon_zbgl_select.svg', | 328 | 'image/index/menus/normmodelmanage/icon_zbgl_select.svg', |
... | @@ -368,7 +340,7 @@ function listByRoleIdSucceFunc(data, object, navigator, divId, nav, text) { | ... | @@ -368,7 +340,7 @@ function listByRoleIdSucceFunc(data, object, navigator, divId, nav, text) { |
368 | data[i].iconActive = activeIconUrlList[j] | 340 | data[i].iconActive = activeIconUrlList[j] |
369 | } | 341 | } |
370 | } | 342 | } |
371 | }*/ | 343 | } |
372 | 344 | ||
373 | // 扁平数组数据转树形数据 | 345 | // 扁平数组数据转树形数据 |
374 | data = leftMenuFormat(data); | 346 | data = leftMenuFormat(data); | ... | ... |
-
Please register or sign in to post a comment