systemConf.js 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. var __systemConf = {
  2. //路由根路径
  3. baseRouteUrl: 'adm-frontend',
  4. //基础数据根域名
  5. baseServiceUrl: '/baseService',
  6. //系统图服务域名
  7. sysGraphServiceUrl: '/sysGraphService',
  8. // 地图key
  9. mapKey: 'd42beb96e0e4fb0d49482975abeae1b7',
  10. //系统图的默认配置
  11. systemGraph: {
  12. //配电类
  13. peiDian: {
  14. text: {
  15. size: 16,
  16. color: '#646C73',
  17. weight: 600,
  18. backGround: '#FFFFFF'
  19. }
  20. }
  21. },
  22. //导航菜单
  23. menus: [{
  24. "id": "ready",
  25. "name": "信息录入工具",
  26. "orders": 1,
  27. child: [{
  28. "id": "build_floor",
  29. "name": "建筑楼层管理",
  30. "orders": 2,
  31. "url": "/ready/buildfloor",
  32. "type": "menu",
  33. "icon": "icon-jianzhu"
  34. },{
  35. "id": "equipment",
  36. "name": "设备台账",
  37. "orders": 3,
  38. "url": "/ledger/facility"
  39. },
  40. {
  41. "id": "system",
  42. "name": "系统台账",
  43. "orders": 4,
  44. "url": "/ledger/list"
  45. },{
  46. "id": "overview",
  47. "name": "全部关系总览",
  48. "orders": 5,
  49. "url": "/relation/overview",
  50. "icon": "icon-jiqixuexi-"
  51. }
  52. ,{
  53. "id": "projectmanage",
  54. "name": "项目信息管理",
  55. "orders": 6,
  56. "url": "/project/manage",
  57. "icon": "icon-jiqixuexi-"
  58. }
  59. ]
  60. }, {
  61. "id": "xianchangjiaofugongjv",
  62. "name": "现场交付工具",
  63. "orders": 6,
  64. child: [{
  65. "id": "CADtuzhiguanli",
  66. "name": "CAD核查图纸管理",
  67. "orders": 7,
  68. "url": "/deliveryTools/cadDrawingManage",
  69. "icon": "icon-topology"
  70. }]
  71. }, {
  72. "id": "draw",
  73. "name": "绘图工具",
  74. "orders": 8,
  75. child: [{
  76. "id": "xitongtubianji",
  77. "name": "系统图编辑工具",
  78. "orders": 9,
  79. "url": "/systemGraph",
  80. "icon": "icon-topology"
  81. }]
  82. }]
  83. };
  84. if (typeof window != 'undefined') {
  85. window.__systemConf = __systemConf;
  86. }
  87. if (typeof module != 'undefined') {
  88. module.exports = __systemConf;
  89. }
  90. // if (typeof export != 'undefined') {
  91. // module.exports = __systemConf;
  92. // }