校园-江西科技师范大学-前端
shuishen
2023-12-14 e733164e1c779b3aef7245936b9daf7875bf791e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/* eslint-disable space-before-function-paren */
/* eslint-disable comma-dangle */
/* eslint-disable quotes */
/* eslint-disable semi */
// 手机端
const mobile = {
  // mviewer: (state) => state.mobile.mviewer,
  pinchFlag: (state) => state.mobile.pinchFlag,
  zoomRange: (state) => state.mobile.zoomRange,
  mBigPopup: (state) => state.mobile.mBigPopup,
  popupOurOpenData: (state) => state.mobile.popupOurOpenData,
  popupTableName: (state) => state.mobile.popupTableName,
  mBigPopupAfter: (state) => state.mobile.mBigPopupAfter,
  iconHide: (state) => state.mobile.iconHide,
  MobileWindowsHide: (state) => state.mobile.MobileWindowsHide, // 随地图移动窗口
  MobileWindowChangeData: (state) => state.mobile.MobileWindowChangeData, // 随地图移动窗口
  // popupsDom: (state) => state.mobile.popupsDom,
  query: (state) => state.mobile.query,
  openmobileGoTo: (state) => state.mobile.openmobileGoTo, // 测试
  ccDataState: (state) => state.mobile.ccDataState, // 测试
  openmobilePanorama: (state) => state.mobile.openmobilePanorama,
  MobileWindowsHideFixed: (state) => state.mobile.MobileWindowsHideFixed, // 固定窗口
  MobileWindowChangeDataFixed: (state) =>
    state.mobile.MobileWindowChangeDataFixed, // 固定窗口
  startPointFn: (state) => state.mobile.startPointFn, // 默认起始点位置
  dimension: (state) => state.mobile.dimension, // 维度
  dimensionData: (state) => state.mobile.dimensionData, // 维度镜头数据
  perspectiveControl: (state) => state.mobile.perspectiveControl, /// 视角控制:高度、角度  ()=>{}
  audioState: (state) => state.mobile.audioState, // 文字转语音状态
  // areaLayer: (state) => state.mobile.areaLayer, //
  // areaLayerSelect: (state) => state.mobile.select, //
 
  isOpenDrawALine: (state) => state.mobile.isOpenDrawALine, // 是否开启路线
  isendPosition: (state) => state.mobile.isendPosition, // 路线导航终点数据改变
  endPosition: (state) => state.mobile.endPosition, // 路线导航终点数据
  routerS: (state) => state.mobile.routerS, // 所有路径
  choiceRouterS: (state) => state.mobile.choiceRouterS, // 当前选择路径
 
  showActivity: (state) => state.mobile.showActivity, // 显影活动弹窗
  showActivityData: (state) => state.mobile.showActivityData, // 活动弹窗数据
  isOpenDrawALineMany: (state) => state.mobile.isOpenDrawALineMany, // 显影活动弹窗
  seeRight: (state) => state.mobile.seeRight, // 右侧控制栏显影
 
  urlParameterData: (state) => state.mobile.urlParameterData, // url参数
};
 
const navigation = {
  campusNavFlag: (state) => state.navigation.campusNavFlag,
  comeName: (state) => state.navigation.comeName,
  getToName: (state) => state.navigation.getToName,
};
 
const search = {
  orgNavBarFlag: (state) => state.search.orgNavBarFlag,
  orgNavBarTitle: (state) => state.search.orgNavBarTitle,
  orgNavBarList: (state) => state.search.orgNavBarList,
  arcNavBarFlag: (state) => state.search.arcNavBarFlag,
  arcNavBarTitle: (state) => state.search.arcNavBarTitle,
  arcNavBarCode: (state) => state.search.arcNavBarCode,
  searchPopupFlag: (state) => state.search.searchPopupFlag,
  searchPopupList: (state) => state.search.searchPopupList,
};
 
const openlayer = {
  openlayerMapscene: (state) => state.openlayerData.mapscene,
  openlayerOpenlayers: (state) => state.openlayerData.openlayers,
  openlayerLayeredImage: (state) => state.openlayerData.layeredImage,
};
 
const getters = {
  ...mobile,
  ...navigation,
  ...search,
  ...openlayer,
  viewerExist: (state) => state.viewer.viewerExist,
  calenderShow: (state) => state.viewer.calenderShow,
  twoOrThree: (state) => state.viewer.twoOrThree,
  popupBgUrl: (state) => state.popupParams.popupBgUrl,
  pupupQRUrl: (state) => state.popupParams.pupupQRUrl,
  pointPosition: (state) => state.popupParams.pointPosition,
  terminus: (state) => state.popupParams.terminus,
  startingPoint: (state) => state.popupParams.startingPoint,
  stateName: (state) => state.popupParams.stateName,
  siteName: (state) => state.popupParams.siteName,
  telephone: (state) => state.popupParams.telephone,
  introduceText: (state) => state.popupParams.introduceText,
  panoramaUrl: (state) => state.popupParams.panoramaUrl,
  panoramaPopup: (state) => state.popupParams.panoramaPopup,
  monitorUrl: (state) => state.popupParams.monitorUrl,
  monitorPopup: (state) => state.popupParams.monitorPopup,
  detailsPopup: (state) => state.popupParams.detailsPopup,
  popupImgAtlas: (state) => state.popupParams.popupImgAtlas,
  teachList: (state) => state.popupParams.teachList,
  liveList: (state) => state.popupParams.liveList,
  addTagPopup: (state) => state.popupParams.addTagPopup,
  addTagPosition: (state) => state.popupParams.addTagPosition,
 
  addSignList: (state) => state.popupParams.addSignList,
 
  nowlabelLayerData: (state) => state.popupParams.nowlabelLayerData, // 自定义标签数据
  labelLayerDataShow: (state) => state.popupParams.labelLayerDataShow, // 自定义标签弹窗显示
  closeMapClick: (state) => state.popupParams.closeMapClick, // 关闭地图点击,防止新增标签误触
 
  addIconsLayerIconPopup: (state) => state.popupParams.addIconsLayerIconPopup, // 自定义标签编辑窗口
  addIconsLayerIconPosition: (state) =>
    state.popupParams.addIconsLayerIconPosition, // 自定义标签编辑窗口
  currentCampus: (state) => state.mobilePosition.currentCampus,
};
export default getters;