chunk-675be840.2ff6eb81.js 23 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-675be840"],{"0a6e":function(e,t,c){},2381:function(e,t,c){},"2de2":function(e,t,c){"use strict";c.d(t,"d",(function(){return n})),c.d(t,"c",(function(){return o})),c.d(t,"b",(function(){return a})),c.d(t,"e",(function(){return r})),c.d(t,"a",(function(){return i}));var n="/duoduo-service/setup-service/",o="/duoduo-service/object-service/",a="/duoduo-service/duoduoenv-service/",r="/duoduo-service/",i="/duoduo-service/custom-service/"},"459d":function(e,t,c){"use strict";c.d(t,"h",(function(){return r})),c.d(t,"C",(function(){return i})),c.d(t,"w",(function(){return u})),c.d(t,"o",(function(){return d})),c.d(t,"j",(function(){return s})),c.d(t,"k",(function(){return l})),c.d(t,"b",(function(){return b})),c.d(t,"m",(function(){return p})),c.d(t,"P",(function(){return f})),c.d(t,"N",(function(){return m})),c.d(t,"A",(function(){return j})),c.d(t,"p",(function(){return O})),c.d(t,"Q",(function(){return h})),c.d(t,"a",(function(){return v})),c.d(t,"g",(function(){return g})),c.d(t,"f",(function(){return k})),c.d(t,"l",(function(){return S})),c.d(t,"n",(function(){return y})),c.d(t,"v",(function(){return I})),c.d(t,"x",(function(){return q})),c.d(t,"E",(function(){return N})),c.d(t,"t",(function(){return T})),c.d(t,"d",(function(){return P})),c.d(t,"B",(function(){return V})),c.d(t,"y",(function(){return x})),c.d(t,"z",(function(){return D})),c.d(t,"I",(function(){return C})),c.d(t,"F",(function(){return w})),c.d(t,"K",(function(){return E})),c.d(t,"i",(function(){return A})),c.d(t,"s",(function(){return B})),c.d(t,"M",(function(){return G})),c.d(t,"D",(function(){return L})),c.d(t,"e",(function(){return W})),c.d(t,"J",(function(){return F})),c.d(t,"c",(function(){return U})),c.d(t,"G",(function(){return M})),c.d(t,"r",(function(){return z})),c.d(t,"q",(function(){return J})),c.d(t,"H",(function(){return _})),c.d(t,"O",(function(){return R})),c.d(t,"L",(function(){return $})),c.d(t,"u",(function(){return H})),c("99af");var n=c("59b9"),o=c("ba72"),a=c("2de2"),r=function(e){return Object(n.b)().request("/api/company/config/".concat(e.companyId),o.b.GET,void 0,o.a.json)},i=function(e){return Object(n.b)().request("".concat(a.c,"weather/getCurrent?").concat(e),o.b.GET,void 0,o.a.json)},u=function(e){return Object(n.b)().request("".concat(a.b,"space/property"),o.b.POST,e,o.a.json)},d=function(e){return Object(n.b)().request("".concat(a.b,"meeting/room/scene/getMeetingScene/V2?spaceId=").concat(e.spaceId),o.b.GET,void 0,o.a.json)},s=function(e){return Object(n.b)().request("".concat(a.b,"object/equipment/findForServe?spaceId=").concat(e.spaceId),o.b.POST,void 0,o.a.json)},l=function(e){return Object(n.b)().request("".concat(a.b,"custom/feedback/documents"),o.b.POST,e,o.a.json)},b=function(e){return Object(n.b)().request("".concat(a.b,"custom/feedbackCreate/v2"),o.b.POST,e,o.a.json)},p=function(e){return Object(n.b)({timeout:2e3}).request("".concat(a.b,"light/status/query?spaceId=").concat(e.spaceId),o.b.GET,void 0,o.a.json)},f=function(e){return Object(n.c)("".concat(a.b,"light/onoff/set"),e)},m=function(e){return Object(n.c)("".concat(a.b,"object/eqp/infocode/set"),e)},j=function(e){return Object(n.c)("".concat(a.b,"light/onoff/setSatus"),e)},O=function(e){return Object(n.b)().request("".concat(a.b,"object/objectDataEqpGroup/query"),o.b.POST,e,o.a.json)},h=function(e){return Object(n.b)().request("".concat(a.b,"meeting/room/scene/switchover"),o.b.POST,e,o.a.json)},v=function(e){return Object(n.b)().request("".concat(a.b,"customScene/create"),o.b.POST,e,o.a.json)},g=function(e){return Object(n.b)().request("".concat(a.b,"/spaceAdjust/queryPropertyData?").concat(e),o.b.GET,void 0,o.a.json)},k=function(e){return Object(n.b)().request("".concat(a.c,"object/building/query"),o.b.POST,e,o.a.json)},S=function(e){return Object(n.b)().request("".concat(a.c,"object/floor/query"),o.b.POST,e,o.a.json)},y=function(e){return Object(n.b)().request("".concat(a.d,"map/queryMapInfo"),o.b.POST,e,o.a.json)},I=function(e){return Object(n.b)().request("".concat(a.c,"object/equipment/querySpaceEquipType?").concat(e),o.b.GET,void 0,o.a.json)},q=function(e){return Object(n.b)().request("".concat(a.c,"object/space/query"),o.b.POST,e,o.a.json)},N=function(e){return Object(n.b)().request("".concat(a.d,"permanentSpace/save"),o.b.POST,e,o.a.json)},T=function(){return Object(n.b)().request("".concat(a.d,"permanentSpace/query"),o.b.GET,void 0,o.a.json)},P=function(e){return Object(n.b)().request("".concat(a.d,"permanentSpace/delete?").concat(e))},V=function(){return Object(n.b)().request("".concat(a.d,"permanentSpace/queryZJ"),o.b.GET,void 0,o.a.json)},x=function(){return Object(n.b)().request("".concat(a.c,"object/equipment/querySpaceModeSet"),o.b.GET,void 0,o.a.json)},D=function(){return Object(n.b)().request("".concat(a.c,"object/equipment/querySpaceTempSet"),o.b.GET,void 0,o.a.json)},C=function(e){return Object(n.b)().request("".concat(a.d,"scene/querySpaceSceneConfig?").concat(e),o.b.GET,void 0,o.a.json)},w=function(e){return Object(n.b)().request("".concat(a.b,"customScene/queryCustomAndScence?").concat(e),o.b.GET,void 0,o.a.json)},E=function(e){return Object(n.c)("".concat(a.b,"customScene/saveBatchCustomScene"),e)},A=function(e){return Object(n.b)().request("".concat(a.d,"padSpace/getDefaultLocation?").concat(e),o.b.GET,void 0,o.a.json)},B=function(e){return Object(n.b)().request("".concat(a.d,"padSpace/getPadSpaceList?").concat(e),o.b.GET,void 0,o.a.json)},G=function(e){return Object(n.b)().request("".concat(a.d,"padSpace/saveWorkSpace"),o.b.POST,e,o.a.json)},L=function(e){return Object(n.b)().request("".concat(a.d,"padSpace/insertWorkSpace"),o.b.POST,e,o.a.json)},W=function(e){return Object(n.b)().request("".concat(a.d,"padSpace/deleteWorkSpace"),o.b.POST,e,o.a.json)},F=function(e){return Object(n.b)().request("".concat(a.d,"padSpace/queryWorkSpace"),o.b.POST,e,o.a.json)},U=function(e){return Object(n.b)().request("".concat(a.d,"padSpace/queryWorkSpace"),o.b.POST,e,o.a.json)},M=function(e){return Object(n.b)().request("".concat(a.e,"wechat-service-duoduoenv/duoduoenv/customerservice/query"),o.b.POST,e,o.a.json)},z=function(e){return Object(n.b)().request("".concat(a.d,"padLogin/getPadQrCodeStatus?").concat(e),o.b.GET,void 0,o.a.json)},J=function(e){return Object(n.b)().request("".concat(a.d,"padImage/queryImageByFuncType?").concat(e),o.b.GET,void 0,o.a.json)},_=function(e){return Object(n.b)().request("".concat(a.b,"ctrl/querySpaceConditioners?").concat(e),o.b.GET,void 0,o.a.json)},R=function(e){return Object(n.c)("".concat(a.b,"ctrl/set"),e)},$=function(e){return Object(n.b)().request("".concat(a.d,"/map/saveMapPointInfo"),o.b.POST,e,o.a.json)},H=function(e){return Object(n.b)().request("".concat(a.a,"equipmentRun/queryEquipmentRunConfig?").concat(e),o.b.GET,void 0,o.a.json)}},"4a22":function(e,t,c){},"81c0":function(e,t,c){},b4ef:function(e,t,c){},bd1a:function(e,t,c){"use strict";function n(e){return Object(o.pushScopeId)("data-v-5e194b58"),e=e(),Object(o.popScopeId)(),e}c.r(t),c("b0c0");var o=c("7a23"),a={class:"choice-space"},r={class:"search"},i=n((function(){return Object(o.createElementVNode)("span",{class:"title"},"位置:",-1)})),u={class:"title"},d={class:"search-space"},s={class:"com-select"},l={class:"search-icon"},b=["src"],p={class:"space-content"},f=["id"],m={class:"space-item"},j={class:"item-text"},O={key:1,class:"no-data",height:"100%",width:"100%"},h=["src"],v=n((function(){return Object(o.createElementVNode)("span",null,"暂无数据",-1)})),g={key:0,class:"next-btn-box"},k={class:"space-type"},S=["onClick"];c("4de4"),c("d81d");var y=c("5530"),I=c("6c02"),q=c("d961"),N=(c("5852"),c("c199")),T=c("fe7e"),P=c("f691"),V=c("8405"),x=c("ad06"),D=c("f465");const[C,w]=Object(T.a)("sidebar"),E=Symbol(C);var A={modelValue:Object(P.c)(0)};A=Object(o.defineComponent)({name:C,props:A,emits:["change","update:modelValue"],setup(e,{emit:t,slots:c}){const n=Object(D.f)(E)["linkChildren"],a=()=>+e.modelValue;return n({getActive:a,setActive:e=>{e!==a()&&(t("update:modelValue",e),t("change",e))}}),()=>{var e;return Object(o.createVNode)("div",{role:"tablist",class:w()},[null==(e=c.default)?void 0:e.call(c)])}}});const B=Object(N.a)(A);var G=c("f344"),L=c("b070"),W=c("471a");const[F,U]=Object(T.a)("sidebar-item");A=Object(G.a)({},L.b,{dot:Boolean,title:String,badge:P.f,disabled:Boolean,badgeProps:Object}),A=Object(o.defineComponent)({name:F,props:A,emits:["click"],setup(e,{emit:t,slots:c}){const n=Object(L.c)(),{parent:a,index:r}=Object(D.k)(E);if(a){const i=()=>{e.disabled||(t("click",r.value),a.setActive(r.value),n())};return()=>{const{dot:t,badge:n,title:u,disabled:d}=e;var s=r.value===a.getActive();return Object(o.createVNode)("div",{role:"tab",class:U({select:s,disabled:d}),tabindex:d?void 0:0,"aria-selected":s,onClick:i},[Object(o.createVNode)(W.a,Object(o.mergeProps)({dot:t,class:U("text"),content:n},e.badgeProps),{default:()=>[c.title?c.title():u]})])}}}});const M=Object(N.a)(A),[z,J]=Object(T.a)("tree-select");A={max:Object(P.c)(1/0),items:Object(P.a)(),height:Object(P.c)(300),selectedIcon:Object(P.e)("success"),mainActiveIndex:Object(P.c)(0),activeId:{type:[Number,String,Array],default:0}},A=Object(o.defineComponent)({name:z,props:A,emits:["click-nav","click-item","update:activeId","update:mainActiveIndex"],setup(e,{emit:t,slots:c}){const n=t=>Array.isArray(e.activeId)?e.activeId.includes(t):e.activeId===t,a=c=>Object(o.createVNode)("div",{key:c.id,class:["van-ellipsis",J("item",{active:n(c.id),disabled:c.disabled})],onClick:()=>{if(!c.disabled){let o;var n;Array.isArray(e.activeId)?-1!==(n=(o=e.activeId.slice()).indexOf(c.id))?o.splice(n,1):o.length<e.max&&o.push(c.id):o=c.id,t("update:activeId",o),t("click-item",c)}}},[c.text,n(c.id)&&Object(o.createVNode)(x.a,{name:e.selectedIcon,class:J("selected")},null)]),r=e=>{t("update:mainActiveIndex",e)},i=e=>t("click-nav",e);return()=>Object(o.createVNode)("div",{class:J(),style:{height:Object(V.b)(e.height)}},[(()=>{const t=e.items.map(e=>Object(o.createVNode)(M,{dot:e.dot,title:e.text,badge:e.badge,class:[J("nav-item"),e.className],disabled:e.disabled,onClick:i},null));return Object(o.createVNode)(B,{class:J("nav"),modelValue:e.mainActiveIndex,onChange:r},{default:()=>[t]})})(),Object(o.createVNode)("div",{class:J("content")},[(()=>{if(c.content)return c.content();const t=e.items[+e.mainActiveIndex]||{};return t.children?t.children.map(a):void 0})()])])}}),A=Object(N.a)(A);var _=(c("68ef"),c("cb51"),c("3743"),c("d8ac"),c("81c0"),c("4a22"),c("e41f")),R=(c("8a58"),c("4eda"));const[$,H]=Object(T.a)("checkbox-group");var Q={max:P.f,disabled:Boolean,iconSize:P.f,direction:String,modelValue:Object(P.a)(),checkedColor:String};const K=Symbol($);Object(o.defineComponent)({name:$,props:Q,emits:["change","update:modelValue"],setup(e,{emit:t,slots:c}){const{children:n,linkChildren:a}=Object(D.f)(K),r=e=>t("update:modelValue",e);return Object(o.watch)(()=>e.modelValue,e=>t("change",e)),Object(R.a)({toggleAll:(e={})=>{const{checked:t,skipDisabled:c}=e="boolean"==typeof e?{checked:e}:e,o=n.filter(e=>!!e.props.bindGroup&&(e.props.disabled&&c?e.checked.value:null!=t?t:!e.checked.value));e=o.map(e=>e.name),r(e)}}),Object(D.h)(()=>e.modelValue),a({props:e,updateValue:r}),()=>{var t;return Object(o.createVNode)("div",{class:H([e.direction])},[null==(t=c.default)?void 0:t.call(c)])}}});Q={name:P.h,shape:Object(P.e)("round"),disabled:Boolean,iconSize:P.f,modelValue:P.h,checkedColor:String,labelPosition:String,labelDisabled:Boolean};var Z=Object(o.defineComponent)({props:Object(G.a)({},Q,{bem:Object(P.d)(Function),role:String,parent:Object,checked:Boolean,bindGroup:P.g}),emits:["click","toggle"],setup(e,{emit:t,slots:c}){const n=Object(o.ref)(),a=t=>{if(e.parent&&e.bindGroup)return e.parent.props[t]},r=Object(o.computed)(()=>a("disabled")||e.disabled),i=Object(o.computed)(()=>a("direction")),u=Object(o.computed)(()=>{var t=e.checkedColor||a("checkedColor");if(t&&e.checked&&!r.value)return{borderColor:t,backgroundColor:t}}),d=c=>{var o=c["target"];const a=n.value;o=a===o||(null==a?void 0:a.contains(o)),r.value||!o&&e.labelDisabled||t("toggle"),t("click",c)},s=()=>{const{bem:t,shape:i,checked:d}=e;var s=e.iconSize||a("iconSize");return Object(o.createVNode)("div",{ref:n,class:t("icon",[i,{disabled:r.value,checked:d}]),style:{fontSize:Object(V.b)(s)}},[c.icon?c.icon({checked:d,disabled:r.value}):Object(o.createVNode)(x.a,{name:"success",style:u.value},null)])},l=()=>{if(c.default)return Object(o.createVNode)("span",{class:e.bem("label",[e.labelPosition,{disabled:r.value}])},[c.default()])};return()=>{var t="left"===e.labelPosition?[l(),s()]:[s(),l()];return Object(o.createVNode)("div",{role:e.role,class:e.bem([{disabled:r.value,"label-disabled":e.labelDisabled},i.value]),tabindex:r.value?void 0:0,"aria-checked":e.checked,onClick:d},[t])}}});const[X,Y]=Object(T.a)("checkbox");T=Object(G.a)({},Q,{bindGroup:P.g}),Q=Object(o.defineComponent)({name:X,props:T,emits:["change","update:modelValue"],setup(e,{emit:t,slots:c}){const n=Object(D.k)(K)["parent"],a=Object(o.computed)(()=>n&&e.bindGroup?-1!==n.props.modelValue.indexOf(e.name):!!e.modelValue),r=(c=!a.value)=>{if(n&&e.bindGroup){var o=c,r=e["name"];const{max:t,modelValue:a}=n.props,i=a.slice();o?t&&i.length>=t||i.includes(r)||(i.push(r),e.bindGroup&&n.updateValue(i)):-1!==(o=i.indexOf(r))&&(i.splice(o,1),e.bindGroup&&n.updateValue(i))}else t("update:modelValue",c)};return Object(o.watch)(()=>e.modelValue,e=>t("change",e)),Object(R.a)({toggle:r,props:e,checked:a}),Object(D.h)(()=>e.modelValue),()=>Object(o.createVNode)(Z,Object(o.mergeProps)({bem:Y,role:"checkbox",parent:n,checked:a.value,onToggle:r},e),Object(G.e)(c,["default","icon"]))}}),P=Object(N.a)(Q);var ee=(c("0a6e"),c("2381"),c("d399")),te=(c("e7e5"),c("d257")),ce=c("0613"),ne=c("a873"),oe=c("459d");T=Object(o.defineComponent)({components:{vanSearch:q.a,VanPopup:_.b,VanTreeSelect:A,VanCheckbox:P},setup:function(){var e=Object(o.getCurrentInstance)(),t=Object(I.c)(),c=Object(I.d)(),n=Object(te.s)(),a={type:"",name:"全部空间"},r=Object(o.reactive)({parseImgUrl:te.x,showSpace:!0,userInfo:n,activeIndex:0,spaceType:a,searchSpaceName:"",checked:!1,positionArr:[],checkPositon:{buildingName:""},route:t,option1:[{text:"全部商ddddd品",value:0},{text:"新款商ddd品",value:1},{text:"活动商ddd品",value:2}],option2:[{text:"默认排序",value:"a"},{text:"好评排ddd序",value:"b"},{text:"销量排序",value:"c"}],value1:0,value2:"a",transitionName:"slide-right",showHeader:!1,showSpaceType:!1,show:!1,spaceTypeArr:[{type:"",name:"全部空间"},{type:0,name:"个人办公室"},{type:1,name:"开放办公区"},{type:2,name:"会议室"},{type:99,name:"其它"}],showPounp:function(){r.show=!r.show},showSpaceTypePounp:function(){r.showSpaceType=!r.showSpaceType},checkSpaceType:function(e){r.spaceType=e,r.showSpaceType=!1,r.searchSpace()},buildingData:[],buildingItem:{},getBuildingList:function(){var e={criteria:{projectId:r.userInfo.projectId}};Object(oe.f)(e).then((function(e){"success"===e.result?(e=null!=(e=null==e?void 0:e.content)?e:[],r.buildingData=e,r.setBbuildingName(),r.getFloorList()):r.buildingData=[]}))},setBbuildingName:function(){r.buildingData.map((function(e,t){e.id===r.checkPositon.buildingId&&(r.checkPositon.buildingName=e.localName,r.activeIndex=t)}))},formateBuildingData:function(){r.positionArr=[];for(var e=0;e<r.buildingData.length;e++){var t={text:r.buildingData[e].localName,id:r.buildingData[e].id,children:[]};r.buildingData[e].id===r.checkPositon.buildingId&&(r.activeIndex=e,r.floorData.map((function(e){e.text=e.localName,e.id===r.checkPositon.floorId&&(r.checkPositon.floorName=e.localName)})),r.checkPositon.buildingName=r.buildingData[e].localName,t.children=r.floorData),r.positionArr.push(t)}},floorData:[],getFloorList:function(){var e;r.checkPositon.buildingId&&(e={criteria:{projectId:r.userInfo.projectId,buildingId:r.checkPositon.buildingId},orders:[{asc:!0,column:"localId"}]},Object(oe.l)(e).then((function(e){var t=e;"success"===e.result?r.floorData=null!=(e=null==t?void 0:t.content)?e:[]:r.floorData=[],r.formateBuildingData(),r.getPadSpaceList()})).catch((function(){})))},defaultSpaceData:{},getDefaultLocation:function(){var e={macAddress:r.userInfo.mac,spaceId:r.spaceId};e=Object(te.A)(e);Object(oe.i)(e).then((function(e){r.defaultSpaceData=null!=(e=null==e?void 0:e.data)?e:{},r.checkPositon.buildingId=r.defaultSpaceData.buildingId,r.setCheckPersiton(),r.getBuildingList()}))},setCheckPersiton:function(){r.checkPositon.buildingId=r.defaultSpaceData.buildingId,r.checkPositon.floorId=r.defaultSpaceData.floorId},formataWorkData:function(){var e=r.spaceData.filter((function(e){return e.checked}));return r.copySpaceData.map((function(t){for(var c=0;c<e.length;c++)t.spaceId===e[c].spaceId&&(t.checked=e[c].checked)})),r.copySpaceData.filter((function(e){return e.checked}))},goNext:function(){e.proxy.$loadingStart(0),r.querySpaceList()},updateWorkSpace:function(e){e.checked?r.insertWorkSpace(e):r.deleteWorkSpace(e)},insertWorkSpace:function(e){e={spaceId:e.spaceId,isMajorSpace:1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,macAddress:r.userInfo.mac},Object(oe.D)(e).then((function(e){}))},deleteWorkSpace:function(e){e={spaceId:e.spaceId,macAddress:r.userInfo.mac},Object(oe.e)(e).then((function(e){}))},querySpaceList:function(){var t={criteria:{projectId:r.userInfo.projectId,macAddress:r.userInfo.mac}};Object(oe.c)(t).then((function(t){var n=[];1<(n="success"===t.result&&null!=(t=null==t?void 0:t.content)?t:[]).length?setTimeout((function(){e.proxy.$loadinngEnd(),c.push({name:"setMainSpace"})}),1e3):1===n.length?(r.insertWorkSpace(n[0],1),e.proxy.$loadinngEnd(),c.push({name:"envmonitor",query:{spaceId:n[0].spaceId}})):Object(ee.a)("请选择办公空间!")})).catch((function(){e.proxy.$loadinngEnd()}))},checkBuilding:function(e){r.checkPositon.buildingId=r.positionArr[e].id,r.checkPositon.buildingName=r.positionArr[e].text,r.getFloorList()},checkFloor:function(e){r.checkPositon.floorId=e.id,r.checkPositon.floorName=e.localName,r.show=!1,Object(o.nextTick)((function(){r.setPageScroolTop()})),r.clearSearchName(),r.getPadSpaceList()},clearSearchName:function(){r.searchSpaceName="",r.spaceType=a,document.querySelector(".choice-space").scrollTop=0},spaceData:[],copySpaceData:[],nowPerstionIndex:0,getPadSpaceList:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=e||{floorId:r.checkPositon.floorId,buildingId:r.checkPositon.buildingId,macAddress:r.userInfo.mac};t=Object(te.A)(t);Object(oe.s)(t).then((function(t){"success"===t.result?(r.spaceData=null!=(t=null==t?void 0:t.data)?t:[],r.spaceData.map((function(e,t){e.isWorkSpace?e.checked=!0:e.checked=!1,e.spaceId===r.spaceId&&(e.checked=!0)})),e||(r.copySpaceData=JSON.parse(JSON.stringify(r.spaceData)))):r.spaceData=[],r&&r.spaceData.length?r.showSpace=!0:r.showSpace=!1,Object(o.nextTick)((function(){r.setPageScroolTop()}))}))},setPageScroolTop:function(){for(var e=0,t=0;t<r.spaceData.length;t++)if(r.spaceData[t].checked){e=t;break}var c=document.querySelector("#space"+e),n=document.querySelector(".choice-space");c=c?c.offsetTop:0;120<c?c-=120:c=0,n.scrollTop=n?c:0},searchSpace:function(){var e={floorId:r.checkPositon.floorId,buildingId:r.checkPositon.buildingId,funcType:r.spaceType.type,spaceName:r.searchSpaceName,macAddress:r.userInfo.mac};r.getPadSpaceList(e)},spaceId:"",init:function(){var e=t.query.spaceId,c=(r.spaceId=e,t.query.id);ce.a.commit(ne.a.SET_PROJECT_ID,c),r.getDefaultLocation(),e&&r.insertWorkSpace({spaceId:e},0)}});return Object(o.onMounted)((function(){r.init()})),Object(y.a)({},Object(o.toRefs)(r))}}),c("d979"),c("e3be"),N=c("6b0d"),Q=c.n(N);t.default=Q()(T,[["render",function(e,t,c,n,y,I){var q=Object(o.resolveComponent)("van-icon"),N=Object(o.resolveComponent)("van-search"),T=Object(o.resolveComponent)("van-checkbox"),P=Object(o.resolveComponent)("van-tree-select"),V=Object(o.resolveComponent)("van-popup");return Object(o.openBlock)(),Object(o.createElementBlock)("div",a,[Object(o.createElementVNode)("div",r,[Object(o.createElementVNode)("div",{class:"search-floor",onClick:t[0]||(t[0]=function(){return e.showPounp&&e.showPounp.apply(e,arguments)})},[i,Object(o.createElementVNode)("span",u,Object(o.toDisplayString)(e.checkPositon.buildingName)+Object(o.toDisplayString)(e.checkPositon.floorName),1),Object(o.createVNode)(q,{class:"arrow-down",name:"arrow-down"})]),Object(o.createElementVNode)("div",d,[Object(o.createElementVNode)("div",s,[Object(o.createElementVNode)("div",{class:"com-text",onClick:t[1]||(t[1]=function(){return e.showSpaceTypePounp&&e.showSpaceTypePounp.apply(e,arguments)})},[Object(o.createElementVNode)("span",null,Object(o.toDisplayString)(e.spaceType.name),1),Object(o.createVNode)(q,{class:"arrow-down",name:"arrow-down"})])]),Object(o.createVNode)(N,{class:"search-box",modelValue:e.searchSpaceName,"onUpdate:modelValue":[t[2]||(t[2]=function(t){return e.searchSpaceName=t}),e.searchSpace],placeholder:"请输入搜索关键词"},null,8,["modelValue","onUpdate:modelValue"]),Object(o.createElementVNode)("div",l,[Object(o.createElementVNode)("img",{src:e.parseImgUrl("search-icon","search-icon.svg"),alt:""},null,8,b)])])]),Object(o.createElementVNode)("div",p,[e.showSpace?(Object(o.openBlock)(!0),Object(o.createElementBlock)(o.Fragment,{key:0},Object(o.renderList)(e.spaceData,(function(t,c){return Object(o.openBlock)(),Object(o.createElementBlock)("div",{class:"space-box",id:"space"+c,key:"space"+t.spaceId},[Object(o.createElementVNode)("div",m,[Object(o.createElementVNode)("span",j,Object(o.toDisplayString)(t.spaceName),1),Object(o.createVNode)(T,{class:"item-check",modelValue:t.checked,"onUpdate:modelValue":function(e){return t.checked=e},onClick:function(c){return e.updateWorkSpace(t)},shape:"square"},null,8,["modelValue","onUpdate:modelValue","onClick"])])],8,f)})),128)):(Object(o.openBlock)(),Object(o.createElementBlock)("div",O,[Object(o.createElementVNode)("img",{src:e.parseImgUrl("page-officehome","empty.png"),alt:""},null,8,h),v]))]),e.spaceData&&e.spaceData.length?(Object(o.openBlock)(),Object(o.createElementBlock)("div",g,[Object(o.createElementVNode)("button",{onClick:t[3]||(t[3]=function(){return e.goNext&&e.goNext.apply(e,arguments)})},"下一步")])):Object(o.createCommentVNode)("",!0),Object(o.createVNode)(V,{show:e.show,"onUpdate:show":t[6]||(t[6]=function(t){return e.show=t}),position:"bottom"},{default:Object(o.withCtx)((function(){return[Object(o.createVNode)(P,{onClickNav:e.checkBuilding,onClickItem:e.checkFloor,"active-id":e.checkPositon.floorId,"onUpdate:active-id":t[4]||(t[4]=function(t){return e.checkPositon.floorId=t}),"main-active-index":e.activeIndex,"onUpdate:main-active-index":t[5]||(t[5]=function(t){return e.activeIndex=t}),items:e.positionArr},null,8,["onClickNav","onClickItem","active-id","main-active-index","items"])]})),_:1},8,["show"]),Object(o.createVNode)(V,{show:e.showSpaceType,"onUpdate:show":t[7]||(t[7]=function(t){return e.showSpaceType=t}),position:"bottom"},{default:Object(o.withCtx)((function(){return[Object(o.createElementVNode)("div",k,[(Object(o.openBlock)(!0),Object(o.createElementBlock)(o.Fragment,null,Object(o.renderList)(e.spaceTypeArr,(function(t,c){return Object(o.openBlock)(),Object(o.createElementBlock)("span",{onClick:function(c){return e.checkSpaceType(t)},class:Object(o.normalizeClass)(e.spaceType.type===t.type?"active-type":""),key:"space-type-id"+c},Object(o.toDisplayString)(t.name),11,S)})),128))])]})),_:1},8,["show"])])}],["__scopeId","data-v-5e194b58"]])},d236:function(e,t,c){e.exports={menuBg:"#fff",menuText:"#162b64",menuActiveText:"#435ebe"}},d8ac:function(e,t,c){},d979:function(e,t,c){"use strict";c("b4ef")},e3be:function(e,t,c){"use strict";c("d236")}}]);