| | |
| | | import { set } from 'lodash' |
| | | import { EDeviceTypeName } from '@/utils/staticData/enums' |
| | | import { getStore, setStore } from '@/utils/store' |
| | | |
| | | const home = { |
| | | state: { |
| | | machineNestDetail: false, // 机巢详情 |
| | | machineNestDetail: false, // 机巢长列表 |
| | | isEventOverviewDetail: false,//是事件概述详情 |
| | | // 用户行政区划中心点 |
| | | userAreaPosition: getStore({ name: 'userAreaPosition' }) || {}, |
| | | // 用户切换后行政区划中心点 |
| | | currentAreaPosition:getStore({ name: 'currentAreaPosition' }) || {}, |
| | | singleUavHome: {}, |
| | | footActiveIndex: 0, |
| | | isEventOverviewDetail: false,//是事件概述详情 |
| | | singleTotal: {}, // 统计单个机巢数据 |
| | | // 项目id |
| | | selectedWorkSpaceId: window.localStorage.getItem('bs_workspace_id'), |