systemConf.js 2.4 KB

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