chunk-7ed48338.f040d21b.js 26 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7ed48338","chunk-2d0c1282"],{"162a":function(t,e,o){t.exports=o.p+"static/img/deviceroom.01480d11.svg"},"2b48":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAA3SURBVHgBzcmxDQAgCAVRPxO5ipM6ko0xxkYnQKUHaq654iEZ9bUzMSo8ZLpFxTFPk4dAycXfA1ISQWorFT5NAAAAAElFTkSuQmCC"},"2de2":function(t,e,o){"use strict";o.d(e,"c",(function(){return n})),o.d(e,"b",(function(){return c})),o.d(e,"a",(function(){return r})),o.d(e,"d",(function(){return i}));var n="/duoduo-service/setup-service/",c="/duoduo-service/object-service/",r="/duoduo-service/duoduoenv-service/",i="/duoduo-service/"},"459d":function(t,e,o){"use strict";o.d(e,"h",(function(){return i})),o.d(e,"C",(function(){return a})),o.d(e,"w",(function(){return l})),o.d(e,"o",(function(){return f})),o.d(e,"j",(function(){return p})),o.d(e,"u",(function(){return u})),o.d(e,"k",(function(){return s})),o.d(e,"b",(function(){return d})),o.d(e,"m",(function(){return b})),o.d(e,"O",(function(){return v})),o.d(e,"M",(function(){return m})),o.d(e,"A",(function(){return g})),o.d(e,"p",(function(){return A})),o.d(e,"P",(function(){return P})),o.d(e,"a",(function(){return j})),o.d(e,"g",(function(){return h})),o.d(e,"f",(function(){return O})),o.d(e,"l",(function(){return y})),o.d(e,"n",(function(){return S})),o.d(e,"v",(function(){return q})),o.d(e,"x",(function(){return C})),o.d(e,"E",(function(){return x})),o.d(e,"t",(function(){return k})),o.d(e,"d",(function(){return w})),o.d(e,"B",(function(){return I})),o.d(e,"y",(function(){return T})),o.d(e,"z",(function(){return N})),o.d(e,"I",(function(){return E})),o.d(e,"F",(function(){return L})),o.d(e,"K",(function(){return M})),o.d(e,"i",(function(){return D})),o.d(e,"s",(function(){return G})),o.d(e,"L",(function(){return K})),o.d(e,"D",(function(){return V})),o.d(e,"e",(function(){return B})),o.d(e,"J",(function(){return J})),o.d(e,"c",(function(){return H})),o.d(e,"G",(function(){return U})),o.d(e,"r",(function(){return z})),o.d(e,"q",(function(){return R})),o.d(e,"H",(function(){return Z})),o.d(e,"N",(function(){return X}));o("99af");var n=o("59b9"),c=o("ba72"),r=o("2de2"),i=function(t){return Object(n["b"])().request("/api/company/config/".concat(t.companyId),c["b"].GET,void 0,c["a"].json)},a=function(t){return Object(n["b"])().request("".concat(r["b"],"weather/getCurrent?").concat(t),c["b"].GET,void 0,c["a"].json)},l=function(t){return Object(n["b"])().request("".concat(r["a"],"space/property"),c["b"].POST,t,c["a"].json)},f=function(t){return Object(n["b"])().request("".concat(r["a"],"meeting/room/scene/getMeetingScene/V2?spaceId=").concat(t.spaceId),c["b"].GET,void 0,c["a"].json)},p=function(t){return Object(n["b"])().request("".concat(r["a"],"object/equipment/findForServe?spaceId=").concat(t.spaceId),c["b"].POST,void 0,c["a"].json)},u=function(t){return Object(n["b"])().request("".concat(r["a"],"customScene/queryCustom?spaceId=").concat(t.spaceId),c["b"].GET,void 0,c["a"].json)},s=function(t){return Object(n["b"])().request("".concat(r["a"],"custom/feedback/documents"),c["b"].POST,t,c["a"].json)},d=function(t){return Object(n["b"])().request("".concat(r["a"],"custom/feedbackCreate/v2"),c["b"].POST,t,c["a"].json)},b=function(t){return Object(n["b"])({timeout:1e3}).request("".concat(r["a"],"light/status/query?spaceId=").concat(t.spaceId),c["b"].GET,void 0,c["a"].json)},v=function(t){return Object(n["c"])("".concat(r["a"],"light/onoff/set"),t)},m=function(t){return Object(n["c"])("".concat(r["a"],"object/eqp/infocode/set"),t)},g=function(t){return Object(n["c"])("".concat(r["a"],"light/onoff/setSatus"),t)},A=function(t){return Object(n["b"])().request("".concat(r["a"],"object/objectDataEqpGroup/query"),c["b"].POST,t,c["a"].json)},P=function(t){return Object(n["b"])().request("".concat(r["a"],"meeting/room/scene/switchover"),c["b"].POST,t,c["a"].json)},j=function(t){return Object(n["b"])().request("".concat(r["a"],"customScene/create"),c["b"].POST,t,c["a"].json)},h=function(t){return Object(n["b"])().request("".concat(r["a"],"/spaceAdjust/queryPropertyData?").concat(t),c["b"].GET,void 0,c["a"].json)},O=function(t){return Object(n["b"])().request("".concat(r["b"],"object/building/query"),c["b"].POST,t,c["a"].json)},y=function(t){return Object(n["b"])().request("".concat(r["b"],"object/floor/query"),c["b"].POST,t,c["a"].json)},S=function(t){return Object(n["b"])().request("".concat(r["c"],"map/queryMapInfo"),c["b"].POST,t,c["a"].json)},q=function(t){return Object(n["b"])().request("".concat(r["b"],"object/equipment/querySpaceEquipType?").concat(t),c["b"].GET,void 0,c["a"].json)},C=function(t){return Object(n["b"])().request("".concat(r["b"],"object/space/query"),c["b"].POST,t,c["a"].json)},x=function(t){return Object(n["b"])().request("".concat(r["c"],"permanentSpace/save"),c["b"].POST,t,c["a"].json)},k=function(){return Object(n["b"])().request("".concat(r["c"],"permanentSpace/query"),c["b"].GET,void 0,c["a"].json)},w=function(t){return Object(n["b"])().request("".concat(r["c"],"permanentSpace/delete?").concat(t))},I=function(){return Object(n["b"])().request("".concat(r["c"],"permanentSpace/queryZJ"),c["b"].GET,void 0,c["a"].json)},T=function(){return Object(n["b"])().request("".concat(r["b"],"object/equipment/querySpaceModeSet"),c["b"].GET,void 0,c["a"].json)},N=function(){return Object(n["b"])().request("".concat(r["b"],"object/equipment/querySpaceTempSet"),c["b"].GET,void 0,c["a"].json)},E=function(t){return Object(n["b"])().request("".concat(r["c"],"scene/querySpaceSceneConfig?").concat(t),c["b"].GET,void 0,c["a"].json)},L=function(t){return Object(n["b"])().request("".concat(r["a"],"customScene/queryCustomAndScence?").concat(t),c["b"].GET,void 0,c["a"].json)},M=function(t){return Object(n["c"])("".concat(r["a"],"customScene/saveBatchCustomScene"),t)},D=function(t){return Object(n["b"])().request("".concat(r["c"],"padSpace/getDefaultLocation?").concat(t),c["b"].GET,void 0,c["a"].json)},G=function(t){return Object(n["b"])().request("".concat(r["c"],"padSpace/getPadSpaceList?").concat(t),c["b"].GET,void 0,c["a"].json)},K=function(t){return Object(n["b"])().request("".concat(r["c"],"padSpace/saveWorkSpace"),c["b"].POST,t,c["a"].json)},V=function(t){return Object(n["b"])().request("".concat(r["c"],"padSpace/insertWorkSpace"),c["b"].POST,t,c["a"].json)},B=function(t){return Object(n["b"])().request("".concat(r["c"],"padSpace/deleteWorkSpace"),c["b"].POST,t,c["a"].json)},J=function(t){return Object(n["b"])().request("".concat(r["c"],"padSpace/queryWorkSpace"),c["b"].POST,t,c["a"].json)},H=function(t){return Object(n["b"])().request("".concat(r["c"],"padSpace/queryWorkSpace"),c["b"].POST,t,c["a"].json)},U=function(t){return Object(n["b"])().request("".concat(r["d"],"wechat-service-duoduoenv/duoduoenv/customerservice/query"),c["b"].POST,t,c["a"].json)},z=function(t){return Object(n["b"])().request("".concat(r["c"],"padLogin/getPadQrCodeStatus?").concat(t),c["b"].GET,void 0,c["a"].json)},R=function(t){return Object(n["b"])().request("".concat(r["c"],"padImage/queryImageByFuncType?").concat(t),c["b"].GET,void 0,c["a"].json)},Z=function(t){return Object(n["b"])().request("".concat(r["a"],"ctrl/querySpaceConditioners?").concat(t),c["b"].GET,void 0,c["a"].json)},X=function(t){return Object(n["c"])("".concat(r["a"],"ctrl/set"),t)}},"46f5":function(t,e,o){var n={"./babyselected.svg":"98fb","./bg_disable.png":"2b48","./coffee.svg":"5ff7","./coffeeselected.svg":"472f","./dev.svg":"56d9","./device.svg":"920e","./deviceroom.svg":"162a","./weather.svg":"8c6e"};function c(t){var e=r(t);return o(e)}function r(t){if(!o.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}c.keys=function(){return Object.keys(n)},c.resolve=r,t.exports=c,c.id="46f5"},"472f":function(t,e,o){t.exports=o.p+"static/img/coffeeselected.1e7d4057.svg"},"48a1":function(t,e,o){"use strict";function n(t,e){var o=!1,n=0,c=0,r=0,i=0,a=0,l=0,f=function(){},p={swipeLeft:f,swipeRight:f,swipeDown:f,swipeUp:f,drag:f};Object.assign(p,e),t.addEventListener("touchstart",(function(t){n=t.touches[0].pageX,c=t.touches[0].pageY,a=0,l=0}),{passive:!0}),t.addEventListener("touchmove",(function(e){if(o=!0,r=e.touches[0].pageX,i=e.touches[0].pageY,e.mation={startX:n,startY:c,moveX:r,moveY:i,disX:a,disY:l},p.drag.call(t,e),o){var f=Math.abs(r-n),u=Math.abs(i-c);f>u?r-n>0?p.swipeRight.call(t,e):p.swipeLeft.call(t,e):i-n>0?p.swipeDown.call(t,e):p.swipeUp.call(t,e)}}),{passive:!0}),t.addEventListener("touchend",(function(t){o=!1}))}o.d(e,"a",(function(){return n}))},"56d9":function(t,e,o){t.exports=o.p+"static/img/dev.941b2e3a.svg"},"5ff7":function(t,e,o){t.exports=o.p+"static/img/coffee.fc03c8ec.svg"},"81d5":function(t,e,o){"use strict";var n=o("7b0b"),c=o("23cb"),r=o("50c4");t.exports=function(t){var e=n(this),o=r(e.length),i=arguments.length,a=c(i>1?arguments[1]:void 0,o),l=i>2?arguments[2]:void 0,f=void 0===l?o:c(l,o);while(f>a)e[a++]=t;return e}},"8c6e":function(t,e,o){t.exports=o.p+"static/img/weather.742cc8c0.svg"},"920e":function(t,e,o){t.exports=o.p+"static/img/device.01480d11.svg"},"98fb":function(t,e,o){t.exports=o.p+"static/img/babyselected.422eb07d.svg"},cb29:function(t,e,o){var n=o("23e7"),c=o("81d5"),r=o("44d2");n({target:"Array",proto:!0},{fill:c}),r("fill")},dc32:function(t,e,o){"use strict";o("f323")},e615:function(t,e,o){"use strict";o.r(e);var n=o("7a23"),c=function(t){return Object(n["pushScopeId"])("data-v-150fc38d"),t=t(),Object(n["popScopeId"])(),t},r={class:"com-upload",style:{position:"relative"}},i={class:"search-bt",style:{position:"fixed",right:"20px",top:"80px","z-index":"999"}},a=c((function(){return Object(n["createElementVNode"])("div",{class:"canvas-box",id:"canvasBox"},[Object(n["createElementVNode"])("canvas",{id:"myCanvas",class:"canvas-dom",style:{boder:"1px solid red"}})],-1)}));function l(t,e,o,c,l,f){var p=Object(n["resolveComponent"])("van-search"),u=Object(n["resolveComponent"])("van-icon");return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",r,[Object(n["createVNode"])(p,{modelValue:t.spaceName,"onUpdate:modelValue":[e[0]||(e[0]=function(e){return t.spaceName=e}),t.searchSpace],class:"space-search",placeholder:"请输入搜索关键词"},null,8,["modelValue","onUpdate:modelValue"]),Object(n["createElementVNode"])("div",i,[Object(n["createElementVNode"])("div",{onClick:e[1]||(e[1]=function(){return t.zommAdd&&t.zommAdd.apply(t,arguments)}),style:{display:"inline-block","font-size":"30px"}},[Object(n["createVNode"])(u,{name:"add-o",color:"#1989fa"})]),Object(n["createElementVNode"])("div",{onClick:e[2]||(e[2]=function(){return t.zommDel&&t.zommDel.apply(t,arguments)}),style:{display:"inline-block","font-size":"30px"}},[Object(n["createVNode"])(u,{name:"minus",color:"#1989fa"})])]),a])}o("cb29"),o("d81d");var f=o("5530"),p=o("d961"),u=(o("5852"),o("459d")),s=o("d257"),d=o("48a1"),b=Object(n["defineComponent"])({components:{VanSearch:p["a"]},setup:function(){var t=[],e={},c={},r=Object(n["reactive"])({spaceList:t,copySpaceArr:t,parseImgUrl:s["x"],spaceName:"",width:3361.136,height:2729.25,scale:1,ctx:e,centerObj:c,searchSpace:function(){r.spaceList.map((function(t){t.localName==r.spaceName&&(t.fillColor="red",t.shadow=!0,r.initCanvas())}))},zommAdd:function(){r.scale>3||(r.scale=r.scale+.1,r.formSpaceData(),r.initCanvas())},zommDel:function(){r.scale<.3||(r.scale=r.scale-.1,r.formSpaceData(),r.initCanvas())},sliderSwiper:function(){var t=document.querySelector("#sliderListId");t.addEventListener("touchstart",(function(t){})),Object(d["a"])(t,{swipeLeft:function(t){},swipeRight:function(t){}})},initCanvas:function(){var t=document.querySelector("#myCanvas"),e=t.getContext("2d");r.drawDpiBegin(t,e,r.width,r.height),r.ctx=e,e.clearRect(0,0,r.width,r.height),e.scale(r.scale,r.scale,c.left,c.top),r.spaceList.map((function(t){if(t.canClick){var n=t.circlePoint;e.beginPath(),e.fillStyle=t.fillColor;var c=[],i=[];t.pointArr.map((function(t,o){t.left=t.left,t.top=t.top,0==o?e.moveTo(t.left,t.top):e.lineTo(t.left,t.top),c.push(t.left),i.push(t.top)})),r.drawIcon(e,"coffee.svg",t.devicePoint[0]),r.drawIcon(e,"dev.svg",t.devicePoint[1]),r.drawIcon(e,"deviceroom.svg",t.devicePoint[2]),e.closePath(),e.fill(),e.lineWidth=1,e.strokeStyle="rgba(15, 206, 233, 1)",e.stroke(),e.beginPath(),n&&n.length&&(e.lineTo(n[3].left,n[3].top),e.bezierCurveTo(n[2].left,n[2].top,n[1].left,n[1].top,n[0].left,n[0].top)),e.closePath(),e.fill(),e.lineWidth=1,e.strokeStyle="rgba(15, 206, 233, 1)",e.stroke();var a=r.MaxAndMin(c)[1]-r.MaxAndMin(c)[0],l=r.MaxAndMin(i)[1]-r.MaxAndMin(i)[0],f=a<l?a:l;e.beginPath(),e.font="13px serif",e.textAlign="center",e.fillStyle="#ececec"!==t.fillColor?"#ffffff":"red",t.localName&&f>100&&e.fillText(t.localName,t.logPointArr[0].left,t.logPointArr[0].top,t.width),e.closePath(),t.shadow&&(t.shadowColor="#000000",e.shadowOffsetX=-50,e.shadowOffsetY=-50,e.shadowBlur=10)}else{var p=new Image;p.src=o("2b48"),p.onload=function(){e.beginPath(),t.pointArr.map((function(t,o){0===o?e.moveTo(t.left,t.top):e.lineTo(t.left,t.top)}));var o=e.createPattern(p,"repeat");e.fillStyle=o,e.fill(),e.closePath(),e.strokeStyle="rgba(15, 206, 233, 1)",e.stroke()}}})),r.drawDpiEnd(t,e)},MaxAndMin:function(t){return[Math.min.apply(null,t),Math.max.apply(null,t)]},bindEvent:function(){var t=document.querySelector("#myCanvas");t.addEventListener("click",r.detect)},drawDpiBegin:function(t,e,o,n){e.save();var c=window.devicePixelRatio;t.setAttribute("width",o*c),t.setAttribute("height",n*c),t.style.width=o+"px",t.style.height=n+"px",e.scale(c,c)},drawDpiEnd:function(t,e){e.restore()},detect:function(t){for(var e=document.querySelector("#myCanvas"),o=t.clientX-e.getBoundingClientRect().left,n=t.clientY-e.getBoundingClientRect().top,c=0;c<r.spaceList.length;c++){var i=r.spaceList[c],a=i.devicePoint,l=i.pointArr,f=!1;if(a.map((function(t,e){o>=t.left&&o<=t.left+20&&n>=t.top&&n<t.top+20&&(f=!0)})),f)break;var p={x:o,y:n},u=l;u.map((function(t){t.x=t.left,t.y=t.top}));var s=r.queryPtInPolygon(p,u);if(s)break}},queryPtInPolygon:function(t,e){var o="",n="",c="",r="";o=t,n={x:1e12,y:t.y};for(var i=0,a=0;a<e.length-1;a++)c=e[a],r=e[a+1],1==l(o,n,c,r)&&i++;return c=e[e.length-1],r=e[0],1==l(o,n,c,r)&&i++,i%2!=0;function l(t,e,o,n){var c={x:t.x-o.x,y:t.y-o.y},r={x:e.x-o.x,y:e.y-o.y},i={x:n.x-o.x,y:n.y-o.y},a=f(c,i)*f(r,i);return c={x:o.x-t.x,y:o.y-t.y},r={x:n.x-t.x,y:n.y-t.y},i={x:e.x-t.x,y:e.y-t.y},a<=0&&f(c,i)*f(r,i)<=0}function f(t,e){return t.x*e.y-t.y*e.x}},drawIcon:function(t,e,n){if(n){var c=new Image;c.src=o("46f5")("./".concat(e)),c.onload=function(){t.drawImage(c,n.left,n.top,25,15),n.width=30,n.height=30}}},setSpaceColor:function(){r.spaceList.map((function(t,e){t.fillColor=e%2==0?"#ffcc33":e%3==0?"#ccff99":"#ececec"}))},formSpaceData:function(){r.spaceList=JSON.parse(r.copySpaceArr),r.spaceList.map((function(t){t.canClick=!0,t.fillColor="#ececec",t.devicePoint.map((function(t){t.left=t.left*r.scale,t.top=(r.height-t.top)*r.scale})),t.logPointArr.map((function(t){t.left=t.left*r.scale,t.top=(r.height-t.top)*r.scale})),t.pointArr.map((function(t){t.left=t.left*r.scale,t.top=(r.height-t.top)*r.scale})),t.circlePoint.map((function(t){t.left=t.left*r.scale,t.top=(r.height-t.top)*r.scale}))}))},formatePage:function(){var t=[{spaceId:"J303",localName:"J303",canClick:!0,pointArr:[{left:"1946.764",top:"1087.086"},{left:"2005.1",top:"1028.749"},{left:"2117.354",top:"1141.002"},{left:"2059.017",top:"1199.339"}],devicePoint:[{left:"2077.39",top:"1144.253"},{left:"2051.563",top:"1144.253"},{left:"2026.728",top:"1144.253"}],circlePoint:[],logPointArr:[{left:"2021.762",top:"1097.565"},{left:"2021.762",top:"1120.412"}]},{spaceId:"H306",localName:"H306",canClick:!0,pointArr:[{left:"830.6358",top:"948"},{left:"830.6358",top:"791.125"},{left:"717.4568",top:"791.125"},{left:"644.6346",top:"863.9459"},{left:"644.6346",top:"948"}],devicePoint:[{left:"796.9057",top:"922.0877"},{left:"763.7936",top:"922.0877"},{left:"728.2287",top:"922.0877"}],circlePoint:[],logPointArr:[{left:"728.2287",top:"855.1661"},{left:"728.2287",top:"885.1655"}]},{spaceId:"H307",localName:"H307",canClick:!0,pointArr:[{left:"550.8858",top:"1205.413"},{left:"801.6358",top:"1205.413"},{left:"801.6356",top:"953"},{left:"566.7966",top:"953"},{left:"550.8863",top:"968.91"},{left:"550.8863",top:"982.1054"}],devicePoint:[{left:"759.4864",top:"1182.355"},{left:"724.5347",top:"1182.355"},{left:"685.2907",top:"1182.355"}],circlePoint:[],logPointArr:[{left:"668.1215",top:"1079.339"},{left:"668.1215",top:"1111.838"}]},{spaceId:"J302",localName:"J302",canClick:!0,pointArr:[{left:"2091.794",top:"1028.029"},{left:"2091.794",top:"1052.863"},{left:"2145.435",top:"1082.168"},{left:"2120.105",top:"1082.168"}],devicePoint:[{left:"2184.529",top:"1073.827"},{left:"2126.192",top:"1132.164"},{left:"2094.277",top:"1082.168"}],circlePoint:[],logPointArr:[{left:"2013.939",top:"1019.91"},{left:"2072.276",top:"961.5741"}]},{spaceId:"H305",localName:"H305",canClick:!0,pointArr:[{left:"830.6358",top:"656.474"},{left:"830.6358",top:"390.0002"},{left:"644.6346",top:"390.0002"},{left:"644.6346",top:"656.4696"}],devicePoint:[{left:"796.9057",top:"625.9879"},{left:"763.7936",top:"625.9879"},{left:"728.2287",top:"625.9879"}],circlePoint:[],logPointArr:[{left:"728.2287",top:"525.304"},{left:"728.2287",top:"559.37"}]},{spaceId:"J301",localName:"J301",canClick:!0,pointArr:[{left:"2146.522",top:"887.3279"},{left:"2196.725",top:"837.125"},{left:"2255.418",top:"837.125"},{left:"2281.636",top:"863.343"},{left:"2281.636",top:"976.7202"},{left:"2258.775",top:"999.5811"}],devicePoint:[{left:"2262.196",top:"936.7435"},{left:"2240.471",top:"936.7435"},{left:"2217.942",top:"936.7435"}],circlePoint:[],logPointArr:[{left:"2230.011",top:"894.0984"},{left:"2230.011",top:"914.6163"}]},{spaceId:"J305",localName:"J305",canClick:!0,pointArr:[{left:"1881.357",top:"1152.493"},{left:"1939.693",top:"1094.157"},{left:"2051.946",top:"1206.41"},{left:"1993.61",top:"1264.746"}],devicePoint:[{left:"2012.127",top:"1209.928"},{left:"1986.781",top:"1209.928"},{left:"1961.838",top:"1209.928"}],circlePoint:[],logPointArr:[{left:"1958.217",top:"1167.686"},{left:"1958.217",top:"1187.399"}]},{spaceId:"H301",localName:"H301",canClick:!0,pointArr:[],devicePoint:[],circlePoint:[],logPointArr:[]},{spaceId:"J306",localName:"J306",canClick:!0,pointArr:[{left:"1791.201",top:"1242.649"},{left:"1872.518",top:"1161.332"},{left:"1984.771",top:"1273.585"},{left:"1903.454",top:"1354.902"}],devicePoint:[{left:"1920.411",top:"1293.763"},{left:"1892.204",top:"1293.763"},{left:"1864.61",top:"1293.763"}],circlePoint:[],logPointArr:[{left:"1879.94",top:"1239.189"},{left:"1879.94",top:"1262.49"}]},{spaceId:"H303",localName:"H303",canClick:!0,pointArr:[{left:"830.6358",top:"385"},{left:"830.6358",top:"275.375"},{left:"559.8858",top:"275.375"},{left:"559.8858",top:"385"}],devicePoint:[{left:"796.9057",top:"360.6687"},{left:"763.7936",top:"360.6687"},{left:"728.2287",top:"360.6687"}],circlePoint:[],logPointArr:[{left:"685.3056",top:"311.6137"},{left:"685.3056",top:"334.9148"}]},{spaceId:"K308",localName:"K308",canClick:!0,pointArr:[{left:"1881.357",top:"1576.757"},{left:"1939.693",top:"1635.093"},{left:"2051.946",top:"1522.84"},{left:"1993.61",top:"1464.504"}],devicePoint:[{left:"1969.553",top:"1585.234"},{left:"1946.865",top:"1585.234"},{left:"1921.725",top:"1585.234"}],circlePoint:[],logPointArr:[{left:"1957.29",top:"1542.924"},{left:"1957.29",top:"1561.32"}]},{spaceId:"H302",localName:"H302",canClick:!0,pointArr:[{left:"554.8845",top:"384.9999"},{left:"554.8858",top:"275.375"},{left:"295.3858",top:"275.375"},{left:"295.3858",top:"385"}],devicePoint:[{left:"509.3208",top:"360.6687"},{left:"475.5955",top:"360.6687"},{left:"442.4834",top:"360.6687"}],circlePoint:[],logPointArr:[{left:"412.4372",top:"311.6137"},{left:"412.4372",top:"334.9148"}]},{spaceId:"Z305",localName:"Z305",canClick:!0,pointArr:[{left:"1266.174",top:"1194.919"},{left:"1374.008",top:"1087.086"},{left:"1315.671",top:"1028.749"},{left:"1207.837",top:"1136.583"}],devicePoint:[{left:"1286.004",top:"1135.809"},{left:"1265.474",top:"1135.809"},{left:"1246.247",top:"1135.809"}],circlePoint:[],logPointArr:[{left:"1278.835",top:"1102.244"},{left:"1278.835",top:"1118.537"}]},{spaceId:"Z306",localName:"Z306",canClick:!0,pointArr:[{left:"1533.99",top:"1247.068"},{left:"1448.254",top:"1161.332"},{left:"1340.42",top:"1269.166"},{left:"1426.157",top:"1354.902"}],devicePoint:[{left:"1460.698",top:"1276.037"},{left:"1427.586",top:"1276.037"},{left:"1392.021",top:"1276.037"}],circlePoint:[],logPointArr:[{left:"1427.586",top:"1231.274"},{left:"1427.586",top:"1252.122"}]},{spaceId:"K309",localName:"K309",canClick:!0,pointArr:[{left:"2005.1",top:"1700.501"},{left:"2117.354",top:"1588.248"},{left:"2059.017",top:"1529.911"},{left:"1946.764",top:"1642.164"}],devicePoint:[{left:"2042.33",top:"1644.065"},{left:"2011.292",top:"1644.065"},{left:"1981.768",top:"1644.065"}],circlePoint:[],logPointArr:[{left:"2029.461",top:"1598.644"},{left:"2029.461",top:"1619.083"}]},{spaceId:"Z302",localName:"Z302",canClick:!0,pointArr:[{left:"1133.591",top:"1062.337"},{left:"1241.425",top:"954.5031"},{left:"1183.089",top:"896.1668"},{left:"1075.255",top:"1004.001"}],devicePoint:[{left:"1160.972",top:"1007.883"},{left:"1135.626",top:"1007.883"},{left:"1113.097",top:"1007.883"}],circlePoint:[],logPointArr:[{left:"1150.512",top:"968.8585"},{left:"1150.512",top:"987.7672"}]},{spaceId:"Z303",localName:"Z303",canClick:!0,pointArr:[{left:"1198.999",top:"1127.744"},{left:"1306.832",top:"1019.91"},{left:"1248.496",top:"961.5741"},{left:"1140.662",top:"1069.408"}],devicePoint:[{left:"1227.238",top:"1065.557"},{left:"1203.099",top:"1065.557"},{left:"1181.777",top:"1065.557"}],circlePoint:[],logPointArr:[{left:"1213.559",top:"1028.142"},{left:"1213.559",top:"1044.235"}]},{spaceId:"Z301",localName:"Z301",canClick:!0,pointArr:[{left:"1066.416",top:"995.1617"},{left:"1160.108",top:"901.4701"},{left:"1174.25",top:"887.3279"},{left:"1124.047",top:"837.125"},{left:"1065.354",top:"837.125"},{left:"1039.136",top:"863.343"},{left:"1039.136",top:"967.8819"}],devicePoint:[{left:"1105.957",top:"925.3431"},{left:"1082.116",top:"925.3431"},{left:"1057.282",top:"925.3431"}],circlePoint:[],logPointArr:[{left:"1082.116",top:"889.582"},{left:"1082.116",top:"906.9659"}]},{spaceId:"K301",localName:"K301",canClick:!0,pointArr:[{left:"1306.832",top:"1709.34"},{left:"1198.999",top:"1601.506"},{left:"1140.662",top:"1659.842"},{left:"1248.496",top:"1767.676"}],devicePoint:[{left:"1262.545",top:"1714.478"},{left:"1239.613",top:"1714.478"},{left:"1217.486",top:"1714.478"}],circlePoint:[],logPointArr:[{left:"1217.486",top:"1668.212"},{left:"1217.486",top:"1689.937"}]},{spaceId:"K302",localName:"K302",canClick:!0,pointArr:[{left:"1315.671",top:"1700.501"},{left:"1374.008",top:"1642.164"},{left:"1266.174",top:"1534.331"},{left:"1207.837",top:"1592.667"}],devicePoint:[{left:"1337.29",top:"1646.145"},{left:"1310.469",top:"1646.145"},{left:"1283.152",top:"1646.145"}],circlePoint:[],logPointArr:[{left:"1283.152",top:"1603.927"},{left:"1283.152",top:"1623.794"}]},{spaceId:"K303",localName:"K303",canClick:!0,pointArr:[{left:"1345.449",top:"1555.283"},{left:"1391.715",top:"1579.422"},{left:"1369.185",top:"1579.422"},{left:"1345.449",top:"1579.422"}],devicePoint:[{left:"1273.245",top:"1527.26"},{left:"1381.079",top:"1635.093"},{left:"1345.449",top:"1535.972"}],circlePoint:[],logPointArr:[{left:"1439.415",top:"1576.757"},{left:"1331.581",top:"1468.923"}]},{spaceId:"K307",localName:"K307",canClick:!0,pointArr:[{left:"1872.518",top:"1567.918"},{left:"1984.771",top:"1455.665"},{left:"1903.454",top:"1374.348"},{left:"1791.201",top:"1486.601"}],devicePoint:[{left:"1896.068",top:"1509.388"},{left:"1871.843",top:"1509.388"},{left:"1846.105",top:"1509.388"}],circlePoint:[],logPointArr:[{left:"1871.843",top:"1457.91"},{left:"1871.843",top:"1479.864"}]},{spaceId:"K306",localName:"K306",canClick:!0,pointArr:[{left:"1733.685",top:"1570.507"},{left:"1733.685",top:"1450.425"},{left:"1587.086",top:"1450.425"},{left:"1587.086",top:"1570.507"}],devicePoint:[{left:"1706.092",top:"1554.085"},{left:"1688.169",top:"1554.085"},{left:"1669.594",top:"1554.085"}],circlePoint:[],logPointArr:[{left:"1660.386",top:"1504.227"},{left:"1660.386",top:"1519.543"}]},{spaceId:"K310",localName:"K310",canClick:!0,pointArr:[{left:"2013.939",top:"1709.34"},{left:"2072.276",top:"1767.676"},{left:"2184.529",top:"1655.423"},{left:"2126.192",top:"1597.086"}],devicePoint:[{left:"2102.611",top:"1716.434"},{left:"2076.287",top:"1715.938"},{left:"2050.956",top:"1715.938"}],circlePoint:[],logPointArr:[{left:"2098.638",top:"1669.746"},{left:"2098.638",top:"1689.614"}]},{spaceId:"K305",localName:"K305",canClick:!0,pointArr:[{left:"1448.254",top:"1567.918"},{left:"1533.99",top:"1482.182"},{left:"1426.157",top:"1374.348"},{left:"1340.42",top:"1460.084"}],devicePoint:[{left:"1467.209",top:"1505.718"},{left:"1441.461",top:"1505.718"},{left:"1415.31",top:"1505.718"}],circlePoint:[],logPointArr:[{left:"1430.196",top:"1456.636"},{left:"1430.196",top:"1477.959"}]},{spaceId:"unc",localName:"unc",canClick:!0,pointArr:[],devicePoint:[],circlePoint:[{left:"2083.25",top:"1776.783"},{left:"2205.405",top:"1656.853"},{left:"1916.54",top:"1367.988"},{left:"2355.83",top:"928.6981"},{left:"2224.321",top:"797.1886"},{left:"2774.886",top:"246.625"},{left:"3054.136",top:"246.625"},{left:"3051.636",top:"2480.125"},{left:"2790.702",top:"2480.125"}],logPointArr:[]}];r.copySpaceArr=JSON.stringify(t),r.formSpaceData()},getMapInfo:function(){var t={projectId:"Pj1101080259",floorId:"Fl11010802593241ec348ecb4148806b9034c8957454"};Object(u["n"])(t).then((function(t){var e,o=t,n=null!==(e=null===o||void 0===o?void 0:o.data)&&void 0!==e?e:null;r.width=n.width,r.height=n.height,r.spaceList=n.spaceList,r.setSpaceColor(),r.initCanvas()})).catch((function(){}))}});return Object(n["nextTick"])((function(){r.bindEvent()})),Object(n["onMounted"])((function(){r.formatePage(),r.initCanvas()})),Object(f["a"])({},Object(n["toRefs"])(r))}}),v=(o("dc32"),o("6b0d")),m=o.n(v);const g=m()(b,[["render",l],["__scopeId","data-v-150fc38d"]]);e["default"]=g},f323:function(t,e,o){}}]);
  2. //# sourceMappingURL=chunk-7ed48338.f040d21b.js.map