chunk-095f9bd6.e40df808.js.map 74 KB

1
  1. {"version":3,"sources":["webpack:///./src/config/index.ts","webpack:///./src/views/choiceSpace/choiceSpace.vue?1346","webpack:///./src/views/choiceSpace/choiceSpace.vue?6f53","webpack:///./src/apis/envmonitor.ts","webpack:///./src/views/choiceSpace/choiceSpace.vue?f0ac","webpack:///./src/views/choiceSpace/choiceSpace.vue?e937","webpack:///./node_modules/vant/es/sidebar/Sidebar.js","webpack:///./node_modules/vant/es/sidebar/index.js","webpack:///./node_modules/vant/es/sidebar-item/SidebarItem.js","webpack:///./node_modules/vant/es/sidebar-item/index.js","webpack:///./node_modules/vant/es/tree-select/TreeSelect.js","webpack:///./node_modules/vant/es/tree-select/index.js","webpack:///./node_modules/vant/es/checkbox-group/CheckboxGroup.js","webpack:///./node_modules/vant/es/checkbox/Checker.js","webpack:///./node_modules/vant/es/checkbox/Checkbox.js","webpack:///./node_modules/vant/es/checkbox/index.js","webpack:///./src/views/choiceSpace/choiceSpace.vue?1f83","webpack:///./src/views/choiceSpace/choiceSpace.vue"],"names":["setupService","objectService","duoduoenvService","weachatService","customService","module","exports","getCompanyInfo","companyInfo","request","companyId","GET","undefined","json","getWeather","params","getSpaceInfo","data","POST","getMeetingSceneHttp","spaceId","getEquipmentListHttp","getFeedbackDocumentsHttp","changeTempHttp","getLampHttp","timeout","setallLampHttp","setEquipeHttp","getStatusHttp","getObjectDataEqpGroupHttp","switchoverSceneHttp","changeSetTimeHttp","getChartListHTTP","getBuildingList","getFloorList","getMapInfo","getSpaceEquipType","getSpaceLike","permanentSpace","getPermanentSpace","delPermanentSpace","getUserControlAuth","getSpaceMode","getSpaceTemp","querySpaceSceneConfig","queryCustomAndScence","saveBatchCustomScene","getDefaultLocation","getPadSpaceList","saveWorkSpace","insertWorkSpace","deleteWorkSpace","queryWorkSpace","checkWorkSpace","queryCustomerservice","getPadQrCodeStatus","getPadImg","querySpaceConditioners","setSpaceCondtioners","saveMapPointInfo","getSpaceEquipList","n","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","key","height","width","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","render","_ctx","_cache","$props","$setup","$data","$options","_component_van_icon","_component_van_search","_component_van_checkbox","_component_van_tree_select","_component_van_popup","onClick","showPounp","checkPositon","buildingName","floorName","name","showSpaceTypePounp","spaceType","modelValue","searchSpaceName","$event","searchSpace","placeholder","src","parseImgUrl","alt","showSpace","spaceData","item","index","id","spaceName","checked","updateWorkSpace","shape","length","goNext","show","position","default","onClickNav","checkBuilding","onClickItem","checkFloor","floorId","activeIndex","items","positionArr","_","showSpaceType","spaceTypeArr","checkSpaceType","type","create","SIDEBAR_KEY","Symbol","sidebarProps","stdin_default","props","emits","emit","slots","linkChildren","getActive","setActive","value","_a","call","Sidebar","sidebarItemProps","dot","Boolean","title","String","badge","disabled","badgeProps","Object","route","parent","selected","select","SidebarItem","treeSelectProps","max","Infinity","selectedIcon","mainActiveIndex","activeId","Number","Array","isActiveItem","isArray","includes","renderSubItem","slice","indexOf","splice","push","active","text","onSidebarChange","onClickSidebarItem","renderSidebar","Items","map","className","renderContent","content","children","TreeSelect","checkboxGroupProps","iconSize","direction","checkedColor","CHECKBOX_GROUP_KEY","updateValue","toggleAll","options","skipDisabled","checkedChildren","filter","bindGroup","names","checkerProps","labelPosition","labelDisabled","bem","Function","role","iconRef","getParentProp","iconStyle","borderColor","backgroundColor","event","target","icon","iconClicked","contains","renderIcon","fontSize","renderLabel","nodes","checkboxProps","setParentValue","checked2","name2","overlimit","toggle","newValue","Checkbox","components","vanSearch","VanPopup","VanTreeSelect","VanCheckbox","setup","proxyGlobal","router","userInfo","option1","option2","defaultSpaceData","buildingData","buildingItem","floorData","copySpaceData","proxyData","value1","value2","transitionName","showHeader","criteria","projectId","then","res","resData","result","setBbuildingName","buildingId","localName","formateBuildingData","i","obj","orders","asc","column","catch","macAddress","mac","paramsStr","setCheckPersiton","formataWorkData","paramsArr","proxy","$loadingStart","querySpaceList","isMajorSpace","setTimeout","$loadinngEnd","query","setPageScroolTop","clearSearchName","spaceContetEl","document","querySelector","scrollTop","nowPerstionIndex","str","isWorkSpace","JSON","parse","stringify","idIndex","spaceEl","top","offsetTop","funcType","init","store","commit","SET_PROJECT_ID","__exports__"],"mappings":"kKAAA,0KAQO,IAAMA,EAAe,iCACfC,EAAgB,kCAChBC,EAAmB,qCACnBC,EAAiB,mBACjBC,EAAgB,mC,uBCX7BC,EAAOC,QAAU,CAAC,OAAS,OAAO,SAAW,UAAU,eAAiB,Y,oCCDxE,W,4gDCWaC,EAAiB,SAACC,GAC7B,OAAO,iBAAQC,QAAR,8BAAiED,EAAYE,WAAa,OAAOC,SAAKC,EAAW,OAAYC,OAEzHC,EAAa,SAACC,GACzB,OAAO,iBAAQN,QAAR,UAAqD,OAArD,8BAAwFM,GAAU,OAAOJ,SAAKC,EAAW,OAAYC,OAEjIG,EAAe,SAACC,GAC3B,OAAO,iBAAQR,QAAR,UAAkD,OAAlD,kBAAoF,OAAOS,KAAMD,EAAM,OAAYJ,OAI/GM,EAAsB,SAACJ,GAClC,OAAO,iBAAQN,QAAR,UAAwB,OAAxB,yDAAyFM,EAAOK,SAAW,OAAOT,SAAKC,EAAW,OAAYC,OAG1IQ,EAAuB,SAACN,GACnC,OAAO,iBAAQN,QAAR,UAAwB,OAAxB,iDAAiFM,EAAOK,SAAW,OAAOF,UAAMN,EAAW,OAAYC,OAOnIS,EAA2B,SAACL,GACvC,OAAO,iBAAQR,QAAR,UAAwB,OAAxB,6BAAqE,OAAOS,KAAMD,EAAM,OAAYJ,OAIhGU,EAAiB,SAACR,GAC7B,OAAO,iBAAQN,QAAR,UAAoC,OAApC,4BAAgF,OAAOS,KAAMH,EAAQ,OAAYF,OAG7GW,EAAc,SAACT,GAC1B,OAAO,eAAM,CAAEU,QAAS,MAAQhB,QAAzB,UAAqD,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BQ,GACtDV,EAAqBC,SAASC,cAAc,iBAE5CU,EAAWD,EAAUA,EAAQE,UAAY,EACzCD,EAAM,IACRA,GAAY,IAEZA,EAAM,EAGNZ,EAAcG,UADZH,EACwBY,EAEA,GAG9BnM,YAlVyB,WAmVvB,IAAIoL,EAAa,CACf7J,QAAS4H,EAAU5J,aAAagC,QAChCwI,WAAYZ,EAAU5J,aAAawK,WACnCsC,SAAUlD,EAAUvJ,UAAUmC,KAC9BrB,UAAWyI,EAAUrJ,gBACrB0K,WAAYrB,EAAUR,SAAS8B,KAEjCtB,EAAU9M,gBAAgB+O,IAE5B3Q,QAAS,GACT6R,KA7VyB,WA8VvB,IAAI7R,EAAegJ,EAAM2H,MAAM3Q,QAC/B0O,EAAU1O,QAAUA,EACpB,IAAIgP,EAAiBhG,EAAM2H,MAAM3K,GAGjC,GAFA8L,GAAA,KAAMC,OAAO,QAAkBC,eAAgBhD,GAC/CN,EAAU/M,qBACN3B,EAAS,CACX,IAAI8F,EAAY,CACd9F,QAASA,GAEX0O,EAAU5M,gBAAgBgE,EAAM,OAOtC,OAHA,wBAAU,WACR4I,EAAUmD,UAEZ,kBACK,oBAAOnD,O,8CCjchB,MAAMuD,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAASjO,GAAQ,CAAC,YAAY,qBAE1E,iB","file":"static/js/chunk-095f9bd6.e40df808.js","sourcesContent":["// // 默认配置\n// import { netConfig, settingConfig, themeConfig } from './default'\n// // 自定义配置\n// import customConfig from './customConfig'\n//\n// // 导出配置(自定义配置优先级高)\n// export default Object.assign({}, netConfig, settingConfig, themeConfig, customConfig)\n\nexport const setupService = '/duoduo-service/setup-service/'\nexport const objectService = '/duoduo-service/object-service/'\nexport const duoduoenvService = '/duoduo-service/duoduoenv-service/'\nexport const weachatService = '/duoduo-service/'\nexport const customService = '/duoduo-service/custom-service/'\nexport const ssoService = '/sso/'\nexport const testApi = '/test/'\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuBg\":\"#fff\",\"menuText\":\"#162b64\",\"menuActiveText\":\"#435ebe\"};","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./choiceSpace.vue?vue&type=style&index=0&id=16b8781e&lang=scss&scoped=true\"","import { RootObject, RootWeatherObject } from '@/model/rootObject'\nimport { CompanyModel, OutherWeather, SpaceModel } from '@/model/userModel'\nimport { https, post } from '@/utils/https'\nimport { ContentType, Method, RequestParams } from 'axios-mapper'\nimport { setQueryConfig } from '@/utils'\nimport { customService, duoduoenvService, objectService, setupService, testApi, weachatService } from '@/config'\n\n// const comInfo = getUserInfo()\n// const comParams: string = \"\"\n\n// https://sagacare-h5.tenants.link/api/company/config/245e7060643811eb934c0237aedb39a6\nexport const getCompanyInfo = (companyInfo: RequestParams) => {\n return https().request<RootObject<CompanyModel>>(`/api/company/config/${companyInfo.companyId}`, Method.GET, undefined, ContentType.json)\n}\nexport const getWeather = (params: string) => {\n return https().request<RootWeatherObject<OutherWeather>>(`${objectService}weather/getCurrent?${params}`, Method.GET, undefined, ContentType.json)\n}\nexport const getSpaceInfo = (data: any) => {\n return https().request<RootWeatherObject<SpaceModel>>(`${duoduoenvService}space/property`, Method.POST, data, ContentType.json)\n}\n\n// 获取会议室场景\nexport const getMeetingSceneHttp = (params: any) => {\n return https().request<any>(`${duoduoenvService}meeting/room/scene/getMeetingScene/V2?spaceId=${params.spaceId}`, Method.GET, undefined, ContentType.json)\n}\n// 获取设备信息\nexport const getEquipmentListHttp = (params: any) => {\n return https().request<any>(`${duoduoenvService}object/equipment/findForServe?spaceId=${params.spaceId}`, Method.POST, undefined, ContentType.json)\n}\n// 查询定制时间\nexport const getSetTimeHttp = (params: any) => {\n return https().request<any>(`${duoduoenvService}customScene/queryCustom?spaceId=${params.spaceId}`, Method.GET, undefined, ContentType.json)\n}\n// 空调 - 调节文案/空调信息\nexport const getFeedbackDocumentsHttp = (data: any) => {\n return https().request<any>(`${duoduoenvService}custom/feedback/documents`, Method.POST, data, ContentType.json)\n}\n\n// 空调调节\nexport const changeTempHttp = (params: any) => {\n return https().request<RootObject<any>>(`${duoduoenvService}custom/feedbackCreate/v2`, Method.POST, params, ContentType.json)\n}\n// 查询灯的状态(优先查采集的状态)\nexport const getLampHttp = (params: any) => {\n return https({ timeout: 1000 }).request<RootObject<any>>(`${duoduoenvService}light/status/query?spaceId=${params.spaceId}`, Method.GET, undefined, ContentType.json)\n}\n\n// 批量操作 灯\nexport const setallLampHttp = (data: any) => {\n return post(`${duoduoenvService}light/onoff/set`, data)\n}\n// 设置窗帘 \nexport const setEquipeHttp = (data: any) => {\n return post(`${duoduoenvService}object/eqp/infocode/set`, data)\n}\n\n// 指令失败的时候轮询查询灯的状态\nexport const getStatusHttp = (data: any) => {\n return post(`${duoduoenvService}light/onoff/setSatus`, data)\n}\n\n// 获取窗帘数据列表\nexport const getObjectDataEqpGroupHttp = (params: any) => {\n return https().request<RootObject<any>>(`${duoduoenvService}object/objectDataEqpGroup/query`, Method.POST, params, ContentType.json)\n}\n\n// 切换场景\nexport const switchoverSceneHttp = (params: any) => {\n return https().request<RootObject<any>>(`${duoduoenvService}meeting/room/scene/switchover`, Method.POST, params, ContentType.json)\n}\n\nexport const changeSetTimeHttp = (params: any) => {\n return https().request<RootObject<any>>(`${duoduoenvService}customScene/create`, Method.POST, params, ContentType.json)\n}\n// 详情页面的图表数据\nexport const getChartListHTTP = (params: any) => {\n return https().request<RootObject<any>>(`${duoduoenvService}/spaceAdjust/queryPropertyData?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n// 查询建筑的信息\nexport const getBuildingList = (params: any) => {\n return https().request<any>(`${objectService}object/building/query`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 查询楼层信息\n * @param params\n */\nexport const getFloorList = (params: any) => {\n return https().request<any>(`${objectService}object/floor/query`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 获取地图数据\n * @param params\n */\nexport const getMapInfo = (params: any) => {\n return https().request<any>(`${setupService}map/queryMapInfo`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 获取空间设备\n * @param params\n */\nexport const getSpaceEquipType = (params: any) => {\n return https().request<any>(`${objectService}object/equipment/querySpaceEquipType?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 模糊查询空间列表数据\n * @param params\n */\nexport const getSpaceLike = (params: any) => {\n return https().request<any>(`${objectService}object/space/query`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 增加常驻空间\n */\nexport const permanentSpace = (params: any) => {\n // return https().request<any>(`${setupService}permanentSpace/save`, Method.POST, params, ContentType.json)\n // return https().request<any>(`${testApi}permanentSpace/save`, Method.POST, params, ContentType.json)\n return https().request<any>(`${setupService}permanentSpace/save`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 获取常驻空间\n */\nexport const getPermanentSpace = () => {\n return https().request<any>(`${setupService}permanentSpace/query`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 删除常驻空间\n */\nexport const delPermanentSpace = (params: any) => {\n return https().request<any>(`${setupService}permanentSpace/delete?${params}`)\n}\n\n/**\n * 获取用户使用权限\n */\nexport const getUserControlAuth = () => {\n return https().request<any>(`${setupService}permanentSpace/queryZJ`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 获取空间运行模式\n */\nexport const getSpaceMode = () => {\n return https().request<any>(`${objectService}object/equipment/querySpaceModeSet`, Method.GET, undefined, ContentType.json)\n}\n/**\n * 获取空调设备温度\n */\nexport const getSpaceTemp = () => {\n return https().request<any>(`${objectService}object/equipment/querySpaceTempSet`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * \n * @param params 查询场景配置\n * @returns \n */\nexport const querySpaceSceneConfig = (params: any) => {\n return https().request<any>(`${setupService}scene/querySpaceSceneConfig?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 查询加班记录\n */\nexport const queryCustomAndScence = (params: any) => {\n // return https().request<any>(`${testApi}customScene/queryCustomAndScence?${params}`, Method.GET, undefined, ContentType.json)\n return https().request<any>(`${duoduoenvService}customScene/queryCustomAndScence?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 添加(取消)加班记录\n * @param params\n */\nexport const saveBatchCustomScene = (data: any) => {\n // return post(`${testApi}customScene/saveBatchCustomScene`, data)\n return post(`${duoduoenvService}customScene/saveBatchCustomScene`, data)\n}\n\n\n/**\n * 查询默认位置\n */\nexport const getDefaultLocation = (params: any) => {\n return https().request<any>(`${setupService}padSpace/getDefaultLocation?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 查询空间列表\n */\nexport const getPadSpaceList = (params: any) => {\n return https().request<any>(`${setupService}padSpace/getPadSpaceList?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 设置成办公空间-(\"批量保存\")\n */\nexport const saveWorkSpace = (params: any) => {\n return https().request<any>(`${setupService}padSpace/saveWorkSpace`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 设置工作空间\n * @param params \n */\nexport const insertWorkSpace = (params: any) => {\n return https().request<any>(`${setupService}padSpace/insertWorkSpace`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 删除工作空间\n * @param params \n */\nexport const deleteWorkSpace = (params: any) => {\n return https().request<any>(`${setupService}padSpace/deleteWorkSpace`, Method.POST, params, ContentType.json)\n}\n\n\n\n/**\n * 查询平板下面的办公空间\n */\nexport let queryWorkSpace = (params: any) => {\n return https().request<any>(`${setupService}padSpace/queryWorkSpace`, Method.POST, params, ContentType.json)\n}\n\n\n/**\n * 查询平板下面的办公空间\n */\nexport let checkWorkSpace = (params: any) => {\n return https().request<any>(`${setupService}padSpace/queryWorkSpace`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 查询客户列表\n */\nexport const queryCustomerservice = (params: any) => {\n return https().request<RootObject<any>>(`${weachatService}wechat-service-duoduoenv/duoduoenv/customerservice/query`, Method.POST, params, ContentType.json)\n}\n\n\n/**\n * 获取二维码状态\n */\nexport const getPadQrCodeStatus = (params: any) => {\n return https().request<any>(`${setupService}padLogin/getPadQrCodeStatus?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n\n/**\n * 获取背景图\n * @param params \n * @returns \n */\nexport const getPadImg = (params: any) => {\n // return https().request<any>(`${setupService}/padImage/queryImageByFuncType`,Method.GET, undefined, ContentType.json)\n return https().request<any>(`${setupService}padImage/queryImageByFuncType?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 设备手动控制\n */\nexport const querySpaceConditioners = (params: any) => {\n return https().request<any>(`${duoduoenvService}ctrl/querySpaceConditioners?${params}`, Method.GET, undefined, ContentType.json)\n // return https().request<any>(`${testApi}ctrl/querySpaceConditioners?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 设备手动控制\n */\nexport const setSpaceCondtioners = (data: any) => {\n return post(`${duoduoenvService}ctrl/set`, data)\n // return post(`${testApi}ctrl/set`, data)\n}\n\n// 地图数据保存\nexport const saveMapPointInfo = (data: any) => {\n // return post(`${duoduoenvService}map/saveMapPointInfo`, data)\n return https().request<any>(`${setupService}/map/saveMapPointInfo`, Method.POST, data, ContentType.json)\n}\n\n\n// 获取空间下的可控制的设备\nexport const getSpaceEquipList = (params: any) => {\n return https().request<any>(`${customService}equipmentRun/queryEquipmentRunConfig?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./choiceSpace.vue?vue&type=style&index=1&id=16b8781e&lang=scss\"","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-16b8781e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"choice-space\" }\nconst _hoisted_2 = { class: \"search\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"title\" }, \"位置:\", -1))\nconst _hoisted_4 = { class: \"title\" }\nconst _hoisted_5 = { class: \"search-space\" }\nconst _hoisted_6 = { class: \"com-select\" }\nconst _hoisted_7 = { class: \"search-icon\" }\nconst _hoisted_8 = [\"src\"]\nconst _hoisted_9 = { class: \"space-content\" }\nconst _hoisted_10 = [\"id\"]\nconst _hoisted_11 = { class: \"space-item\" }\nconst _hoisted_12 = { class: \"item-text\" }\nconst _hoisted_13 = {\n key: 1,\n class: \"no-data\",\n height: \"100%\",\n width: \"100%\"\n}\nconst _hoisted_14 = [\"src\"]\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"暂无数据\", -1))\nconst _hoisted_16 = {\n key: 0,\n class: \"next-btn-box\"\n}\nconst _hoisted_17 = { class: \"space-type\" }\nconst _hoisted_18 = [\"onClick\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_van_icon = _resolveComponent(\"van-icon\")!\n const _component_van_search = _resolveComponent(\"van-search\")!\n const _component_van_checkbox = _resolveComponent(\"van-checkbox\")!\n const _component_van_tree_select = _resolveComponent(\"van-tree-select\")!\n const _component_van_popup = _resolveComponent(\"van-popup\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n class: \"search-floor\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.showPounp && _ctx.showPounp(...args)))\n }, [\n _hoisted_3,\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(_ctx.checkPositon.buildingName) + _toDisplayString(_ctx.checkPositon.floorName), 1),\n _createVNode(_component_van_icon, {\n class: \"arrow-down\",\n name: \"arrow-down\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", {\n class: \"com-text\",\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.showSpaceTypePounp && _ctx.showSpaceTypePounp(...args)))\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.spaceType.name), 1),\n _createVNode(_component_van_icon, {\n class: \"arrow-down\",\n name: \"arrow-down\"\n })\n ])\n ]),\n _createVNode(_component_van_search, {\n class: \"search-box\",\n modelValue: _ctx.searchSpaceName,\n \"onUpdate:modelValue\": [\n _cache[2] || (_cache[2] = ($event: any) => ((_ctx.searchSpaceName) = $event)),\n _ctx.searchSpace\n ],\n placeholder: \"请输入搜索关键词\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('search-icon', 'search-icon.svg'),\n alt: \"\"\n }, null, 8, _hoisted_8)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n (_ctx.showSpace)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(_ctx.spaceData, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"space-box\",\n id: 'space' + index,\n key: 'space' + index\n }, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"span\", _hoisted_12, _toDisplayString(item.spaceName), 1),\n _createVNode(_component_van_checkbox, {\n class: \"item-check\",\n modelValue: item.checked,\n \"onUpdate:modelValue\": ($event: any) => ((item.checked) = $event),\n onClick: ($event: any) => (_ctx.updateWorkSpace(item)),\n shape: \"square\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"onClick\"])\n ])\n ], 8, _hoisted_10))\n }), 128))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('page-officehome', 'empty.png'),\n alt: \"\"\n }, null, 8, _hoisted_14),\n _hoisted_15\n ]))\n ]),\n (_ctx.spaceData && _ctx.spaceData.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n _createElementVNode(\"button\", {\n onClick: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.goNext && _ctx.goNext(...args)))\n }, \"下一步\")\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_van_popup, {\n show: _ctx.show,\n \"onUpdate:show\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.show) = $event)),\n position: \"bottom\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_van_tree_select, {\n onClickNav: _ctx.checkBuilding,\n onClickItem: _ctx.checkFloor,\n \"active-id\": _ctx.checkPositon.floorId,\n \"onUpdate:active-id\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.checkPositon.floorId) = $event)),\n \"main-active-index\": _ctx.activeIndex,\n \"onUpdate:main-active-index\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.activeIndex) = $event)),\n items: _ctx.positionArr\n }, null, 8, [\"onClickNav\", \"onClickItem\", \"active-id\", \"main-active-index\", \"items\"])\n ]),\n _: 1\n }, 8, [\"show\"]),\n _createVNode(_component_van_popup, {\n show: _ctx.showSpaceType,\n \"onUpdate:show\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.showSpaceType) = $event)),\n position: \"bottom\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_17, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.spaceTypeArr, (item, index) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n onClick: ($event: any) => (_ctx.checkSpaceType(item)),\n class: _normalizeClass(_ctx.spaceType.type === item.type ? 'active-type' : ''),\n key: 'space-type-id' + index\n }, _toDisplayString(item.name), 11, _hoisted_18))\n }), 128))\n ])\n ]),\n _: 1\n }, 8, [\"show\"])\n ]))\n}","import { createVNode as _createVNode } from \"vue\";\nimport { defineComponent } from \"vue\";\nimport { makeNumericProp, createNamespace } from \"../utils\";\nimport { useChildren } from \"@vant/use\";\nconst [name, bem] = createNamespace(\"sidebar\");\nconst SIDEBAR_KEY = Symbol(name);\nconst sidebarProps = {\n modelValue: makeNumericProp(0)\n};\nvar stdin_default = defineComponent({\n name,\n props: sidebarProps,\n emits: [\"change\", \"update:modelValue\"],\n setup(props, {\n emit,\n slots\n }) {\n const {\n linkChildren\n } = useChildren(SIDEBAR_KEY);\n const getActive = () => +props.modelValue;\n const setActive = (value) => {\n if (value !== getActive()) {\n emit(\"update:modelValue\", value);\n emit(\"change\", value);\n }\n };\n linkChildren({\n getActive,\n setActive\n });\n return () => {\n var _a;\n return _createVNode(\"div\", {\n \"role\": \"tablist\",\n \"class\": bem()\n }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);\n };\n }\n});\nexport {\n SIDEBAR_KEY,\n stdin_default as default\n};\n","import { withInstall } from \"../utils\";\nimport _Sidebar from \"./Sidebar\";\nconst Sidebar = withInstall(_Sidebar);\nvar stdin_default = Sidebar;\nexport {\n Sidebar,\n stdin_default as default\n};\n","import { createVNode as _createVNode, mergeProps as _mergeProps } from \"vue\";\nimport { defineComponent } from \"vue\";\nimport { extend, numericProp, createNamespace } from \"../utils\";\nimport { SIDEBAR_KEY } from \"../sidebar/Sidebar\";\nimport { useParent } from \"@vant/use\";\nimport { useRoute, routeProps } from \"../composables/use-route\";\nimport { Badge } from \"../badge\";\nconst [name, bem] = createNamespace(\"sidebar-item\");\nconst sidebarItemProps = extend({}, routeProps, {\n dot: Boolean,\n title: String,\n badge: numericProp,\n disabled: Boolean,\n badgeProps: Object\n});\nvar stdin_default = defineComponent({\n name,\n props: sidebarItemProps,\n emits: [\"click\"],\n setup(props, {\n emit,\n slots\n }) {\n const route = useRoute();\n const {\n parent,\n index\n } = useParent(SIDEBAR_KEY);\n if (!parent) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(\"[Vant] <SidebarItem> must be a child component of <Sidebar>.\");\n }\n return;\n }\n const onClick = () => {\n if (props.disabled) {\n return;\n }\n emit(\"click\", index.value);\n parent.setActive(index.value);\n route();\n };\n return () => {\n const {\n dot,\n badge,\n title,\n disabled\n } = props;\n const selected = index.value === parent.getActive();\n return _createVNode(\"div\", {\n \"role\": \"tab\",\n \"class\": bem({\n select: selected,\n disabled\n }),\n \"tabindex\": disabled ? void 0 : 0,\n \"aria-selected\": selected,\n \"onClick\": onClick\n }, [_createVNode(Badge, _mergeProps({\n \"dot\": dot,\n \"class\": bem(\"text\"),\n \"content\": badge\n }, props.badgeProps), {\n default: () => [slots.title ? slots.title() : title]\n })]);\n };\n }\n});\nexport {\n stdin_default as default\n};\n","import { withInstall } from \"../utils\";\nimport _SidebarItem from \"./SidebarItem\";\nconst SidebarItem = withInstall(_SidebarItem);\nvar stdin_default = SidebarItem;\nexport {\n SidebarItem,\n stdin_default as default\n};\n","import { createVNode as _createVNode } from \"vue\";\nimport { defineComponent } from \"vue\";\nimport { addUnit, makeArrayProp, makeStringProp, makeNumericProp, createNamespace } from \"../utils\";\nimport { Icon } from \"../icon\";\nimport { Sidebar } from \"../sidebar\";\nimport { SidebarItem } from \"../sidebar-item\";\nconst [name, bem] = createNamespace(\"tree-select\");\nconst treeSelectProps = {\n max: makeNumericProp(Infinity),\n items: makeArrayProp(),\n height: makeNumericProp(300),\n selectedIcon: makeStringProp(\"success\"),\n mainActiveIndex: makeNumericProp(0),\n activeId: {\n type: [Number, String, Array],\n default: 0\n }\n};\nvar stdin_default = defineComponent({\n name,\n props: treeSelectProps,\n emits: [\"click-nav\", \"click-item\", \"update:activeId\", \"update:mainActiveIndex\"],\n setup(props, {\n emit,\n slots\n }) {\n const isActiveItem = (id) => Array.isArray(props.activeId) ? props.activeId.includes(id) : props.activeId === id;\n const renderSubItem = (item) => {\n const onClick = () => {\n if (item.disabled) {\n return;\n }\n let activeId;\n if (Array.isArray(props.activeId)) {\n activeId = props.activeId.slice();\n const index = activeId.indexOf(item.id);\n if (index !== -1) {\n activeId.splice(index, 1);\n } else if (activeId.length < props.max) {\n activeId.push(item.id);\n }\n } else {\n activeId = item.id;\n }\n emit(\"update:activeId\", activeId);\n emit(\"click-item\", item);\n };\n return _createVNode(\"div\", {\n \"key\": item.id,\n \"class\": [\"van-ellipsis\", bem(\"item\", {\n active: isActiveItem(item.id),\n disabled: item.disabled\n })],\n \"onClick\": onClick\n }, [item.text, isActiveItem(item.id) && _createVNode(Icon, {\n \"name\": props.selectedIcon,\n \"class\": bem(\"selected\")\n }, null)]);\n };\n const onSidebarChange = (index) => {\n emit(\"update:mainActiveIndex\", index);\n };\n const onClickSidebarItem = (index) => emit(\"click-nav\", index);\n const renderSidebar = () => {\n const Items = props.items.map((item) => _createVNode(SidebarItem, {\n \"dot\": item.dot,\n \"title\": item.text,\n \"badge\": item.badge,\n \"class\": [bem(\"nav-item\"), item.className],\n \"disabled\": item.disabled,\n \"onClick\": onClickSidebarItem\n }, null));\n return _createVNode(Sidebar, {\n \"class\": bem(\"nav\"),\n \"modelValue\": props.mainActiveIndex,\n \"onChange\": onSidebarChange\n }, {\n default: () => [Items]\n });\n };\n const renderContent = () => {\n if (slots.content) {\n return slots.content();\n }\n const selected = props.items[+props.mainActiveIndex] || {};\n if (selected.children) {\n return selected.children.map(renderSubItem);\n }\n };\n return () => _createVNode(\"div\", {\n \"class\": bem(),\n \"style\": {\n height: addUnit(props.height)\n }\n }, [renderSidebar(), _createVNode(\"div\", {\n \"class\": bem(\"content\")\n }, [renderContent()])]);\n }\n});\nexport {\n stdin_default as default\n};\n","import { withInstall } from \"../utils\";\nimport _TreeSelect from \"./TreeSelect\";\nconst TreeSelect = withInstall(_TreeSelect);\nvar stdin_default = TreeSelect;\nexport {\n TreeSelect,\n stdin_default as default\n};\n","import { createVNode as _createVNode } from \"vue\";\nimport { watch, defineComponent } from \"vue\";\nimport { numericProp, createNamespace, makeArrayProp } from \"../utils\";\nimport { useChildren, useCustomFieldValue } from \"@vant/use\";\nimport { useExpose } from \"../composables/use-expose\";\nconst [name, bem] = createNamespace(\"checkbox-group\");\nconst checkboxGroupProps = {\n max: numericProp,\n disabled: Boolean,\n iconSize: numericProp,\n direction: String,\n modelValue: makeArrayProp(),\n checkedColor: String\n};\nconst CHECKBOX_GROUP_KEY = Symbol(name);\nvar stdin_default = defineComponent({\n name,\n props: checkboxGroupProps,\n emits: [\"change\", \"update:modelValue\"],\n setup(props, {\n emit,\n slots\n }) {\n const {\n children,\n linkChildren\n } = useChildren(CHECKBOX_GROUP_KEY);\n const updateValue = (value) => emit(\"update:modelValue\", value);\n const toggleAll = (options = {}) => {\n if (typeof options === \"boolean\") {\n options = {\n checked: options\n };\n }\n const {\n checked,\n skipDisabled\n } = options;\n const checkedChildren = children.filter((item) => {\n if (!item.props.bindGroup) {\n return false;\n }\n if (item.props.disabled && skipDisabled) {\n return item.checked.value;\n }\n return checked != null ? checked : !item.checked.value;\n });\n const names = checkedChildren.map((item) => item.name);\n updateValue(names);\n };\n watch(() => props.modelValue, (value) => emit(\"change\", value));\n useExpose({\n toggleAll\n });\n useCustomFieldValue(() => props.modelValue);\n linkChildren({\n props,\n updateValue\n });\n return () => {\n var _a;\n return _createVNode(\"div\", {\n \"class\": bem([props.direction])\n }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);\n };\n }\n});\nexport {\n CHECKBOX_GROUP_KEY,\n stdin_default as default\n};\n","import { createVNode as _createVNode } from \"vue\";\nimport { ref, computed, defineComponent } from \"vue\";\nimport { extend, addUnit, truthProp, numericProp, unknownProp, makeStringProp, makeRequiredProp } from \"../utils\";\nimport { Icon } from \"../icon\";\nconst checkerProps = {\n name: unknownProp,\n shape: makeStringProp(\"round\"),\n disabled: Boolean,\n iconSize: numericProp,\n modelValue: unknownProp,\n checkedColor: String,\n labelPosition: String,\n labelDisabled: Boolean\n};\nvar stdin_default = defineComponent({\n props: extend({}, checkerProps, {\n bem: makeRequiredProp(Function),\n role: String,\n parent: Object,\n checked: Boolean,\n bindGroup: truthProp\n }),\n emits: [\"click\", \"toggle\"],\n setup(props, {\n emit,\n slots\n }) {\n const iconRef = ref();\n const getParentProp = (name) => {\n if (props.parent && props.bindGroup) {\n return props.parent.props[name];\n }\n };\n const disabled = computed(() => getParentProp(\"disabled\") || props.disabled);\n const direction = computed(() => getParentProp(\"direction\"));\n const iconStyle = computed(() => {\n const checkedColor = props.checkedColor || getParentProp(\"checkedColor\");\n if (checkedColor && props.checked && !disabled.value) {\n return {\n borderColor: checkedColor,\n backgroundColor: checkedColor\n };\n }\n });\n const onClick = (event) => {\n const {\n target\n } = event;\n const icon = iconRef.value;\n const iconClicked = icon === target || (icon == null ? void 0 : icon.contains(target));\n if (!disabled.value && (iconClicked || !props.labelDisabled)) {\n emit(\"toggle\");\n }\n emit(\"click\", event);\n };\n const renderIcon = () => {\n const {\n bem,\n shape,\n checked\n } = props;\n const iconSize = props.iconSize || getParentProp(\"iconSize\");\n return _createVNode(\"div\", {\n \"ref\": iconRef,\n \"class\": bem(\"icon\", [shape, {\n disabled: disabled.value,\n checked\n }]),\n \"style\": {\n fontSize: addUnit(iconSize)\n }\n }, [slots.icon ? slots.icon({\n checked,\n disabled: disabled.value\n }) : _createVNode(Icon, {\n \"name\": \"success\",\n \"style\": iconStyle.value\n }, null)]);\n };\n const renderLabel = () => {\n if (slots.default) {\n return _createVNode(\"span\", {\n \"class\": props.bem(\"label\", [props.labelPosition, {\n disabled: disabled.value\n }])\n }, [slots.default()]);\n }\n };\n return () => {\n const nodes = props.labelPosition === \"left\" ? [renderLabel(), renderIcon()] : [renderIcon(), renderLabel()];\n return _createVNode(\"div\", {\n \"role\": props.role,\n \"class\": props.bem([{\n disabled: disabled.value,\n \"label-disabled\": props.labelDisabled\n }, direction.value]),\n \"tabindex\": disabled.value ? void 0 : 0,\n \"aria-checked\": props.checked,\n \"onClick\": onClick\n }, [nodes]);\n };\n }\n});\nexport {\n checkerProps,\n stdin_default as default\n};\n","import { createVNode as _createVNode, mergeProps as _mergeProps } from \"vue\";\nimport { watch, computed, defineComponent } from \"vue\";\nimport { createNamespace, extend, pick, truthProp } from \"../utils\";\nimport { CHECKBOX_GROUP_KEY } from \"../checkbox-group/CheckboxGroup\";\nimport { useParent, useCustomFieldValue } from \"@vant/use\";\nimport { useExpose } from \"../composables/use-expose\";\nimport Checker, { checkerProps } from \"./Checker\";\nconst [name, bem] = createNamespace(\"checkbox\");\nconst checkboxProps = extend({}, checkerProps, {\n bindGroup: truthProp\n});\nvar stdin_default = defineComponent({\n name,\n props: checkboxProps,\n emits: [\"change\", \"update:modelValue\"],\n setup(props, {\n emit,\n slots\n }) {\n const {\n parent\n } = useParent(CHECKBOX_GROUP_KEY);\n const setParentValue = (checked2) => {\n const {\n name: name2\n } = props;\n const {\n max,\n modelValue\n } = parent.props;\n const value = modelValue.slice();\n if (checked2) {\n const overlimit = max && value.length >= max;\n if (!overlimit && !value.includes(name2)) {\n value.push(name2);\n if (props.bindGroup) {\n parent.updateValue(value);\n }\n }\n } else {\n const index = value.indexOf(name2);\n if (index !== -1) {\n value.splice(index, 1);\n if (props.bindGroup) {\n parent.updateValue(value);\n }\n }\n }\n };\n const checked = computed(() => {\n if (parent && props.bindGroup) {\n return parent.props.modelValue.indexOf(props.name) !== -1;\n }\n return !!props.modelValue;\n });\n const toggle = (newValue = !checked.value) => {\n if (parent && props.bindGroup) {\n setParentValue(newValue);\n } else {\n emit(\"update:modelValue\", newValue);\n }\n };\n watch(() => props.modelValue, (value) => emit(\"change\", value));\n useExpose({\n toggle,\n props,\n checked\n });\n useCustomFieldValue(() => props.modelValue);\n return () => _createVNode(Checker, _mergeProps({\n \"bem\": bem,\n \"role\": \"checkbox\",\n \"parent\": parent,\n \"checked\": checked.value,\n \"onToggle\": toggle\n }, props), pick(slots, [\"default\", \"icon\"]));\n }\n});\nexport {\n stdin_default as default\n};\n","import { withInstall } from \"../utils\";\nimport _Checkbox from \"./Checkbox\";\nconst Checkbox = withInstall(_Checkbox);\nvar stdin_default = Checkbox;\nexport {\n Checkbox,\n stdin_default as default\n};\n","\nimport {\n defineComponent,\n getCurrentInstance,\n nextTick,\n onMounted,\n reactive,\n toRefs,\n} from \"vue\";\nimport { useRoute, useRouter, onBeforeRouteUpdate } from \"vue-router\";\nimport { Search, TreeSelect, Popup, Checkbox, Toast } from \"vant\";\nimport {\n getUserInfo,\n parseImgUrl,\n setLocalProjectId,\n setQueryConfig,\n} from \"@/utils\";\nimport { store } from \"@/store\";\nimport { UserMutationTypes } from \"@/store/modules/user/mutation-types\";\nimport {\n checkWorkSpace,\n deleteWorkSpace,\n getBuildingList,\n getDefaultLocation,\n getFloorList,\n getPadSpaceList,\n insertWorkSpace,\n queryWorkSpace,\n saveWorkSpace,\n} from \"@/apis/envmonitor\";\nimport { clear } from \"console\";\n\nexport default defineComponent({\n components: {\n vanSearch: Search,\n VanPopup: Popup,\n VanTreeSelect: TreeSelect,\n VanCheckbox: Checkbox,\n },\n setup() {\n const proxyGlobal: any = getCurrentInstance();\n const route: any = useRoute();\n const router: any = useRouter();\n const userInfo: any = getUserInfo();\n const option1 = [\n { text: \"全部商ddddd品\", value: 0 },\n { text: \"新款商ddd品\", value: 1 },\n { text: \"活动商ddd品\", value: 2 },\n ];\n const option2 = [\n { text: \"默认排序\", value: \"a\" },\n { text: \"好评排ddd序\", value: \"b\" },\n { text: \"销量排序\", value: \"c\" },\n ];\n let positionArr: any = [];\n let checkPositon: any = {\n buildingName:''\n };\n const defaultSpaceData: any = {};\n const buildingData: any = [];\n const buildingItem: any = {};\n const floorData: any = [];\n const spaceTypeArr: any = [\n {\n type: \"\",\n name: \"全部空间\",\n },\n {\n type: 0,\n name: \"个人办公室\",\n },\n {\n type: 1,\n name: \"开放办公区\",\n },\n {\n type: 2,\n name: \"会议室\",\n },\n {\n type: 99,\n name: \"其它\",\n },\n ];\n const spaceType: any = {\n type: \"\",\n name: \"全部空间\",\n };\n const spaceData: any = [];\n const copySpaceData: any = [];\n const proxyData = reactive({\n parseImgUrl: parseImgUrl,\n showSpace: true,\n userInfo: userInfo,\n activeIndex: 0,\n spaceType: spaceType,\n searchSpaceName: \"\",\n checked: false,\n positionArr: positionArr,\n checkPositon: checkPositon,\n route: route,\n option1: option1,\n option2: option2,\n value1: 0,\n value2: \"a\",\n transitionName: \"slide-right\",\n showHeader: false,\n showSpaceType: false,\n show: false, // 是否展示选择建筑的页面\n spaceTypeArr: spaceTypeArr,\n showPounp() {\n proxyData.show = !proxyData.show;\n },\n showSpaceTypePounp() {\n proxyData.showSpaceType = !proxyData.showSpaceType;\n },\n // 选择空间\n checkSpaceType(item: any) {\n proxyData.spaceType = item;\n proxyData.showSpaceType = false;\n // 获取空间列表\n proxyData.searchSpace();\n },\n buildingData: buildingData,\n buildingItem: buildingItem,\n // 获取建筑列表\n getBuildingList() {\n let params: any = {\n criteria: {\n projectId: proxyData.userInfo.projectId, //类型:String 必有字段 备注:项目id\n },\n };\n getBuildingList(params).then((res) => {\n let resData: any = res;\n if (resData.result === \"success\") {\n let content: any = resData?.content ?? [];\n proxyData.buildingData = content;\n proxyData.setBbuildingName();\n proxyData.getFloorList();\n } else {\n proxyData.buildingData = [];\n }\n });\n },\n // 设置建筑名称\n setBbuildingName() {\n proxyData.buildingData.map((item: any, index: any) => {\n if (item.id === proxyData.checkPositon.buildingId) {\n proxyData.checkPositon.buildingName = item.localName;\n proxyData.activeIndex = index;\n }\n });\n },\n // 格式化建筑数据\n formateBuildingData() {\n // debugger\n proxyData.positionArr = [];\n for (let i = 0; i < proxyData.buildingData.length; i++) {\n let obj = {\n text: proxyData.buildingData[i].localName,\n id: proxyData.buildingData[i].id,\n children: [],\n };\n if (\n proxyData.buildingData[i].id === proxyData.checkPositon.buildingId\n ) {\n proxyData.activeIndex = i;\n proxyData.floorData.map((item: any) => {\n item.text = item.localName;\n if (item.id === proxyData.checkPositon.floorId) {\n proxyData.checkPositon.floorName = item.localName;\n }\n });\n proxyData.checkPositon.buildingName =\n proxyData.buildingData[i].localName;\n obj.children = proxyData.floorData;\n }\n // debugger\n console.log(proxyData.floorData);\n proxyData.positionArr.push(obj);\n }\n console.log(proxyData.positionArr);\n },\n floorData: floorData,\n /**\n * 查询楼层信息\n */\n getFloorList() {\n if (proxyData.checkPositon.buildingId) {\n let params: any = {\n criteria: {\n projectId: proxyData.userInfo.projectId,\n buildingId: proxyData.checkPositon.buildingId,\n },\n orders: [\n {\n asc: true,\n column: \"localId\",\n },\n ],\n };\n getFloorList(params)\n .then((res) => {\n let resData: any = res;\n if (res.result === \"success\") {\n proxyData.floorData = resData?.content ?? [];\n } else {\n proxyData.floorData = [];\n }\n proxyData.formateBuildingData();\n proxyData.getPadSpaceList();\n // console.log(proxyData.floorData);\n })\n .catch(() => {});\n }\n },\n // 平板默认 空间\n defaultSpaceData: defaultSpaceData,\n // 查询当前平板的默认空间await与wait的区别\n getDefaultLocation() {\n let params: any = {\n macAddress: proxyData.userInfo.mac,\n spaceId: proxyData.spaceId,\n // projectId: store.state.user.projectId,\n };\n let paramsStr: any = setQueryConfig(params);\n getDefaultLocation(paramsStr).then((res) => {\n let resData: any = res;\n proxyData.defaultSpaceData = resData?.data ?? {};\n proxyData.checkPositon.buildingId =proxyData.defaultSpaceData.buildingId;\n proxyData.setCheckPersiton();\n proxyData.getBuildingList();\n });\n },\n // 设置选中的位置\n setCheckPersiton() {\n proxyData.checkPositon.buildingId =\n proxyData.defaultSpaceData.buildingId;\n proxyData.checkPositon.floorId = proxyData.defaultSpaceData.floorId;\n },\n // 格式工作办公数据\n formataWorkData() {\n let data: any = proxyData.spaceData.filter((item: any) => {\n return item.checked;\n });\n proxyData.copySpaceData.map((item: any) => {\n for (let i = 0; i < data.length; i++) {\n if (item.spaceId === data[i].spaceId) {\n item.checked = data[i].checked;\n }\n }\n });\n let paramsArr: any = proxyData.copySpaceData.filter((item: any) => {\n return item.checked;\n });\n return paramsArr;\n },\n // 设置主空间\n goNext() {\n proxyGlobal.proxy.$loadingStart(0);\n proxyData.querySpaceList();\n },\n updateWorkSpace(item: any) {\n if (item.checked) {\n proxyData.insertWorkSpace(item);\n } else {\n proxyData.deleteWorkSpace(item);\n }\n },\n insertWorkSpace(item: any, isMajorSpace: any = 0) {\n let params: any = {\n spaceId: item.spaceId, //类型:String 必有字段 备注:工作空间列表\n isMajorSpace: isMajorSpace, //类型:Number 必有字段 备注:是否主空间 0-否 1-是\n macAddress: proxyData.userInfo.mac, //类型:String 必有字段 备注:平板地址\n };\n insertWorkSpace(params).then((res: any) => {});\n },\n deleteWorkSpace(item: any) {\n let params: any = {\n spaceId: item.spaceId, //类型:String 必有字段 备注:工作空间列表\n macAddress: proxyData.userInfo.mac, //类型:String 必有字段 备注:平板地址\n };\n deleteWorkSpace(params).then((res: any) => {});\n },\n // 保存空间\n // saveWorkSpace(params: any) {\n // proxyGlobal.proxy.$loadingStart(0);\n // saveWorkSpace(params).then((res) => {\n // proxyData.querySpaceList();\n // // router.push({ name: \"setMainSpace\" });\n // });\n // },\n querySpaceList() {\n let params: any = {\n criteria: {\n projectId: proxyData.userInfo.projectId,\n //类型:Object 必有字段 备注:无\n macAddress: proxyData.userInfo.mac, //类型:String 必有字段 备注:mac地址\n },\n };\n checkWorkSpace(params)\n .then((res) => {\n let resData: any = res;\n let data: any = [];\n if (resData.result === \"success\") {\n data = resData?.content ?? [];\n } else {\n data = [];\n }\n if (data.length > 1) {\n // router.push({ name: \"setMainSpace\" });\n setTimeout(() => {\n proxyGlobal.proxy.$loadinngEnd();\n router.push({ name: \"setMainSpace\" });\n }, 1000);\n } else if (data.length === 1) {\n proxyData.insertWorkSpace(data[0], 1);\n proxyGlobal.proxy.$loadinngEnd();\n router.push({\n name: \"envmonitor\",\n query: { spaceId: data[0].spaceId },\n });\n } else {\n Toast(\"请选择办公空间!\");\n }\n })\n .catch(() => {\n proxyGlobal.proxy.$loadinngEnd();\n });\n },\n // 选择建筑\n checkBuilding(index: any) {\n proxyData.checkPositon.buildingId = proxyData.positionArr[index].id;\n proxyData.checkPositon.buildingName = proxyData.positionArr[index].text;\n proxyData.getFloorList();\n },\n // 选择楼层\n checkFloor(item: any) {\n proxyData.checkPositon.floorId = item.id;\n proxyData.checkPositon.floorName = item.localName;\n proxyData.show = false;\n nextTick(() => {\n proxyData.setPageScroolTop();\n });\n proxyData.clearSearchName();\n proxyData.getPadSpaceList();\n },\n // 清除搜索条件\n clearSearchName() {\n proxyData.searchSpaceName = \"\";\n proxyData.spaceType = spaceType;\n // 清除默认样式\n let spaceContetEl: any = document.querySelector(\".choice-space\");\n spaceContetEl.scrollTop = 0;\n },\n spaceData: spaceData,\n copySpaceData: copySpaceData,\n nowPerstionIndex: 0,\n // 空间列表\n getPadSpaceList(query: any = \"\") {\n // debugger;\n let params: any = query\n ? query\n : {\n floorId: proxyData.checkPositon.floorId,\n buildingId: proxyData.checkPositon.buildingId,\n macAddress: proxyData.userInfo.mac,\n };\n let str: any = setQueryConfig(params);\n getPadSpaceList(str).then((res) => {\n let resData: any = res;\n if (resData.result === \"success\") {\n proxyData.spaceData = resData?.data ?? [];\n proxyData.spaceData.map((item: any, index: any) => {\n if (item.isWorkSpace) {\n item.checked = true;\n } else {\n item.checked = false;\n }\n if (item.spaceId === proxyData.spaceId) {\n item.checked = true;\n }\n });\n // 不搜索的时候数据备份一下\n if (!query) {\n proxyData.copySpaceData = JSON.parse(\n JSON.stringify(proxyData.spaceData)\n );\n }\n } else {\n proxyData.spaceData = [];\n }\n if (proxyData && proxyData.spaceData.length) {\n proxyData.showSpace = true;\n } else {\n proxyData.showSpace = false;\n }\n // 设置页面默认的位置\n nextTick(() => {\n proxyData.setPageScroolTop();\n });\n });\n },\n // 设置当前页面选中的位置\n setPageScroolTop() {\n let idIndex: any = 0;\n // debugger;\n for (let i = 0; i < proxyData.spaceData.length; i++) {\n if (proxyData.spaceData[i].checked) {\n idIndex = i;\n break;\n }\n }\n let spaceEl: any = document.querySelector(\"#\" + \"space\" + idIndex);\n let spaceContetEl: any = document.querySelector(\".choice-space\");\n // spaceContetEl.scrollTop = 0;\n let top: any = spaceEl ? spaceEl.offsetTop : 0;\n if (top > 120) {\n top = top - 120;\n } else {\n top = 0;\n }\n if (spaceContetEl) {\n spaceContetEl.scrollTop = top;\n } else {\n spaceContetEl.scrollTop = 0;\n }\n },\n searchSpace() {\n let query: any = {\n floorId: proxyData.checkPositon.floorId,\n buildingId: proxyData.checkPositon.buildingId,\n funcType: proxyData.spaceType.type,\n spaceName: proxyData.searchSpaceName,\n macAddress: proxyData.userInfo.mac,\n };\n proxyData.getPadSpaceList(query);\n },\n spaceId: \"\",\n init() {\n let spaceId: any = route.query.spaceId;\n proxyData.spaceId = spaceId;\n let projectId: any = route.query.id;\n store.commit(UserMutationTypes.SET_PROJECT_ID, projectId);\n proxyData.getDefaultLocation();\n if (spaceId) {\n let item: any = {\n spaceId: spaceId, //类型:String 必有字段 备注:工作空间列表\n };\n proxyData.insertWorkSpace(item, 0);\n }\n },\n });\n onMounted(() => {\n proxyData.init();\n });\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./choiceSpace.vue?vue&type=template&id=16b8781e&scoped=true&ts=true\"\nimport script from \"./choiceSpace.vue?vue&type=script&lang=ts\"\nexport * from \"./choiceSpace.vue?vue&type=script&lang=ts\"\n\nimport \"./choiceSpace.vue?vue&type=style&index=0&id=16b8781e&lang=scss&scoped=true\"\nimport \"./choiceSpace.vue?vue&type=style&index=1&id=16b8781e&lang=scss\"\n\nimport exportComponent from \"/Users/wangyong/shanggeyun/code/sagacloud-sagacare-ipad/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-16b8781e\"]])\n\nexport default __exports__"],"sourceRoot":""}