chunk-7c57794f.ccf6f3ee.js.map 78 KB

1
  1. {"version":3,"sources":["webpack:///./src/assets/svg/deviceroom.svg","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/utils/swiper.ts","webpack:///./src/assets/svg/dev.svg","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:///./src/views/mapDataNew/sichuan.vue?c7c3","webpack:///./node_modules/core-js/modules/es.array.fill.js","webpack:///./src/views/mapDataNew/sichuan.vue?61dc","webpack:///./src/views/mapDataNew/sichuan.vue?bec9","webpack:///./src/views/mapDataNew/sichuan.vue"],"names":["module","exports","setupService","objectService","duoduoenvService","weachatService","getCompanyInfo","companyInfo","request","companyId","GET","undefined","json","getWeather","params","getSpaceInfo","data","POST","getMeetingSceneHttp","spaceId","getEquipmentListHttp","getSetTimeHttp","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","map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","swiper","el","options","isMove","startX","startY","moveX","moveY","disX","disY","fun","swipeLeft","swipeRight","swipeDown","swipeUp","drag","assign","addEventListener","touches","pageX","pageY","passive","mation","call","absX","Math","abs","absY","toObject","toAbsoluteIndex","toLength","value","O","this","length","argumentsLength","arguments","index","end","endPos","$","fill","addToUnscopables","target","proto","_hoisted_1","class","style","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","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","left","devicePoint","top","src","parseImgUrl","alt","key","components","VanSearch","setup","ctx","centerObj","proxyData","copySpaceArr","width","height","scale","localName","fillColor","shadow","initCanvas","formSpaceData","sliderSwiper","sliderList","document","querySelector","canvasDom","getContext","clearRect","canClick","circleArr","circlePoint","beginPath","fillStyle","pointLeftArr","pointTopArr","pointArr","childItem","moveTo","lineTo","push","drawIcon","closePath","lineWidth","strokeStyle","stroke","bezierCurveTo","min1","MaxAndMin","min2","min","font","textAlign","fillText","logPointArr","shadowColor","shadowOffsetX","shadowOffsetY","shadowBlur","img","Image","onload","pat","createPattern","arr","apply","max","bindEvent","detect","event","x","clientX","getBoundingClientRect","y","clientY","i","iconFlag","dev","alert","dot","coordinates","flag","queryPtInPolygon","point","polygon","p1","p2","p3","p4","count","checkCross","v1","v2","v3","v","crossMul","url","iconPerstion","drawImage","setSpaceColor","projectId","floorId","then","res","resData","catch","JSON","parse","formatePage","stringify","__exports__"],"mappings":"sHAAAA,EAAOC,QAAU,IAA0B,sC,qBCA3CD,EAAOC,QAAU,kP,oCCAjB,wIAQO,IAAMC,EAAe,iCACfC,EAAgB,kCAChBC,EAAmB,qCACnBC,EAAiB,oB,0+CCAjBC,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,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AM,WACNE,IAAK,YAEP,CACEF,KAAM,WACNE,IAAK,YAEP,CACEF,KAAM,WACNE,IAAK,aAGTD,YAAa,CACX,CACED,KAAM,OACNE,IAAK,QAEP,CACEF,KAAM,OACNE,IAAK,QAEP,CACEF,KAAM,OACNE,IAAK,SAGT6B,YAAa,GACbuB,YAAa,CACX,CACEtD,KAAM,OACNE,IAAK,QAEP,CACEF,KAAM,OACNE,IAAK,UAIX,CACEhI,QAAS,OACT+I,UAAW,OACXY,UAAU,EACVO,SAAU,CACR,CACEpC,KAAM,WACNE,IAAK,YAEP,CACEF,KAAM,WACNE,IAAK,YAEP,CACEF,KAAM,WACNE,IAAK,YAEP,CACEF,KAAM,WACNE,IAAK,YAEP,CACEF,KAAM,WACNE,IAAK,aAGTD,YAAa,CACX,CACED,KAAM,OACNE,IAAK,QAEP,CACEF,KAAM,OACNE,IAAK,QAEP,CACEF,KAAM,OACNE,IAAK,SAGT6B,YAAa,GACbuB,YAAa,CACX,CACEtD,KAAM,OACNE,IAAK,QAEP,CACEF,KAAM,OACNE,IAAK,WAKbU,EAAUC,aAAe6F,KAAKG,UAAU/G,GACxCc,EAAUS,mBAWd,OARA,uBAAS,WACPT,EAAUuD,eAEZ,wBAAU,WAERvD,EAAUgG,cACVhG,EAAUQ,gBAEZ,kBACK,oBAAOR,O,iCCrvChB,MAAMkG,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASnI,GAAQ,CAAC,YAAY,qBAE1E,gB","file":"static/js/chunk-7c57794f.ccf6f3ee.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/img/deviceroom.01480d11.svg\";","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 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 { 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>(`${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(`${duoduoenvService}customScene/saveBatchCustomScene`, data)\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\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\";","export function swiper(el: any, options: any) {\n //设置开关,监听move事件\n let isMove: any = false\n // 设置手指触摸开始的坐标\n let startX: any = 0\n let startY: any = 0\n // 设置手指移动的坐标\n let moveX: any = 0\n let moveY: any = 0\n //设置指针距离元素的边框的距离\n let disX: any = 0\n let disY: any = 0\n // 如果用户未传入参数2,自己定义一个\n let fun: any = function() {\n }\n let data: any = {\n swipeLeft: fun,\n swipeRight: fun,\n swipeDown: fun,\n swipeUp: fun,\n drag: fun\n }\n // 判断是否传入参数2,有的话覆盖默认值\n Object.assign(data, options)\n // 给元素绑定三个事件\n el.addEventListener('touchstart', function(e: any) {\n //获取手指开始的坐标\n startX = e.touches[0].pageX\n startY = e.touches[0].pageY\n //计算指针距离元素边框的位置\n disX = 0\n disY = 0\n }, { passive: true })\n el.addEventListener('touchmove', function(e: any) {\n //如果触发了move事件,打开开关\n isMove = true\n // 获取移动时的坐标\n moveX = e.touches[0].pageX\n moveY = e.touches[0].pageY\n e.mation = {\n startX: startX,\n startY: startY,\n moveX: moveX,\n moveY: moveY,\n disX: disX,\n disY: disY\n }\n data.drag.call(el, e)\n // 判断是否触发了move事件\n if (isMove) {\n // 计算水平边长\n let absX: any = Math.abs(moveX - startX)\n // 计算垂直边长\n let absY: any = Math.abs(moveY - startY)\n // 判断垂直还是水平滑动\n if (absX > absY) {\n // console.log('水平滑动');\n //再判断是左滑右滑\n if (moveX - startX > 0) {\n data.swipeRight.call(el, e)\n } else {\n data.swipeLeft.call(el, e)\n }\n } else {\n // console.log('垂直滑动');\n //判断是上滑还是下滑\n if (moveY - startX > 0) { // 下滑\n data.swipeDown.call(el, e)\n } else {\n data.swipeUp.call(el, e)\n }\n }\n }\n }, { passive: true })\n el.addEventListener('touchend', function(e: any) {\n isMove = false\n })\n}\n","module.exports = __webpack_public_path__ + \"static/img/dev.941b2e3a.svg\";","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\";","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!./sichuan.vue?vue&type=style&index=0&id=eaf30176&lang=scss&scoped=true\"","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","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-eaf30176\"),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\",\"z-index\":\"999\"}\n}\nconst _hoisted_3 = {\n class: \"canvas-box\",\n style: {\"overflow\":\"hidden\"},\n id: \"canvasBox\"\n}\nconst _hoisted_4 = {\n id: \"myCanvas\",\n class: \"canvas-dom\",\n style: {\"boder\":\"1px solid red\"}\n}\nconst _hoisted_5 = [\"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 class: \"space-search\",\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(\"div\", _hoisted_3, [\n _createElementVNode(\"canvas\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.spaceList, (item, index) => {\n return (_openBlock(), _createElementBlock(\"img\", {\n style: _normalizeStyle([{\n left: item.devicePoint[0].left,\n top: item.devicePoint[0].top,\n }, {\"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_5))\n }), 128))\n ])\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\";\nimport { swiper } from \"@/utils/swiper\";\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 copySpaceArr: spaceList,\n parseImgUrl: parseImgUrl,\n spaceName: \"\",\n width: 4327.5,\n height: 3078.75,\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.formSpaceData();\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.formSpaceData();\n proxyData.initCanvas();\n },\n sliderSwiper() {\n // 获取当前时间的下标\n let sliderList: any = document.querySelector(\"#sliderListId\");\n sliderList.addEventListener(\"touchstart\", function (e: any) {});\n swiper(sliderList, {\n swipeLeft: function (e: any) {},\n swipeRight: function (e: any) {},\n });\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(\n proxyData.scale,\n proxyData.scale,\n centerObj.left,\n centerObj.top\n );\n\n proxyData.spaceList.map((item: any) => {\n if (item.canClick) {\n let circleArr: any = item.circlePoint;\n ctx.beginPath();\n ctx.fillStyle = item.fillColor;\n let pointLeftArr: any = [];\n let pointTopArr: any = [];\n\n item.pointArr.map((childItem: any, index: any) => {\n // debugger\n childItem.left = childItem.left;\n childItem.top = childItem.top;\n if (index == 0) {\n ctx.moveTo(childItem.left, childItem.top);\n } else {\n ctx.lineTo(childItem.left, childItem.top);\n }\n pointLeftArr.push(childItem.left);\n pointTopArr.push(childItem.top);\n });\n\n proxyData.drawIcon(ctx, \"coffee.svg\", item.devicePoint[0]);\n proxyData.drawIcon(ctx, \"dev.svg\", item.devicePoint[1]);\n proxyData.drawIcon(ctx, \"deviceroom.svg\", item.devicePoint[2]);\n ctx.closePath();\n ctx.fill();\n ctx.lineWidth = 1;\n ctx.strokeStyle = \"rgba(15, 206, 233, 1)\";\n ctx.stroke();\n ctx.beginPath();\n if (circleArr && circleArr.length) {\n console.log(circleArr);\n ctx.lineTo(circleArr[3].left, circleArr[3].top);\n ctx.bezierCurveTo(\n circleArr[2].left,\n circleArr[2].top,\n circleArr[1].left,\n circleArr[1].top,\n circleArr[0].left,\n circleArr[0].top\n );\n }\n ctx.closePath();\n ctx.fill();\n ctx.lineWidth = 1;\n ctx.strokeStyle = \"rgba(15, 206, 233, 1)\";\n ctx.stroke();\n\n let min1: any =\n proxyData.MaxAndMin(pointLeftArr)[1] -\n proxyData.MaxAndMin(pointLeftArr)[0];\n let min2: any =\n proxyData.MaxAndMin(pointTopArr)[1] -\n proxyData.MaxAndMin(pointTopArr)[0];\n let min: any = min1 < min2 ? min1 : min2;\n ctx.beginPath();\n ctx.font = \"13px serif\";\n ctx.textAlign = \"center\";\n ctx.fillStyle = item.fillColor !== \"#ececec\" ? \"#ffffff\" : \"red\";\n console.log(\"min===\" + min);\n if (item.localName && min > 100) {\n ctx.fillText(\n item.localName,\n item.logPointArr[0].left,\n item.logPointArr[0].top,\n item.width\n );\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 item.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 MaxAndMin(arr: any) {\n return [Math.min.apply(null, arr), Math.max.apply(null, arr)];\n },\n // 绑定事件\n bindEvent() {\n let canvasDom: any = document.querySelector(\"#myCanvas\");\n // 点击事件\n canvasDom.addEventListener(\"click\", proxyData.detect);\n },\n // 地图点击事件\n detect(event: any) {\n let canvasDom: any = document.querySelector(\"#myCanvas\");\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 devicePoint: any = item.devicePoint;\n let pointArr: any = item.pointArr;\n let iconFlag: any = false;\n devicePoint.map((dev: any, index: any) => {\n if (\n x >= dev.left &&\n x <= dev.left + 20 &&\n y >= dev.top &&\n y < dev.top + 20\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 coordinates.map((item: any) => {\n item.x = item.left;\n item.y = item.top;\n });\n let flag = proxyData.queryPtInPolygon(dot, coordinates);\n // console.log(flag);\n if (flag) {\n alert(\"点击了区域\");\n break;\n }\n }\n },\n queryPtInPolygon(point: any, polygon: any) {\n let p1: any = \"\";\n let p2: any = \"\";\n let p3: any = \"\";\n let p4: any = \"\";\n\n p1 = point;\n p2 = { x: 1000000000000, y: point.y };\n\n let count: any = 0;\n //对每条边都和射线作对比\n for (let i = 0; i < polygon.length - 1; i++) {\n p3 = polygon[i];\n p4 = polygon[i + 1];\n if (checkCross(p1, p2, p3, p4) == true) {\n count++;\n }\n }\n p3 = polygon[polygon.length - 1];\n\n p4 = polygon[0];\n if (checkCross(p1, p2, p3, p4) == true) {\n count++;\n }\n\n return count % 2 == 0 ? false : true;\n\n //判断两条线段是否相交\n function checkCross(p1: any, p2: any, p3: any, p4: any) {\n let v1: any = { x: p1.x - p3.x, y: p1.y - p3.y };\n let v2: any = { x: p2.x - p3.x, y: p2.y - p3.y };\n\n let v3: any = { x: p4.x - p3.x, y: p4.y - p3.y };\n let v: any = crossMul(v1, v3) * crossMul(v2, v3);\n\n v1 = { x: p3.x - p1.x, y: p3.y - p1.y };\n v2 = { x: p4.x - p1.x, y: p4.y - p1.y };\n\n v3 = { x: p2.x - p1.x, y: p2.y - p1.y };\n return v <= 0 && crossMul(v1, v3) * crossMul(v2, v3) <= 0\n ? true\n : false;\n }\n\n //计算向量叉乘\n function crossMul(v1: any, v2: any) {\n return v1.x * v2.y - v1.y * v2.x;\n }\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, 25, 15);\n iconPerstion.width = 30;\n iconPerstion.height = 30;\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 formSpaceData() {\n proxyData.spaceList = JSON.parse(proxyData.copySpaceArr);\n\n proxyData.spaceList.map((item: any) => {\n item.canClick = true;\n item.fillColor = \"#ececec\";\n // debugger\n item.devicePoint.map((dev: any) => {\n dev.left = dev.left * proxyData.scale;\n dev.top = (proxyData.height - dev.top) * proxyData.scale;\n });\n item.logPointArr.map((dev: any) => {\n dev.left = dev.left * proxyData.scale;\n dev.top = (proxyData.height - dev.top) * proxyData.scale;\n });\n item.pointArr.map((dev: any) => {\n dev.left = dev.left * proxyData.scale;\n dev.top = (proxyData.height - dev.top) * proxyData.scale;\n });\n item.circlePoint.map((dev: any) => {\n dev.left = dev.left * proxyData.scale;\n dev.top = (proxyData.height - dev.top) * proxyData.scale;\n });\n });\n },\n // 格式化地图数据\n formatePage() {\n let spaceList: any = [\n {\n spaceId: \"办公室A301\",\n localName: \"办公室A301\",\n canClick: true,\n pointArr: [\n {\n left: \"1913.001\",\n top: \"949.4397\",\n },\n {\n left: \"1913.001\",\n top: \"878.5956\",\n },\n {\n left: \"1781.161\",\n top: \"742.9783\",\n },\n {\n left: \"1855.397\",\n top: \"668.743\",\n },\n {\n left: \"1820.078\",\n top: \"633.4244\",\n },\n {\n left: \"1641.001\",\n top: \"633.4244\",\n },\n {\n left: \"1641.001\",\n top: \"526.7994\",\n },\n {\n left: \"1613.501\",\n top: \"526.7994\",\n },\n {\n left: \"1613.501\",\n top: \"468.0494\",\n },\n {\n left: \"1499.376\",\n top: \"468\",\n },\n {\n left: \"1499.376\",\n top: \"401.7994\",\n },\n {\n left: \"1090.751\",\n top: \"401.7994\",\n },\n {\n left: \"1090.751\",\n top: \"949.4397\",\n },\n ],\n devicePoint: [\n {\n left: \"1790\",\n top: \"913\",\n },\n {\n left: \"1725\",\n top: \"913\",\n },\n {\n left: \"1663\",\n top: \"913\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1355\",\n top: \"722\",\n },\n {\n left: \"1355\",\n top: \"766\",\n },\n ],\n },\n {\n spaceId: \"办公室A302\",\n localName: \"办公室A302\",\n canClick: true,\n pointArr: [\n {\n left: \"1085.751\",\n top: \"949.4397\",\n },\n {\n left: \"1085.751\",\n top: \"401.7994\",\n },\n {\n left: \"815.0008\",\n top: \"401.7994\",\n },\n {\n left: \"815.0008\",\n top: \"468\",\n },\n {\n left: \"668.3758\",\n top: \"468\",\n },\n {\n left: \"668.3758\",\n top: \"525.5494\",\n },\n {\n left: \"530.8758\",\n top: \"525.5494\",\n },\n {\n left: \"530.8758\",\n top: \"949.4397\",\n },\n ],\n devicePoint: [\n {\n left: \"1021\",\n top: \"913\",\n },\n {\n left: \"969\",\n top: \"913\",\n },\n {\n left: \"913\",\n top: \"913\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"787\",\n top: \"724\",\n },\n {\n left: \"787\",\n top: \"762\",\n },\n ],\n },\n {\n spaceId: \"办公室A303\",\n localName: \"办公室A303\",\n canClick: true,\n pointArr: [\n {\n left: \"2402.001\",\n top: \"949.4397\",\n },\n {\n left: \"2402.001\",\n top: \"633.4244\",\n },\n {\n left: \"2246.626\",\n top: \"633.4244\",\n },\n {\n left: \"2246.626\",\n top: \"530.5494\",\n },\n {\n left: \"2322.876\",\n top: \"530.8391\",\n },\n {\n left: \"2322.876\",\n top: \"394.0305\",\n },\n {\n left: \"1860.126\",\n top: \"376.175\",\n },\n {\n left: \"1860.126\",\n top: \"553.2639\",\n },\n {\n left: \"2055.876\",\n top: \"750.0494\",\n },\n {\n left: \"2055.876\",\n top: \"949.4397\",\n },\n ],\n devicePoint: [\n {\n left: \"2354\",\n top: \"911\",\n },\n {\n left: \"2300\",\n top: \"911\",\n },\n {\n left: \"2250\",\n top: \"911\",\n },\n ],\n circlePoint: [\n {\n left: \"2322.876\",\n top: \"394.0305\",\n },\n {\n left: \"2292.682\",\n top: \"365.171\",\n },\n {\n left: \"1949.325\",\n top: \"347.4\",\n },\n {\n left: \"1860.126\",\n top: \"376.175\",\n },\n ],\n logPointArr: [\n {\n left: \"2178\",\n top: \"735\",\n },\n {\n left: \"2178\",\n top: \"786\",\n },\n ],\n },\n {\n spaceId: \"空间1\",\n localName: \"空间1\",\n canClick: true,\n pointArr: [\n {\n left: \"1369.626\",\n top: \"1178.549\",\n },\n {\n left: \"1329.594\",\n top: \"1178.549\",\n },\n {\n left: \"1294.238\",\n top: \"1143.194\",\n },\n {\n left: \"1179.453\",\n top: \"1257.98\",\n },\n {\n left: \"1205.969\",\n top: \"1284.496\",\n },\n {\n left: \"1202.218\",\n top: \"1288.248\",\n },\n {\n left: \"1202.218\",\n top: \"1296.049\",\n },\n {\n left: \"1369.626\",\n top: \"1296.049\",\n },\n ],\n devicePoint: [\n {\n left: \"1346.8\",\n top: \"1281.975\",\n },\n {\n left: \"1326.35\",\n top: \"1282.4\",\n },\n {\n left: \"1304.875\",\n top: \"1282.6\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1286.9\",\n top: \"1228.5\",\n },\n {\n left: \"1287.1\",\n top: \"1239.025\",\n },\n ],\n },\n {\n spaceId: \"空间2\",\n localName: \"空间2\",\n canClick: true,\n pointArr: [\n {\n left: \"1561.053\",\n top: \"1107.957\",\n },\n {\n left: \"1500.395\",\n top: \"1047.299\",\n },\n {\n left: \"1429.626\",\n top: \"1047.299\",\n },\n {\n left: \"1429.626\",\n top: \"1178.056\",\n },\n {\n left: \"1460.29\",\n top: \"1208.72\",\n },\n ],\n devicePoint: [\n {\n left: \"1489.375\",\n top: \"1145.875\",\n },\n {\n left: \"1468.4\",\n top: \"1143.925\",\n },\n {\n left: \"1449.35\",\n top: \"1143.925\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1470.35\",\n top: \"1103.125\",\n },\n {\n left: \"1469.95\",\n top: \"1114.4\",\n },\n ],\n },\n {\n spaceId: \"空间4\",\n localName: \"空间4\",\n canClick: true,\n pointArr: [\n {\n left: \"1801.665\",\n top: \"1377.289\",\n },\n {\n left: \"1720.283\",\n top: \"1295.907\",\n },\n {\n left: \"1662.513\",\n top: \"1353.677\",\n },\n {\n left: \"1743.895\",\n top: \"1435.059\",\n },\n ],\n devicePoint: [\n {\n left: \"1763.075\",\n top: \"1389.925\",\n },\n {\n left: \"1738.825\",\n top: \"1390.875\",\n },\n {\n left: \"1718.05\",\n top: \"1389.6\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1728.125\",\n top: \"1350.575\",\n },\n {\n left: \"1727.175\",\n top: \"1365.05\",\n },\n ],\n },\n {\n spaceId: \"空间5\",\n localName: \"空间5\",\n canClick: true,\n pointArr: [\n {\n left: \"1803.786\",\n top: \"1375.167\",\n },\n {\n left: \"1860.496\",\n top: \"1318.458\",\n },\n {\n left: \"1779.114\",\n top: \"1237.076\",\n },\n {\n left: \"1722.404\",\n top: \"1293.785\",\n },\n ],\n devicePoint: [\n {\n left: \"1820.05\",\n top: \"1328.225\",\n },\n {\n left: \"1803.675\",\n top: \"1326.975\",\n },\n {\n left: \"1782.275\",\n top: \"1328.225\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1784.15\",\n top: \"1292.65\",\n },\n {\n left: \"1783.525\",\n top: \"1306.825\",\n },\n ],\n },\n {\n spaceId: \"空间6\",\n localName: \"空间6\",\n canClick: true,\n pointArr: [\n {\n left: \"1839.005\",\n top: \"1177.184\",\n },\n {\n left: \"1920.387\",\n top: \"1258.566\",\n },\n {\n left: \"1862.617\",\n top: \"1316.336\",\n },\n {\n left: \"1781.235\",\n top: \"1234.954\",\n },\n ],\n devicePoint: [\n {\n left: \"1877.65\",\n top: \"1267.8\",\n },\n {\n left: \"1853.725\",\n top: \"1267.475\",\n },\n {\n left: \"1832.625\",\n top: \"1266.85\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1838.625\",\n top: \"1236.95\",\n },\n {\n left: \"1836.725\",\n top: \"1249.525\",\n },\n ],\n },\n {\n spaceId: \"空间7\",\n localName: \"空间7\",\n canClick: true,\n pointArr: [\n {\n left: \"1905.647\",\n top: \"1407.436\",\n },\n {\n left: \"1987.452\",\n top: \"1325.631\",\n },\n {\n left: \"1922.509\",\n top: \"1260.688\",\n },\n {\n left: \"1840.704\",\n top: \"1342.493\",\n },\n ],\n devicePoint: [\n {\n left: \"1937.125\",\n top: \"1351.825\",\n },\n {\n left: \"1914.475\",\n top: \"1352.475\",\n },\n {\n left: \"1888.35\",\n top: \"1353.4\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1911.65\",\n top: \"1318.775\",\n },\n {\n left: \"1910.7\",\n top: \"1334.85\",\n },\n ],\n },\n {\n spaceId: \"空间8\",\n localName: \"空间8\",\n canClick: true,\n pointArr: [\n {\n left: \"1810.959\",\n top: \"1502.123\",\n },\n {\n left: \"1903.525\",\n top: \"1409.557\",\n },\n {\n left: \"1838.582\",\n top: \"1344.614\",\n },\n {\n left: \"1746.016\",\n top: \"1437.18\",\n },\n ],\n devicePoint: [\n {\n left: \"1838.925\",\n top: \"1439.65\",\n },\n {\n left: \"1816.9\",\n top: \"1439.35\",\n },\n {\n left: \"1793.6\",\n top: \"1439.65\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1817.2\",\n top: \"1402.2\",\n },\n {\n left: \"1816.575\",\n top: \"1421.075\",\n },\n ],\n },\n {\n spaceId: \"空间9\",\n localName: \"空间9\",\n canClick: true,\n pointArr: [\n {\n left: \"1840.218\",\n top: \"1116.879\",\n },\n {\n left: \"1905.394\",\n top: \"1116.879\",\n },\n {\n left: \"1905.394\",\n top: \"1014.44\",\n },\n {\n left: \"1808.586\",\n top: \"1014.44\",\n },\n {\n left: \"1773.183\",\n top: \"1049.843\",\n },\n ],\n devicePoint: [\n {\n left: \"1875\",\n top: \"1085\",\n },\n {\n left: \"1856\",\n top: \"1085\",\n },\n {\n left: \"1837\",\n top: \"1086\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1855\",\n top: \"1051\",\n },\n {\n left: \"1855\",\n top: \"1065\",\n },\n ],\n },\n {\n spaceId: \"空间10\",\n localName: \"空间10\",\n canClick: true,\n pointArr: [\n {\n left: \"2062.998\",\n top: \"1153.577\",\n },\n {\n left: \"2062.998\",\n top: \"1014.44\",\n },\n {\n left: \"1908.394\",\n top: \"1014.44\",\n },\n {\n left: \"1908.394\",\n top: \"1153.577\",\n },\n ],\n devicePoint: [\n {\n left: \"2008\",\n top: \"1103\",\n },\n {\n left: \"1980\",\n top: \"1102\",\n },\n {\n left: \"1949\",\n top: \"1103\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1981\",\n top: \"1064\",\n },\n {\n left: \"1980\",\n top: \"1083\",\n },\n ],\n },\n {\n spaceId: \"空间11\",\n localName: \"空间11\",\n canClick: true,\n pointArr: [\n {\n left: \"2198.338\",\n top: \"1153.577\",\n },\n {\n left: \"2198.338\",\n top: \"1014.44\",\n },\n {\n left: \"2065.998\",\n top: \"1014.44\",\n },\n {\n left: \"2065.998\",\n top: \"1153.577\",\n },\n ],\n devicePoint: [\n {\n left: \"2159\",\n top: \"1102\",\n },\n {\n left: \"2129\",\n top: \"1102\",\n },\n {\n left: \"2093\",\n top: \"1103\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"2131\",\n top: \"1063\",\n },\n {\n left: \"2130\",\n top: \"1084\",\n },\n ],\n },\n {\n spaceId: \"空间12\",\n localName: \"空间12\",\n canClick: true,\n pointArr: [\n {\n left: \"2266.514\",\n top: \"1116.879\",\n },\n {\n left: \"2335.317\",\n top: \"1048.075\",\n },\n {\n left: \"2301.681\",\n top: \"1014.44\",\n },\n {\n left: \"2201.338\",\n top: \"1014.44\",\n },\n {\n left: \"2201.338\",\n top: \"1116.879\",\n },\n ],\n devicePoint: [\n {\n left: \"2261\",\n top: \"1078\",\n },\n {\n left: \"2241\",\n top: \"1078\",\n },\n {\n left: \"2220\",\n top: \"1078\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"2241\",\n top: \"1050\",\n },\n {\n left: \"2241\",\n top: \"1063\",\n },\n ],\n },\n {\n spaceId: \"空间13\",\n localName: \"空间13\",\n canClick: true,\n pointArr: [\n {\n left: \"1908.394\",\n top: \"1185.054\",\n },\n {\n left: \"1908.361\",\n top: \"1156.534\",\n },\n {\n left: \"2051.866\",\n top: \"1156.577\",\n },\n {\n left: \"2051.866\",\n top: \"1283.888\",\n },\n {\n left: \"2007.227\",\n top: \"1283.888\",\n },\n ],\n devicePoint: [\n {\n left: \"2021\",\n top: \"1230\",\n },\n {\n left: \"2000\",\n top: \"1230\",\n },\n {\n left: \"1979\",\n top: \"1230\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"2000\",\n top: \"1200\",\n },\n {\n left: \"2000\",\n top: \"1216\",\n },\n ],\n },\n {\n spaceId: \"空间14\",\n localName: \"空间14\",\n canClick: true,\n pointArr: [\n {\n left: \"2099.505\",\n top: \"1283.888\",\n },\n {\n left: \"2196.718\",\n top: \"1186.674\",\n },\n {\n left: \"2196.718\",\n top: \"1156.577\",\n },\n {\n left: \"2054.866\",\n top: \"1156.577\",\n },\n {\n left: \"2054.866\",\n top: \"1283.888\",\n },\n ],\n devicePoint: [\n {\n left: \"2112\",\n top: \"1230\",\n },\n {\n left: \"2092\",\n top: \"1230\",\n },\n {\n left: \"2072\",\n top: \"1230\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"2092\",\n top: \"1204\",\n },\n {\n left: \"2092\",\n top: \"1218\",\n },\n ],\n },\n ];\n proxyData.copySpaceArr = JSON.stringify(spaceList);\n proxyData.formSpaceData();\n },\n });\n nextTick(() => {\n proxyData.bindEvent();\n });\n onMounted(() => {\n // proxyData.getMapInfo();\n proxyData.formatePage();\n proxyData.initCanvas();\n });\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./sichuan.vue?vue&type=template&id=eaf30176&scoped=true&ts=true\"\nimport script from \"./sichuan.vue?vue&type=script&lang=ts\"\nexport * from \"./sichuan.vue?vue&type=script&lang=ts\"\n\nimport \"./sichuan.vue?vue&type=style&index=0&id=eaf30176&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-eaf30176\"]])\n\nexport default __exports__"],"sourceRoot":""}