systemConf.js 910 B

12345678910111213141516171819202122232425262728293031
  1. /**
  2. * @author yunxing
  3. * @description 项目配置文件
  4. * //editerUrl 万达编辑器地址
  5. * example:
  6. * 跳转示例
  7. /*
  8. let { conf } = window.__systemConf,
  9. { editerUrl } = conf
  10. editerUrl += 'editer?' //编辑器
  11. // editerUrl += 'drafts?' //草稿箱
  12. let categoryId = 'NTXT' //
  13. let ProjectID = '5' // 项目ID
  14. let BuildingID = '' // 建筑ID
  15. let FloorID = '' // 楼层id
  16. let params = `categoryId=${categoryId}&ProjectID=${ProjectID}&BuildingID=${BuildingID}&FloorID=${FloorID}`
  17. let url = editerUrl + encodeURIComponent(params)
  18. window.open(url)
  19. */
  20. var __systemConf = {
  21. // 系统编码
  22. systemCode: 'wandaBmGuide',
  23. conf: {
  24. // 阿里云
  25. editerUrl: 'http://glsms.wanda.cn/wandaEditer/', // 编辑器地址
  26. wandaBmGuideUrl: 'http://glsms.wanda.cn/wandaBmGuide/', //管理书地址
  27. },
  28. }
  29. window.__systemConf = __systemConf