getters.js 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. const getters = {
  2. topNavActive: (state) => state.home.topNavActive,
  3. mapPopupConfig: (state) => state.home.mapPopupConfig,
  4. switchConfigShow: (state) => state.globalConfig.switchConfigShow,
  5. switchConfig: (state) => state.globalConfig.switchConfig,
  6. alarmDataObj: (state) => state.globalConfig.alarmDataObj,
  7. drawRiskTime: (state) => state.globalConfig.drawRiskTime,
  8. whpID: (state) => state.home.whpID,
  9. yuanID: (state) => state.home.yuanID,
  10. alarmDataCount: (state) => state.globalConfig.alarmDataCount,
  11. alarmAudio: (state) => state.globalConfig.alarmAudio,//全局报警声音
  12. oneKey110: (state) => state.globalConfig.oneKey110,//一键110
  13. soundDialog: (state) => state.globalConfig.soundDialog,//防爆扩音
  14. soundElementDialog: (state) => state.globalConfig.soundElementDialog,//防爆扩音图层元素弹窗
  15. accessControlDialog: (state) => state.globalConfig.accessControlDialog,//门禁控制
  16. jgytControlDialog: (state) => state.globalConfig.jgytControlDialog,//激光云台
  17. personListDialog: (state) => state.globalConfig.personListDialog,//站内人员统计
  18. rtTag: (state) => state.globalConfig.RTTag,
  19. rtData: (state) => state.globalConfig.RTData,
  20. netWorkList: (state) => state.globalConfig.netWorkList,
  21. netWorkTree: (state) => state.globalConfig.netWorkTree,
  22. serverTime: (state) => state.globalConfig.serverTime,
  23. mapMode: (state) => state.globalConfig.mapMode, //地图模式
  24. openLayer: (state) => state.globalConfig.openLayer,
  25. stationMapLayer: (state) => state.globalConfig.stationMapLayer,
  26. // 弹窗相关
  27. visibleDialogs: (state) => state.dialog.visibleDialogs,
  28. videoDialogIds: (state) => state.dialog.videoDialogIds,
  29. blankDialogs: (state) => state.dialog.blankDialogs,
  30. riskDialogs: (state) => state.dialog.riskDialogs,
  31. oneKeyAlarmDialogs: (state) => state.dialog.oneKeyAlarmDialogs,
  32. alarmDetailDialog: (state) => state.dialog.alarmDetailDialog,
  33. layerDetailDialog: (state) => state.dialog.layerDetailDialog,
  34. pipeMileageDialog: (state) => state.dialog.pipeMileageDialog,//管网高程图
  35. //模型部分
  36. departmentId: (state) => state.model.departmentId,
  37. buildId: (state) => state.model.buildId,
  38. buildInfo: (state) => state.model.buildInfo,
  39. modelList: (state) => state.model.modelList,
  40. clickStation: (state) => state.model.clickStation,
  41. underGround: (state) => state.model.underGround,
  42. // 标签页
  43. tabPageData: (state) => state.home.tabPageData,
  44. //轨迹播放参数
  45. playTimeRange: (state) => state.historyTrack.playTimeRange,
  46. playSliderValue: (state) => state.historyTrack.playSliderValue,
  47. playMulriple: (state) => state.historyTrack.playMulriple,
  48. playMode: (state) => state.historyTrack.playMode,
  49. playerShow: (state) => state.historyTrack.playerShow,
  50. gatherAlarmData: (state) => state.historyTrack.gatherAlarmData,
  51. //最终位置
  52. lpplayTimeRange: (state) => state.lastPosition.playTimeRange,
  53. lpplaySliderValue: (state) => state.lastPosition.playSliderValue,
  54. lpplayMulriple: (state) => state.lastPosition.playMulriple,
  55. lpplayMode: (state) => state.lastPosition.playMode,
  56. lpplayerShow: (state) => state.lastPosition.playerShow,
  57. lpgatherAlarmData: (state) => state.lastPosition.gatherAlarmData,
  58. };
  59. export default getters;