state.js 637 B

1234567891011121314151617181920212223242526272829
  1. /*状态对象模块*/
  2. export default {
  3. // 用户信息
  4. user: {},
  5. // 被拖到大屏中的信号源列表
  6. signalPreList: [],
  7. // 分屏状态(默认0: 自由屏,1: 4分屏 2:9分屏 3: 16分屏)
  8. splitScreenStatus: 0,
  9. // 信号源列表
  10. signalListJson:[],
  11. // 元素缩放比例
  12. bigScale:1,
  13. // 获取信号源拖到第几个栅格中
  14. positionNum:1,
  15. // 静态资源路径
  16. staticUrl:global.__static.substring(global.__static.length - 6, global.__static.length),
  17. // 存储多个大屏信号源信息的对象
  18. bigScreenObj:{},
  19. // 监控当前正在操作的大屏Id
  20. curOpeBigscreenId:'',
  21. }