systemConf.js 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. line:{
  30. width: 2,
  31. color: '#0091ff'
  32. }
  33. }
  34. },
  35. //导航菜单
  36. menus: [{
  37. "id": "ready",
  38. "name": "信息录入工具",
  39. "orders": 1,
  40. children: [{
  41. "id": "build_floor",
  42. "name": "建筑楼层管理",
  43. "orders": 2,
  44. "path": "/ready/buildfloor",
  45. "type": "menu",
  46. "icon": "icon-jianzhu"
  47. },{
  48. "id": "equipment",
  49. "name": "设备台账",
  50. "orders": 3,
  51. "path": "/ledger/facility"
  52. },
  53. {
  54. "id": "system",
  55. "name": "系统台账",
  56. "orders": 4,
  57. "path": "/ledger/list"
  58. },{
  59. "id": "overview",
  60. "name": "全部关系总览",
  61. "orders": 5,
  62. "path": "/relation/overview",
  63. "icon": "icon-jiqixuexi-"
  64. }
  65. ,{
  66. "id": "projectmanage",
  67. "name": "项目信息管理",
  68. "orders": 6,
  69. "path": "/project/manage",
  70. "icon": "icon-jiqixuexi-"
  71. }
  72. ]
  73. }, {
  74. "id": "xianchangjiaofugongjv",
  75. "name": "现场交付工具",
  76. "orders": 6,
  77. children: [{
  78. "id": "CADtuzhiguanli",
  79. "name": "CAD核查图纸管理",
  80. "orders": 7,
  81. "path": "/deliveryTools/cadDrawingManage",
  82. "icon": "icon-topology"
  83. }]
  84. }, {
  85. "id": "draw",
  86. "name": "绘图工具",
  87. "orders": 8,
  88. children: [{
  89. "id": "xitongtubianji",
  90. "name": "系统图编辑工具",
  91. "orders": 9,
  92. "path": "/systemGraph",
  93. "icon": "icon-topology"
  94. }]
  95. }]
  96. };
  97. if (typeof window != 'undefined') {
  98. window.__systemConf = __systemConf;
  99. }
  100. if (typeof module != 'undefined') {
  101. module.exports = __systemConf;
  102. }