{"version":3,"sources":["webpack:///./src/assets/svg/deviceroom.svg","webpack:///./src/views/mapDataNew/index.vue?3112","webpack:///./src/views/mapDataNew/index.vue?371a","webpack:///./src/views/mapDataNew/index.vue","webpack:///./src/assets/svg/bg_disable.png","webpack:///./src/config/index.ts","webpack:///./src/apis/envmonitor.ts","webpack:///./src/assets/svg sync ^\\.\\/.*$","webpack:///./src/assets/svg/coffeeselected.svg","webpack:///./src/assets/svg/dev.svg","webpack:///./src/views/mapDataNew/index.vue?bd98","webpack:///./src/assets/svg/coffee.svg","webpack:///./node_modules/core-js/internals/array-fill.js","webpack:///./src/assets/svg/weather.svg","webpack:///./src/assets/svg/device.svg","webpack:///./src/assets/svg/babyselected.svg","webpack:///./node_modules/core-js/modules/es.array.fill.js"],"names":["module","exports","_hoisted_1","class","style","_hoisted_2","_hoisted_3","id","_hoisted_4","render","_ctx","_cache","$props","$setup","$data","$options","_component_van_search","_component_van_icon","modelValue","spaceName","$event","searchSpace","placeholder","onClick","zommAdd","name","color","zommDel","spaceList","item","index","left","deviceArr","top","src","parseImgUrl","alt","key","components","VanSearch","setup","ctx","centerObj","proxyData","width","height","scale","map","localName","fillColor","shadow","initCanvas","canvasDom","document","querySelector","getContext","clearRect","parseInt","pointArr","logoArr","canClick","beginPath","fillStyle","moveTo","lineTo","drawIcon","closePath","fill","lineWidth","strokeStyle","stroke","font","textAlign","fillText","shadowColor","shadowOffsetX","shadowOffsetY","shadowBlur","img","Image","onload","pat","createPattern","bindEvent","detect","event","x","clientX","getBoundingClientRect","y","clientY","i","length","iconFlag","dev","alert","dot","coordinates","flag","judge","addEventListener","noneZeroMode","crossNum","leftCount","rightCount","start","end","k","x0","url","iconPerstion","drawImage","setSpaceColor","getMapInfo","params","projectId","floorId","then","res","resData","data","catch","__exports__","setupService","objectService","duoduoenvService","weachatService","customService","getCompanyInfo","companyInfo","request","companyId","GET","undefined","json","getWeather","getSpaceInfo","POST","getMeetingSceneHttp","spaceId","getEquipmentListHttp","getFeedbackDocumentsHttp","changeTempHttp","getLampHttp","timeout","setallLampHttp","setEquipeHttp","getStatusHttp","getObjectDataEqpGroupHttp","switchoverSceneHttp","changeSetTimeHttp","getChartListHTTP","getBuildingList","getFloorList","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","webpackContext","req","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","toObject","toAbsoluteIndex","toLength","value","O","this","argumentsLength","arguments","endPos","$","addToUnscopables","target","proto"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,sC,2DCGrCC,EAAa,CACjBC,MAAO,aACPC,MAAO,CAAC,SAAW,aAEfC,EAAa,CACjBF,MAAO,YACPC,MAAO,CAAC,SAAW,QAAQ,MAAQ,OAAO,IAAM,SAE5CE,EAAa,CACjBC,GAAI,WACJJ,MAAO,aAEHK,EAAa,CAAC,OAEd,SAAUC,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAAwB,8BAAkB,cAC1CC,EAAsB,8BAAkB,YAE9C,OAAQ,yBAAc,gCAAoB,MAAOf,EAAY,CAC3D,yBAAac,EAAuB,CAClCE,WAAYR,EAAKS,UACjB,sBAAuB,CACrBR,EAAO,KAAOA,EAAO,GAAK,SAACS,GAAD,OAAmBV,EAAKS,UAAaC,IAC/DV,EAAKW,aAEPC,YAAa,YACZ,KAAM,EAAG,CAAC,aAAc,wBAC3B,gCAAoB,MAAOjB,EAAY,CACrC,gCAAoB,MAAO,CACzBkB,QAASZ,EAAO,KAAOA,EAAO,GAEtC,kBAAcD,EAAKc,SAAWd,EAAKc,QAAL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9B,IAAIE,EAAoBC,EAAExI,EAAKqI,GAAM,CACpC,IAAII,EAAI,IAAIC,MAAM,uBAAyBL,EAAM,KAEjD,MADAI,EAAEE,KAAO,mBACHF,EAEP,OAAOzI,EAAIqI,GAEZD,EAAeQ,KAAO,WACrB,OAAOC,OAAOD,KAAK5I,IAEpBoI,EAAeU,QAAUR,EACzBrL,EAAOC,QAAUkL,EACjBA,EAAe5K,GAAK,Q,uBC7BpBP,EAAOC,QAAU,IAA0B,0C,uBCA3CD,EAAOC,QAAU,IAA0B,+B,kCCA3C,W,uBCAAD,EAAOC,QAAU,IAA0B,kC,oCCC3C,IAAI6L,EAAW,EAAQ,QACnBC,EAAkB,EAAQ,QAC1BC,EAAW,EAAQ,QAIvBhM,EAAOC,QAAU,SAAcgM,GAC7B,IAAIC,EAAIJ,EAASK,MACbvG,EAASoG,EAASE,EAAEtG,QACpBwG,EAAkBC,UAAUzG,OAC5B9D,EAAQiK,EAAgBK,EAAkB,EAAIC,UAAU,QAAKhE,EAAWzC,GACxEc,EAAM0F,EAAkB,EAAIC,UAAU,QAAKhE,EAC3CiE,OAAiBjE,IAAR3B,EAAoBd,EAASmG,EAAgBrF,EAAKd,GAC/D,MAAO0G,EAASxK,EAAOoK,EAAEpK,KAAWmK,EACpC,OAAOC,I,uBCfTlM,EAAOC,QAAU,IAA0B,mC,uBCA3CD,EAAOC,QAAU,IAA0B,kC,uBCA3CD,EAAOC,QAAU,IAA0B,wC,qBCA3C,IAAIsM,EAAI,EAAQ,QACZpI,EAAO,EAAQ,QACfqI,EAAmB,EAAQ,QAI/BD,EAAE,CAAEE,OAAQ,QAASC,OAAO,GAAQ,CAClCvI,KAAMA,IAIRqI,EAAiB,S","file":"static/js/chunk-a8bcba9c.4a39a0fd.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/img/deviceroom.01480d11.svg\";","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-43257144\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"com-upload\",\n style: {\"position\":\"relative\"}\n}\nconst _hoisted_2 = {\n class: \"search-bt\",\n style: {\"position\":\"fixed\",\"right\":\"20px\",\"top\":\"80px\"}\n}\nconst _hoisted_3 = {\n id: \"myCanvas\",\n class: \"canvasDom\"\n}\nconst _hoisted_4 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_van_search = _resolveComponent(\"van-search\")!\n const _component_van_icon = _resolveComponent(\"van-icon\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_van_search, {\n modelValue: _ctx.spaceName,\n \"onUpdate:modelValue\": [\n _cache[0] || (_cache[0] = ($event: any) => ((_ctx.spaceName) = $event)),\n _ctx.searchSpace\n ],\n placeholder: \"请输入搜索关键词\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.zommAdd && _ctx.zommAdd(...args))),\n style: {\"display\":\"inline-block\",\"font-size\":\"30px\"}\n }, [\n _createVNode(_component_van_icon, {\n name: \"add-o\",\n color: \"#1989fa\"\n })\n ]),\n _createElementVNode(\"div\", {\n onClick: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => (_ctx.zommDel && _ctx.zommDel(...args))),\n style: {\"display\":\"inline-block\",\"font-size\":\"30px\"}\n }, [\n _createVNode(_component_van_icon, {\n name: \"minus\",\n color: \"#1989fa\"\n })\n ])\n ]),\n _createElementVNode(\"canvas\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.spaceList, (item, index) => {\n return (_openBlock(), _createElementBlock(\"img\", {\n style: _normalizeStyle([{ left: item.deviceArr[0].left, top: item.deviceArr[0].top }, {\"position\":\"absolute\",\"width\":\"20px\",\"height\":\"20px\",\"z-index\":\"999\",\"left\":\"20px\",\"top\":\"20px\"}]),\n src: _ctx.parseImgUrl('map-icon', 'device.svg'),\n alt: \"\",\n key: index\n }, null, 12, _hoisted_4))\n }), 128))\n ])\n ]))\n}","\nimport { Search } from \"vant\";\nimport { number } from \"echarts\";\nimport { getMapInfo } from \"@/apis/envmonitor\";\nimport { defineComponent, nextTick, onMounted, reactive, toRefs } from \"vue\";\nimport { parseImgUrl } from \"@/utils\";\n\nexport default defineComponent({\n components: {\n VanSearch: Search,\n },\n setup() {\n let spaceList: any = [];\n let ctx: any = {};\n let centerObj: any = {};\n const proxyData = reactive({\n spaceList: spaceList,\n parseImgUrl: parseImgUrl,\n spaceName: \"\",\n width: 100,\n height: 200,\n scale: 1,\n ctx: ctx,\n centerObj: centerObj,\n // 搜索某个空间\n searchSpace() {\n proxyData.spaceList.map((item: any) => {\n // debugger\n console.log(item.localName == proxyData.spaceName);\n console.log(\"搜索====\");\n console.log(item.localName);\n console.log(proxyData.spaceName);\n if (item.localName == proxyData.spaceName) {\n console.log(\"搜索到某个空间\");\n item.fillColor = \"red\";\n item.shadow = true;\n proxyData.initCanvas();\n } else {\n // item.shadow = false;\n // item.fillColor = \"#ececec\";\n }\n });\n },\n // 放大\n zommAdd() {\n console.log(\"被点击了\");\n if (proxyData.scale > 3) {\n return;\n }\n proxyData.scale = proxyData.scale + 0.1;\n // debugger;\n proxyData.initCanvas();\n },\n // 缩小\n zommDel() {\n if (proxyData.scale < 0.3) {\n return;\n }\n proxyData.scale = proxyData.scale - 0.1;\n proxyData.initCanvas();\n },\n // canvas画图\n initCanvas() {\n let canvasDom: any = document.querySelector(\"#myCanvas\");\n canvasDom.width = proxyData.width * proxyData.scale;\n canvasDom.height = proxyData.height * proxyData.scale;\n let ctx: any = canvasDom.getContext(\"2d\");\n proxyData.ctx = ctx;\n ctx.clearRect(0, 0, proxyData.width, proxyData.height);\n ctx.scale(proxyData.scale, proxyData.scale, centerObj.left, centerObj.top);\n proxyData.spaceList.map((item: any) => {\n let left: any = parseInt(item.left);\n let top: any = parseInt(item.top);\n if (item.localName == \"会议室-1\") {\n proxyData.centerObj = item;\n }\n\n let pointArr: any = [\n {\n left: left,\n top: top,\n },\n {\n left: left + item.width,\n top: top,\n },\n {\n left: left + item.width,\n top: top + item.height,\n },\n {\n left: left,\n top: top + item.height,\n },\n ];\n let deviceArr: any = [\n {\n left: left,\n top: top + 5,\n },\n {\n left: left + 15,\n top: top + 5,\n },\n {\n left: left + 25,\n top: top + 5,\n },\n ];\n let logoArr: any = [\n {\n left: left + item.width / 2,\n top: top + item.height / 2,\n },\n {\n left: left + item.width / 2 + 30,\n top: top + item.height / 2 + 30,\n },\n ];\n item.pointArr = pointArr;\n item.deviceArr = deviceArr;\n item.logoArr = logoArr;\n\n if (item.canClick) {\n ctx.beginPath();\n ctx.fillStyle = item.fillColor;\n pointArr.map((item: any, index: any) => {\n if (index == 0) {\n ctx.moveTo(item.left, item.top);\n } else {\n ctx.lineTo(item.left, item.top);\n }\n });\n proxyData.drawIcon(ctx, \"coffee.svg\", deviceArr[0]);\n proxyData.drawIcon(ctx, \"dev.svg\", deviceArr[1]);\n proxyData.drawIcon(ctx, \"deviceroom.svg\", deviceArr[2]);\n ctx.closePath();\n ctx.fill();\n ctx.lineWidth = 1;\n ctx.strokeStyle = \"rgba(15, 206, 233, 1)\";\n ctx.stroke();\n\n ctx.beginPath();\n ctx.font = \"12px serif\";\n ctx.textAlign = \"center\";\n ctx.fillStyle = item.fillColor !== \"#ececec\" ? \"#ffffff\" : \"red\";\n ctx.fillText(\n item.localName,\n item.logoArr[0].left,\n item.logoArr[0].top,\n item.width\n );\n ctx.closePath();\n if (item.shadow) {\n item.shadowColor = \"#000000\";\n ctx.shadowOffsetX = -50; //阴影x轴位移。正值向右,负值向左。\n ctx.shadowOffsetY = -50; //阴影y轴位移。正值向下,负值向上。\n ctx.shadowBlur = 10; //阴影模糊滤镜。数据越大,扩散程度越大。\n }\n } else {\n let img: any = new Image();\n img.src = require(\"@/assets/svg/bg_disable.png\");\n img.onload = function () {\n ctx.beginPath();\n pointArr.map((item: any, index: any) => {\n if (index === 0) {\n ctx.moveTo(item.left, item.top);\n } else {\n ctx.lineTo(item.left, item.top);\n }\n });\n // ctx.fillStyle = \"#cfefef\";\n // ctx.fill();\n let pat: any = ctx.createPattern(img, \"repeat\");\n ctx.fillStyle = pat;\n ctx.fill();\n ctx.closePath();\n ctx.strokeStyle = \"rgba(15, 206, 233, 1)\";\n ctx.stroke();\n };\n }\n });\n },\n // 绑定事件\n bindEvent() {\n let canvasDom: any = document.querySelector(\"#myCanvas\");\n // 点击事件\n canvasDom.addEventListener(\"click\", detect);\n function detect(event: any) {\n let x: any = event.clientX - canvasDom.getBoundingClientRect().left;\n let y: any = event.clientY - canvasDom.getBoundingClientRect().top;\n // let ctx: any = canvasDom.getContext(\"2d\");\n // proxyData.initCanvas();\n console.log(event);\n // alert(\"点击了!\");\n for (let i = 0; i < proxyData.spaceList.length; i++) {\n let item: any = proxyData.spaceList[i];\n let deviceArr: any = item.deviceArr;\n let pointArr: any = item.pointArr;\n let iconFlag: any = false;\n deviceArr.map((dev: any, index: any) => {\n if (\n x >= dev.left &&\n x <= dev.left + 15 &&\n y >= dev.top &&\n y < dev.top + 15\n ) {\n // alert(\"我被点了!\");\n // console.log(\"我被点了!\")\n iconFlag = true;\n alert(`我被点了设备图标!${index}`);\n }\n });\n if (iconFlag) {\n break;\n }\n let dot: any = {\n x: x,\n y: y,\n };\n let coordinates: any = pointArr;\n let flag = proxyData.judge(dot, coordinates, 1);\n // console.log(flag);\n if (flag) {\n alert(\"点击了区域\" + item.localName);\n break;\n }\n }\n }\n },\n judge(dot: any, coordinates: any, noneZeroMode: any) {\n // 默认启动none zero mode\n noneZeroMode = noneZeroMode || 1;\n let x: any = dot.x,\n y: any = dot.y;\n let crossNum: any = 0;\n // 点在线段的左侧数目\n let leftCount: any = 0;\n // 点在线段的右侧数目\n let rightCount: any = 0;\n for (let i = 0; i < coordinates.length - 1; i++) {\n let start: any = coordinates[i];\n let end: any = coordinates[i + 1];\n start.x = start.left;\n start.y = start.top;\n end.x = end.left;\n end.y = end.top;\n\n // 起点、终点斜率不存在的情况\n if (start.x === end.x) {\n // 因为射线向右水平,此处说明不相交\n if (x > start.x) continue;\n\n // 从左侧贯穿\n if (end.y > start.y && y >= start.y && y <= end.y) {\n leftCount++;\n crossNum++;\n }\n // 从右侧贯穿\n if (end.y < start.y && y >= end.y && y <= start.y) {\n rightCount++;\n crossNum++;\n }\n continue;\n }\n // 斜率存在的情况,计算斜率\n let k = (end.y - start.y) / (end.x - start.x);\n // 交点的x坐标\n let x0 = (y - start.y) / k + start.x;\n // 因为射线向右水平,此处说明不相交\n if (x > x0) continue;\n\n if (end.x > start.x && x0 >= start.x && x0 <= end.x) {\n crossNum++;\n if (k >= 0) leftCount++;\n else rightCount++;\n }\n if (end.x < start.x && x0 >= end.x && x0 <= start.x) {\n crossNum++;\n if (k >= 0) rightCount++;\n else leftCount++;\n }\n }\n\n return noneZeroMode === 1\n ? leftCount - rightCount !== 0\n : crossNum % 2 === 1;\n },\n drawIcon(ctx: any, url: any, iconPerstion: any) {\n let img: any = new Image();\n img.src = require(`@/assets/svg/${url}`);\n img.onload = function () {\n ctx.drawImage(img, iconPerstion.left, iconPerstion.top, 20, 10);\n };\n },\n // 设置区域颜色\n setSpaceColor() {\n proxyData.spaceList.map((item: any, index: any) => {\n if (index % 2 == 0) {\n item.fillColor = \"#ffcc33\";\n } else if (index % 3 == 0) {\n item.fillColor = \"#ccff99\";\n } else {\n item.fillColor = \"#ececec\";\n }\n });\n console.log(proxyData.spaceList);\n },\n /**\n * 获取地图信息\n */\n getMapInfo() {\n let params: any = {\n projectId: \"Pj1101080259\",\n floorId: \"Fl11010802593241ec348ecb4148806b9034c8957454\",\n };\n getMapInfo(params)\n .then((res) => {\n // debugger\n let resData: any = res;\n let data: any = resData?.data ?? null;\n proxyData.width = data.width;\n proxyData.height = data.height;\n proxyData.spaceList = data.spaceList;\n proxyData.setSpaceColor();\n proxyData.initCanvas();\n })\n .catch(() => {});\n },\n });\n nextTick(() => {\n proxyData.bindEvent();\n });\n onMounted(() => {\n proxyData.getMapInfo();\n });\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=43257144&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=43257144&lang=scss&scoped=true\"\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-43257144\"]])\n\nexport default __exports__","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAA3SURBVHgBzcmxDQAgCAVRPxO5ipM6ko0xxkYnQKUHaq654iEZ9bUzMSo8ZLpFxTFPk4dAycXfA1ISQWorFT5NAAAAAElFTkSuQmCC\"","// // 默认配置\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","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>(`/api/company/config/${companyInfo.companyId}`, Method.GET, undefined, ContentType.json)\n}\nexport const getWeather = (params: string) => {\n return https().request>(`${objectService}weather/getCurrent?${params}`, Method.GET, undefined, ContentType.json)\n}\nexport const getSpaceInfo = (data: any) => {\n return https().request>(`${duoduoenvService}space/property`, Method.POST, data, ContentType.json)\n}\n\n// 获取会议室场景\nexport const getMeetingSceneHttp = (params: any) => {\n return https().request(`${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(`${duoduoenvService}object/equipment/findForServe?spaceId=${params.spaceId}`, Method.POST, undefined, ContentType.json)\n}\n// 查询定制时间\nexport const getSetTimeHttp = (params: any) => {\n return https().request(`${duoduoenvService}customScene/queryCustom?spaceId=${params.spaceId}`, Method.GET, undefined, ContentType.json)\n}\n// 空调 - 调节文案/空调信息\nexport const getFeedbackDocumentsHttp = (data: any) => {\n return https().request(`${duoduoenvService}custom/feedback/documents`, Method.POST, data, ContentType.json)\n}\n\n// 空调调节\nexport const changeTempHttp = (params: any) => {\n return https().request>(`${duoduoenvService}custom/feedbackCreate/v2`, Method.POST, params, ContentType.json)\n}\n// 查询灯的状态(优先查采集的状态)\nexport const getLampHttp = (params: any) => {\n return https({ timeout: 1000 }).request>(`${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>(`${duoduoenvService}object/objectDataEqpGroup/query`, Method.POST, params, ContentType.json)\n}\n\n// 切换场景\nexport const switchoverSceneHttp = (params: any) => {\n return https().request>(`${duoduoenvService}meeting/room/scene/switchover`, Method.POST, params, ContentType.json)\n}\n\nexport const changeSetTimeHttp = (params: any) => {\n return https().request>(`${duoduoenvService}customScene/create`, Method.POST, params, ContentType.json)\n}\n// 详情页面的图表数据\nexport const getChartListHTTP = (params: any) => {\n return https().request>(`${duoduoenvService}/spaceAdjust/queryPropertyData?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n// 查询建筑的信息\nexport const getBuildingList = (params: any) => {\n return https().request(`${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(`${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(`${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(`${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(`${objectService}object/space/query`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 增加常驻空间\n */\nexport const permanentSpace = (params: any) => {\n // return https().request(`${setupService}permanentSpace/save`, Method.POST, params, ContentType.json)\n // return https().request(`${testApi}permanentSpace/save`, Method.POST, params, ContentType.json)\n return https().request(`${setupService}permanentSpace/save`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 获取常驻空间\n */\nexport const getPermanentSpace = () => {\n return https().request(`${setupService}permanentSpace/query`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 删除常驻空间\n */\nexport const delPermanentSpace = (params: any) => {\n return https().request(`${setupService}permanentSpace/delete?${params}`)\n}\n\n/**\n * 获取用户使用权限\n */\nexport const getUserControlAuth = () => {\n return https().request(`${setupService}permanentSpace/queryZJ`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 获取空间运行模式\n */\nexport const getSpaceMode = () => {\n return https().request(`${objectService}object/equipment/querySpaceModeSet`, Method.GET, undefined, ContentType.json)\n}\n/**\n * 获取空调设备温度\n */\nexport const getSpaceTemp = () => {\n return https().request(`${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(`${setupService}scene/querySpaceSceneConfig?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 查询加班记录\n */\nexport const queryCustomAndScence = (params: any) => {\n // return https().request(`${testApi}customScene/queryCustomAndScence?${params}`, Method.GET, undefined, ContentType.json)\n return https().request(`${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(`${setupService}padSpace/getDefaultLocation?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 查询空间列表\n */\nexport const getPadSpaceList = (params: any) => {\n return https().request(`${setupService}padSpace/getPadSpaceList?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 设置成办公空间-(\"批量保存\")\n */\nexport const saveWorkSpace = (params: any) => {\n return https().request(`${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(`${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(`${setupService}padSpace/deleteWorkSpace`, Method.POST, params, ContentType.json)\n}\n\n\n\n/**\n * 查询平板下面的办公空间\n */\nexport let queryWorkSpace = (params: any) => {\n return https().request(`${setupService}padSpace/queryWorkSpace`, Method.POST, params, ContentType.json)\n}\n\n\n/**\n * 查询平板下面的办公空间\n */\nexport let checkWorkSpace = (params: any) => {\n return https().request(`${setupService}padSpace/queryWorkSpace`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 查询客户列表\n */\nexport const queryCustomerservice = (params: any) => {\n return https().request>(`${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(`${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(`${setupService}/padImage/queryImageByFuncType`,Method.GET, undefined, ContentType.json)\n return https().request(`${setupService}padImage/queryImageByFuncType?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 设备手动控制\n */\nexport const querySpaceConditioners = (params: any) => {\n return https().request(`${duoduoenvService}ctrl/querySpaceConditioners?${params}`, Method.GET, undefined, ContentType.json)\n // return https().request(`${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(`${setupService}/map/saveMapPointInfo`, Method.POST, data, ContentType.json)\n}\n\n\n// 获取空间下的可控制的设备\nexport const getSpaceEquipList = (params: any) => {\n return https().request(`${customService}equipmentRun/queryEquipmentRunConfig?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n\n","var map = {\n\t\"./babyselected.svg\": \"98fb\",\n\t\"./bg_disable.png\": \"2b48\",\n\t\"./coffee.svg\": \"5ff7\",\n\t\"./coffeeselected.svg\": \"472f\",\n\t\"./dev.svg\": \"56d9\",\n\t\"./device.svg\": \"920e\",\n\t\"./deviceroom.svg\": \"162a\",\n\t\"./weather.svg\": \"8c6e\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"46f5\";","module.exports = __webpack_public_path__ + \"static/img/coffeeselected.1e7d4057.svg\";","module.exports = __webpack_public_path__ + \"static/img/dev.941b2e3a.svg\";","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!./index.vue?vue&type=style&index=0&id=43257144&lang=scss&scoped=true\"","module.exports = __webpack_public_path__ + \"static/img/coffee.fc03c8ec.svg\";","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\n\n// `Array.prototype.fill` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.fill\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = toLength(O.length);\n var argumentsLength = arguments.length;\n var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);\n var end = argumentsLength > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","module.exports = __webpack_public_path__ + \"static/img/weather.742cc8c0.svg\";","module.exports = __webpack_public_path__ + \"static/img/device.01480d11.svg\";","module.exports = __webpack_public_path__ + \"static/img/babyselected.422eb07d.svg\";","var $ = require('../internals/export');\nvar fill = require('../internals/array-fill');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.fill` method\n// https://tc39.es/ecma262/#sec-array.prototype.fill\n$({ target: 'Array', proto: true }, {\n fill: fill\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('fill');\n"],"sourceRoot":""}