chunk-7ed48338.f040d21b.js.map 89 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:///./node_modules/core-js/modules/es.array.fill.js","webpack:///./src/views/mapDataNew/sichuan.vue?e31f","webpack:///./src/views/mapDataNew/sichuan.vue?80c8","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","n","_hoisted_1","class","style","_hoisted_2","_hoisted_3","render","_ctx","_cache","$props","$setup","$data","$options","_component_van_search","_component_van_icon","modelValue","spaceName","$event","searchSpace","placeholder","onClick","zommAdd","name","color","zommDel","components","VanSearch","setup","spaceList","ctx","centerObj","proxyData","copySpaceArr","parseImgUrl","width","height","scale","item","localName","fillColor","shadow","initCanvas","formSpaceData","sliderSwiper","sliderList","document","querySelector","canvasDom","getContext","drawDpiBegin","clearRect","left","top","canClick","circleArr","circlePoint","beginPath","fillStyle","pointLeftArr","pointTopArr","pointArr","childItem","moveTo","lineTo","push","drawIcon","devicePoint","closePath","lineWidth","strokeStyle","stroke","bezierCurveTo","min1","MaxAndMin","min2","min","font","textAlign","fillText","logPointArr","shadowColor","shadowOffsetX","shadowOffsetY","shadowBlur","img","Image","src","onload","pat","createPattern","drawDpiEnd","arr","apply","max","bindEvent","detect","dom","context","save","scaleValue","window","devicePixelRatio","setAttribute","restore","event","x","clientX","getBoundingClientRect","y","clientY","i","iconFlag","dev","dot","coordinates","flag","queryPtInPolygon","point","polygon","p1","p2","p3","p4","count","checkCross","v1","v2","v3","v","crossMul","url","iconPerstion","drawImage","setSpaceColor","JSON","parse","formatePage","stringify","projectId","floorId","then","res","resData","catch","__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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,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,OAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,QAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,OAEP,CACED,KAAM,WACNC,IAAK,OAEP,CACED,KAAM,WACNC,IAAK,UAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,YAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,UACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,GACVM,YAAa,GACbX,YAAa,GACbwB,YAAa,IAEf,CACEjL,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,UACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,UACNC,IAAK,YAEP,CACED,KAAM,UACNC,IAAK,aAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,OAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,QAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,UACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,UACNC,IAAK,YAEP,CACED,KAAM,UACNC,IAAK,aAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,QAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,UACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,UACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,SACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,UACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,UACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,UACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,OACTwI,UAAW,OACXe,UAAU,EACVO,SAAU,CACR,CACET,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,UACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,UACNC,IAAK,aAGTc,YAAa,CACX,CACEf,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,UACNC,IAAK,aAGTG,YAAa,GACbwB,YAAa,CACX,CACE5B,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,cAIX,CACEtJ,QAAS,MACTwI,UAAW,MACXe,UAAU,EACVO,SAAU,GACVM,YAAa,GACbX,YAAa,CACX,CACEJ,KAAM,UACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,UACNC,IAAK,YAEP,CACED,KAAM,UACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,WAEP,CACED,KAAM,WACNC,IAAK,YAEP,CACED,KAAM,WACNC,IAAK,aAGT2B,YAAa,KAGjBhD,EAAUC,aAAesG,KAAKG,UAAU7G,GACxCG,EAAUW,iBAMZ5H,WAlkDyB,WAmkDvB,IAAIrB,EAAc,CAChBiP,UAAW,eACXC,QAAS,gDAEX,eAAWlP,GACRmP,MAAK,SAACC,GAAO,MAERC,EAAeD,EACflP,EAAI,iBAAQmP,QAAR,IAAQA,OAAR,EAAQA,EAASnP,YAAjB,QAAyB,KACjCoI,EAAUG,MAAQvI,EAAKuI,MACvBH,EAAUI,OAASxI,EAAKwI,OACxBJ,EAAUH,UAAYjI,EAAKiI,UAC3BG,EAAUsG,gBACVtG,EAAUU,gBAEXsG,OAAM,kBAWb,OARA,uBAAS,WACPhH,EAAU+D,eAEZ,wBAAU,WAER/D,EAAUyG,cACVzG,EAAUU,gBAEZ,kBACK,oBAAOV,O,iCCvmDhB,MAAMiH,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAS1I,GAAQ,CAAC,YAAY,qBAE1E,gB","file":"static/js/chunk-7ed48338.f040d21b.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>(`${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\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\";","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","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=150fc38d&lang=scss&scoped=true\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-150fc38d\"),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 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"canvas-box\",\n id: \"canvasBox\"\n}, [\n /*#__PURE__*/_createElementVNode(\"canvas\", {\n id: \"myCanvas\",\n class: \"canvas-dom\",\n style: {\"boder\":\"1px solid red\"}\n })\n], -1))\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 _hoisted_3\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: 3361.136,\n height: 2729.25,\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.drawDpiBegin(\n canvasDom,\n ctx,\n proxyData.width,\n proxyData.height\n );\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 // debugger;\n console.log(item.devicePoint);\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 proxyData.drawDpiEnd(canvasDom,ctx)\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 // 解决canvas画图模糊的问题\n // 开始画\n drawDpiBegin(dom: any, context: any, width: any, height: any) {\n context.save();\n let scaleValue = window.devicePixelRatio;\n dom.setAttribute(\"width\", width * scaleValue);\n dom.setAttribute(\"height\", height * scaleValue);\n\n dom.style.width = width + \"px\";\n dom.style.height = height + \"px\";\n context.scale(scaleValue, scaleValue);\n },\n // 画图介绍\n drawDpiEnd(dom: any, context: any) {\n context.restore();\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 console.log(`我被点了设备图标!${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 console.log(\"点击了区域\" + item.localName);\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 // 画图标\n drawIcon(ctx: any, url: any, iconPerstion: any) {\n if (iconPerstion) {\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 // 设置区域颜色\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 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: \"J303\",\n localName: \"J303\",\n canClick: true,\n pointArr: [\n {\n left: \"1946.764\",\n top: \"1087.086\",\n },\n {\n left: \"2005.1\",\n top: \"1028.749\",\n },\n {\n left: \"2117.354\",\n top: \"1141.002\",\n },\n {\n left: \"2059.017\",\n top: \"1199.339\",\n },\n ],\n devicePoint: [\n {\n left: \"2077.39\",\n top: \"1144.253\",\n },\n {\n left: \"2051.563\",\n top: \"1144.253\",\n },\n {\n left: \"2026.728\",\n top: \"1144.253\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"2021.762\",\n top: \"1097.565\",\n },\n {\n left: \"2021.762\",\n top: \"1120.412\",\n },\n ],\n },\n {\n spaceId: \"H306\",\n localName: \"H306\",\n canClick: true,\n pointArr: [\n {\n left: \"830.6358\",\n top: \"948\",\n },\n {\n left: \"830.6358\",\n top: \"791.125\",\n },\n {\n left: \"717.4568\",\n top: \"791.125\",\n },\n {\n left: \"644.6346\",\n top: \"863.9459\",\n },\n {\n left: \"644.6346\",\n top: \"948\",\n },\n ],\n devicePoint: [\n {\n left: \"796.9057\",\n top: \"922.0877\",\n },\n {\n left: \"763.7936\",\n top: \"922.0877\",\n },\n {\n left: \"728.2287\",\n top: \"922.0877\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"728.2287\",\n top: \"855.1661\",\n },\n {\n left: \"728.2287\",\n top: \"885.1655\",\n },\n ],\n },\n {\n spaceId: \"H307\",\n localName: \"H307\",\n canClick: true,\n pointArr: [\n {\n left: \"550.8858\",\n top: \"1205.413\",\n },\n {\n left: \"801.6358\",\n top: \"1205.413\",\n },\n {\n left: \"801.6356\",\n top: \"953\",\n },\n {\n left: \"566.7966\",\n top: \"953\",\n },\n {\n left: \"550.8863\",\n top: \"968.91\",\n },\n {\n left: \"550.8863\",\n top: \"982.1054\",\n },\n ],\n devicePoint: [\n {\n left: \"759.4864\",\n top: \"1182.355\",\n },\n {\n left: \"724.5347\",\n top: \"1182.355\",\n },\n {\n left: \"685.2907\",\n top: \"1182.355\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"668.1215\",\n top: \"1079.339\",\n },\n {\n left: \"668.1215\",\n top: \"1111.838\",\n },\n ],\n },\n {\n spaceId: \"J302\",\n localName: \"J302\",\n canClick: true,\n pointArr: [\n {\n left: \"2091.794\",\n top: \"1028.029\",\n },\n {\n left: \"2091.794\",\n top: \"1052.863\",\n },\n {\n left: \"2145.435\",\n top: \"1082.168\",\n },\n {\n left: \"2120.105\",\n top: \"1082.168\",\n },\n ],\n devicePoint: [\n {\n left: \"2184.529\",\n top: \"1073.827\",\n },\n {\n left: \"2126.192\",\n top: \"1132.164\",\n },\n {\n left: \"2094.277\",\n top: \"1082.168\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"2013.939\",\n top: \"1019.91\",\n },\n {\n left: \"2072.276\",\n top: \"961.5741\",\n },\n ],\n },\n {\n spaceId: \"H305\",\n localName: \"H305\",\n canClick: true,\n pointArr: [\n {\n left: \"830.6358\",\n top: \"656.474\",\n },\n {\n left: \"830.6358\",\n top: \"390.0002\",\n },\n {\n left: \"644.6346\",\n top: \"390.0002\",\n },\n {\n left: \"644.6346\",\n top: \"656.4696\",\n },\n ],\n devicePoint: [\n {\n left: \"796.9057\",\n top: \"625.9879\",\n },\n {\n left: \"763.7936\",\n top: \"625.9879\",\n },\n {\n left: \"728.2287\",\n top: \"625.9879\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"728.2287\",\n top: \"525.304\",\n },\n {\n left: \"728.2287\",\n top: \"559.37\",\n },\n ],\n },\n {\n spaceId: \"J301\",\n localName: \"J301\",\n canClick: true,\n pointArr: [\n {\n left: \"2146.522\",\n top: \"887.3279\",\n },\n {\n left: \"2196.725\",\n top: \"837.125\",\n },\n {\n left: \"2255.418\",\n top: \"837.125\",\n },\n {\n left: \"2281.636\",\n top: \"863.343\",\n },\n {\n left: \"2281.636\",\n top: \"976.7202\",\n },\n {\n left: \"2258.775\",\n top: \"999.5811\",\n },\n ],\n devicePoint: [\n {\n left: \"2262.196\",\n top: \"936.7435\",\n },\n {\n left: \"2240.471\",\n top: \"936.7435\",\n },\n {\n left: \"2217.942\",\n top: \"936.7435\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"2230.011\",\n top: \"894.0984\",\n },\n {\n left: \"2230.011\",\n top: \"914.6163\",\n },\n ],\n },\n {\n spaceId: \"J305\",\n localName: \"J305\",\n canClick: true,\n pointArr: [\n {\n left: \"1881.357\",\n top: \"1152.493\",\n },\n {\n left: \"1939.693\",\n top: \"1094.157\",\n },\n {\n left: \"2051.946\",\n top: \"1206.41\",\n },\n {\n left: \"1993.61\",\n top: \"1264.746\",\n },\n ],\n devicePoint: [\n {\n left: \"2012.127\",\n top: \"1209.928\",\n },\n {\n left: \"1986.781\",\n top: \"1209.928\",\n },\n {\n left: \"1961.838\",\n top: \"1209.928\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1958.217\",\n top: \"1167.686\",\n },\n {\n left: \"1958.217\",\n top: \"1187.399\",\n },\n ],\n },\n {\n spaceId: \"H301\",\n localName: \"H301\",\n canClick: true,\n pointArr: [],\n devicePoint: [],\n circlePoint: [],\n logPointArr: [],\n },\n {\n spaceId: \"J306\",\n localName: \"J306\",\n canClick: true,\n pointArr: [\n {\n left: \"1791.201\",\n top: \"1242.649\",\n },\n {\n left: \"1872.518\",\n top: \"1161.332\",\n },\n {\n left: \"1984.771\",\n top: \"1273.585\",\n },\n {\n left: \"1903.454\",\n top: \"1354.902\",\n },\n ],\n devicePoint: [\n {\n left: \"1920.411\",\n top: \"1293.763\",\n },\n {\n left: \"1892.204\",\n top: \"1293.763\",\n },\n {\n left: \"1864.61\",\n top: \"1293.763\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1879.94\",\n top: \"1239.189\",\n },\n {\n left: \"1879.94\",\n top: \"1262.49\",\n },\n ],\n },\n {\n spaceId: \"H303\",\n localName: \"H303\",\n canClick: true,\n pointArr: [\n {\n left: \"830.6358\",\n top: \"385\",\n },\n {\n left: \"830.6358\",\n top: \"275.375\",\n },\n {\n left: \"559.8858\",\n top: \"275.375\",\n },\n {\n left: \"559.8858\",\n top: \"385\",\n },\n ],\n devicePoint: [\n {\n left: \"796.9057\",\n top: \"360.6687\",\n },\n {\n left: \"763.7936\",\n top: \"360.6687\",\n },\n {\n left: \"728.2287\",\n top: \"360.6687\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"685.3056\",\n top: \"311.6137\",\n },\n {\n left: \"685.3056\",\n top: \"334.9148\",\n },\n ],\n },\n {\n spaceId: \"K308\",\n localName: \"K308\",\n canClick: true,\n pointArr: [\n {\n left: \"1881.357\",\n top: \"1576.757\",\n },\n {\n left: \"1939.693\",\n top: \"1635.093\",\n },\n {\n left: \"2051.946\",\n top: \"1522.84\",\n },\n {\n left: \"1993.61\",\n top: \"1464.504\",\n },\n ],\n devicePoint: [\n {\n left: \"1969.553\",\n top: \"1585.234\",\n },\n {\n left: \"1946.865\",\n top: \"1585.234\",\n },\n {\n left: \"1921.725\",\n top: \"1585.234\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1957.29\",\n top: \"1542.924\",\n },\n {\n left: \"1957.29\",\n top: \"1561.32\",\n },\n ],\n },\n {\n spaceId: \"H302\",\n localName: \"H302\",\n canClick: true,\n pointArr: [\n {\n left: \"554.8845\",\n top: \"384.9999\",\n },\n {\n left: \"554.8858\",\n top: \"275.375\",\n },\n {\n left: \"295.3858\",\n top: \"275.375\",\n },\n {\n left: \"295.3858\",\n top: \"385\",\n },\n ],\n devicePoint: [\n {\n left: \"509.3208\",\n top: \"360.6687\",\n },\n {\n left: \"475.5955\",\n top: \"360.6687\",\n },\n {\n left: \"442.4834\",\n top: \"360.6687\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"412.4372\",\n top: \"311.6137\",\n },\n {\n left: \"412.4372\",\n top: \"334.9148\",\n },\n ],\n },\n {\n spaceId: \"Z305\",\n localName: \"Z305\",\n canClick: true,\n pointArr: [\n {\n left: \"1266.174\",\n top: \"1194.919\",\n },\n {\n left: \"1374.008\",\n top: \"1087.086\",\n },\n {\n left: \"1315.671\",\n top: \"1028.749\",\n },\n {\n left: \"1207.837\",\n top: \"1136.583\",\n },\n ],\n devicePoint: [\n {\n left: \"1286.004\",\n top: \"1135.809\",\n },\n {\n left: \"1265.474\",\n top: \"1135.809\",\n },\n {\n left: \"1246.247\",\n top: \"1135.809\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1278.835\",\n top: \"1102.244\",\n },\n {\n left: \"1278.835\",\n top: \"1118.537\",\n },\n ],\n },\n {\n spaceId: \"Z306\",\n localName: \"Z306\",\n canClick: true,\n pointArr: [\n {\n left: \"1533.99\",\n top: \"1247.068\",\n },\n {\n left: \"1448.254\",\n top: \"1161.332\",\n },\n {\n left: \"1340.42\",\n top: \"1269.166\",\n },\n {\n left: \"1426.157\",\n top: \"1354.902\",\n },\n ],\n devicePoint: [\n {\n left: \"1460.698\",\n top: \"1276.037\",\n },\n {\n left: \"1427.586\",\n top: \"1276.037\",\n },\n {\n left: \"1392.021\",\n top: \"1276.037\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1427.586\",\n top: \"1231.274\",\n },\n {\n left: \"1427.586\",\n top: \"1252.122\",\n },\n ],\n },\n {\n spaceId: \"K309\",\n localName: \"K309\",\n canClick: true,\n pointArr: [\n {\n left: \"2005.1\",\n top: \"1700.501\",\n },\n {\n left: \"2117.354\",\n top: \"1588.248\",\n },\n {\n left: \"2059.017\",\n top: \"1529.911\",\n },\n {\n left: \"1946.764\",\n top: \"1642.164\",\n },\n ],\n devicePoint: [\n {\n left: \"2042.33\",\n top: \"1644.065\",\n },\n {\n left: \"2011.292\",\n top: \"1644.065\",\n },\n {\n left: \"1981.768\",\n top: \"1644.065\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"2029.461\",\n top: \"1598.644\",\n },\n {\n left: \"2029.461\",\n top: \"1619.083\",\n },\n ],\n },\n {\n spaceId: \"Z302\",\n localName: \"Z302\",\n canClick: true,\n pointArr: [\n {\n left: \"1133.591\",\n top: \"1062.337\",\n },\n {\n left: \"1241.425\",\n top: \"954.5031\",\n },\n {\n left: \"1183.089\",\n top: \"896.1668\",\n },\n {\n left: \"1075.255\",\n top: \"1004.001\",\n },\n ],\n devicePoint: [\n {\n left: \"1160.972\",\n top: \"1007.883\",\n },\n {\n left: \"1135.626\",\n top: \"1007.883\",\n },\n {\n left: \"1113.097\",\n top: \"1007.883\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1150.512\",\n top: \"968.8585\",\n },\n {\n left: \"1150.512\",\n top: \"987.7672\",\n },\n ],\n },\n {\n spaceId: \"Z303\",\n localName: \"Z303\",\n canClick: true,\n pointArr: [\n {\n left: \"1198.999\",\n top: \"1127.744\",\n },\n {\n left: \"1306.832\",\n top: \"1019.91\",\n },\n {\n left: \"1248.496\",\n top: \"961.5741\",\n },\n {\n left: \"1140.662\",\n top: \"1069.408\",\n },\n ],\n devicePoint: [\n {\n left: \"1227.238\",\n top: \"1065.557\",\n },\n {\n left: \"1203.099\",\n top: \"1065.557\",\n },\n {\n left: \"1181.777\",\n top: \"1065.557\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1213.559\",\n top: \"1028.142\",\n },\n {\n left: \"1213.559\",\n top: \"1044.235\",\n },\n ],\n },\n {\n spaceId: \"Z301\",\n localName: \"Z301\",\n canClick: true,\n pointArr: [\n {\n left: \"1066.416\",\n top: \"995.1617\",\n },\n {\n left: \"1160.108\",\n top: \"901.4701\",\n },\n {\n left: \"1174.25\",\n top: \"887.3279\",\n },\n {\n left: \"1124.047\",\n top: \"837.125\",\n },\n {\n left: \"1065.354\",\n top: \"837.125\",\n },\n {\n left: \"1039.136\",\n top: \"863.343\",\n },\n {\n left: \"1039.136\",\n top: \"967.8819\",\n },\n ],\n devicePoint: [\n {\n left: \"1105.957\",\n top: \"925.3431\",\n },\n {\n left: \"1082.116\",\n top: \"925.3431\",\n },\n {\n left: \"1057.282\",\n top: \"925.3431\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1082.116\",\n top: \"889.582\",\n },\n {\n left: \"1082.116\",\n top: \"906.9659\",\n },\n ],\n },\n {\n spaceId: \"K301\",\n localName: \"K301\",\n canClick: true,\n pointArr: [\n {\n left: \"1306.832\",\n top: \"1709.34\",\n },\n {\n left: \"1198.999\",\n top: \"1601.506\",\n },\n {\n left: \"1140.662\",\n top: \"1659.842\",\n },\n {\n left: \"1248.496\",\n top: \"1767.676\",\n },\n ],\n devicePoint: [\n {\n left: \"1262.545\",\n top: \"1714.478\",\n },\n {\n left: \"1239.613\",\n top: \"1714.478\",\n },\n {\n left: \"1217.486\",\n top: \"1714.478\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1217.486\",\n top: \"1668.212\",\n },\n {\n left: \"1217.486\",\n top: \"1689.937\",\n },\n ],\n },\n {\n spaceId: \"K302\",\n localName: \"K302\",\n canClick: true,\n pointArr: [\n {\n left: \"1315.671\",\n top: \"1700.501\",\n },\n {\n left: \"1374.008\",\n top: \"1642.164\",\n },\n {\n left: \"1266.174\",\n top: \"1534.331\",\n },\n {\n left: \"1207.837\",\n top: \"1592.667\",\n },\n ],\n devicePoint: [\n {\n left: \"1337.29\",\n top: \"1646.145\",\n },\n {\n left: \"1310.469\",\n top: \"1646.145\",\n },\n {\n left: \"1283.152\",\n top: \"1646.145\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1283.152\",\n top: \"1603.927\",\n },\n {\n left: \"1283.152\",\n top: \"1623.794\",\n },\n ],\n },\n {\n spaceId: \"K303\",\n localName: \"K303\",\n canClick: true,\n pointArr: [\n {\n left: \"1345.449\",\n top: \"1555.283\",\n },\n {\n left: \"1391.715\",\n top: \"1579.422\",\n },\n {\n left: \"1369.185\",\n top: \"1579.422\",\n },\n {\n left: \"1345.449\",\n top: \"1579.422\",\n },\n ],\n devicePoint: [\n {\n left: \"1273.245\",\n top: \"1527.26\",\n },\n {\n left: \"1381.079\",\n top: \"1635.093\",\n },\n {\n left: \"1345.449\",\n top: \"1535.972\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1439.415\",\n top: \"1576.757\",\n },\n {\n left: \"1331.581\",\n top: \"1468.923\",\n },\n ],\n },\n {\n spaceId: \"K307\",\n localName: \"K307\",\n canClick: true,\n pointArr: [\n {\n left: \"1872.518\",\n top: \"1567.918\",\n },\n {\n left: \"1984.771\",\n top: \"1455.665\",\n },\n {\n left: \"1903.454\",\n top: \"1374.348\",\n },\n {\n left: \"1791.201\",\n top: \"1486.601\",\n },\n ],\n devicePoint: [\n {\n left: \"1896.068\",\n top: \"1509.388\",\n },\n {\n left: \"1871.843\",\n top: \"1509.388\",\n },\n {\n left: \"1846.105\",\n top: \"1509.388\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1871.843\",\n top: \"1457.91\",\n },\n {\n left: \"1871.843\",\n top: \"1479.864\",\n },\n ],\n },\n {\n spaceId: \"K306\",\n localName: \"K306\",\n canClick: true,\n pointArr: [\n {\n left: \"1733.685\",\n top: \"1570.507\",\n },\n {\n left: \"1733.685\",\n top: \"1450.425\",\n },\n {\n left: \"1587.086\",\n top: \"1450.425\",\n },\n {\n left: \"1587.086\",\n top: \"1570.507\",\n },\n ],\n devicePoint: [\n {\n left: \"1706.092\",\n top: \"1554.085\",\n },\n {\n left: \"1688.169\",\n top: \"1554.085\",\n },\n {\n left: \"1669.594\",\n top: \"1554.085\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1660.386\",\n top: \"1504.227\",\n },\n {\n left: \"1660.386\",\n top: \"1519.543\",\n },\n ],\n },\n {\n spaceId: \"K310\",\n localName: \"K310\",\n canClick: true,\n pointArr: [\n {\n left: \"2013.939\",\n top: \"1709.34\",\n },\n {\n left: \"2072.276\",\n top: \"1767.676\",\n },\n {\n left: \"2184.529\",\n top: \"1655.423\",\n },\n {\n left: \"2126.192\",\n top: \"1597.086\",\n },\n ],\n devicePoint: [\n {\n left: \"2102.611\",\n top: \"1716.434\",\n },\n {\n left: \"2076.287\",\n top: \"1715.938\",\n },\n {\n left: \"2050.956\",\n top: \"1715.938\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"2098.638\",\n top: \"1669.746\",\n },\n {\n left: \"2098.638\",\n top: \"1689.614\",\n },\n ],\n },\n {\n spaceId: \"K305\",\n localName: \"K305\",\n canClick: true,\n pointArr: [\n {\n left: \"1448.254\",\n top: \"1567.918\",\n },\n {\n left: \"1533.99\",\n top: \"1482.182\",\n },\n {\n left: \"1426.157\",\n top: \"1374.348\",\n },\n {\n left: \"1340.42\",\n top: \"1460.084\",\n },\n ],\n devicePoint: [\n {\n left: \"1467.209\",\n top: \"1505.718\",\n },\n {\n left: \"1441.461\",\n top: \"1505.718\",\n },\n {\n left: \"1415.31\",\n top: \"1505.718\",\n },\n ],\n circlePoint: [],\n logPointArr: [\n {\n left: \"1430.196\",\n top: \"1456.636\",\n },\n {\n left: \"1430.196\",\n top: \"1477.959\",\n },\n ],\n },\n {\n spaceId: \"unc\",\n localName: \"unc\",\n canClick: true,\n pointArr: [],\n devicePoint: [],\n circlePoint: [\n {\n left: \"2083.25\",\n top: \"1776.783\",\n },\n {\n left: \"2205.405\",\n top: \"1656.853\",\n },\n {\n left: \"1916.54\",\n top: \"1367.988\",\n },\n {\n left: \"2355.83\",\n top: \"928.6981\",\n },\n {\n left: \"2224.321\",\n top: \"797.1886\",\n },\n {\n left: \"2774.886\",\n top: \"246.625\",\n },\n {\n left: \"3054.136\",\n top: \"246.625\",\n },\n {\n left: \"3051.636\",\n top: \"2480.125\",\n },\n {\n left: \"2790.702\",\n top: \"2480.125\",\n },\n ],\n logPointArr: [],\n },\n ];\n proxyData.copySpaceArr = JSON.stringify(spaceList);\n proxyData.formSpaceData();\n },\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 proxyData.formatePage();\n proxyData.initCanvas();\n });\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./sichuan.vue?vue&type=template&id=150fc38d&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=150fc38d&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-150fc38d\"]])\n\nexport default __exports__"],"sourceRoot":""}