1 |
- {"version":3,"sources":["webpack:///./node_modules/vant/es/cell-group/style/index.js","webpack:///./src/views/envmonitor/TimeBox.vue?a544","webpack:///./src/views/envmonitor/components/workOvertime/LeaveDailog.vue?b2c0","webpack:///./src/views/envmonitor/components/Light/index.vue?de77","webpack:///./src/views/envmonitor/components/Air/manualIndex.vue?62ff","webpack:///./src/views/envmonitor/components/Air/index.vue?ba1a","webpack:///./src/views/envmonitor/components/Air/index.vue?bebd","webpack:///./src/views/envmonitor/components/workOvertime/index.vue?b65a","webpack:///./src/views/envmonitor/components/workOvertime/WorkConfig.vue?8d42","webpack:///./node_modules/vant/es/cell-group/CellGroup.js","webpack:///./node_modules/vant/es/cell-group/index.js","webpack:///./src/views/envmonitor/components/Contact/index.vue?42b5","webpack:///./node_modules/vant/es/form/style/index.js","webpack:///./src/views/envmonitor/components/Light/index.vue?4db6","webpack:///./src/views/envmonitor/components/Scenario/Scenario.vue?9244","webpack:///./src/utils/swiper.ts","webpack:///./src/views/envmonitor/components/Map/index.vue?b04d","webpack:///./src/views/envmonitor/components/Contact/index.vue?cc17","webpack:///./src/views/envmonitor/components/Air/manualIndex.vue?d36a","webpack:///./node_modules/vant/es/button/style/index.js","webpack:///./src/views/envmonitor/components/Light/index.vue?faee","webpack:///./node_modules/vant/es/form/Form.js","webpack:///./node_modules/vant/es/form/index.js","webpack:///./src/views/envmonitor/NavBar.vue?acd2","webpack:///./src/views/envmonitor/index.vue?eaf7","webpack:///./src/views/envmonitor/components/workOvertime/index.vue?35f7","webpack:///./node_modules/vant/es/slider/Slider.js","webpack:///./node_modules/vant/es/slider/index.js","webpack:///./src/views/envmonitor/components/workOvertime/index.vue?1822","webpack:///./src/views/envmonitor/components/workOvertime/index.vue","webpack:///./src/views/envmonitor/components/Contact/index.vue?d4d5","webpack:///./src/views/envmonitor/components/Contact/index.vue?ca2b","webpack:///./src/views/envmonitor/components/Contact/index.vue","webpack:///./src/views/envmonitor/components/workOvertime/WorkConfig.vue?7460","webpack:///./src/views/envmonitor/components/workOvertime/LeaveDailog.vue?b061","webpack:///./src/views/envmonitor/components/workOvertime/LeaveDailog.vue?87d0","webpack:///./src/views/envmonitor/components/workOvertime/LeaveDailog.vue","webpack:///./src/views/envmonitor/components/workOvertime/WorkConfig.vue?ae9f","webpack:///./src/views/envmonitor/components/workOvertime/WorkConfig.vue","webpack:///./src/views/envmonitor/components/Scenario/ScenarioConfig.vue?5d9b","webpack:///./src/views/envmonitor/components/Scenario/ScenarioConfig.vue?3c3c","webpack:///./src/views/envmonitor/components/Scenario/ScenarioConfig.vue","webpack:///./src/components/header/Index.vue?1417","webpack:///./src/components/header/Index.vue?228a","webpack:///./src/components/header/Index.vue","webpack:///./src/views/envmonitor/components/Scenario/Scenario.vue?c828","webpack:///./src/views/envmonitor/components/Scenario/Scenario.vue?4627","webpack:///./src/views/envmonitor/components/Scenario/Scenario.vue","webpack:///./src/views/envmonitor/components/Air/index.vue?8ca4","webpack:///./node_modules/vant/es/switch/Switch.js","webpack:///./node_modules/vant/es/switch/index.js","webpack:///./src/views/envmonitor/components/Air/index.vue?7aea","webpack:///./src/views/envmonitor/components/Air/index.vue","webpack:///./src/views/envmonitor/components/Air/manualIndex.vue?ff21","webpack:///./src/views/envmonitor/components/Air/manualIndex.vue?0420","webpack:///./src/views/envmonitor/components/Air/manualIndex.vue","webpack:///./src/views/envmonitor/components/Light/index.vue?eb05","webpack:///./src/views/envmonitor/components/Light/index.vue?9c45","webpack:///./src/views/envmonitor/components/Light/index.vue","webpack:///./src/views/envmonitor/components/Curtain/index.vue?e4b8","webpack:///./src/views/envmonitor/components/Curtain/index.vue?6bdb","webpack:///./src/views/envmonitor/components/Curtain/index.vue","webpack:///./src/views/envmonitor/TimeBox.vue?3d78","webpack:///./src/views/envmonitor/TimeBox.vue?ef72","webpack:///./src/views/envmonitor/TimeBox.vue","webpack:///./src/views/envmonitor/NavBar.vue?1323","webpack:///./src/views/envmonitor/NavBar.vue?1594","webpack:///./src/views/envmonitor/NavBar.vue","webpack:///./src/views/envmonitor/components/Scenario/scenarioDailog.vue?dbdc","webpack:///./src/views/envmonitor/components/Scenario/scenarioDailog.vue?f967","webpack:///./src/views/envmonitor/components/Scenario/scenarioDailog.vue","webpack:///./src/views/envmonitor/components/Map/index.vue?3a2a","webpack:///./src/views/envmonitor/components/Map/SpaceBox.vue?5b97","webpack:///./src/views/envmonitor/components/Map/SpaceBox.vue?837f","webpack:///./src/views/envmonitor/components/Map/SpaceBox.vue","webpack:///./src/views/envmonitor/components/Map/index.vue?6a04","webpack:///./src/views/envmonitor/components/Map/index.vue","webpack:///./src/views/envmonitor/index.vue?1c91","webpack:///./src/views/envmonitor/index.vue","webpack:///./src/views/envmonitor/components/Scenario/scenarioDailog.vue?fd62","webpack:///./src/views/envmonitor/components/Curtain/index.vue?33ea","webpack:///./src/views/envmonitor/index.vue?5d5a","webpack:///./src/components/header/Index.vue?9ca5","webpack:///./src/views/envmonitor/components/Air/index.vue?bc81","webpack:///./src/views/envmonitor/index.vue?6d66","webpack:///./node_modules/vant/es/field/style/index.js","webpack:///./node_modules/core-js/modules/es.array.find-index.js","webpack:///./src/views/envmonitor/components/Scenario/ScenarioConfig.vue?2cad","webpack:///./node_modules/vant/es/utils/deep-clone.js","webpack:///./node_modules/vant/es/picker/PickerColumn.js","webpack:///./node_modules/vant/es/picker/Picker.js","webpack:///./src/views/envmonitor/index.vue?7b4d","webpack:///./src/views/envmonitor/components/Map/SpaceBox.vue?67ed","webpack:///./src/views/envmonitor/components/Air/manualIndex.vue?c01f","webpack:///./node_modules/vant/es/picker/index.js"],"names":["bem","create","cellGroupProps","title","String","inset","Boolean","border","stdin_default","name","inheritAttrs","props","slots","attrs","renderGroup","_a","default","call","renderTitle","CellGroup","swiper","el","options","isMove","startX","startY","moveX","moveY","disX","disY","fun","data","swipeLeft","swipeRight","swipeDown","swipeUp","drag","Object","assign","addEventListener","e","touches","pageX","pageY","passive","mation","absX","Math","abs","absY","module","exports","formProps","colon","disabled","readonly","showError","labelWidth","labelAlign","inputAlign","scrollToError","validateFirst","submitOnEnter","validateTrigger","showErrorMessage","errorMessageAlign","emits","emit","children","linkChildren","getFieldsByNames","names","filter","field","includes","validateSeq","Promise","resolve","reject","errors","fields","reduce","promise","then","length","validate","error","push","validateAll","all","map","item","validateField","name2","matched","find","resetValidation","forEach","scrollToField","some","$el","scrollIntoView","getValues","form","formValue","value","submit","values","catch","onSubmit","event","Form","n","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","key","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","render","_ctx","_cache","$props","$setup","$data","$options","_component_work_config","_component_scenario_config","_component_manual_index","_component_Air","_component_Light","_component_Curtain","_component_work_overtime","_component_van_popup","_component_scenario_dailog","_component_detail","_component_com_map","_component_contact","style","backgroundImage","padBgImg","onTouchstart","$event","gtouchstart","onTouchmove","gtouchmove","onTouchend","showDeleteButton","logImg","src","alt","parseImgUrl","nowDate","nowWeek","outWeather","imgname","temperature","onClick","showContact","officeData","localName","envlist","index","bgColor","background","opacity","paddingLeft","handleDetail","img","num","unit","spaceData","active","changeSpace","spaceName","moreSpace","roomType","isWork","controlMode","scenarioArr","workkArr","onTriggerWork","triggerWork","onSetForceOverTimeFlag","setForceOverTimeFlag","activeType","spaceId","spaceInfo","projectId","onSetHeadScene","setHeadScene","forceOverTimeFlag","onUpdateAirTemp","updateAirTemp","hasAir","spaceExistenceDevice","airConditioner","airVolumes","userIsControl","id","isACATVA","light","curtain","show","isShowWork","position","teleport","onCloseWork","closeWork","_","isShowMetting","secenaroStatus","onCloseDailog","closeDailog","isShowDetail","query","detailQuery","isShowMap","defaultSpace","copySpaceData","floorId","buildingId","onChangeSpace","isShowContact","closeContactDailog","_component_van_loading","dateArr","isActive","checkDate","week","day","nowTimerArr","timer","checkSlider","triggerDelTime","closeWorkTimer","formBtn","addWorkTimer","showLoading","sliderProps","min","max","step","range","reverse","vertical","barHeight","buttonSize","activeColor","inactiveColor","modelValue","type","Number","Array","buttonIndex","current","startValue","root","dragStatus","touch","scope","wrapperStyle","crossAxis","isRange","val","isArray","calcMainAxis","calcOffset","barStyle","mainAxis","transition","getPositionKey","format","diff","round","isSameValue","newValue","oldValue","JSON","stringify","handleRangeValue","_b","left","right","updateValue","end","stopPropagation","rect","getDelta","bottom","clientY","top","clientX","total","height","width","middle","onTouchStart","start","onTouchMove","move","delta","deltaY","deltaX","onTouchEnd","getButtonClassName","renderButtonContent","slot","button","renderButton","current2","Slider","components","VanSlider","setup","context","proxyGlobal","screenInfo","screenWidth","screenHeight","myTimeArr","timerArr","nowData","redUrl","bgRed","userInfo","proxyData","isEvent","startIndex","endIndex","startLen","setScreennWidth","addTimeEl","document","querySelector","offsetWidth","getNowIndex","nowIndex","getTomorrowIndex","getNowPerstion","obj","len","formatTimer","cusStartTime","parseCusStartTime","cusEndTime","parseCusEndTime","setOptionnalTime","sliderList","slidersWrapper","sliderWidth","getBoundingClientRect","sliderLeft","setOptionnalPerstion","sliderSwiper","leftInit","isNaN","parseInt","checkMoveTarget","endBox","endEnd","endRadio","target","checkPersionService","flag","i","isServiceTime","cancelRemoveListener","removeEventListener","endBoxSwiper","sliderBtnEl","startEl","sliderBoxEl","querySelectorAll","sliderBtnLeft","screenLeft","sliderBtnWidth","sliderBoxWidth","ceil","moveRealX","cancelSliderBoxColor","sliderBoxArr","isCheck","slidersWrapperWidth","parseIndex","bg","setCheckTimeStyle","setServiceTimerStyle","setPastTime","time","newTime","minute","temTimeInt","setWorkTimeList","isUpdate","proxy","$loadinngEnd","date","Date","getDay","replace","customSceneList","custom","j","tempStartTime","startTime","tempEndTime","endTime","oldDate","objectId","activeIndex","clearTimerBoxStyle","elItem","changeEl","formateAddTimer","delTimerArr","delObj","formaTimeObj","relNowTime","addObj","formTimeArr","sourceType","startDate","endDate","userId","userPhone","customSceneEqType","userName","formateDelTimer","addTimeArr","addObj1","addObj2","realTime","concat","formTimerArr","saveBatchCustomScene","res","confirm","message","newProps","__exports__","_component_buttons","_component_van_dialog","imgUrl","contantDetail","wechatQrCode","phone","VanLoading","Component","contx","$imgUrl","queryCustomerservice","params","criteria","resData","content","deep","immediate","_component_leave_dailog","timerText","classColor","text","showDel","btnText","myLeaving","isShowLeaveDailog","closeLeavDailog","_component_van_icon","leaveDetail","textObj","idx","status","LeaveDailog","router","delTimeArr","leaveBtnFlag","forcedOverTimeFlag","path","formateTimeContinuous","beforeWorkTime","nowTime","afterWorkTime","checkWorkTime","formateWorkTime","oldTimeEnd","btnObj","timeJoin","formatDataDel","openLeavDailog","sceneType","handleScene","flex","sceneName","scenarioImgArr","DISCUSSING","PROJECTING","ADJOURNMENT","formatScenarioImg","order","sort","a","b","pubname","loading","lodingText","result","pm25","quality","setPermanentSpace","VanIcon","goBack","window","history","go","popList","code","vanPopupIndex","sceneDetail","showSecenDetailDalig","loadingStart","duration","forbidClick","loadinngEnd","clear","mitem","parse","element","setTimeout","_hoisted_30","_hoisted_31","_component_Switch","airData","tempSet","isOpen","icon","airRunImg","spaceStatus","airImg","loadingAir","firstLoadingAir","airChange","changeAir","showAirVolumeBtn","showDialog","airSetText","toWhere","nowImg","notice","remark","remarkItem","closeDialog","switchProps","size","activeValue","inactiveValue","isChecked","renderLoading","color","checked","fontSize","backgroundColor","on","Switch","propsVal","avg","mode","feedbackTimer","airTimer","domAirOpeen","modeName","designTemperature","formateModel","model","getEquipmentListHttp","equipmentCategory","getAirInfoToTimer","timerLong","clearTimeout","getAirInfo","getFeedbackTimer","btnType","closeLoading","interval","setInterval","clearInterval","feedbackId","paramObj","split","airComfir","confirmBtnText","cancelButtonText","confirmButtonText","confirmButtonColor","domAirOpen","itemId","btnTypeDetail","closeScenarioAir","updatAirStatus","updateAirText","showAirConditioning","defaultAirText","valueType","airText","imgStr","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","airTemp","equipList","showAll","lightIcon","showChild","runStatus","minTempSet","realTemp","maxTempSet","windGearArr","gear","changeZongAir","isAutoGear","workMode","childItem","changeChildItemAir","loadingTimer","cotrolLoading","swiperIinit","part","barSwiperInit","setBarNowPerstion","floor","barBox","handBox","sliderBox","barLeft","barWidth","tempPart","setLoadingNumber","formatAirData","codeKey","setChildLoadingNumber","childDisabled","timeOuter","setSpaceCondtioners","symbol","arr","switchCode","tempSetCode","gearCode","modeSetCode","equpObj","formateSetChildStatus","str","lampList","isShowChildLight","lampSw","lightImg","showFlag","eqChange","switch","lightsStatusTimer","timeOut","initData","lightParams","setStatus","allowSvg","loadingLight","startCheckLightsTime","getLampList","lampOpen","imgOpen","imgClose","startLightsStatusTimer","statusFlag","updateAllLampStatus","setLamp","updateLampStatus","initLampLoading","getTimeLampStatus","checkData","updateAllLampLoading","updateLampLoading","checkParams","processArr","orderSeqNum","checkChangeLightStatusSuccess","judgeChangeResponeseSuccess","processingArr","successArr","errorArr","state","exeResult","success","processing","loadingLen","curtainData","countText","curtainClose","count","handleTotal","curtainOpen","handleChild","getEqpGroup","orders","column","asc","childDownFlag","childUpFlag","childCount","childCountText","checkCount","setType","changeStatus","paramsArr","setParams","setSwitchStatus","infoCode","clearCurtain","_component_van_picker","ref","defaultIndex","onChange","account_type_value","columns","triggerComfirm","nextCusStartTime","currentValue","workInfo","VanPicker","picker","timeList","checkValues","tempVal","formatColumns","setDefaultTime","col","textTime","timeArr","setColumnValue","curDate","arrTime","todayStart","todayEnd","label","setWorkOverTime","init","navData","activeCode","checkNav","activeImg","noShow","navList","contex","setNavValue","setActiveCode","newVal","_component_map_box","_component_space_box","checkMapType","_component_van_search","placeholder","searchValue","onSearch","onClear","onCancel","activeSpace","vanSearch","queryWorkSpace","macAddress","mac","vanForm","vanField","vanButton","SpaceBox","MapBox","showMap","getMapInfo","spaceList","ComMap","ScenarioDailog","Scenario","Header","Comheader","NavBar","Air","ManualIndex","Light","Curtain","TimeBox","WorkOvertime","WorkConfig","ScenarioConfig","Detail","Contact","route","body","clientHeight","spaceEqFlagObj","hasBlowing","hasLamp","user","timeOutEvent","touchInterval","headerInfo","headImg","headScene","tipText","tipTextSwatch","bodySensor","childRef","intervalTimer","spaceTimer","listSen","userSpaceInfo","spaceModelTimer","spaceTempTimer","level","funcid","realEevList","secenTimer","padImgData","fileUrl","$fileUrl","showSpaceTip","mapOpacity","opacityV","hideTopImg","isBottom","isScrool","popupType","showScenario","topbgimg","deviceIcon","visible","listOffice","showWorkOff","meetingRoomSence","setPadBgImg","isBgDefault","bgImage","fileId","setPadLogo","isLogoDefault","logoImage","padNumber","getPadImg","funcType","roomFuncType","queryCustomAndScenceTimer","getCompanyInfo","companyId","companyKey","getWeather","openid","getWeatherIcon","getnowTime","now","indexOf","checkSpaceType","getPageMeetingSceneHttp","timerSpaceInfo","checkUserSpace","sp_id","getUserControlAuth","getSpaceInfo","toFixed","formatSpaceInfo","getSpaceModeTimer","getSpaceMode","getSpaceTempTimer","getSpaceTemp","setEnvBg","checkLevel","objList","humidity","co2","hcho","sortArr","findIndex","levelTxt","setPageheight","getElementById","offsetHeight","resSen","setHeadSceneAirTemp","setWorkTime","setTime","handlePreClose","changeLampStatus","getEquipments","queryParams","hourMiChange","tempStr","toString","newStr","dLen","slice","getSetTimeHttp","tomText","changTime","nextCusEndTime","daTime","handlePopup","triggerCheckSpace","ele","houseEle","houseHeight","scrollTop","clearTimerSpaceInfo","isMetting","checkIsSpaceScene","querySpaceSceneConfig","queryCustomAndScence","compare","obj1","obj2","val1","val2","updatePageUrl","url","location","origin","pathname","replaceState","setTimerCloseTip","timeNum","resetSpaceStatus","elChangeExForArray","index1","index2","temp","touchNumber","longPress","this","$","$findIndex","addToUnscopables","arrayMethodUsesToLength","FIND_INDEX","SKIPS_HOLES","USES_TO_LENGTH","proto","forced","callbackfn","arguments","undefined","deepClone","to","keys","DEFAULT_DURATION","MOMENTUM_LIMIT_TIME","MOMENTUM_LIMIT_DISTANCE","getElementTranslateY","transform","getComputedStyle","translateY","PICKER_KEY","Symbol","isOptionDisabled","option","textKey","allowHtml","className","itemHeight","swipeDuration","initialOptions","visibleItemCount","moving","startOffset","touchStartTime","momentumOffset","transitionEndTrigger","wrapper","offset","baseOffset","adjustIndex","setIndex","emitChange","trigger","setOptions","onClickItem","getOptionText","getIndexByOffset","momentum","distance","speed","stopMomentum","isVertical","allowMomentum","renderOptions","optionStyle","role","tabindex","selected","childData","setValue","getValue","transitionDuration","transitionProperty","t","pickerSharedProps","showToolbar","pickerProps","valueKey","toolbarPosition","columnsFieldNames","hasOptions","formattedColumns","valuesKey","childrenKey","dataType","firstColumn","formatCascade","formatted","cursor","children2","getIndexes","child","setColumnValues","onCascadeChange","columnIndex","indexes","getChild","getColumnValue","getColumnIndex","setColumnIndex","optionIndex","getColumnValues","setValues","setIndexes","emitAction","cancel","renderCancel","renderConfirm","renderToolbar","toolbar","renderColumnItems","renderMask","wrapHeight","frameStyle","maskStyle","backgroundSize","renderColumns","columnsStyle","Picker"],"mappings":"kHAAA,qB,oCCAA,W,2DCAA,W,oFCAA,W,kCCAA,W,oCCAA,W,6DCAA,W,oCCAA,W,kCCAA,W,6JCGA,MAAO,EAAMA,GAAO,OAAAC,EAAA,MAAgB,cAC9BC,EAAiB,CACrBC,MAAOC,OACPC,MAAOC,QACPC,OAAQ,QAEV,IAAIC,EAAgB,6BAAgB,CAClCC,KAAI,EACJC,cAAc,EACdC,MAAOT,EACP,MAAMS,GAAO,MACXC,EAAK,MACLC,IAEA,MAAMC,EAAc,KAClB,IAAIC,EACJ,OAAO,yBAAa,MAAO,wBAAY,CACrC,MAAS,CAACf,EAAI,CACZK,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,MAkBtC,OAhBA,mBAAM,IAAM1iC,EAAM+uB,QAASjd,EAAQ,CACjCyL,WAAW,IAEb,eAAU,CACRpB,UACAxW,YACAq8B,YACAZ,aACAa,aACAL,iBACAC,iBACAF,iBACA7R,iBACAiS,kBACAT,oBAEK,KACL,IAAIlhC,EAAImS,EACR,OAAO,yBAAa,MAAO,CACzB,MAAS,KACR,CAA2B,QAA1BvS,EAAMwgC,gBAA4B8B,IAAkB,KAAMtiC,EAAMqgB,QAAU,yBAAa,OAAS,CAClG,MAAS,EAAI,YACZ,MAAQ,KAAqC,OAA9BjgB,EAAKH,EAAM,qBAA0B,EAASG,EAAGE,KAAKL,GAAQ6iC,IAAmD,OAAjCvwB,EAAKtS,EAAM,wBAA6B,EAASsS,EAAGjS,KAAKL,GAAkC,WAA1BD,EAAMwgC,gBAA+B8B,IAAkB,Y,yDClThO,W,kCCAA,W,yDCAA,W,yDCAA,gGAEA,MAAMU,EAAS,eAAY,QAC3B,IAAInjC,EAAgBmjC","file":"static/js/chunk-064a0c02.a8901b79.js","sourcesContent":["import \"../../style/base.css\";\nimport \"../index.css\";\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!./TimeBox.vue?vue&type=style&index=0&id=18f3164f&lang=scss&scoped=true\"","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!./LeaveDailog.vue?vue&type=style&index=0&id=10ea159b&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./index.vue?vue&type=style&index=1&id=4d4ee037&class=style&lang=scss\"","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!./manualIndex.vue?vue&type=style&index=1&id=5be753e7&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./index.vue?vue&type=style&index=1&id=44ad189c&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./index.vue?vue&type=style&index=0&id=44ad189c&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./index.vue?vue&type=style&index=0&id=8cbaae9a&lang=scss&scoped=true\"","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!./WorkConfig.vue?vue&type=style&index=0&id=45fb191f&lang=scss&scoped=true\"","import { Fragment as _Fragment, createVNode as _createVNode, mergeProps as _mergeProps } from \"vue\";\nimport { defineComponent } from \"vue\";\nimport { truthProp, createNamespace, BORDER_TOP_BOTTOM } from \"../utils\";\nconst [name, bem] = createNamespace(\"cell-group\");\nconst cellGroupProps = {\n title: String,\n inset: Boolean,\n border: truthProp\n};\nvar stdin_default = defineComponent({\n name,\n inheritAttrs: false,\n props: cellGroupProps,\n setup(props, {\n slots,\n attrs\n }) {\n const renderGroup = () => {\n var _a;\n return _createVNode(\"div\", _mergeProps({\n \"class\": [bem({\n inset: props.inset\n }), {\n [BORDER_TOP_BOTTOM]: props.border && !props.inset\n }]\n }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);\n };\n const renderTitle = () => _createVNode(\"div\", {\n \"class\": bem(\"title\", {\n inset: props.inset\n })\n }, [slots.title ? slots.title() : props.title]);\n return () => {\n if (props.title || slots.title) {\n return _createVNode(_Fragment, null, [renderTitle(), renderGroup()]);\n }\n return renderGroup();\n };\n }\n});\nexport {\n stdin_default as default\n};\n","import { withInstall } from \"../utils\";\nimport _CellGroup from \"./CellGroup\";\nconst CellGroup = withInstall(_CellGroup);\nvar stdin_default = CellGroup;\nexport {\n CellGroup,\n stdin_default as default\n};\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!./index.vue?vue&type=style&index=0&id=3149f63a&lang=scss\"","import \"../../style/base.css\";\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!./index.vue?vue&type=style&index=0&id=4d4ee037&lang=scss&scoped=true\"","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!./Scenario.vue?vue&type=style&index=0&id=7769650f&lang=scss&scoped=true\"","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","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./index.vue?vue&type=style&index=0&id=2048181d&lang=scss&scoped=true\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuBg\":\"#fff\",\"menuText\":\"#162b64\",\"menuActiveText\":\"#435ebe\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuBg\":\"#fff\",\"menuText\":\"#162b64\",\"menuActiveText\":\"#435ebe\"};","import \"../../style/base.css\";\nimport \"../../badge/index.css\";\nimport \"../../icon/index.css\";\nimport \"../../loading/index.css\";\nimport \"../index.css\";\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuBg\":\"#fff\",\"menuText\":\"#162b64\",\"menuActiveText\":\"#435ebe\"};","import { createVNode as _createVNode } from \"vue\";\nimport { defineComponent } from \"vue\";\nimport { FORM_KEY, truthProp, numericProp, preventDefault, makeStringProp, createNamespace } from \"../utils\";\nimport { useChildren } from \"@vant/use\";\nimport { useExpose } from \"../composables/use-expose\";\nconst [name, bem] = createNamespace(\"form\");\nconst formProps = {\n colon: Boolean,\n disabled: Boolean,\n readonly: Boolean,\n showError: Boolean,\n labelWidth: numericProp,\n labelAlign: String,\n inputAlign: String,\n scrollToError: Boolean,\n validateFirst: Boolean,\n submitOnEnter: truthProp,\n validateTrigger: makeStringProp(\"onBlur\"),\n showErrorMessage: truthProp,\n errorMessageAlign: String\n};\nvar stdin_default = defineComponent({\n name,\n props: formProps,\n emits: [\"submit\", \"failed\"],\n setup(props, {\n emit,\n slots\n }) {\n const {\n children,\n linkChildren\n } = useChildren(FORM_KEY);\n const getFieldsByNames = (names) => {\n if (names) {\n return children.filter((field) => names.includes(field.name));\n }\n return children;\n };\n const validateSeq = (names) => new Promise((resolve, reject) => {\n const errors = [];\n const fields = getFieldsByNames(names);\n fields.reduce((promise, field) => promise.then(() => {\n if (!errors.length) {\n return field.validate().then((error) => {\n if (error) {\n errors.push(error);\n }\n });\n }\n }), Promise.resolve()).then(() => {\n if (errors.length) {\n reject(errors);\n } else {\n resolve();\n }\n });\n });\n const validateAll = (names) => new Promise((resolve, reject) => {\n const fields = getFieldsByNames(names);\n Promise.all(fields.map((item) => item.validate())).then((errors) => {\n errors = errors.filter(Boolean);\n if (errors.length) {\n reject(errors);\n } else {\n resolve();\n }\n });\n });\n const validateField = (name2) => {\n const matched = children.find((item) => item.name === name2);\n if (matched) {\n return new Promise((resolve, reject) => {\n matched.validate().then((error) => {\n if (error) {\n reject(error);\n } else {\n resolve();\n }\n });\n });\n }\n return Promise.reject();\n };\n const validate = (name2) => {\n if (typeof name2 === \"string\") {\n return validateField(name2);\n }\n return props.validateFirst ? validateSeq(name2) : validateAll(name2);\n };\n const resetValidation = (name2) => {\n if (typeof name2 === \"string\") {\n name2 = [name2];\n }\n const fields = getFieldsByNames(name2);\n fields.forEach((item) => {\n item.resetValidation();\n });\n };\n const scrollToField = (name2, options) => {\n children.some((item) => {\n if (item.name === name2) {\n item.$el.scrollIntoView(options);\n return true;\n }\n return false;\n });\n };\n const getValues = () => children.reduce((form, field) => {\n form[field.name] = field.formValue.value;\n return form;\n }, {});\n const submit = () => {\n const values = getValues();\n validate().then(() => emit(\"submit\", values)).catch((errors) => {\n emit(\"failed\", {\n values,\n errors\n });\n if (props.scrollToError && errors[0].name) {\n scrollToField(errors[0].name);\n }\n });\n };\n const onSubmit = (event) => {\n preventDefault(event);\n submit();\n };\n linkChildren({\n props\n });\n useExpose({\n submit,\n validate,\n scrollToField,\n resetValidation\n });\n return () => {\n var _a;\n return _createVNode(\"form\", {\n \"class\": bem(),\n \"onSubmit\": onSubmit\n }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);\n };\n }\n});\nexport {\n stdin_default as default\n};\n","import { withInstall } from \"../utils\";\nimport _Form from \"./Form\";\nconst Form = withInstall(_Form);\nvar stdin_default = Form;\nexport {\n Form,\n stdin_default as default\n};\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!./NavBar.vue?vue&type=style&index=0&id=1f8e6930&lang=scss&scoped=true\"","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, vShow as _vShow, withDirectives as _withDirectives, createTextVNode as _createTextVNode, renderList as _renderList, Fragment as _Fragment, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, resolveComponent as _resolveComponent, createBlock as _createBlock, withCtx as _withCtx, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3f7534ef\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"main-left\" }\nconst _hoisted_2 = { class: \"left-top\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = { class: \"left-time\" }\nconst _hoisted_6 = { class: \"weather\" }\nconst _hoisted_7 = [\"src\"]\nconst _hoisted_8 = [\"src\"]\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \" 联系客服\", -1))\nconst _hoisted_10 = { class: \"left-space\" }\nconst _hoisted_11 = { class: \"text\" }\nconst _hoisted_12 = { class: \"space-info\" }\nconst _hoisted_13 = { class: \"space-temp\" }\nconst _hoisted_14 = [\"src\"]\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"temp-text\" }, \"温度\", -1))\nconst _hoisted_16 = {\n key: 0,\n class: \"temp-num\"\n}\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"sup\", null, \"℃\", -1))\nconst _hoisted_18 = { class: \"space-env\" }\nconst _hoisted_19 = [\"onClick\"]\nconst _hoisted_20 = [\"src\"]\nconst _hoisted_21 = { class: \"env-text\" }\nconst _hoisted_22 = {\n key: 0,\n class: \"fotter\"\n}\nconst _hoisted_23 = [\"onClick\"]\nconst _hoisted_24 = [\"src\"]\nconst _hoisted_25 = [\"src\"]\nconst _hoisted_26 = [\"src\"]\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"…\", -1))\nconst _hoisted_28 = { class: \"main-right\" }\nconst _hoisted_29 = {\n key: 0,\n class: \"work-btn\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_work_config = _resolveComponent(\"work-config\")!\n const _component_scenario_config = _resolveComponent(\"scenario-config\")!\n const _component_manual_index = _resolveComponent(\"manual-index\")!\n const _component_Air = _resolveComponent(\"Air\")!\n const _component_Light = _resolveComponent(\"Light\")!\n const _component_Curtain = _resolveComponent(\"Curtain\")!\n const _component_work_overtime = _resolveComponent(\"work-overtime\")!\n const _component_van_popup = _resolveComponent(\"van-popup\")!\n const _component_scenario_dailog = _resolveComponent(\"scenario-dailog\")!\n const _component_detail = _resolveComponent(\"detail\")!\n const _component_com_map = _resolveComponent(\"com-map\")!\n const _component_contact = _resolveComponent(\"contact\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"main\",\n style: _normalizeStyle({\n backgroundImage:\n 'linear-gradient(0deg, rgba(69, 33, 0, 0.2), rgba(69, 33, 0, 0.2)), url(' +\n _ctx.padBgImg +\n ')',\n 'background-repeat': 'no-repeat',\n })\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n class: \"logo-box\",\n onTouchstart: _cache[0] || (_cache[0] = ($event: any) => (_ctx.gtouchstart($event))),\n onTouchmove: _cache[1] || (_cache[1] = ($event: any) => (_ctx.gtouchmove())),\n onTouchend: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => (_ctx.showDeleteButton && _ctx.showDeleteButton(...args)))\n }, [\n (_ctx.logImg)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"logo-icon\",\n src: _ctx.logImg,\n alt: \"\"\n }, null, 8, _hoisted_3))\n : (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n class: \"logo-icon\",\n src: _ctx.parseImgUrl('ipdImages', 'shangeyun_logo.svg'),\n alt: \"\"\n }, null, 8, _hoisted_4))\n ], 32),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.nowDate), 1),\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.nowWeek), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _withDirectives(_createElementVNode(\"img\", {\n src: _ctx.outWeather.imgname,\n class: \"weather-icon\",\n alt: \"\"\n }, null, 8, _hoisted_7), [\n [_vShow, _ctx.outWeather.imgname]\n ]),\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.outWeather.temperature ? _ctx.outWeather.temperature : \"--\") + \"℃\", 1)\n ]),\n _createElementVNode(\"div\", {\n class: \"weixiin\",\n onClick: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.showContact && _ctx.showContact(...args)))\n }, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('ipdImages', 'weixin.svg')\n }, null, 8, _hoisted_8),\n _hoisted_9\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.officeData.localName), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('ipdImages', 'template-icon.svg'),\n alt: \"\"\n }, null, 8, _hoisted_14),\n _hoisted_15,\n (_ctx.officeData.temperature)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_16, [\n _createTextVNode(_toDisplayString(_ctx.officeData.temperature), 1),\n _hoisted_17\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.envlist, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"env-item\", [\n index == 1 ? 'env-color' : '',\n item.bgColor ? 'env-item-radius' : '',\n ]]),\n style: _normalizeStyle([\n { background: item.bgColor ? item.bgColor : '' },\n { opacity: item.bgColor ? 0.8 : '' },\n { paddingLeft: index == 0 && item.bgColor ? '15px' : '' },\n ]),\n key: 'env' + index,\n onClick: ($event: any) => (_ctx.handleDetail(item))\n }, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('ipdImages', item.img),\n alt: \"\"\n }, null, 8, _hoisted_20),\n _createElementVNode(\"span\", null, _toDisplayString(item.name), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createTextVNode(_toDisplayString(item.num) + \" \", 1),\n _createElementVNode(\"sup\", null, _toDisplayString(item.unit), 1)\n ])\n ], 14, _hoisted_19))\n }), 128))\n ])\n ]),\n (_ctx.spaceData && _ctx.spaceData.length > 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_22, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.spaceData, (item, index) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (index < 3)\n ? (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"fotter-item\", item.active ? 'fotter-item-active' : '']),\n key: index + 'nav',\n onClick: ($event: any) => (_ctx.changeSpace(item))\n }, [\n (item.active)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: _ctx.parseImgUrl('ipdImages', 'rectangle-active.svg')\n }, null, 8, _hoisted_24))\n : (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n src: _ctx.parseImgUrl('ipdImages', 'rectangle1.svg')\n }, null, 8, _hoisted_25)),\n _createElementVNode(\"span\", null, _toDisplayString(item.spaceName), 1)\n ], 10, _hoisted_23))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 256)),\n (_ctx.spaceData && _ctx.spaceData.length > 3)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"fotter-item-end\",\n onClick: _cache[4] || (_cache[4] = \n//@ts-ignore\n(...args) => (_ctx.moreSpace && _ctx.moreSpace(...args)))\n }, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('ipdImages', 'rectangle-fotter.svg')\n }, null, 8, _hoisted_26),\n _hoisted_27\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n (\n (_ctx.roomType === '开放' && _ctx.isWork && _ctx.controlMode !== 1) ||\n (_ctx.roomType === '会议室' && _ctx.scenarioArr && _ctx.scenarioArr.length)\n )\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_29, [\n (_ctx.roomType === '开放' && _ctx.isWork && _ctx.controlMode !== 1)\n ? (_openBlock(), _createBlock(_component_work_config, {\n key: 0,\n scenarioArr: _ctx.scenarioArr,\n workkArr: _ctx.workkArr,\n onTriggerWork: _ctx.triggerWork,\n onSetForceOverTimeFlag: _ctx.setForceOverTimeFlag\n }, null, 8, [\"scenarioArr\", \"workkArr\", \"onTriggerWork\", \"onSetForceOverTimeFlag\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.roomType === '会议室' && _ctx.scenarioArr && _ctx.scenarioArr.length)\n ? (_openBlock(), _createBlock(_component_scenario_config, {\n key: 1,\n activeType: _ctx.activeType,\n scenarioArr: _ctx.scenarioArr,\n spaceId: _ctx.spaceInfo.spaceId,\n projectId: _ctx.projectId,\n onSetHeadScene: _ctx.setHeadScene\n }, null, 8, [\"activeType\", \"scenarioArr\", \"spaceId\", \"projectId\", \"onSetHeadScene\"]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.controlMode === 1)\n ? (_openBlock(), _createBlock(_component_manual_index, {\n key: 1,\n onTriggerWork: _ctx.triggerWork,\n forceOverTimeFlag: _ctx.forceOverTimeFlag,\n onUpdateAirTemp: _ctx.updateAirTemp,\n hasAir: _ctx.spaceExistenceDevice.airConditioner,\n airVolumes: _ctx.officeData.airVolumes,\n temperature: _ctx.officeData.temperature,\n spaceId: _ctx.spaceInfo.spaceId,\n projectId: _ctx.projectId,\n userIsControl: _ctx.userIsControl\n }, null, 8, [\"onTriggerWork\", \"forceOverTimeFlag\", \"onUpdateAirTemp\", \"hasAir\", \"airVolumes\", \"temperature\", \"spaceId\", \"projectId\", \"userIsControl\"]))\n : _createCommentVNode(\"\", true),\n (\n _ctx.controlMode != 1 &&\n (_ctx.officeData.temperature || _ctx.spaceExistenceDevice.airConditioner)\n )\n ? (_openBlock(), _createBlock(_component_Air, {\n id: \"airId\",\n key: \"airId\",\n onTriggerWork: _ctx.triggerWork,\n forceOverTimeFlag: _ctx.forceOverTimeFlag,\n onUpdateAirTemp: _ctx.updateAirTemp,\n hasAir: _ctx.spaceExistenceDevice.airConditioner,\n airVolumes: _ctx.officeData.airVolumes,\n temperature: _ctx.officeData.temperature,\n spaceId: _ctx.spaceInfo.spaceId,\n projectId: _ctx.projectId,\n isACATVA: _ctx.isACATVA,\n userIsControl: _ctx.userIsControl\n }, null, 8, [\"onTriggerWork\", \"forceOverTimeFlag\", \"onUpdateAirTemp\", \"hasAir\", \"airVolumes\", \"temperature\", \"spaceId\", \"projectId\", \"isACATVA\", \"userIsControl\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.spaceExistenceDevice.light)\n ? (_openBlock(), _createBlock(_component_Light, {\n forceOverTimeFlag: _ctx.forceOverTimeFlag,\n onTriggerWork: _ctx.triggerWork,\n id: \"lightId\",\n key: \"lightId\",\n userIsControl: _ctx.userIsControl,\n spaceId: _ctx.spaceInfo.spaceId,\n projectId: _ctx.projectId\n }, null, 8, [\"forceOverTimeFlag\", \"onTriggerWork\", \"userIsControl\", \"spaceId\", \"projectId\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.spaceExistenceDevice.curtain)\n ? (_openBlock(), _createBlock(_component_Curtain, {\n spaceId: _ctx.spaceInfo.spaceId,\n id: \"curtainId\",\n key: \"curtainId\",\n userIsControl: _ctx.userIsControl,\n projectId: _ctx.projectId\n }, null, 8, [\"spaceId\", \"userIsControl\", \"projectId\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_component_van_popup, {\n show: _ctx.isShowWork,\n \"onUpdate:show\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.isShowWork) = $event)),\n position: \"right\",\n class: \"popup-content\",\n teleport: \"#app\"\n }, {\n default: _withCtx(() => [\n (_ctx.isShowWork)\n ? (_openBlock(), _createBlock(_component_work_overtime, {\n key: 0,\n spaceInfo: _ctx.spaceInfo,\n onCloseWork: _ctx.closeWork,\n projectId: _ctx.projectId,\n workkArr: _ctx.workkArr\n }, null, 8, [\"spaceInfo\", \"onCloseWork\", \"projectId\", \"workkArr\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"show\"]),\n _createVNode(_component_van_popup, {\n show: _ctx.isShowMetting,\n \"onUpdate:show\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.isShowMetting) = $event)),\n position: \"right\",\n \"close-on-click-overlay\": false,\n class: \"popup-content\",\n teleport: \"#app\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_scenario_dailog, {\n secenaroStatus: _ctx.secenaroStatus,\n onCloseDailog: _ctx.closeDailog\n }, null, 8, [\"secenaroStatus\", \"onCloseDailog\"])\n ]),\n _: 1\n }, 8, [\"show\"]),\n _createVNode(_component_van_popup, {\n show: _ctx.isShowDetail,\n \"onUpdate:show\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.isShowDetail) = $event)),\n position: \"right\",\n \"close-on-click-overlay\": true,\n class: \"popup-content\",\n teleport: \"#app\"\n }, {\n default: _withCtx(() => [\n (_ctx.isShowDetail)\n ? (_openBlock(), _createBlock(_component_detail, {\n key: 0,\n query: _ctx.detailQuery\n }, null, 8, [\"query\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"show\"]),\n _createVNode(_component_van_popup, {\n show: _ctx.isShowMap,\n \"onUpdate:show\": _cache[8] || (_cache[8] = ($event: any) => ((_ctx.isShowMap) = $event)),\n class: \"map-popup\",\n position: \"bottom\",\n style: {\"width\":\"100%\",\"height\":\"70%\"},\n \"close-on-click-overlay\": true,\n teleport: \"#app\"\n }, {\n default: _withCtx(() => [\n (_ctx.defaultSpace.spaceId && _ctx.isShowMap)\n ? (_openBlock(), _createBlock(_component_com_map, {\n key: 0,\n spaceData: _ctx.copySpaceData,\n spaceInfo: _ctx.defaultSpace,\n projectId: _ctx.projectId,\n floorId: _ctx.defaultSpace.floorId,\n buildingId: _ctx.defaultSpace.buildingId,\n onChangeSpace: _ctx.changeSpace\n }, null, 8, [\"spaceData\", \"spaceInfo\", \"projectId\", \"floorId\", \"buildingId\", \"onChangeSpace\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"show\"]),\n _createVNode(_component_contact, {\n isShowContact: _ctx.isShowContact,\n onCloseDailog: _ctx.closeContactDailog\n }, null, 8, [\"isShowContact\", \"onCloseDailog\"])\n ], 4))\n}","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, withModifiers as _withModifiers, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode, vShow as _vShow, withDirectives as _withDirectives, resolveComponent as _resolveComponent, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-8cbaae9a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"work-content\" }\nconst _hoisted_2 = { class: \"work-space\" }\nconst _hoisted_3 = { class: \"space-title\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"device-tip\" }, \"延时期间,空间相关设备会开启\", -1))\nconst _hoisted_5 = {\n class: \"add-time\",\n id: \"addTimeId\"\n}\nconst _hoisted_6 = {\n key: 0,\n class: \"date_box\"\n}\nconst _hoisted_7 = [\"onClick\"]\nconst _hoisted_8 = {\n class: \"sliders-list\",\n id: \"sliderListId\"\n}\nconst _hoisted_9 = { class: \"sliders\" }\nconst _hoisted_10 = [\"onClick\", \"data-index\"]\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"start\",\n id: \"startId\"\n}, null, -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"end-box\",\n id: \"endBoxId\"\n}, [\n /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"end\",\n id: \"endId\"\n }),\n /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"end-radio\",\n id: \"endRadioId\"\n })\n], -1))\nconst _hoisted_13 = [\n _hoisted_11,\n _hoisted_12\n]\nconst _hoisted_14 = { class: \"add-time-btn\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_van_loading = _resolveComponent(\"van-loading\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString(_ctx.spaceInfo.spaceName) + \" 申请延时\", 1),\n _hoisted_4\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n (_ctx.dateArr && _ctx.dateArr.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.dateArr, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"date-item\", item.isActive ? 'date-item-active' : '']),\n onClick: _withModifiers(($event: any) => (_ctx.checkDate(item, index)), [\"stop\"]),\n key: 'date' + index\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(item.week), 1),\n _createElementVNode(\"span\", null, _toDisplayString(item.day), 1)\n ], 10, _hoisted_7))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_8, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.nowTimerArr, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: 'slider' + index,\n class: \"sliders-wrapper\",\n id: \"slidersWrapperId\"\n }, [\n _createElementVNode(\"div\", _hoisted_9, [\n _withDirectives(_createElementVNode(\"div\", { class: \"label\" }, _toDisplayString(item.timer), 513), [\n [_vShow, index === 0 || index % 2 === 0]\n ]),\n _createElementVNode(\"div\", {\n class: \"slider-box\",\n onClick: ($event: any) => (_ctx.checkSlider(item, index)),\n \"data-index\": index\n }, null, 8, _hoisted_10)\n ])\n ]))\n }), 128)),\n _createElementVNode(\"div\", {\n class: \"slider-btn\",\n id: \"sliderBtnId\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.triggerDelTime && _ctx.triggerDelTime(...args)))\n }, _hoisted_13)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", {\n class: \"cancel-btn\",\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.closeWorkTimer && _ctx.closeWorkTimer(...args)))\n }, \"取消\"),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"comfirm-btn\", _ctx.formBtn ? 'comfirm-btn-diabled' : '']),\n onClick: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => (_ctx.addWorkTimer && _ctx.addWorkTimer(...args)))\n }, \" 提交申请 \", 2)\n ]),\n (_ctx.showLoading)\n ? (_openBlock(), _createBlock(_component_van_loading, {\n key: 0,\n class: \"temp-loading\"\n }))\n : _createCommentVNode(\"\", true)\n ]))\n}","import { createVNode as _createVNode } from \"vue\";\nimport { ref, computed, defineComponent } from \"vue\";\nimport { clamp, addUnit, addNumber, numericProp, getSizeStyle, preventDefault, stopPropagation, createNamespace, makeNumericProp } from \"../utils\";\nimport { useRect, useCustomFieldValue } from \"@vant/use\";\nimport { useTouch } from \"../composables/use-touch\";\nconst [name, bem] = createNamespace(\"slider\");\nconst sliderProps = {\n min: makeNumericProp(0),\n max: makeNumericProp(100),\n step: makeNumericProp(1),\n range: Boolean,\n reverse: Boolean,\n disabled: Boolean,\n readonly: Boolean,\n vertical: Boolean,\n barHeight: numericProp,\n buttonSize: numericProp,\n activeColor: String,\n inactiveColor: String,\n modelValue: {\n type: [Number, Array],\n default: 0\n }\n};\nvar stdin_default = defineComponent({\n name,\n props: sliderProps,\n emits: [\"change\", \"drag-end\", \"drag-start\", \"update:modelValue\"],\n setup(props, {\n emit,\n slots\n }) {\n let buttonIndex;\n let current;\n let startValue;\n const root = ref();\n const dragStatus = ref();\n const touch = useTouch();\n const scope = computed(() => Number(props.max) - Number(props.min));\n const wrapperStyle = computed(() => {\n const crossAxis = props.vertical ? \"width\" : \"height\";\n return {\n background: props.inactiveColor,\n [crossAxis]: addUnit(props.barHeight)\n };\n });\n const isRange = (val) => props.range && Array.isArray(val);\n const calcMainAxis = () => {\n const {\n modelValue,\n min\n } = props;\n if (isRange(modelValue)) {\n return `${(modelValue[1] - modelValue[0]) * 100 / scope.value}%`;\n }\n return `${(modelValue - Number(min)) * 100 / scope.value}%`;\n };\n const calcOffset = () => {\n const {\n modelValue,\n min\n } = props;\n if (isRange(modelValue)) {\n return `${(modelValue[0] - Number(min)) * 100 / scope.value}%`;\n }\n return \"0%\";\n };\n const barStyle = computed(() => {\n const mainAxis = props.vertical ? \"height\" : \"width\";\n const style = {\n [mainAxis]: calcMainAxis(),\n background: props.activeColor\n };\n if (dragStatus.value) {\n style.transition = \"none\";\n }\n const getPositionKey = () => {\n if (props.vertical) {\n return props.reverse ? \"bottom\" : \"top\";\n }\n return props.reverse ? \"right\" : \"left\";\n };\n style[getPositionKey()] = calcOffset();\n return style;\n });\n const format = (value) => {\n const min = +props.min;\n const max = +props.max;\n const step = +props.step;\n value = clamp(value, min, max);\n const diff = Math.round((value - min) / step) * step;\n return addNumber(min, diff);\n };\n const isSameValue = (newValue, oldValue) => JSON.stringify(newValue) === JSON.stringify(oldValue);\n const handleRangeValue = (value) => {\n var _a, _b;\n const left = (_a = value[0]) != null ? _a : Number(props.min);\n const right = (_b = value[1]) != null ? _b : Number(props.max);\n return left > right ? [right, left] : [left, right];\n };\n const updateValue = (value, end) => {\n if (isRange(value)) {\n value = handleRangeValue(value).map(format);\n } else {\n value = format(value);\n }\n if (!isSameValue(value, props.modelValue)) {\n emit(\"update:modelValue\", value);\n }\n if (end && !isSameValue(value, startValue)) {\n emit(\"change\", value);\n }\n };\n const onClick = (event) => {\n event.stopPropagation();\n if (props.disabled || props.readonly) {\n return;\n }\n const {\n min,\n reverse,\n vertical,\n modelValue\n } = props;\n const rect = useRect(root);\n const getDelta = () => {\n if (vertical) {\n if (reverse) {\n return rect.bottom - event.clientY;\n }\n return event.clientY - rect.top;\n }\n if (reverse) {\n return rect.right - event.clientX;\n }\n return event.clientX - rect.left;\n };\n const total = vertical ? rect.height : rect.width;\n const value = Number(min) + getDelta() / total * scope.value;\n if (isRange(modelValue)) {\n const [left, right] = modelValue;\n const middle = (left + right) / 2;\n if (value <= middle) {\n updateValue([value, right], true);\n } else {\n updateValue([left, value], true);\n }\n } else {\n updateValue(value, true);\n }\n };\n const onTouchStart = (event) => {\n if (props.disabled || props.readonly) {\n return;\n }\n touch.start(event);\n current = props.modelValue;\n if (isRange(current)) {\n startValue = current.map(format);\n } else {\n startValue = format(current);\n }\n dragStatus.value = \"start\";\n };\n const onTouchMove = (event) => {\n if (props.disabled || props.readonly) {\n return;\n }\n if (dragStatus.value === \"start\") {\n emit(\"drag-start\", event);\n }\n preventDefault(event, true);\n touch.move(event);\n dragStatus.value = \"dragging\";\n const rect = useRect(root);\n const delta = props.vertical ? touch.deltaY.value : touch.deltaX.value;\n const total = props.vertical ? rect.height : rect.width;\n let diff = delta / total * scope.value;\n if (props.reverse) {\n diff = -diff;\n }\n if (isRange(startValue)) {\n const index = props.reverse ? 1 - buttonIndex : buttonIndex;\n current[index] = startValue[index] + diff;\n } else {\n current = startValue + diff;\n }\n updateValue(current);\n };\n const onTouchEnd = (event) => {\n if (props.disabled || props.readonly) {\n return;\n }\n if (dragStatus.value === \"dragging\") {\n updateValue(current, true);\n emit(\"drag-end\", event);\n }\n dragStatus.value = \"\";\n };\n const getButtonClassName = (index) => {\n if (typeof index === \"number\") {\n const position = [\"left\", \"right\"];\n return bem(`button-wrapper`, position[index]);\n }\n return bem(\"button-wrapper\", props.reverse ? \"left\" : \"right\");\n };\n const renderButtonContent = (value, index) => {\n if (typeof index === \"number\") {\n const slot = slots[index === 0 ? \"left-button\" : \"right-button\"];\n if (slot) {\n return slot({\n value\n });\n }\n }\n if (slots.button) {\n return slots.button({\n value\n });\n }\n return _createVNode(\"div\", {\n \"class\": bem(\"button\"),\n \"style\": getSizeStyle(props.buttonSize)\n }, null);\n };\n const renderButton = (index) => {\n const current2 = typeof index === \"number\" ? props.modelValue[index] : props.modelValue;\n return _createVNode(\"div\", {\n \"role\": \"slider\",\n \"class\": getButtonClassName(index),\n \"tabindex\": props.disabled ? void 0 : 0,\n \"aria-valuemin\": props.min,\n \"aria-valuenow\": current2,\n \"aria-valuemax\": props.max,\n \"aria-disabled\": props.disabled || void 0,\n \"aria-readonly\": props.readonly || void 0,\n \"aria-orientation\": props.vertical ? \"vertical\" : \"horizontal\",\n \"onTouchstart\": (event) => {\n if (typeof index === \"number\") {\n buttonIndex = index;\n }\n onTouchStart(event);\n },\n \"onTouchmove\": onTouchMove,\n \"onTouchend\": onTouchEnd,\n \"onTouchcancel\": onTouchEnd,\n \"onClick\": stopPropagation\n }, [renderButtonContent(current2, index)]);\n };\n updateValue(props.modelValue);\n useCustomFieldValue(() => props.modelValue);\n return () => _createVNode(\"div\", {\n \"ref\": root,\n \"style\": wrapperStyle.value,\n \"class\": bem({\n vertical: props.vertical,\n disabled: props.disabled\n }),\n \"onClick\": onClick\n }, [_createVNode(\"div\", {\n \"class\": bem(\"bar\"),\n \"style\": barStyle.value\n }, [props.range ? [renderButton(0), renderButton(1)] : renderButton()])]);\n }\n});\nexport {\n stdin_default as default\n};\n","import { withInstall } from \"../utils\";\nimport _Slider from \"./Slider\";\nconst Slider = withInstall(_Slider);\nvar stdin_default = Slider;\nexport {\n Slider,\n stdin_default as default\n};\n","\nimport { Dialog, Slider, Loading } from \"vant\";\nimport {\n defineComponent,\n reactive,\n toRefs,\n ref,\n onBeforeMount,\n onMounted,\n onUpdated,\n nextTick,\n watch,\n getCurrentInstance,\n} from \"vue\";\nimport { swiper } from \"@/utils/swiper\";\nimport {\n formatDate,\n formatDateStr,\n getDate,\n getNowTime,\n getRelNowTime,\n getTimers,\n getUserInfo,\n getWeekDate,\n parseImgUrl,\n} from \"@/utils\";\nimport { myTime } from \"@/model/workTimeData\";\nimport { propsToAttrMap } from \"@vue/shared\";\nimport { isTemplateElement } from \"@babel/types\";\nimport { saveBatchCustomScene } from \"@/apis/envmonitor\";\n\nexport default defineComponent({\n components: {\n VanSlider: Slider,\n },\n props: {\n workkArr: {\n type: Array,\n default: () => [],\n },\n projectId: {\n type: String,\n default: () => \"\",\n },\n spaceInfo: {\n type: Object,\n default: () => {},\n },\n },\n setup(props, context) {\n const proxyGlobal: any = getCurrentInstance();\n const screenInfo: any = {\n screenWidth: 0,\n screenHeight: 0,\n };\n let dateArr: any = [];\n let myTimeArr: any = [];\n let timerArr: any = getTimers();\n let nowTimerArr: any = [];\n let nowData: any = {};\n let redUrl: any = `${parseImgUrl(\"ipdImages\", \"time-check.svg\")}`;\n let bgRed: any = `linear-gradient(0deg, rgba(255, 0, 0, 0.2), rgba(255, 0, 0, 0.2)), url(${redUrl})`;\n const userInfo: any = getUserInfo();\n const proxyData = reactive({\n userInfo: userInfo,\n isEvent: false,\n screenInfo: screenInfo,\n projectId: props.projectId,\n workkArr: props.workkArr,\n bgRed: bgRed,\n startIndex: 0,\n endIndex: 0,\n nowData: nowData,\n nowTimerArr: nowTimerArr,\n timerArr: timerArr,\n startLen: 0,\n formBtn: false,\n showLoading: false,\n setScreennWidth() {\n let addTimeEl: any = document.querySelector(\"#addTimeId\");\n proxyData.screenInfo.screenWidth = addTimeEl.offsetWidth;\n },\n // 获取当前位置\n getNowIndex() {\n // let nowIndex: any = 0;\n // if (proxyData.nowData.week === \"今天\") {\n // nowIndex = getNowTime()[1];\n // }\n let nowIndex: any = getNowTime()[1];\n return nowIndex;\n },\n // 获取每天真实的下标\n getTomorrowIndex() {\n let nowIndex: any = 0;\n if (proxyData.nowData.week === \"今天\") {\n nowIndex = getNowTime()[1];\n }\n return nowIndex;\n },\n // 获取当前位置的坐标\n getNowPerstion(timerArr: any) {\n let nowIndex: any = proxyData.getNowIndex();\n let obj: any = {\n nowIndex: nowIndex,\n len: 4,\n };\n let formatTimer: any = timerArr[nowIndex].formatTimer;\n let cusStartTime: any = proxyData.parseCusStartTime(\n proxyData.nowData.cusStartTime\n );\n let cusEndTime: any = proxyData.parseCusEndTime(\n proxyData.nowData.cusEndTime\n );\n if (formatTimer >= cusStartTime && formatTimer <= cusEndTime) {\n //在服务定制时间之间\n timerArr.map((item: any, index: any) => {\n if (item.formatTimer === cusEndTime) {\n obj.nowIndex = index;\n }\n });\n } else if (formatTimer < cusStartTime) {\n timerArr.map((item: any, index: any) => {\n if (item.formatTimer === cusStartTime) {\n obj.len = index - nowIndex;\n if (obj.len > 4) {\n obj.len = 4;\n }\n }\n });\n }\n return obj;\n },\n // 设置可选时间\n setOptionnalTime(timerArr: any) {\n let sliderList: any = document.querySelector(\"#sliderListId\");\n let slidersWrapper: any = document.querySelector(\"#slidersWrapperId\");\n let sliderWidth: any = slidersWrapper.getBoundingClientRect().width;\n sliderList.style.width = sliderWidth * timerArr.length + \"px\";\n let index: any = proxyData.getNowPerstion(timerArr).nowIndex;\n let len: any = proxyData.getNowPerstion(timerArr).len;\n let sliderLeft: any = sliderWidth * index;\n if (\n sliderLeft >\n proxyData.screenInfo.screenWidth +\n proxyData.screenInfo.screenWidth / 2\n ) {\n sliderLeft = sliderLeft - sliderWidth;\n }\n sliderList.style.left = -sliderLeft + \"px\";\n proxyData.setOptionnalPerstion(index, len);\n },\n sliderSwiper() {\n // 获取当前时间的下标\n let sliderList: any = document.querySelector(\"#sliderListId\");\n let slidersWrapper: any = document.querySelector(\"#slidersWrapperId\");\n let leftInit: any = 0;\n let width: any =\n sliderList.offsetWidth - proxyData.screenInfo.screenWidth;\n sliderList.addEventListener(\"touchstart\", function (e: any) {\n leftInit = isNaN(parseInt(sliderList.style.left))\n ? 0\n : parseInt(sliderList.style.left);\n leftInit = Math.abs(leftInit);\n });\n swiper(sliderList, {\n swipeLeft: function (e: any) {\n if (!proxyData.checkMoveTarget(e)) {\n let left: any = isNaN(parseInt(sliderList.style.left))\n ? 0\n : parseInt(sliderList.style.left);\n left = Math.abs(left);\n if (left >= width) {\n sliderList.style.left = -width + \"px\";\n } else {\n sliderList.style.left =\n -leftInit - Math.abs(e.mation.moveX - e.mation.startX) + \"px\";\n }\n }\n },\n swipeRight: function (e: any) {\n if (!proxyData.checkMoveTarget(e)) {\n let left: any = isNaN(parseInt(sliderList.style.left))\n ? 0\n : parseInt(sliderList.style.left);\n if (left >= 0) {\n sliderList.style.left = 0 + \"px\";\n } else {\n sliderList.style.left =\n -leftInit + Math.abs(e.mation.moveX - e.mation.startX) + \"px\";\n }\n }\n },\n });\n },\n // 判断滑动的是否是滑快\n checkMoveTarget(el: any) {\n let endBox: any = document.querySelector(\"#endBoxId\");\n let endEnd: any = document.querySelector(\"#endId\");\n let endRadio: any = document.querySelector(\"#endRadioId\");\n if (\n el.target === endBox ||\n el.target === endEnd ||\n el.target === endRadio\n ) {\n return true;\n }\n return false;\n },\n // 判断滑动的位置是否包含服务定制的位置(如果当前滑动的位置在服务定制处不让滑动)\n checkPersionService() {\n let flag: any = false;\n for (let i = proxyData.startIndex; i < proxyData.endIndex; i++) {\n if (proxyData.nowTimerArr[i].isServiceTime) {\n flag = true;\n break;\n }\n }\n proxyData.formBtn = flag;\n },\n cancelRemoveListener() {\n let endBox: any = document.querySelector(\"#endBoxId\");\n endBox.removeEventListener(\"touchstart\", function (e: any) {}, false);\n endBox.removeEventListener(\"touchend\", function (e: any) {}, false);\n endBox.removeEventListener(\"touchmove\", function (e: any) {}, false);\n let sliderList: any = document.querySelector(\"#sliderListId\");\n sliderList.removeEventListener(\n \"touchstart\",\n function (e: any) {},\n false\n );\n sliderList.removeEventListener(\"touchend\", function (e: any) {}, false);\n sliderList.removeEventListener(\n \"touchmove\",\n function (e: any) {},\n false\n );\n },\n /**\n * 日历滑动\n */\n endBoxSwiper() {\n let sliderList: any = document.querySelector(\"#sliderListId\");\n let endBox: any = document.querySelector(\"#endBoxId\");\n let sliderBtnEl: any = document.querySelector(\"#sliderBtnId\");\n let startEl: any = document.querySelector(\"#startId\");\n let sliderBoxEl: any = document.querySelectorAll(\".slider-box\")[0];\n let sliderInitLeft: any = 0;\n let sliderBtnLeft: any = 0;\n let screenLeft: any = 0;\n let startElLeft: any = 0;\n let sliderBtnWidth: any = 0;\n let sliderBoxWidth: any = 0;\n let direction: any = 0; // 0是像左 1表示向右边移动\n let isMove: any = false;\n endBox.addEventListener(\"touchstart\", function (e: any) {\n isMove = false;\n startElLeft = isNaN(parseInt(startEl.style.left))\n ? 0\n : parseInt(startEl.style.left);\n // sliderInitLeft = isNaN(parseInt(sliderList.style.left))\n // ? 0\n // : parseInt(sliderList.style.left);\n sliderBtnLeft = isNaN(parseInt(sliderBtnEl.style.left))\n ? 0\n : parseInt(sliderBtnEl.style.left);\n // sliderInitLeft = Math.abs(sliderInitLeft);\n sliderBtnWidth = sliderBtnEl.offsetWidth;\n sliderBoxWidth = sliderBoxEl.offsetWidth;\n });\n endBox.addEventListener(\"touchend\", function (e: any) {\n // console.log(e);\n if (isMove) {\n sliderBtnWidth = sliderBtnEl.offsetWidth;\n let index: any = Math.ceil(\n sliderBtnWidth / sliderBoxEl.offsetWidth\n );\n if (proxyData.startIndex + index >= proxyData.timerArr.length - 1) {\n index = proxyData.timerArr.length - 1 - proxyData.startIndex;\n }\n sliderBtnEl.style.width = sliderBoxEl.offsetWidth * index + \"px\";\n sliderBtnEl.style.background = `rgba(0,0,0,0.2)`;\n // debugger;\n proxyData.setOptionnalPerstion(proxyData.startIndex, index);\n isMove = false;\n // 判断按钮是否可以点击(如果选择的时候包含服务定制时间,则不可点击)\n proxyData.checkPersionService();\n }\n });\n swiper(endBox, {\n swipeLeft: function (e: any) {\n if (proxyData.checkMoveTarget(e)) {\n direction = 0;\n isMove = true;\n let moveRealX: any = Math.abs(e.mation.moveX - e.mation.startX);\n let sliderLeft: any = isNaN(parseInt(sliderList.style.left))\n ? 0\n : parseInt(sliderList.style.left);\n sliderLeft = Math.abs(sliderLeft);\n\n let width: any = sliderBoxEl.offsetWidth;\n if (sliderBtnWidth - moveRealX <= width) {\n sliderBtnEl.style.width = width + \"px\";\n } else {\n sliderBtnEl.style.width = sliderBtnWidth - moveRealX + \"px\";\n proxyData.cancelSliderBoxColor();\n }\n let bg: any = parseImgUrl(\"ipdImages\", \"time-wait.svg\");\n sliderBtnEl.style.background = `linear-gradient(0deg, rgba(0, 255, 163, 0.2), rgba(0, 255, 163, 0.2))`;\n if (\n sliderBtnLeft + (sliderBtnWidth - moveRealX) - sliderBoxWidth <\n sliderLeft\n ) {\n let left: any =\n -sliderLeft +\n (sliderLeft +\n sliderBoxWidth -\n (sliderBtnLeft + sliderBtnWidth - moveRealX));\n if (left > 0) {\n sliderList.style.left = 0 + \"px\";\n } else {\n sliderList.style.left = left + \"px\";\n }\n }\n }\n },\n swipeRight: function (e: any) {\n if (proxyData.checkMoveTarget(e)) {\n isMove = true;\n direction = 1;\n let moveRealX: any = Math.abs(e.mation.moveX - e.mation.startX);\n sliderBtnEl.style.background = `linear-gradient(0deg, rgba(0, 255, 163, 0.2), rgba(0, 255, 163, 0.2))`;\n let sliderLeft: any = isNaN(parseInt(sliderList.style.left))\n ? 0\n : parseInt(sliderList.style.left);\n sliderLeft = Math.abs(sliderLeft);\n let width: any =\n sliderList.offsetWidth - proxyData.screenInfo.screenWidth;\n screenLeft = sliderLeft + proxyData.screenInfo.screenWidth;\n if (\n sliderBtnLeft +\n sliderBtnWidth +\n moveRealX +\n sliderBoxEl.offsetWidth * 2 >=\n screenLeft\n ) {\n let left: any =\n -sliderLeft -\n (sliderBtnLeft +\n sliderBtnWidth +\n moveRealX +\n sliderBoxEl.offsetWidth * 2 -\n screenLeft);\n sliderList.style.left = left + \"px\";\n if (sliderLeft >= width) {\n sliderList.style.left = -width + \"px\";\n }\n }\n if (\n sliderBtnLeft +\n sliderBtnWidth +\n moveRealX +\n sliderBoxEl.offsetWidth >=\n sliderList.offsetWidth\n ) {\n sliderBtnEl.style.width =\n sliderList.offsetWidth -\n sliderBtnLeft -\n sliderBoxEl.offsetWidth +\n \"px\";\n } else {\n sliderBtnEl.style.width = sliderBtnWidth + moveRealX + \"px\";\n }\n }\n },\n });\n },\n cancelSliderBoxColor() {\n let sliderBoxArr: any = document.querySelectorAll(\".slider-box\");\n for (let i = 0; i < sliderBoxArr.length; i++) {\n if (!proxyData.nowTimerArr[i].isCheck) {\n if (\n i >= proxyData.startIndex &&\n i < proxyData.startIndex + proxyData.startLen\n ) {\n sliderBoxArr[i].style.background =\n \"linear-gradient(0deg, rgba(0, 255, 163, 0.2), rgba(0, 255, 163, 0.2))\";\n }\n }\n }\n },\n /**\n * 设置可选日期的位置\n */\n setOptionnalPerstion(index: any, len: any = 1) {\n // debugger\n let sliderList: any = document.querySelector(\"#sliderListId\");\n proxyData.startIndex = index;\n proxyData.startLen = len;\n proxyData.endIndex = proxyData.startIndex + len;\n let slidersWrapper: any = document.querySelector(\"#slidersWrapperId\");\n let slidersWrapperWidth: any =\n slidersWrapper.getBoundingClientRect().width;\n let sliderBtnEl: any = document.querySelector(\"#sliderBtnId\");\n let endEnd: any = document.querySelector(\"#endBoxId\");\n let sliderBoxArr: any = document.querySelectorAll(\".slider-box\");\n let parseIndex = proxyData.getTomorrowIndex();\n for (let i = 0; i < sliderBoxArr.length; i++) {\n if (i >= parseIndex) {\n sliderBoxArr[i].style.background = \"transparent\";\n }\n }\n let bg: any = parseImgUrl(\"ipdImages\", \"time-wait.svg\");\n for (let i = 0; i < len; i++) {\n sliderBoxArr[\n index + i\n ].style.background = `linear-gradient(0deg, rgba(0, 255, 163, 0.2), rgba(0, 255, 163, 0.2)), url(${bg})`;\n }\n sliderBtnEl.style.width = slidersWrapperWidth * len + \"px\";\n sliderBtnEl.style.background = `rgba(0,0,0,0.2)`;\n let left: any = slidersWrapperWidth * index;\n sliderBtnEl.style.left = left + \"px\";\n // // 已被选择的时间\n proxyData.setCheckTimeStyle();\n // // 固定服务时间(空间服务时间)\n proxyData.setServiceTimerStyle();\n },\n /**\n * 设置过去的时间\n */\n setPastTime(index: any) {\n if (proxyData.nowData.week === \"今天\") {\n let sliderBoxArr: any = document.querySelectorAll(\".slider-box\");\n for (let i = 0; i < sliderBoxArr.length; i++) {\n if (i < index) {\n sliderBoxArr[i].style.background = `rgba(196, 196, 196, 0.2)`;\n }\n }\n }\n },\n /**\n * 设置已经选中时间\n */\n setCheckTimeStyle() {\n let timerArr: any = proxyData.nowTimerArr;\n let sliderBoxArr: any = document.querySelectorAll(\".slider-box\");\n for (let i = 0; i < timerArr.length; i++) {\n if (timerArr[i].isCheck) {\n sliderBoxArr[i].style.background = proxyData.bgRed;\n }\n }\n },\n /***\n * 固定服务时间的颜色增加\n */\n setServiceTimerStyle() {\n let timerArr: any = proxyData.nowTimerArr;\n // debugger\n let sliderBoxArr: any = document.querySelectorAll(\".slider-box\");\n for (let i = 0; i < timerArr.length; i++) {\n if (timerArr[i].isServiceTime) {\n sliderBoxArr[i].style.background = `rgba(196, 196, 196, 0.2)`;\n }\n }\n },\n // 转化日期(分钟处理成可选择)\n parseCusStartTime(time: any) {\n let newTime: any = time;\n if (time) {\n let minute: any = (time / 100) % 100;\n if (minute) {\n let temTimeInt: any = time / 10000;\n temTimeInt = parseInt(temTimeInt);\n if (minute < 30) {\n if (temTimeInt < 10) {\n newTime = \"0\" + temTimeInt + \"30\" + \"00\";\n } else {\n newTime = temTimeInt + \"30\" + \"00\";\n }\n } else if (minute > 30) {\n temTimeInt = temTimeInt + 1;\n if (temTimeInt < 10) {\n newTime = \"0\" + temTimeInt + \"00\" + \"00\";\n } else {\n newTime = temTimeInt + \"00\" + \"00\";\n }\n }\n }\n }\n return newTime;\n },\n // 转化日期(分钟处理成可选择)\n parseCusEndTime(time: any) {\n let newTime: any = time;\n if (time) {\n let minute: any = (time / 100) % 100;\n if (minute) {\n let temTimeInt: any = time / 10000;\n temTimeInt = parseInt(temTimeInt);\n if (minute < 30) {\n if (temTimeInt < 10) {\n newTime = \"0\" + temTimeInt + \"00\" + \"00\";\n } else {\n newTime = temTimeInt + \"00\" + \"00\";\n }\n } else if (minute > 30) {\n if (temTimeInt < 10) {\n newTime = \"0\" + temTimeInt + \"30\" + \"00\";\n } else {\n newTime = temTimeInt + \"30\" + \"00\";\n }\n }\n }\n }\n return newTime;\n },\n /**\n * 选中当前模块\n */\n checkSlider(item: any, index: any) {\n if (index === proxyData.nowTimerArr.length - 1) {\n return;\n }\n // 按钮的状态\n proxyData.formBtn = false;\n let nowIndex: any = proxyData.getNowIndex();\n if (proxyData.nowData.week === \"今天\" && index < nowIndex) {\n // 过去的时间不可选择\n // 过去的时间不可选择\n return;\n }\n if (proxyData.nowData.cusStartTime && proxyData.nowData.cusEndTime) {\n let formatTimer: any = proxyData.nowTimerArr[index].formatTimer; //在服务定制时间之间\n let cusStartTime: any = proxyData.parseCusStartTime(\n proxyData.nowData.cusStartTime\n );\n let cusEndTime: any = proxyData.parseCusEndTime(\n proxyData.nowData.cusEndTime\n );\n if (formatTimer >= cusStartTime && formatTimer < cusEndTime) {\n return;\n }\n }\n proxyData.setOptionnalPerstion(index);\n },\n /**\n * 获取个人加班申请数据\n */\n dateArr: dateArr,\n myTimeArr: myTimeArr,\n // // 服务定制开始时间转化(处理服务定制时间包含几分钟的问题)\n // parseCusStatTime() {},\n // // 服务定制结束时间转化(处理服务定制时间包含几分钟的问题)\n // parseCusEndTime(time: any) {\n // let newTime: any = \"\";\n // if (time) {\n // let minute: any = (time / 100) % 100;\n // if (minute < 30) {\n\n // } else if (minute > 30) {\n // } else {\n // newTime = time;\n // }\n // }\n // },\n setWorkTimeList() {\n proxyData.isUpdate = false;\n proxyGlobal.proxy.$loadinngEnd();\n let data: any = proxyData.workkArr;\n proxyData.dateArr = [];\n let nowDate: any = formatDate(\"YYYY-MM-DD\");\n for (let i = 0; i < data.length; i++) {\n let date: any = formatDateStr(data[i].date);\n let cusStartTime: any = proxyData.parseCusStartTime(\n data[i].cusStartTime\n );\n let cusEndTime: any = proxyData.parseCusEndTime(data[i].cusEndTime);\n // let isActive: Boolean = false;\n let week: any = getWeekDate(new Date(date).getDay());\n if (date === nowDate) {\n // isActive = true;\n week = \"今天\";\n }\n let timerArr: any = [];\n for (let i = 0; i < proxyData.timerArr.length; i++) {\n let obj: any = {\n timer: proxyData.timerArr[i],\n isCheck: false,\n formatTimer: proxyData.timerArr[i].replace(/[:]/g, \"\") + \"00\",\n };\n timerArr.push(obj);\n }\n let customSceneList: any = data[i]?.customSceneList ?? [];\n customSceneList.map((custom: any) => {\n for (let j = 0; j < timerArr.length; j++) {\n // debugger\n if (timerArr[j].formatTimer < cusStartTime) {\n let tempStartTime: any = proxyData.parseCusStartTime(\n custom.startTime\n );\n let tempEndTime: any = proxyData.parseCusStartTime(\n custom.endTime\n );\n // 加班时间在服务定制时间之前\n if (\n timerArr[j].formatTimer >= tempStartTime &&\n timerArr[j].formatTimer < tempEndTime\n ) {\n timerArr[j].isCheck = true;\n }\n } else {\n // 加班时间在服务外定制时间之后\n let tempStartTime: any = proxyData.parseCusEndTime(\n custom.startTime\n );\n let tempEndTime: any = proxyData.parseCusEndTime(\n custom.endTime\n );\n if (\n timerArr[j].formatTimer >= tempStartTime &&\n timerArr[j].formatTimer < tempEndTime\n ) {\n timerArr[j].isCheck = true;\n }\n }\n }\n });\n // 是否在固定区域时间\n if (cusStartTime && cusEndTime) {\n timerArr.map((item: any) => {\n if (\n item.formatTimer >= cusStartTime &&\n item.formatTimer < cusEndTime\n ) {\n item.isServiceTime = true;\n } else {\n item.isServiceTime = false;\n }\n });\n }\n\n proxyData.dateArr.push({\n date: date,\n isActive: false,\n oldDate: data[i].date,\n objectId: data[i].objectId,\n cusStartTime: data[i].cusStartTime,\n customSceneList: customSceneList,\n cusEndTime: data[i].cusEndTime,\n day: getDate(new Date(date)),\n week: week,\n timerArr: timerArr,\n });\n }\n // debugger\n proxyData.dateArr.map((item: any, index: any) => {\n if (index === proxyData.activeIndex) {\n proxyData.checkDate(item, index);\n return;\n }\n });\n },\n clearTimerBoxStyle() {\n proxyData.dateArr.map((elItem: any) => {\n elItem.isActive = false;\n });\n let timerArr: any = proxyData.nowTimerArr;\n let sliderBoxArr: any = document.querySelectorAll(\".slider-box\");\n for (let i = 0; i < timerArr.length; i++) {\n sliderBoxArr[i].style.background = `transparent`;\n }\n // 切换日期的时候取消绑定\n // proxyData.cancelRemoveListener();\n },\n /**\n * 切换日期\n */\n activeIndex: 0,\n checkDate(item: any, index: any) {\n proxyData.clearTimerBoxStyle();\n item.isActive = true;\n proxyData.activeIndex = index;\n proxyData.nowTimerArr = proxyData.dateArr[index].timerArr;\n proxyData.nowData = proxyData.dateArr[index];\n nextTick(() => {\n proxyData.setOptionnalTime(proxyData.nowTimerArr);\n let nowIndex: any = proxyData.getNowIndex();\n if (proxyData.nowData.week === \"今天\") {\n proxyData.setPastTime(nowIndex);\n }\n // // 已经被选择的时间\n proxyData.setCheckTimeStyle();\n // // 固定服务时间\n proxyData.setServiceTimerStyle();\n if (!proxyData.isEvent) {\n proxyData.changeEl();\n proxyData.isEvent = true;\n }\n });\n },\n /**\n * dom的滚动功能设置\n */\n flag: false,\n changeEl() {\n // 事件解绑定\n // proxyData.cancelRemoveListener();\n proxyData.setScreennWidth();\n proxyData.sliderSwiper();\n proxyData.endBoxSwiper();\n // if (!proxyData.flag) {\n // proxyData.setScreennWidth();\n // proxyData.sliderSwiper();\n // proxyData.endBoxSwiper();\n // proxyData.flag = true;\n // }\n },\n // 加班数据格式化=》后台需要的数据结构(添加加班逻辑)\n formateAddTimer() {\n let customSceneList: any = proxyData.nowData.customSceneList;\n let timerArr: any = proxyData.nowData.timerArr;\n let startTime: any = timerArr[proxyData.startIndex].formatTimer;\n let endTime: any = timerArr[proxyData.endIndex].formatTimer;\n // debugger;\n let delTimerArr: any = [];\n // 加班时间拼接\n customSceneList.map((item: any, index: any) => {\n // let itemStartTime:any=proxyData.parseCusStartTime(item.startTime)\n // let itemEndTime:any=proxyData.parseCusStartTime(item.endTime)\n // item时间段保护当前时间端\n if (startTime < item.startTime) {\n if (endTime < item.startTime) {\n } else if (endTime >= item.startTime) {\n // 时间段连续拼接上\n let delObj: any = proxyData.formaTimeObj(\n item,\n \"1\",\n item.startTime,\n item.endTime\n );\n delTimerArr.push(delObj);\n startTime = startTime;\n endTime = endTime;\n }\n } else if (startTime >= item.startTime && startTime < item.endTime) {\n if (endTime <= item.endTime) {\n let delObj: any = proxyData.formaTimeObj(\n item,\n \"1\",\n item.startTime,\n item.endTime\n );\n delTimerArr.push(delObj);\n startTime = startTime;\n endTime = endTime;\n } else if (endTime > item.endTime) {\n let delObj: any = proxyData.formaTimeObj(\n item,\n \"1\",\n item.startTime,\n item.endTime\n );\n delTimerArr.push(delObj);\n startTime = item.startTime;\n endTime = endTime;\n }\n } else if (startTime > item.endTime) {\n if (startTime === item.endTime) {\n let delObj: any = proxyData.formaTimeObj(\n item,\n \"1\",\n item.startTime,\n item.endTime\n );\n startTime = item.startTime;\n endTime = endTime;\n }\n } else if (startTime === item.startTime && endTime === item.endTime) {\n // 两个时间段一致\n }\n });\n\n // 加班时间处理好后和服务定制时间做对比(处理时分秒的情况)\n let cusStartTime: any = proxyData.parseCusStartTime(\n proxyData.nowData.cusStartTime\n );\n let cusEndTime: any = proxyData.parseCusEndTime(\n proxyData.nowData.cusEndTime\n );\n if (startTime < cusStartTime && endTime <= cusStartTime) {\n if (endTime === cusStartTime) {\n endTime = proxyData.nowData.cusStartTime;\n }\n } else if (startTime >= cusEndTime) {\n if (startTime === cusEndTime) {\n startTime = proxyData.nowData.cusEndTime;\n }\n }\n let relNowTime: any = getRelNowTime();\n let type = \"0\";\n if (\n proxyData.nowData.week === \"今天\" &&\n relNowTime >= startTime &&\n relNowTime <= endTime\n ) {\n type = \"2\";\n }\n\n let addObj: any = proxyData.formaTimeObj(\n customSceneList[0],\n type,\n startTime,\n endTime\n );\n delTimerArr.push(addObj);\n let formTimeArr: any = delTimerArr;\n return formTimeArr;\n },\n // 格式化加班单个数据\n formaTimeObj(item: any, type: any, startTime: any, endTime: any) {\n let obj: any = {\n projectId: proxyData.projectId, //类型:String 必有字段 备注:项目id\n objectId: proxyData.nowData.objectId, //类型:String 必有字段 备注:空间id\n sourceType: \"sagacareAndtenantslink\", //类型:String 必有字段 备注:sagacareAndtenantslink 来源\n startDate: proxyData.nowData.oldDate, //类型:String 必有字段 备注://开始日期\n endDate: proxyData.nowData.oldDate, //类型:String 必有字段 备注://结束日期\n startTime: startTime, //类型:String 必有字段 备注://开始时间\n endTime: endTime, //类型:String 必有字段 备注://结束时间\n type: type, //类型:String 必有字段 备注://0 预约加班,1 取消,2 加班(我来了), 3 最后一个走\n userId: proxyData.userInfo.userId, //类型:String 必有字段 备注://用户id\n userPhone: proxyData.userInfo.userPhone, //类型:String 必有字段 备注://手机号\n customSceneEqType: \"ALL\", //类型:String 必有字段 备注://来源 AC 空调入口, SE 灯入口 ALL 加班入口\n userName: proxyData.userInfo.userName, //类型:String 必有字段 备注://名字\n };\n if (type === \"1\") {\n obj.id = item.id; //类型:String 必有字段 备注:取消加班时必传\n }\n return obj;\n },\n // 加班数据格式化=》后台需要的数据结构(删除加班逻辑)\n formateDelTimer() {\n let timerArr: any = proxyData.nowData.timerArr;\n let endIndex: any = proxyData.endIndex > 0 ? proxyData.endIndex - 1 : 0;\n // debugger\n // 如果当前选择的日期只在已经选中的范围内\n if (\n timerArr[proxyData.startIndex].isCheck &&\n timerArr[endIndex].isCheck\n ) {\n let customSceneList: any = proxyData.nowData.customSceneList;\n let startTime: any = timerArr[proxyData.startIndex].formatTimer;\n let endTime: any = timerArr[proxyData.endIndex].formatTimer;\n let delTimerArr: any = [];\n let addTimeArr: any = [];\n // 删除时间的数据拼接\n customSceneList.map((item: any, index: any) => {\n if (item.startTime < startTime) {\n if (item.endTime <= endTime) {\n let delObj: any = proxyData.formaTimeObj(\n item,\n \"1\",\n item.startTime,\n item.endTime\n );\n delTimerArr.push(delObj);\n let addObj: any = proxyData.formaTimeObj(\n customSceneList[0],\n \"0\",\n item.startTime,\n startTime\n );\n addTimeArr.push(addObj);\n } else if (item.endTime > endTime) {\n let delObj: any = proxyData.formaTimeObj(\n item,\n \"1\",\n item.startTime,\n item.endTime\n );\n delTimerArr.push(delObj);\n let addObj1: any = proxyData.formaTimeObj(\n customSceneList[0],\n \"0\",\n item.startTime,\n startTime\n );\n addTimeArr.push(addObj1);\n let addObj2: any = proxyData.formaTimeObj(\n customSceneList[0],\n \"0\",\n endTime,\n item.endTime\n );\n addTimeArr.push(addObj2);\n }\n } else if (item.startTime === item.startTime) {\n if (item.endTime <= endTime) {\n // 整段删除\n let delObj: any = proxyData.formaTimeObj(\n item,\n \"1\",\n item.startTime,\n item.endTime\n );\n delTimerArr.push(delObj);\n } else if (item.endTime > endTime) {\n let delObj: any = proxyData.formaTimeObj(\n item,\n \"1\",\n item.startTime,\n item.endTime\n );\n delTimerArr.push(delObj);\n let addObj1: any = proxyData.formaTimeObj(\n customSceneList[0],\n \"0\",\n endTime,\n item.endTime\n );\n addTimeArr.push(addObj1);\n }\n } else if (item.startTime > startTime) {\n if (item.endTime <= endTime) {\n // 整段删除\n let delObj: any = proxyData.formaTimeObj(\n item,\n \"1\",\n item.startTime,\n item.endTime\n );\n delTimerArr.push(delObj);\n } else if (item.endTime > endTime) {\n let delObj: any = proxyData.formaTimeObj(\n item,\n \"1\",\n item.startTime,\n item.endTime\n );\n delTimerArr.push(delObj);\n let addObj1: any = proxyData.formaTimeObj(\n customSceneList[0],\n \"0\",\n endTime,\n item.endTime\n );\n addTimeArr.push(addObj1);\n }\n }\n });\n addTimeArr.map((item: any) => {\n let realTime: any = getRelNowTime();\n if (realTime >= item.startTime && realTime <= item.endTime) {\n item.type === \"2\";\n }\n });\n let formTimeArr: any = addTimeArr.concat(delTimerArr);\n return formTimeArr;\n } else {\n return [];\n }\n },\n // 关闭加班弹窗\n closeWorkTimer() {\n proxyData.formBtn = false;\n context.emit(\"closeWork\");\n },\n // 提交申请\n addWorkTimer() {\n let formTimerArr: any = proxyData.formateAddTimer();\n proxyData.saveBatchCustomScene(formTimerArr);\n // console.log(\"提交申请-----\");\n // console.log(formTimerArr);\n },\n // 提交加班记录\n saveBatchCustomScene(formTimerArr: any, type: any = 1) {\n // proxyGlobal.proxy.$loadingStart(0);\n proxyData.showLoading = true;\n proxyData.formBtn = true;\n saveBatchCustomScene(formTimerArr)\n .then((res) => {\n // debugger;\n if (type === 1) {\n // 添加\n context.emit(\"closeWork\");\n // proxyGlobal.proxy.$loadinngEnd();\n proxyData.showLoading = false;\n } else if (type === 2) {\n // 删除\n proxyData.isUpdate = true;\n // proxyData.setWorkTimeList();\n }\n proxyData.formBtn = false;\n })\n .catch(() => {\n // proxyGlobal.proxy.$loadinngEnd();\n proxyData.showLoading = false;\n });\n },\n // 删除\n isUpdate: false, // 删除更新弹窗数据\n triggerDelTime() {\n let formTimeArr: any = proxyData.formateDelTimer();\n if (formTimeArr && formTimeArr.length) {\n // console.log(formTimeArr);\n // alert(\"确定删除当前时间吗?\");\n Dialog.confirm({\n title: \"确认\",\n message: \"确定删除当前时间吗?\",\n })\n .then(() => {\n proxyData.saveBatchCustomScene(formTimeArr, 2);\n })\n .catch(() => {\n // on cancel\n });\n }\n },\n });\n watch(props, (newProps: any) => {\n proxyData.workkArr = newProps.workkArr;\n proxyData.projectId = newProps.projectId;\n if (proxyData.isUpdate) {\n proxyData.setWorkTimeList();\n }\n // proxyData.getWorkTimeList();\n });\n onMounted(() => {\n // 设置dom最外层的宽\n proxyData.setWorkTimeList();\n });\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=8cbaae9a&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=8cbaae9a&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-8cbaae9a\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"contact-content\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"联系我们\", -1)\nconst _hoisted_3 = { class: \"contact\" }\nconst _hoisted_4 = { class: \"code-box\" }\nconst _hoisted_5 = [\"src\"]\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"客服微信二维码\", -1)\nconst _hoisted_7 = { class: \"phone-box\" }\nconst _hoisted_8 = [\"src\"]\nconst _hoisted_9 = { class: \"title\" }\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"concat-text\" }, \"联系方式\", -1)\nconst _hoisted_11 = /*#__PURE__*/_createTextVNode(\"我知道了\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_buttons = _resolveComponent(\"buttons\")!\n const _component_van_dialog = _resolveComponent(\"van-dialog\")!\n\n return (_openBlock(), _createBlock(_component_van_dialog, {\n show: _ctx.isShowContact,\n \"onUpdate:show\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.isShowContact) = $event)),\n \"show-confirm-button\": false,\n class: \"contact-dialog\",\n \"show-cancel-button\": false\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"img\", {\n src: _ctx.imgUrl + '&key=' + _ctx.contantDetail.wechatQrCode,\n alt: \"\"\n }, null, 8, _hoisted_5),\n _hoisted_6\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('ipdImages', 'phone-icon.svg'),\n alt: \"\"\n }, null, 8, _hoisted_8),\n _createElementVNode(\"div\", _hoisted_9, _toDisplayString(_ctx.contantDetail.phone), 1),\n _hoisted_10\n ])\n ]),\n _createVNode(_component_buttons, {\n class: \"dailog-btn\",\n onClick: _ctx.closeDailog\n }, {\n default: _withCtx(() => [\n _hoisted_11\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"show\"]))\n}","\nimport {\n defineComponent,\n reactive,\n toRefs,\n onBeforeMount,\n onMounted,\n ref,\n watch,\n getCurrentInstance,\n} from \"vue\";\nimport { Loading, Dialog, Toast } from \"vant\";\nimport { getUserInfo, parseImgUrl } from \"@/utils\";\nimport { queryCustomerservice } from \"@/apis/envmonitor\";\nconst userInfo: any = getUserInfo();\n\nexport default defineComponent({\n props: {\n isShowContact: {\n type: Boolean,\n default: () => false,\n },\n },\n components: {\n VanLoading: Loading,\n [Dialog.Component.name]: Dialog.Component,\n },\n setup(props, contx) {\n const contantDetail: any = {};\n const proxyGlobal: any = getCurrentInstance();\n const proxyData = reactive({\n parseImgUrl: parseImgUrl,\n contantDetail: contantDetail,\n userInfo: userInfo,\n imgUrl: proxyGlobal.proxy.$imgUrl,\n isShowContact: props.isShowContact,\n closeDailog() {\n contx.emit(\"closeDailog\");\n },\n // 查询联系方式\n queryCustomerservice() {\n let params: any = {\n criteria: { projectId: proxyData.userInfo.projectId },\n };\n queryCustomerservice(params).then((res) => {\n let resData: any = res;\n let content: any = resData?.content ?? [];\n proxyData.contantDetail = content[0];\n });\n },\n });\n watch(\n props,\n (newProps: any) => {\n proxyData.isShowContact = newProps.isShowContact;\n },\n {\n deep: false,\n immediate: true,\n }\n );\n onMounted(() => {\n proxyData.queryCustomerservice();\n });\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=3149f63a&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=3149f63a&lang=scss\"\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]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createBlock as _createBlock, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-45fb191f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"scene-config\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = { class: \"time-text\" }\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"del-text\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", null, \"我要\"),\n /*#__PURE__*/_createElementVNode(\"span\", null, \"离开\")\n], -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_leave_dailog = _resolveComponent(\"leave-dailog\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"time-box\", _ctx.timerText.classColor])\n }, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('page-officehome', 'work.svg'),\n alt: \"\"\n }, null, 8, _hoisted_2),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.timerText.text), 1),\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.timerText.timer), 1)\n ]),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"time-btn\", _ctx.timerText.showDel ? 'time-btn-small' : '']),\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.triggerWork && _ctx.triggerWork(...args)))\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.timerText.btnText), 1)\n ], 2)\n ], 2),\n (_ctx.timerText.showDel)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"time-del\",\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.myLeaving && _ctx.myLeaving(...args)))\n }, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('page-officehome', 'goOffWork.svg'),\n alt: \"\"\n }, null, 8, _hoisted_4),\n _hoisted_5\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.isShowLeaveDailog)\n ? (_openBlock(), _createBlock(_component_leave_dailog, {\n key: 0,\n isShowLeaveDailog: _ctx.isShowLeaveDailog,\n onCloseDailog: _ctx.closeLeavDailog\n }, null, 8, [\"isShowLeaveDailog\", \"onCloseDailog\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, resolveComponent as _resolveComponent, createBlock as _createBlock, toDisplayString as _toDisplayString, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-10ea159b\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"air-dialog-content\" }\nconst _hoisted_2 = { class: \"dialog-top\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"leave-title\" }, \"工作辛苦了!\", -1))\nconst _hoisted_5 = { class: \"leave-popup-body\" }\nconst _hoisted_6 = {\n key: 1,\n class: \"text-status\"\n}\nconst _hoisted_7 = {\n key: 2,\n class: \"text-status grey\"\n}\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"隐藏\", -1))\nconst _hoisted_9 = [\n _hoisted_8\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_van_icon = _resolveComponent(\"van-icon\")!\n const _component_van_dialog = _resolveComponent(\"van-dialog\")!\n\n return (_openBlock(), _createBlock(_component_van_dialog, {\n show: _ctx.isShowLeaveDailog,\n \"onUpdate:show\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.isShowLeaveDailog) = $event)),\n class: \"dialog-width\",\n \"show-confirm-button\": false,\n \"show-cancel-button\": false\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.leaveDetail.img)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"img-yellow\",\n src: _ctx.parseImgUrl('page-officehome', _ctx.leaveDetail.img),\n alt: \"\"\n }, null, 8, _hoisted_3))\n : _createCommentVNode(\"\", true)\n ]),\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.leaveDetail.textObj, (item, idx) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"body-item\",\n key: idx\n }, [\n (item.status === 'ok')\n ? (_openBlock(), _createBlock(_component_van_icon, {\n key: 0,\n name: \"passed\",\n style: {\"color\":\"#07c160\",\"margin-right\":\"8px\"}\n }))\n : _createCommentVNode(\"\", true),\n (item.status === 'go')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6))\n : _createCommentVNode(\"\", true),\n (item.status === 'grey')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", null, _toDisplayString(item.text), 1)\n ]))\n }), 128))\n ]),\n _createElementVNode(\"div\", {\n class: \"dialog-btns\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.closeDailog && _ctx.closeDailog(...args)))\n }, _hoisted_9)\n ])\n ]),\n _: 1\n }, 8, [\"show\"]))\n}","\nimport {\n defineComponent,\n reactive,\n toRefs,\n onBeforeMount,\n onMounted,\n ref,\n watch,\n} from \"vue\";\nimport { Loading, Dialog, Toast } from \"vant\";\nimport { parseImgUrl } from \"@/utils\";\n\nexport default defineComponent({\n props: {\n isShowLeaveDailog: {\n type: Boolean,\n default: () => false,\n },\n },\n components: {\n VanLoading: Loading,\n [Dialog.Component.name]: Dialog.Component,\n },\n setup(props, contx) {\n const proxyData = reactive({\n parseImgUrl: parseImgUrl,\n isShowLeaveDailog: props.isShowLeaveDailog,\n leaveDetail: {\n // img: parseImgUrl(\"ipdImages\", \"icon-handshake.svg\"),\n textObj: [\n {\n text: \"已为您取消当前的预约时间\",\n status: \"ok\",\n },\n {\n text: \"系统将自动调整设备状态\",\n status: \"ok\",\n },\n {\n text: \"感谢您的预约使用\",\n status: \"ok\",\n },\n ],\n },\n closeDailog() {\n contx.emit(\"closeDailog\");\n },\n });\n watch(\n props,\n (newProps: any) => {\n proxyData.isShowLeaveDailog = newProps.isShowLeaveDailog;\n },\n {\n deep: false,\n immediate: true,\n }\n );\n onMounted(() => {});\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./LeaveDailog.vue?vue&type=template&id=10ea159b&scoped=true&ts=true\"\nimport script from \"./LeaveDailog.vue?vue&type=script&lang=ts\"\nexport * from \"./LeaveDailog.vue?vue&type=script&lang=ts\"\n\nimport \"./LeaveDailog.vue?vue&type=style&index=0&id=10ea159b&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-10ea159b\"]])\n\nexport default __exports__","\nimport {\n defineComponent,\n reactive,\n toRefs,\n onBeforeMount,\n onMounted,\n ref,\n watch,\n getCurrentInstance,\n} from \"vue\";\nimport { useRouter } from \"vue-router\";\nimport {\n formatDate,\n formatDateStr,\n formateTimeContinuous,\n formatTimerStr,\n getRelNowTime,\n getWeekDate,\n parseImgUrl,\n} from \"@/utils\";\nimport { UserActionTypes } from \"@/store/modules/user/action-types\";\nimport { useStore } from \"@/store\";\nimport { saveBatchCustomScene } from \"@/apis/envmonitor\";\n// import { Dialog } from \"vant\";\nimport LeaveDailog from \"@/views/envmonitor/components/workOvertime/LeaveDailog.vue\";\n\nexport default defineComponent({\n props: {\n scenarioArr: {\n type: Array,\n default: () => [],\n },\n workkArr: {\n type: Array,\n default: () => [],\n },\n },\n components: {\n LeaveDailog,\n },\n setup(props, contx) {\n const proxyGlobal: any = getCurrentInstance();\n let router: any = useRouter();\n let timerText: any = {\n text: \"\",\n timer: \"\", // 工作时间\n btnText: \"\",\n showDel: false, // 是否展示我要离开按钮\n classColor: \"grey\",\n };\n let text: any = \"\";\n const store = useStore();\n const delTimeArr: any = [];\n let customSceneList: any = [];\n let workkArr: any = [];\n const proxyData = reactive({\n parseImgUrl: parseImgUrl,\n leaveBtnFlag: false,\n scenarioArr: props.scenarioArr,\n workkArr: props.workkArr,\n forcedOverTimeFlag: false, // 强制加班标记 false:不需要强制加班\n onSubmit(values: any) {\n router.push({ path: \"/choice-project\" });\n },\n // 触发加班按钮\n triggerWork() {\n contx.emit(\"triggerWork\");\n },\n timerText: timerText,\n text: text,\n // 处理时间和第二天和未来连续的问题\n formateTimeContinuous(\n index: any = 1,\n startTime: any,\n endTime: any,\n type: any = 1\n ) {\n let data: any = proxyData.workkArr;\n proxyData.text = \"\";\n return formateTimeContinuous(\n index,\n startTime,\n endTime,\n type,\n data,\n proxyData\n );\n },\n // 判断当前时间在不在加班时间里面\n beforeWorkTime(data: any, nowTime: any) {\n let flag: any = true; // 是否在所有加班时间之前\n for (let i = 0; i < data.length; i++) {\n if (data[i].startTime < nowTime) {\n flag = false;\n }\n }\n return flag;\n },\n // 当前时间是否在所有加班时间之后\n afterWorkTime(data: any, nowTime: any) {\n let flag: any = true; // 是否在所有加班时间之前\n for (let i = 0; i < data.length; i++) {\n if (data[i].endTime > nowTime) {\n flag = false;\n }\n }\n return flag;\n },\n // 查询时间段的范围\n checkWorkTime(data: any, nowTime: any) {\n let obj: any = {\n type: 0, // type=1 当前时间在所有加班时间之前 type=2 当前时间在所有加班时间后 type=3 当前时间在某段加班时间 type=4 当前时间在加班之外,在某一段中间\n startTime: 0,\n endTime: 0,\n };\n if (proxyData.beforeWorkTime(data, nowTime)) {\n obj.type = 1;\n } else if (proxyData.afterWorkTime(data, nowTime)) {\n obj.type = 2;\n } else {\n let flag = true;\n for (let i = 0; i < data.length; i++) {\n if (nowTime >= data[i].startTime && nowTime <= data[i].endTime) {\n obj.startTime = data[i].startTime;\n obj.endTime = data[i].endTime;\n obj.type = 3;\n flag = false;\n break;\n }\n }\n if (flag) {\n obj.type = 4;\n }\n }\n return obj;\n },\n // 格式化日期\n delTimeArr: delTimeArr,\n customSceneList: customSceneList, // 当前日期的加班\n formateWorkTime() {\n // debugger;\n let data: any = proxyData.workkArr;\n let nowDate: any = formatDate(\"YYYY-MM-DD\");\n for (let i = 0; i < data.length; i++) {\n let date: any = formatDateStr(data[i].date);\n let cusStartTime: any = data[i].cusStartTime;\n let cusEndTime: any = data[i].cusEndTime;\n let customSceneList: any = data[i]?.customSceneList ?? [];\n let nowTime: any = getRelNowTime();\n let week: any = getWeekDate(new Date(date).getDay());\n if (date === nowDate) {\n // isActive = true;\n week = \"今天\";\n }\n // console.log(\"nowTime===\" + nowTime);\n if (date === nowDate) {\n proxyData.customSceneList = customSceneList;\n // debugger\n // 1.当天没有服务定制时间和加班时间\n /**a.未来有服务定制和加班**/\n // 2.当天有服务定制时间无加班时间\n // 当天在服务定制之内+加班+和未来的时间连续\n // a.在服务定制之内\n // b.已过了服务定制和1相同处理\n // 3.当天有服务定制和加班时间\n // a.在服务定制之内,并和加班时间不连着\n // b.在服务定制之内,并和加班连续\n // c.在加班时间之内,并和后面加班时间连续\n // d.在加班时间之内,并且和后面加班不连续\n // e.不在服务定制之内,也不在加班时间内,但是当天和未来都有预约时间\n /**f.不在服务定制之内,也不在加班时间内,但是当天没有预约时间,未来有预约加班 */\n\n let startTime: any = \"\";\n let endTime: any = \"\";\n if ((!cusStartTime || !cusEndTime) && !customSceneList.length) {\n // 查找最近的一段预约数据\n let btnObj: any = proxyData.formateTimeContinuous(\n 0,\n startTime,\n endTime,\n 2\n );\n if (btnObj && btnObj.text) {\n proxyData.timerText.text = `已预约(${btnObj.text})`;\n proxyData.timerText.timer =\n formatTimerStr(btnObj.startTime) +\n \"~\" +\n formatTimerStr(btnObj.endTime);\n } else {\n proxyData.timerText.text = \"请选择工作时间段\";\n proxyData.timerText.timer = \"将自动开启办公服务\";\n }\n proxyData.timerText.classColor = \"grey\";\n proxyData.timerText.btnText = \"预约时间\";\n proxyData.timerText.showDel = false;\n proxyData.forcedOverTimeFlag = true;\n } else if (cusStartTime && cusEndTime && !customSceneList.length) {\n if (nowTime >= cusStartTime && nowTime <= cusEndTime) {\n proxyData.timerText.text = \"工作时间\";\n proxyData.timerText.timer =\n formatTimerStr(cusStartTime) +\n \"~\" +\n formatTimerStr(cusEndTime);\n proxyData.timerText.classColor = \"yellow\";\n proxyData.timerText.btnText = \"预约延时\";\n proxyData.timerText.showDel = false;\n proxyData.forcedOverTimeFlag = false;\n } else {\n let btnObj: any = proxyData.formateTimeContinuous(\n 0,\n startTime,\n endTime,\n 2\n );\n if (btnObj && btnObj.text) {\n proxyData.timerText.text = `已预约(${btnObj.text})`;\n proxyData.timerText.timer =\n formatTimerStr(btnObj.startTime) +\n \"~\" +\n formatTimerStr(btnObj.endTime);\n } else {\n proxyData.timerText.text = \"请选择工作时间段\";\n proxyData.timerText.timer = \"将自动开启办公服务\";\n }\n proxyData.timerText.classColor = \"grey\";\n proxyData.timerText.btnText = \"预约时间\";\n proxyData.timerText.showDel = false;\n proxyData.forcedOverTimeFlag = true;\n }\n } else {\n if (\n cusStartTime &&\n cusEndTime &&\n nowTime >= cusStartTime &&\n nowTime <= cusEndTime\n ) {\n // debugger\n startTime = cusStartTime;\n endTime = cusEndTime;\n customSceneList.map((item: any) => {\n if (endTime === item.startTime) {\n endTime = item.endTime;\n }\n });\n /**\n * 需要补加上和未来时间连续的问题\n */\n\n let btnObj: any = proxyData.formateTimeContinuous(\n 1,\n startTime,\n endTime,\n 1\n );\n proxyData.timerText.text = `工作时间`;\n proxyData.timerText.timer =\n formatTimerStr(startTime) + \"~\" + formatTimerStr(endTime);\n if (btnObj && btnObj.text) {\n proxyData.timerText.text = `工作时间(今日~${btnObj.text})`;\n proxyData.timerText.timer =\n formatTimerStr(btnObj.startTime) +\n \"~\" +\n formatTimerStr(btnObj.endTime);\n }\n proxyData.timerText.classColor = \"yellow\";\n proxyData.timerText.btnText = \"预约延时\";\n proxyData.timerText.showDel = false;\n proxyData.forcedOverTimeFlag = false;\n } else {\n let obj: any = proxyData.checkWorkTime(\n customSceneList,\n nowTime\n );\n if (obj.type === 3) {\n startTime = obj.startTime;\n endTime = obj.endTime;\n customSceneList.map((item: any) => {\n let oldTimeStart: any = startTime;\n let oldTimeEnd: any = endTime;\n // debugger\n if (\n startTime === item.startTime &&\n endTime === item.endTime\n ) {\n // proxyData.delTimeArr.push(item);\n } // 点击我要离开的时候需要删除的数据\n if (oldTimeEnd === item.startTime) {\n endTime = item.endTime;\n // proxyData.delTimeArr.push(item);\n }\n });\n if (cusStartTime && cusEndTime && nowTime < cusStartTime) {\n // 在服务定制时间之前的时候需要处理连续时间的问题\n if (endTime === cusStartTime) {\n endTime = cusEndTime;\n }\n customSceneList.map((item: any) => {\n if (endTime === item.startTime) {\n endTime = item.endTime;\n }\n });\n }\n /**\n * 需要补加上和未来时间连续的问题\n */\n let btnObj: any = proxyData.formateTimeContinuous(\n 1,\n startTime,\n endTime,\n 1\n );\n // debugger\n proxyData.timerText.text = `工作时间`;\n proxyData.timerText.timer =\n formatTimerStr(startTime) + \"~\" + formatTimerStr(endTime);\n if (btnObj && btnObj.text) {\n proxyData.timerText.text = `工作时间~${btnObj.text}`;\n proxyData.timerText.timer =\n formatTimerStr(btnObj.startTime) +\n \"~\" +\n formatTimerStr(btnObj.endTime);\n }\n proxyData.timerText.classColor = \"yellow\";\n proxyData.timerText.btnText = \"预约延时\";\n proxyData.timerText.showDel = true;\n proxyData.forcedOverTimeFlag = false;\n } else {\n let btnObj: any = proxyData.formateTimeContinuous(\n 0,\n startTime,\n endTime,\n 2\n );\n if (\n btnObj &&\n btnObj.text &&\n btnObj.startTime &&\n btnObj.endTime\n ) {\n proxyData.timerText.text = `已预约(${btnObj.text})`;\n proxyData.timerText.timer =\n formatTimerStr(btnObj.startTime) +\n \"~\" +\n formatTimerStr(btnObj.endTime);\n } else {\n proxyData.timerText.text = \"请选择工作时间段\";\n proxyData.timerText.timer = \"将自动开启办公服务\";\n }\n proxyData.timerText.classColor = \"grey\";\n proxyData.timerText.btnText = \"预约时间\";\n proxyData.timerText.showDel = false;\n proxyData.forcedOverTimeFlag = true;\n }\n }\n }\n // debugger\n // 记录开灯标记\n contx.emit(\"setForceOverTimeFlag\", proxyData.forcedOverTimeFlag);\n }\n }\n },\n // 时间拼接\n timeJoin(customSceneList: any, nowTime: any) {\n let startTime: any = 0;\n let endTime: any = 0;\n let obj: any = proxyData.checkWorkTime(customSceneList, nowTime);\n if (obj.type === 3) {\n startTime = obj.startTime;\n endTime = obj.endTime;\n customSceneList.map((item: any) => {\n let oldTimeStart: any = startTime;\n let oldTimeEnd: any = endTime;\n // debugger\n if (startTime === item.startTime && endTime === item.endTime) {\n // proxyData.delTimeArr.push(item);\n } // 点击我要离开的时候需要删除的数据\n if (oldTimeEnd === item.startTime) {\n endTime = item.endTime;\n // proxyData.delTimeArr.push(item);\n }\n });\n\n /**\n * 需要补加上和未来时间连续的问题\n */\n proxyData.timerText.text = \"工作时间\";\n proxyData.timerText.timer =\n formatTimerStr(startTime) + \"~\" + formatTimerStr(endTime);\n proxyData.timerText.classColor = \"yellow\";\n proxyData.timerText.btnText = \"预约延时\";\n proxyData.timerText.showDel = true;\n proxyData.forcedOverTimeFlag = false;\n } else {\n customSceneList.map((item: any) => {\n if (nowTime < item.startTime) {\n let oldTimeStart: any = startTime;\n let oldTimeEnd: any = endTime;\n if (item.startTime < startTime) {\n startTime = item.startTime;\n endTime = item.endTime;\n } else if (endTime === item.startTime) {\n endTime = item.endTime;\n }\n }\n });\n /**\n *需要补加上和未来时间连续的问题\n */\n if (startTime && endTime) {\n proxyData.timerText.text = \"已预约(今日)\";\n proxyData.timerText.timer =\n formatTimerStr(startTime) + \"~\" + formatTimerStr(endTime);\n proxyData.timerText.classColor = \"grey\";\n proxyData.timerText.btnText = \"预约时间\";\n proxyData.timerText.showDel = false;\n proxyData.forcedOverTimeFlag = true;\n } else {\n proxyData.timerText.text = \"请选择工作时间段\";\n proxyData.timerText.timer = \"将自动开启办公服务\";\n proxyData.timerText.classColor = \"grey\";\n proxyData.timerText.btnText = \"预约时间\";\n proxyData.timerText.showDel = false;\n proxyData.forcedOverTimeFlag = true;\n }\n }\n },\n // 格式化需要删除的数据\n formatDataDel() {\n proxyData.delTimeArr = [];\n let customSceneList: any = proxyData.customSceneList;\n let nowTime: any = getRelNowTime();\n let startTime: any = 0;\n let endTime: any = 0;\n let obj: any = proxyData.checkWorkTime(customSceneList, nowTime);\n if (obj.type === 3) {\n startTime = obj.startTime;\n endTime = obj.endTime;\n customSceneList.map((item: any) => {\n let oldTimeEnd: any = endTime;\n if (startTime === item.startTime && endTime === item.endTime) {\n item.type = 1;\n proxyData.delTimeArr.push(item);\n } // 点击我要离开的时候需要删除的数据\n if (oldTimeEnd === item.startTime) {\n endTime = item.endTime;\n item.type = 1;\n proxyData.delTimeArr.push(item);\n }\n });\n }\n },\n // 我要离开\n myLeaving() {\n proxyData.formatDataDel();\n // console.log(\"删除了=====\");\n // console.log(proxyData.delTimeArr);\n proxyData.leaveBtnFlag = true;\n // 取消加班\n proxyData.saveBatchCustomScene();\n },\n // 取消加班记录\n saveBatchCustomScene() {\n // proxyGlobal.proxy.$loadingStart(0);\n proxyData.openLeavDailog();\n saveBatchCustomScene(proxyData.delTimeArr)\n .then((res) => {\n proxyData.leaveBtnFlag = false;\n // console.log(res);\n // proxyGlobal.proxy.$loadinngEnd();\n })\n .catch(() => {\n proxyData.leaveBtnFlag = false;\n // proxyGlobal.proxy.$loadinngEnd();\n });\n },\n isShowLeaveDailog: false,\n openLeavDailog() {\n proxyData.isShowLeaveDailog = true;\n },\n closeLeavDailog() {\n proxyData.isShowLeaveDailog = false;\n },\n });\n watch(\n props,\n (newProps: any) => {\n proxyData.scenarioArr = newProps.scenarioArr;\n proxyData.workkArr = newProps.workkArr;\n if (proxyData.workkArr && proxyData.workkArr.length) {\n proxyData.formateWorkTime();\n }\n },\n {\n deep: true,\n immediate: true,\n }\n );\n onMounted(() => {\n // proxyData.formateWorkTime();\n });\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./WorkConfig.vue?vue&type=template&id=45fb191f&scoped=true&ts=true\"\nimport script from \"./WorkConfig.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkConfig.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkConfig.vue?vue&type=style&index=0&id=45fb191f&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-45fb191f\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3ed2c47e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"scene-config\" }\nconst _hoisted_2 = [\"onClick\"]\nconst _hoisted_3 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.scenarioArr, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: 'scene' + index,\n class: _normalizeClass([\"scene-item\", item.sceneType === _ctx.activeType ? 'scene-active' : '']),\n onClick: ($event: any) => (_ctx.handleScene(item)),\n style: _normalizeStyle({\n flex:\n _ctx.scenarioArr.length &&\n _ctx.scenarioArr.length == 2 &&\n item.sceneType === _ctx.activeType\n ? 2\n : 1,\n })\n }, [\n _createElementVNode(\"img\", {\n src: item.img,\n alt: \"\"\n }, null, 8, _hoisted_3),\n _createElementVNode(\"span\", null, _toDisplayString(item.sceneName), 1)\n ], 14, _hoisted_2))\n }), 128))\n ]))\n}","\nimport {\n defineComponent,\n reactive,\n toRefs,\n onBeforeMount,\n onMounted,\n ref,\n watch,\n} from \"vue\";\nimport { useRouter } from \"vue-router\";\nimport { getUserInfo, parseImgUrl } from \"@/utils\";\nimport { UserActionTypes } from \"@/store/modules/user/action-types\";\nimport { useStore } from \"@/store\";\nimport { switchoverSceneHttp } from \"@/apis/envmonitor\";\n\nexport default defineComponent({\n props: {\n projectId: {\n type: String,\n default: () => \"\",\n },\n spaceId: {\n type: String,\n default: () => \"\",\n },\n scenarioArr: {\n type: Array,\n default: () => [],\n },\n activeType: {\n type: String,\n default: () => \"\",\n },\n },\n setup(props, contx) {\n let router: any = useRouter();\n const store = useStore();\n let scenarioImgArr: any = {\n DISCUSSING: parseImgUrl(\"ipdImages\", \"taolun.svg\"),\n PROJECTING: parseImgUrl(\"ipdImages\", \"touying.svg\"),\n ADJOURNMENT: parseImgUrl(\"ipdImages\", \"sanhui.svg\"),\n };\n const proxyData = reactive({\n parseImgUrl: parseImgUrl,\n scenarioArr: props.scenarioArr,\n scenarioImgArr: scenarioImgArr,\n activeType: \"DISCUSSING\",\n onSubmit(values: any) {\n router.push({ path: \"/choice-project\" });\n },\n formatScenarioImg() {\n // debugger\n proxyData.scenarioArr.map((item: any) => {\n item.img = proxyData.scenarioImgArr[item.sceneType];\n if (item.sceneType === \"DISCUSSING\") {\n item.order = 1;\n } else if (item.sceneType === \"PROJECTING\") {\n item.order = 2;\n } else if (item.sceneType === \"ADJOURNMENT\") {\n item.order = 3;\n } else {\n item.order = 4;\n }\n });\n // 数组排序\n proxyData.scenarioArr = proxyData.scenarioArr.sort(\n (a: any, b: any) => a.order - b.order\n );\n },\n // 切换场景\n handleScene(item: any) {\n // 展示场景详情页面\n proxyData.activeType = item.sceneType;\n const userInfo: any = getUserInfo();\n const params = {\n spaceId: props.spaceId,\n projectId: props.projectId,\n type: item.sceneType,\n pubname: userInfo.pubname,\n };\n\n item.loading = true;\n item.lodingText = \"正在切换至\";\n contx.emit(\"setHeadScene\", item);\n switchoverSceneHttp(params)\n .then((res) => {\n let resData: any = res;\n if (resData.result === \"success\") {\n item.loading = false;\n item.lodingText = \"切换至\";\n contx.emit(\"setHeadScene\", item);\n }\n })\n .catch(() => {\n item.loading = false;\n item.lodingText = \"\";\n contx.emit(\"setHeadScene\", item);\n // contx.emit('timerSpaceInfo')\n });\n },\n });\n watch(\n props,\n (newProps: any) => {\n proxyData.scenarioArr = newProps.scenarioArr;\n proxyData.formatScenarioImg();\n proxyData.activeType = newProps.activeType;\n },\n {\n deep: false,\n immediate: true,\n }\n );\n onMounted(() => {});\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./ScenarioConfig.vue?vue&type=template&id=3ed2c47e&scoped=true&ts=true\"\nimport script from \"./ScenarioConfig.vue?vue&type=script&lang=ts\"\nexport * from \"./ScenarioConfig.vue?vue&type=script&lang=ts\"\n\nimport \"./ScenarioConfig.vue?vue&type=style&index=0&id=3ed2c47e&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-3ed2c47e\"]])\n\nexport default __exports__","import { vShow as _vShow, createElementVNode as _createElementVNode, withDirectives as _withDirectives, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-54f78787\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"header-content\" }\nconst _hoisted_2 = { class: \"weather\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = { class: \"weather-text\" }\nconst _hoisted_5 = { class: \"pr5\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"/\", -1))\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"pr5\" }, \"PM2.5\", -1))\nconst _hoisted_8 = { class: \"pr5\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _withDirectives(_createElementVNode(\"img\", {\n src: _ctx.outWeather.imgname,\n class: \"weather-icon\",\n alt: \"\"\n }, null, 8, _hoisted_3), [\n [_vShow, _ctx.outWeather.imgname]\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"p\", null, [\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.outWeather.temperature ? _ctx.outWeather.temperature : \"--\") + \"℃\", 1),\n _hoisted_6,\n _hoisted_7,\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.outWeather.pm25 ? _ctx.outWeather.pm25 : \"--\"), 1)\n ]),\n _createElementVNode(\"p\", null, [\n _createElementVNode(\"span\", _hoisted_8, _toDisplayString(_ctx.outWeather.text ? _ctx.outWeather.text : \"--\"), 1),\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.outWeather.quality ? _ctx.outWeather.quality : \"--\"), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", {\n class: \"set-space-btn\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.setPermanentSpace && _ctx.setPermanentSpace(...args)))\n }, \"设置常驻空间\")\n ]))\n}","\nimport { defineComponent, onMounted, reactive, toRefs } from \"vue\";\nimport { Icon } from \"vant\";\nimport { useRouter } from \"vue-router\";\n\nexport default defineComponent({\n props: {\n outWeather: {\n type: Object,\n default: () => {\n return {};\n },\n }\n },\n components: {\n VanIcon: Icon,\n },\n setup() {\n const router = useRouter();\n const proxyData = reactive({\n goBack() {\n window.history.go(-1);\n },\n /**\n * 设置常驻空间\n */\n setPermanentSpace() {\n router.push({ path: \"/mySpace\" });\n },\n });\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./Index.vue?vue&type=template&id=54f78787&scoped=true&ts=true\"\nimport script from \"./Index.vue?vue&type=script&lang=ts\"\nexport * from \"./Index.vue?vue&type=script&lang=ts\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=54f78787&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-54f78787\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7769650f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"scenario\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"切换场景\", -1))\nconst _hoisted_3 = { class: \"scenario-box\" }\nconst _hoisted_4 = [\"onClick\"]\nconst _hoisted_5 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.popList, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"scenario-item\", item.code===_ctx.activeIndex?'active':'']),\n onClick: ($event: any) => (_ctx.handleScene(item,index)),\n key: index\n }, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('page-officehome',item.img),\n alt: \"\"\n }, null, 8, _hoisted_5),\n _createElementVNode(\"span\", null, _toDisplayString(item.name), 1)\n ], 10, _hoisted_4))\n }), 128))\n ])\n ]))\n}","\nimport { defineComponent, computed, onMounted, reactive, toRefs, watch, getCurrentInstance } from 'vue'\nimport { switchoverSceneHttp } from '@/apis/envmonitor'\nimport Keys from '@/constant/key'\nimport { getUserInfo, parseImgUrl } from '@/utils'\nimport { Toast } from 'vant'\n\nexport default defineComponent({\n props: {\n projectId: {\n type: String,\n default: () => ''\n },\n spaceId: {\n type: String,\n default: () => ''\n },\n popList: { // 场景信息\n type: Array,\n default: () => []\n },\n vanPopupIndex: {\n type: String,\n default: () => ''\n }\n },\n setup(props, contx) {\n const sceneDetail: any = {}\n // const activeIndex: any = props.vanPopupIndex\n const proxyData = reactive({\n parseImgUrl: parseImgUrl,\n showSecenDetailDalig: false, // 是否展示场景详情页面\n sceneDetail: sceneDetail,\n activeIndex: props.vanPopupIndex,\n /**\n * 加载loading\n */\n loadingStart() {\n Toast.loading({\n duration: 0, // 持续展示 toast\n forbidClick: true,\n message: '正在切换...'\n })\n },\n /**\n * 结束\n */\n loadinngEnd() {\n Toast.clear()\n },\n // 切换场景\n handleScene(mitem: any, idx: any) {\n let popList = props.popList\n let name = mitem.name\n for (let i = 0; i < popList.length; i++) {\n let item: any = popList[i]\n if (name === item.name) {\n proxyData.sceneDetail = JSON.parse(JSON.stringify(item))\n proxyData.sceneDetail.textObj = []\n\n item.textObj.map((element: any, idx: any) => {\n setTimeout(() => {\n proxyData.sceneDetail.textObj.push(element)\n }, 150 * (idx + 1))\n })\n }\n }\n proxyData.loadingStart()\n proxyData.activeIndex = proxyData.sceneDetail.code\n // 展示场景详情页面\n proxyData.showSecenDetailDalig = true\n const userInfo: any = getUserInfo()\n const params = {\n spaceId: props.spaceId,\n projectId: props.projectId,\n type: proxyData.sceneDetail.code,\n pubname: userInfo.pubname\n }\n switchoverSceneHttp(params).then(res => {\n // contx.emit('timerSpaceInfo')\n proxyData.loadinngEnd()\n contx.emit('setHeadScene', proxyData.sceneDetail.name, proxyData.sceneDetail)\n }).catch(() => {\n proxyData.loadinngEnd()\n contx.emit('setHeadScene', proxyData.sceneDetail.name, proxyData.sceneDetail)\n // contx.emit('timerSpaceInfo')\n })\n }\n })\n watch(\n props,\n (newProps: any) => {\n proxyData.activeIndex = newProps.vanPopupIndex\n // if (newProps.spaceId) { // 空间id改变的重新获取值调用接口\n //\n // }\n }\n )\n return {\n ...toRefs(proxyData)\n }\n }\n})\n","import { render } from \"./Scenario.vue?vue&type=template&id=7769650f&scoped=true&ts=true\"\nimport script from \"./Scenario.vue?vue&type=script&lang=ts\"\nexport * from \"./Scenario.vue?vue&type=script&lang=ts\"\n\nimport \"./Scenario.vue?vue&type=style&index=0&id=7769650f&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-7769650f\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, createBlock as _createBlock, withModifiers as _withModifiers, normalizeClass as _normalizeClass, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-44ad189c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"air\" }\nconst _hoisted_2 = { class: \"air-top\" }\nconst _hoisted_3 = { class: \"air-desc\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"air-title\" }, \"空调\", -1))\nconst _hoisted_5 = { class: \"air-temperature\" }\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = {\n key: 0,\n class: \"air-status\"\n}\nconst _hoisted_8 = {\n key: 1,\n class: \"air-loading\"\n}\nconst _hoisted_9 = [\"src\"]\nconst _hoisted_10 = { class: \"air-right\" }\nconst _hoisted_11 = [\"src\"]\nconst _hoisted_12 = {\n key: 0,\n class: \"air-control\"\n}\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"control-title\" }, \"温度调节\", -1))\nconst _hoisted_14 = { class: \"btn-box\" }\nconst _hoisted_15 = [\"src\"]\nconst _hoisted_16 = [\"src\"]\nconst _hoisted_17 = {\n key: 1,\n class: \"air-control\"\n}\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"control-title\" }, \"风量调节\", -1))\nconst _hoisted_19 = { class: \"btn-box\" }\nconst _hoisted_20 = [\"src\"]\nconst _hoisted_21 = [\"src\"]\nconst _hoisted_22 = { class: \"air-dialog-content\" }\nconst _hoisted_23 = { class: \"dialog-top\" }\nconst _hoisted_24 = [\"src\"]\nconst _hoisted_25 = { class: \"dialog-text\" }\nconst _hoisted_26 = { class: \"air-body-item-num\" }\nconst _hoisted_27 = {\n key: 0,\n class: \"air-temp-num\"\n}\nconst _hoisted_28 = {\n key: 1,\n class: \"air-temp-load\"\n}\nconst _hoisted_29 = {\n key: 0,\n class: \"air-notice\"\n}\nconst _hoisted_30 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"确定\", -1))\nconst _hoisted_31 = [\n _hoisted_30\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_van_loading = _resolveComponent(\"van-loading\")!\n const _component_Switch = _resolveComponent(\"Switch\")!\n const _component_van_dialog = _resolveComponent(\"van-dialog\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"p\", _hoisted_5, [\n _createTextVNode(_toDisplayString(_ctx.airData.tempSet ? _ctx.airData.tempSet : \"\") + \" \", 1),\n (_ctx.airData.tempSet)\n ? (_openBlock(), _createElementBlock(\"sup\", _hoisted_6, \"℃\"))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.hasAir)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_7, _toDisplayString(_ctx.airData.isOpen ? \"空调已开启\" : \"空调已关闭\"), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.airData.isOpen)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_8, [\n (_ctx.airData.icon == 1 || _ctx.airData.icon == 2 || _ctx.airData.icon == 3)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: _ctx.airRunImg,\n alt: \"\"\n }, null, 8, _hoisted_9))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.airData.spaceStatus), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n (_ctx.airData.airImg)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: _ctx.airData.airImg,\n alt: \"\"\n }, null, 8, _hoisted_11))\n : (_openBlock(), _createBlock(_component_van_loading, {\n key: 1,\n style: {\"padding-top\":\"20px\"}\n })),\n (_ctx.hasAir)\n ? (_openBlock(), _createBlock(_component_Switch, {\n key: 2,\n class: \"switch-btn\",\n loading: _ctx.loadingAir || _ctx.firstLoadingAir,\n disabled: !_ctx.userIsControl || _ctx.loadingAir || _ctx.firstLoadingAir,\n \"inactive-color\": \"rgba(196, 196, 196, 0.4)\",\n onClick: _ctx.airChange,\n \"model-value\": _ctx.airData.isOpen\n }, null, 8, [\"loading\", \"disabled\", \"onClick\", \"model-value\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_ctx.userIsControl && _ctx.airData.isOpen)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_12, [\n _hoisted_13,\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", {\n class: \"control-btn mr20\",\n onClick: _cache[0] || (_cache[0] = _withModifiers(($event: any) => (_ctx.changeAir(4, 'temp', 'toCold')), [\"stop\"]))\n }, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('envmonitor', 'arrow-top.png'),\n alt: \"\"\n }, null, 8, _hoisted_15)\n ]),\n _createElementVNode(\"div\", {\n class: \"control-btn\",\n onClick: _cache[1] || (_cache[1] = _withModifiers(($event: any) => (_ctx.changeAir(2, 'temp', 'toWarm')), [\"stop\"]))\n }, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('envmonitor', 'arrow-down.png'),\n alt: \"\"\n }, null, 8, _hoisted_16)\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.userIsControl && _ctx.airData.isOpen && _ctx.showAirVolumeBtn)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, [\n _hoisted_18,\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"div\", {\n class: \"control-btn mr20\",\n onClick: _cache[2] || (_cache[2] = _withModifiers(($event: any) => (_ctx.changeAir(5, 'wind', 'toWindLow')), [\"stop\"]))\n }, [\n _createElementVNode(\"img\", {\n class: \"temp-img\",\n src: _ctx.parseImgUrl('envmonitor', 'fengshan.png'),\n alt: \"\"\n }, null, 8, _hoisted_20)\n ]),\n _createElementVNode(\"div\", {\n class: \"control-btn\",\n onClick: _cache[3] || (_cache[3] = _withModifiers(($event: any) => (_ctx.changeAir(6, 'wind', 'toWindUp')), [\"stop\"]))\n }, [\n _createElementVNode(\"img\", {\n class: \"temp-img\",\n src: _ctx.parseImgUrl('envmonitor', 'wendu.png'),\n alt: \"\"\n }, null, 8, _hoisted_21)\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_van_dialog, {\n show: _ctx.showDialog,\n \"onUpdate:show\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.showDialog) = $event)),\n class: \"dialog-width\",\n \"show-confirm-button\": false,\n \"show-cancel-button\": false\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"img\", {\n class: _normalizeClass([\"img-greey\", \n _ctx.airSetText.toWhere == 'toCold'\n ? 'img-blue'\n : _ctx.airSetText.toWhere == 'toWarm'\n ? 'img-red'\n : ''\n ]),\n src: _ctx.parseImgUrl('page-officehome', _ctx.airSetText.nowImg),\n alt: \"\"\n }, null, 10, _hoisted_24)\n ]),\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"div\", _hoisted_26, [\n (_ctx.airSetText.notice)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_27, _toDisplayString(_ctx.airSetText.notice), 1))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_28, [\n _createVNode(_component_van_loading, { type: \"spinner\" })\n ]))\n ]),\n (_ctx.airSetText.remark && _ctx.airSetText.remark.length)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_29, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.airSetText.remark, (remarkItem, index) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n key: 'remark' + index\n }, _toDisplayString(remarkItem), 1))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", {\n class: \"dialog-btns\",\n onClick: _cache[4] || (_cache[4] = _withModifiers(\n//@ts-ignore\n(...args) => (_ctx.closeDialog && _ctx.closeDialog(...args)), [\"stop\"]))\n }, _hoisted_31)\n ])\n ]),\n _: 1\n }, 8, [\"show\"])\n ]))\n}","import { createVNode as _createVNode } from \"vue\";\nimport { defineComponent } from \"vue\";\nimport { addUnit, numericProp, unknownProp, createNamespace } from \"../utils\";\nimport { useCustomFieldValue } from \"@vant/use\";\nimport { Loading } from \"../loading\";\nconst [name, bem] = createNamespace(\"switch\");\nconst switchProps = {\n size: numericProp,\n loading: Boolean,\n disabled: Boolean,\n modelValue: unknownProp,\n activeColor: String,\n inactiveColor: String,\n activeValue: {\n type: unknownProp,\n default: true\n },\n inactiveValue: {\n type: unknownProp,\n default: false\n }\n};\nvar stdin_default = defineComponent({\n name,\n props: switchProps,\n emits: [\"change\", \"update:modelValue\"],\n setup(props, {\n emit\n }) {\n const isChecked = () => props.modelValue === props.activeValue;\n const onClick = () => {\n if (!props.disabled && !props.loading) {\n const newValue = isChecked() ? props.inactiveValue : props.activeValue;\n emit(\"update:modelValue\", newValue);\n emit(\"change\", newValue);\n }\n };\n const renderLoading = () => {\n if (props.loading) {\n const color = isChecked() ? props.activeColor : props.inactiveColor;\n return _createVNode(Loading, {\n \"class\": bem(\"loading\"),\n \"color\": color\n }, null);\n }\n };\n useCustomFieldValue(() => props.modelValue);\n return () => {\n const {\n size,\n loading,\n disabled,\n activeColor,\n inactiveColor\n } = props;\n const checked = isChecked();\n const style = {\n fontSize: addUnit(size),\n backgroundColor: checked ? activeColor : inactiveColor\n };\n return _createVNode(\"div\", {\n \"role\": \"switch\",\n \"class\": bem({\n on: checked,\n loading,\n disabled\n }),\n \"style\": style,\n \"tabindex\": disabled ? void 0 : 0,\n \"aria-checked\": checked,\n \"onClick\": onClick\n }, [_createVNode(\"div\", {\n \"class\": bem(\"node\")\n }, [renderLoading()])]);\n };\n }\n});\nexport {\n stdin_default as default\n};\n","import { withInstall } from \"../utils\";\nimport _Switch from \"./Switch\";\nconst Switch = withInstall(_Switch);\nvar stdin_default = Switch;\nexport {\n Switch,\n stdin_default as default\n};\n","\nimport {\n defineComponent,\n onMounted,\n reactive,\n toRefs,\n computed,\n watch,\n onUnmounted,\n onBeforeMount,\n onBeforeUnmount,\n} from \"vue\";\nimport { Switch, Dialog, Loading, Toast } from \"vant\";\nimport {\n changeTempHttp,\n getEquipmentListHttp,\n getFeedbackDocumentsHttp,\n} from \"@/apis/envmonitor\";\nimport { parseImgUrl } from \"@/utils\";\nimport any = jasmine.any;\n\nexport default defineComponent({\n props: {\n temperature: {\n // 空调基本信息\n type: Number,\n default: () => 0,\n },\n hasAir: {\n // 有无空调\n type: Boolean,\n default: () => false,\n },\n airVolumes: {\n // 风量信息\n type: Array,\n default: () => [],\n },\n projectId: {\n type: String,\n default: () => \"\",\n },\n spaceId: {\n type: String,\n default: () => \"\",\n },\n userIsControl: {\n type: Boolean,\n default: () => false,\n },\n forceOverTimeFlag: {\n type: Boolean,\n default: () => false,\n },\n },\n components: {\n Switch,\n [Dialog.Component.name]: Dialog.Component,\n Loading,\n },\n setup(props, contx) {\n const propsVal = props;\n let airData: any = {\n avg: \"\", // 算法调节温度(目标值)\n icon: 1, // 固定框文案ID 7 为关机,其它都是开机\n spaceStatus: \"\", // 固定框文案展示\n notice: \"\", // 弹框文案展示\n mode: 0, // 模式\n tempSet: 0, // 温度\n isOpen: false, // 空调开关 true 是开\n };\n const feedbackTimer: any = null;\n const airTimer: any = null;\n const domAirOpeen: any = false;\n const proxyData = reactive({\n loadingAir: false,\n temperature: props.temperature,\n userIsControl: props.userIsControl,\n forceOverTimeFlag: props.forceOverTimeFlag,\n firstLoadingAir: true,\n domAirOpeen: domAirOpeen,\n feedbackTimer: feedbackTimer,\n parseImgUrl: parseImgUrl,\n airData: airData,\n modeName: \"\",\n showAirVolumeBtn: false, // 是否展示风量调节按钮\n showDialog: false,\n airTimer: airTimer,\n airSetText: {\n // 空调反馈文案\n notice: \"\",\n remark: [],\n nowImg: \"\",\n toWhere: \"\",\n designTemperature: 0,\n },\n // 格式化模式\n formateModel(model: any) {\n if (model) {\n if (model === 1) {\n proxyData.modeName = \"制冷\";\n } else if (model === 2) {\n proxyData.modeName = \"制热\";\n } else if (model === 3) {\n proxyData.modeName = \"通风\";\n } else if (model === 4) {\n proxyData.modeName = \"除湿\";\n } else {\n proxyData.modeName = \"\";\n }\n } else {\n proxyData.modeName = \"\";\n }\n },\n // 获取设备类型(ACATVI)\n getEquipmentListHttp() {\n let params = {\n spaceId: props.spaceId,\n };\n proxyData.showAirVolumeBtn = false;\n let flag: any = true;\n getEquipmentListHttp(params).then((res) => {\n let resData: any = res;\n let data: any = resData ? resData.data : [];\n if (data && data.length) {\n for (let i = 0; i < data.length; i++) {\n let item: any = data[i];\n if (item.equipmentCategory === \"ACATVI\") {\n // 多联机不展示风量调整\n proxyData.showAirVolumeBtn = false;\n flag = false;\n break;\n }\n }\n if (flag) {\n proxyData.showAirVolumeBtn = true;\n }\n }\n });\n },\n // 定时获取空调状态\n getAirInfoToTimer(timerLong: any = 3000) {\n if (proxyData.airTimer) {\n clearTimeout(proxyData.airTimer);\n }\n proxyData.airTimer = setTimeout(function () {\n proxyData.getAirInfo();\n }, timerLong);\n },\n // 定时调文案的接口\n getFeedbackTimer(btnType: any, id: any) {\n clearTimeout(proxyData.airTimer);\n proxyData.airTimer = null;\n proxyData.feedbackTimer = setTimeout(() => {\n proxyData.getAirInfo(\"feedback\", btnType, id, false); // 调节反馈文案\n }, 3000);\n },\n // 关闭空调的按钮点击的loading状态\n closeLoading() {\n let num: any = 0;\n let interval: any = setInterval(() => {\n if (num > 15 || proxyData.domAirOpeen === proxyData.airData.isOpen) {\n proxyData.loadingAir = false;\n clearInterval(interval);\n }\n num++;\n }, 1000);\n },\n getAirInfo(\n type: string = \"\",\n btnType: string = \"\",\n feedbackId: any = \"\",\n isTimer: boolean = true\n ) {\n let paramObj: any = {\n projectId: propsVal.projectId, // 项目id\n objectId: propsVal.spaceId, // 空间id\n };\n\n if (type === \"feedback\") {\n paramObj.id = feedbackId;\n }\n console.log(\"paramObj===\");\n getFeedbackDocumentsHttp(paramObj)\n .then((res) => {\n const resData: any = res;\n if (type !== \"feedback\") {\n if (resData) {\n proxyData.airData = resData;\n proxyData.formateModel(proxyData.airData.mode);\n contx.emit(\"updateAirTemp\", proxyData.airData.tempSet);\n if (proxyData.airData.icon && proxyData.airData.icon === 7) {\n proxyData.airData.isOpen = false;\n proxyData.airData.airImg = parseImgUrl(\n \"page-officehome\",\n \"air_close.png\"\n );\n } else {\n if (proxyData.airData.icon && proxyData.airData.icon !== 6) {\n proxyData.airData.isOpen = true;\n proxyData.airData.airImg = parseImgUrl(\n \"page-officehome\",\n \"openair.png\"\n );\n }\n }\n }\n }\n // 弹窗\n if (type === \"feedback\") {\n if (resData.notice) {\n proxyData.airSetText.notice = resData.notice;\n if (resData.remark && resData.remark.length) {\n proxyData.airSetText.remark = resData.remark.split(\"*\");\n }\n if (proxyData.feedbackTimer) {\n clearTimeout(proxyData.feedbackTimer); // 拿到反馈文案清除定时器\n proxyData.getAirInfoToTimer();\n }\n } else {\n proxyData.getFeedbackTimer(btnType, feedbackId);\n }\n } else {\n proxyData.getAirInfoToTimer();\n }\n proxyData.firstLoadingAir = false;\n })\n .catch(() => {\n proxyData.getAirInfoToTimer();\n proxyData.firstLoadingAir = false;\n proxyData.airData.airImg = parseImgUrl(\n \"page-officehome\",\n \"air_close.png\"\n );\n });\n },\n airChange() {\n // 先不更新状态等确认框弹出后再更新状\n if (proxyData.userIsControl) {\n if (!proxyData.loadingAir) {\n proxyData.airComfir();\n } else {\n Toast(\"指令正在下发中,勿重复操作!\");\n }\n } else {\n Toast(\"您没有当前空间的控制权限!\");\n }\n },\n // 确认\n airComfir() {\n const message = proxyData.airData.isOpen\n ? \"要关闭空调吗?\"\n : \"要开启空调吗?\";\n const confirmBtnText = proxyData.airData.isOpen ? \"关闭\" : \"开启\";\n Dialog.confirm({\n cancelButtonText: \"取消\",\n confirmButtonText: confirmBtnText,\n confirmButtonColor: \"$elActiveColor\",\n message: message,\n })\n .then(() => {\n // 操作空调\n const domAirOpen = !proxyData.airData.isOpen;\n if (proxyData.forceOverTimeFlag && domAirOpen) {\n //需要强制加班\n contx.emit(\"triggerWork\");\n return;\n }\n const itemId = domAirOpen ? 12 : 10; // 12 开启 10关闭\n proxyData.domAirOpeen = domAirOpen;\n let btnTypeDetail = \"\";\n if (itemId == 12) {\n btnTypeDetail = \"openAir\";\n } else {\n btnTypeDetail = \"closeAir\";\n }\n proxyData.loadingAir = true;\n proxyData.closeLoading();\n proxyData.changeAir(itemId, \"sw\", btnTypeDetail);\n })\n .catch(() => {\n // on cancel\n });\n },\n // 切换散会的时候手动关闭空调()\n closeScenarioAir() {\n proxyData.changeAir(10, \"sw\", \"closeAir\");\n },\n // 更新空调开关状态\n updatAirStatus(btnType: string) {\n // 开启空调后手动调一下状态更新接口\n if (btnType === \"sw\") {\n proxyData.getAirInfo(\"\", \"\", \"\", false);\n }\n },\n // 更新\n updateAirText(btnType: string, val: any) {\n if (btnType !== \"sw\") {\n proxyData.airSetText.designTemperature = val.designTemperature; // 目标温度\n proxyData.airSetText.toWhere = val.toWhere;\n if (proxyData.airSetText.toWhere == \"toCold\") {\n proxyData.airSetText.nowImg = \"dialog_cooling.svg\";\n } else if (proxyData.airSetText.toWhere == \"toWarm\") {\n proxyData.airSetText.nowImg = \"dialog_warmUp.svg\";\n } else {\n proxyData.airSetText.nowImg = \"icon_wind.svg\";\n }\n }\n },\n // 展示空调反馈弹窗¬\n showAirConditioning(btnType: string, btnTypeDetail: string) {\n // 空调温度和风量调整的时候展示弹窗\n if (btnType !== \"sw\") {\n proxyData.showDialog = true;\n // 调整空调温度接口\n const defaultAirText: any = {\n toWhere: btnTypeDetail,\n designTemperature: 0,\n };\n proxyData.updateAirText(btnType, defaultAirText);\n }\n },\n // 关闭弹窗\n closeDialog() {\n if (proxyData.feedbackTimer) {\n clearInterval(proxyData.feedbackTimer); // 拿到反馈文案清除定时器\n proxyData.feedbackTimer = null;\n }\n proxyData.getAirInfoToTimer();\n proxyData.showDialog = false;\n },\n changeAir(itemId: number, btnType: string, btnTypeDetail: string) {\n /**\n * 缺少的逻辑:\n * 1.设备位置判断\n * 2.空调温度调整的反馈文案\n */\n // 温度切换的时候调整文案\n proxyData.airSetText.notice = \"\";\n proxyData.airSetText.remark = [];\n const paramObj = {\n projectId: propsVal.projectId, // 项目id\n objectId: propsVal.spaceId, // 空间id\n valueType: 1, // 固定为1\n itemId: itemId, // 12 开启 10关闭 4 调低温 2 调高温 5 调小风量 6 调大风量\n };\n // 空调温度和风量调整的时候展示弹窗\n proxyData.showAirConditioning(btnType, btnTypeDetail);\n changeTempHttp(paramObj)\n .then((res) => {\n let resData: any = res;\n // 开启和关闭空调之后手动\n // proxyData.updatAirStatus(btnType)\n // 调整温度和风量的时候修改文案\n let airText = {\n toWhere: btnTypeDetail,\n designTemperature: resData.designTemperature,\n };\n proxyData.updateAirText(btnType, airText);\n // 改变温度和风量的时候给弹窗设置文案\n if (btnType !== \"sw\") {\n // debugger\n if (resData.notice) {\n proxyData.airSetText.notice = resData.notice;\n if (resData.remark && resData.remark.length) {\n proxyData.airSetText.remark = resData.remark.split(\"*\");\n }\n } else {\n proxyData.getFeedbackTimer(btnType, resData.id);\n }\n }\n })\n .catch(() => {\n proxyData.loadingAir = false;\n });\n },\n });\n watch(props, (newProps: any) => {\n if (newProps.spaceId) {\n // 空间id改变的重新获取值调用接口\n // 定时调空间信息\n proxyData.getAirInfoToTimer(0);\n // proxyData.getAirInfo()\n // proxyData.getEquipmentListHttp();\n }\n proxyData.temperature = props.temperature;\n proxyData.userIsControl = newProps.userIsControl;\n proxyData.forceOverTimeFlag = newProps.forceOverTimeFlag;\n });\n onBeforeUnmount(() => {\n if (proxyData.airTimer) {\n clearTimeout(proxyData.airTimer);\n proxyData.airTimer = null;\n }\n if (proxyData.feedbackTimer) {\n clearTimeout(proxyData.feedbackTimer);\n proxyData.feedbackTimer = null;\n }\n });\n onMounted(() => {\n // 获取空调信息\n proxyData.firstLoadingAir = true;\n proxyData.getAirInfo();\n proxyData.getEquipmentListHttp();\n });\n const airRunImg = computed(() => {\n let imgStr: string = \"\";\n switch (proxyData.airData.icon) {\n case 1:\n imgStr = parseImgUrl(\"page-officehome\", \"temp-keep.png\");\n break;\n case 2:\n imgStr = parseImgUrl(\"page-officehome\", \"temp_cold.svg\");\n break;\n case 3:\n imgStr = parseImgUrl(\"page-officehome\", \"temp_sun.png\");\n break;\n default:\n imgStr = \"\";\n break;\n }\n return imgStr;\n });\n return {\n airRunImg,\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=44ad189c&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=44ad189c&lang=scss&scoped=true\"\nimport \"./index.vue?vue&type=style&index=1&id=44ad189c&lang=scss\"\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-44ad189c\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5be753e7\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"air\" }\nconst _hoisted_2 = { class: \"air-top\" }\nconst _hoisted_3 = { class: \"air-desc\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"air-title\" }, \"空调\", -1))\nconst _hoisted_5 = { class: \"air-temperature\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"sup\", null, \"℃\", -1))\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = { key: 1 }\nconst _hoisted_9 = { class: \"air-right\" }\nconst _hoisted_10 = [\"src\"]\nconst _hoisted_11 = { class: \"air-control air-control-padding\" }\nconst _hoisted_12 = { class: \"control-box\" }\nconst _hoisted_13 = { class: \"temp-text\" }\nconst _hoisted_14 = {\n class: \"temp-slider\",\n id: \"sliderId\"\n}\nconst _hoisted_15 = {\n class: \"slider-bar\",\n id: \"barId\"\n}\nconst _hoisted_16 = { class: \"bar-temp\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"bar-circle\",\n id: \"handId\"\n}, null, -1))\nconst _hoisted_18 = { class: \"temp-text\" }\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"control-text\" }, \"温度设定\", -1))\nconst _hoisted_20 = { class: \"air-control\" }\nconst _hoisted_21 = { class: \"control-box\" }\nconst _hoisted_22 = { class: \"volume-box\" }\nconst _hoisted_23 = { class: \"number\" }\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text\" }, \"风量调节\", -1))\nconst _hoisted_25 = { class: \"volume-icon\" }\nconst _hoisted_26 = [\"src\"]\nconst _hoisted_27 = [\"src\"]\nconst _hoisted_28 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \" AUTO\", -1))\nconst _hoisted_29 = [\n _hoisted_28\n]\nconst _hoisted_30 = { class: \"air-control\" }\nconst _hoisted_31 = { class: \"control-box\" }\nconst _hoisted_32 = { class: \"volume-box\" }\nconst _hoisted_33 = { class: \"model\" }\nconst _hoisted_34 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text\" }, \"模式设定\", -1))\nconst _hoisted_35 = { class: \"volume-icon\" }\nconst _hoisted_36 = [\"src\"]\nconst _hoisted_37 = [\"src\"]\nconst _hoisted_38 = [\"src\"]\nconst _hoisted_39 = {\n key: 1,\n class: \"air-child\"\n}\nconst _hoisted_40 = { class: \"open-title\" }\nconst _hoisted_41 = { class: \"adjust-item\" }\nconst _hoisted_42 = { class: \"adjust-text\" }\nconst _hoisted_43 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"adjust-title\" }, \"温度\", -1))\nconst _hoisted_44 = { class: \"adjust-item\" }\nconst _hoisted_45 = { class: \"adjust-text\" }\nconst _hoisted_46 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"adjust-title\" }, \"档位\", -1))\nconst _hoisted_47 = { class: \"adjust-item\" }\nconst _hoisted_48 = { class: \"adjust-text\" }\nconst _hoisted_49 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"adjust-title\" }, \"模式\", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_van_icon = _resolveComponent(\"van-icon\")!\n const _component_van_loading = _resolveComponent(\"van-loading\")!\n const _component_Switch = _resolveComponent(\"Switch\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"p\", _hoisted_5, [\n _createTextVNode(_toDisplayString(_ctx.airTemp ? _ctx.airTemp : \"--\") + \" \", 1),\n _hoisted_6\n ]),\n (_ctx.equipList && _ctx.equipList.length > 1)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"show-all\",\n onClick: _cache[0] || (_cache[0] = _withModifiers(\n//@ts-ignore\n(...args) => (_ctx.showAll && _ctx.showAll(...args)), [\"stop\"]))\n }, [\n _createVNode(_component_van_icon, {\n name: _ctx.lightIcon,\n class: \"light-icon\"\n }, null, 8, [\"name\"]),\n (!_ctx.showChild)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, \"显示全部\"))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_8, \"收取全部\"))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n (_ctx.airData.airImg)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: _ctx.airData.airImg,\n alt: \"\"\n }, null, 8, _hoisted_10))\n : (_openBlock(), _createBlock(_component_van_loading, {\n key: 1,\n style: {\"padding-top\":\"20px\"}\n })),\n (!_ctx.showChild)\n ? (_openBlock(), _createBlock(_component_Switch, {\n key: 2,\n class: \"switch-btn\",\n loading: _ctx.loadingAir || _ctx.firstLoadingAir,\n disabled: _ctx.loadingAir || _ctx.firstLoadingAir,\n \"inactive-color\": \"rgba(196, 196, 196, 0.4)\",\n onClick: _ctx.airChange,\n \"model-value\": _ctx.airData.isOpen\n }, null, 8, [\"loading\", \"disabled\", \"onClick\", \"model-value\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (!_ctx.showChild && _ctx.airData.runStatus)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n style: _normalizeStyle({ opacity: _ctx.loadingAir || !_ctx.airData.runStatus ? '0.4' : '1' })\n }, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, _toDisplayString(_ctx.airData.minTempSet) + \"℃\", 1),\n _createElementVNode(\"div\", _hoisted_14, [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(5, (item, index) => {\n return _createElementVNode(\"div\", {\n class: \"item\",\n key: 'bar' + index\n })\n }), 64)),\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, _toDisplayString(_ctx.realTemp) + \"℃\", 1),\n _hoisted_17\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_18, _toDisplayString(_ctx.airData.maxTempSet) + \"℃\", 1)\n ]),\n _hoisted_19\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", _hoisted_23, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.windGearArr, (item, index) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n class: _normalizeClass(_ctx.airData.gear === item ? 'number-active' : ''),\n key: 'volume' + index\n }, _toDisplayString(item), 3))\n }), 128))\n ]),\n _hoisted_24\n ]),\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"div\", {\n class: \"icon-item\",\n style: _normalizeStyle({\n opacity: _ctx.airData.gear <= 1 ? '0.6' : 1,\n }),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.changeZongAir('gear', 'windLow')))\n }, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('ipdImages', 'wind_small.png')\n }, null, 8, _hoisted_26)\n ], 4),\n _createElementVNode(\"div\", {\n class: \"icon-item\",\n style: _normalizeStyle({ opacity: _ctx.airData.gear >= 3 ? '0.6' : 1 }),\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.changeZongAir('gear', 'windUp')))\n }, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('ipdImages', 'wind_big.png')\n }, null, 8, _hoisted_27)\n ], 4),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"icon-item\", _ctx.airData.isAutoGear ? 'active-color' : '']),\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.changeZongAir('gear', 'auto')))\n }, _hoisted_29, 2)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_30, [\n _createElementVNode(\"div\", _hoisted_31, [\n _createElementVNode(\"div\", _hoisted_32, [\n _createElementVNode(\"div\", _hoisted_33, _toDisplayString(_ctx.airData.workMode == 1\n ? \"制冷\"\n : _ctx.airData.workMode == 2\n ? \"制热\"\n : \"通风\"), 1),\n _hoisted_34\n ]),\n _createElementVNode(\"div\", _hoisted_35, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"icon-item\", _ctx.airData.workMode === 2 ? 'active-color' : '']),\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.changeZongAir('mode', 2)))\n }, [\n _createElementVNode(\"img\", {\n src: \n _ctx.airData.workMode === 2\n ? _ctx.parseImgUrl('ipdImages', 'airsunred.svg')\n : _ctx.parseImgUrl('ipdImages', 'airsunblack.svg')\n \n }, null, 8, _hoisted_36)\n ], 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"icon-item\", _ctx.airData.workMode === 1 ? 'active-color' : '']),\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.changeZongAir('mode', 1)))\n }, [\n _createElementVNode(\"img\", {\n src: \n _ctx.airData.workMode === 1\n ? _ctx.parseImgUrl('ipdImages', 'aircoldblue.svg')\n : _ctx.parseImgUrl('ipdImages', 'aircoldblack.svg')\n \n }, null, 8, _hoisted_37)\n ], 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"icon-item\", _ctx.airData.workMode === 3 ? 'active-color' : '']),\n onClick: _cache[6] || (_cache[6] = ($event: any) => (_ctx.changeZongAir('mode', 3)))\n }, [\n _createElementVNode(\"img\", {\n src: \n _ctx.airData.workMode === 3\n ? _ctx.parseImgUrl('ipdImages', 'aircloudgreen.svg')\n : _ctx.parseImgUrl('ipdImages', 'aircloudblack.svg')\n \n }, null, 8, _hoisted_38)\n ], 2)\n ])\n ])\n ])\n ], 4))\n : _createCommentVNode(\"\", true),\n (_ctx.showChild)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_39, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.equipList, (childItem, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"child-control-box\",\n key: 'child' + index\n }, [\n _createElementVNode(\"div\", _hoisted_40, [\n _createElementVNode(\"span\", null, _toDisplayString(childItem.localName), 1),\n _createVNode(_component_Switch, {\n onClick: ($event: any) => (_ctx.changeChildItemAir('switch', childItem, 'switch')),\n loading: \n childItem.loadingTimer > 0 && childItem.loadingTimer <= 15\n ? true\n : false\n ,\n disabled: \n childItem.loadingTimer > 0 && childItem.loadingTimer <= 15\n ? true\n : false\n ,\n \"model-value\": childItem.isOpen,\n class: \"child-switch\",\n \"inactive-color\": \"rgba(196, 196, 196, 0.4)\",\n size: \"14px\"\n }, null, 8, [\"onClick\", \"loading\", \"disabled\", \"model-value\"])\n ]),\n _createElementVNode(\"div\", {\n class: \"adjust-box\",\n style: _normalizeStyle({\n opacity: childItem.runStatus && childItem.isOpen ? '' : '0.3',\n })\n }, [\n _createElementVNode(\"div\", _hoisted_41, [\n _createVNode(_component_van_icon, {\n name: \"arrow-up\",\n class: _normalizeClass([\n childItem.tempSet >= _ctx.airData.maxTempSet ? 'disable-color' : ''\n , \"adjust-icon\"]),\n onClick: ($event: any) => (_ctx.changeChildItemAir('temp', childItem, 'up'))\n }, null, 8, [\"class\", \"onClick\"]),\n _createElementVNode(\"span\", _hoisted_42, _toDisplayString(childItem.tempSet), 1),\n _createVNode(_component_van_icon, {\n name: \"arrow-down\",\n class: _normalizeClass([\n childItem.tempSet <= _ctx.airData.minTempSet ? 'disable-color' : ''\n , \"adjust-icon\"]),\n onClick: ($event: any) => (_ctx.changeChildItemAir('temp', childItem, 'down'))\n }, null, 8, [\"class\", \"onClick\"]),\n _hoisted_43\n ]),\n _createElementVNode(\"div\", _hoisted_44, [\n _createVNode(_component_van_icon, {\n name: \"arrow-up\",\n class: _normalizeClass([childItem.isAutoGear ? 'disable-color' : '', \"adjust-icon\"]),\n onClick: ($event: any) => (_ctx.changeChildItemAir('gear', childItem, 'up'))\n }, null, 8, [\"class\", \"onClick\"]),\n _createElementVNode(\"span\", _hoisted_45, _toDisplayString(childItem.isAutoGear ? \"AUTO\" : childItem.gear), 1),\n _createVNode(_component_van_icon, {\n name: \"arrow-down\",\n class: _normalizeClass([\n !childItem.isAutoGear && childItem.gear <= 1\n ? 'disable-color'\n : ''\n , \"adjust-icon\"]),\n onClick: ($event: any) => (_ctx.changeChildItemAir('gear', childItem, 'down'))\n }, null, 8, [\"class\", \"onClick\"]),\n _hoisted_46\n ]),\n _createElementVNode(\"div\", _hoisted_47, [\n _createVNode(_component_van_icon, {\n name: \"arrow-up\",\n class: _normalizeClass([childItem.workMode >= 3 ? 'disable-color' : '', \"adjust-icon\"]),\n onClick: ($event: any) => (_ctx.changeChildItemAir('model', childItem, 'up'))\n }, null, 8, [\"class\", \"onClick\"]),\n _createElementVNode(\"span\", _hoisted_48, _toDisplayString(childItem.workMode == 1\n ? \"制冷\"\n : childItem.workMode == 2\n ? \"制热\"\n : \"通风\"), 1),\n _createVNode(_component_van_icon, {\n name: \"arrow-down\",\n class: _normalizeClass([childItem.workMode <= 1 ? 'disable-color' : '', \"adjust-icon\"]),\n onClick: ($event: any) => (_ctx.changeChildItemAir('model', childItem, 'down'))\n }, null, 8, [\"class\", \"onClick\"]),\n _hoisted_49\n ])\n ], 4)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport {\n defineComponent,\n onMounted,\n reactive,\n toRefs,\n computed,\n watch,\n onUnmounted,\n onBeforeMount,\n onBeforeUnmount,\n nextTick,\n} from \"vue\";\nimport { Switch, Dialog, Toast } from \"vant\";\nimport { swiper } from \"@/utils/swiper\";\nimport { querySpaceConditioners, setSpaceCondtioners } from \"@/apis/envmonitor\";\nimport { parseImgUrl, setQueryConfig } from \"@/utils\";\nimport any = jasmine.any;\n\nexport default defineComponent({\n props: {\n temperature: {\n // 空调基本信息\n type: Number,\n default: () => 0,\n },\n hasAir: {\n // 有无空调\n type: Boolean,\n default: () => false,\n },\n airVolumes: {\n // 风量信息\n type: Array,\n default: () => [],\n },\n projectId: {\n type: String,\n default: () => \"\",\n },\n spaceId: {\n type: String,\n default: () => \"\",\n },\n userIsControl: {\n type: Boolean,\n default: () => false,\n },\n forceOverTimeFlag: {\n type: Boolean,\n default: () => false,\n },\n },\n components: {\n Switch,\n [Dialog.Component.name]: Dialog.Component,\n },\n setup(props, contx) {\n const propsVal = props;\n let airData: any = {\n avg: \"\", // 算法调节温度(目标值)\n icon: 1, // 固定框文案ID 7 为关机,其它都是开机\n spaceStatus: \"\", // 固定框文案展示\n notice: \"\", // 弹框文案展示\n mode: 0, // 模式\n tempSet: 0, // 温度\n maxTempSet: 32,\n minTempSet: 16,\n isAutoGear: 0,\n workMode: 0, //1=cold(制冷);2=hot(制热);3=wind(通风)\n gear: 0, // 风量\n isOpen: false, // 空调开关 true 是开\n runStatus: 0, // 查询设备的真实状态\n };\n const feedbackTimer: any = null;\n const airTimer: any = null;\n const domAirOpeen: any = false;\n let realTemp: any = 16;\n let windGearArr: any = [0, 1, 2, 3];\n let equipList: any = [];\n const proxyData = reactive({\n equipList: equipList,\n cotrolLoading: false,\n loadingTimer: 0,\n airTemp: 0, // 设备真实温度\n loadingAir: false,\n windGearArr: windGearArr, // 风量3/5个档位\n lightIcon: \"arrow-down\",\n showChild: false,\n realTemp: realTemp,\n temperature: props.temperature,\n userIsControl: props.userIsControl,\n forceOverTimeFlag: props.forceOverTimeFlag,\n firstLoadingAir: true,\n domAirOpeen: domAirOpeen,\n feedbackTimer: feedbackTimer,\n swiperIinit: false,\n parseImgUrl: parseImgUrl,\n part: 1,\n airData: airData,\n modeName: \"\",\n showAirVolumeBtn: false, // 是否展示风量调节按钮\n showDialog: false,\n airTimer: airTimer,\n airSetText: {\n // 空调反馈文案\n notice: \"\",\n remark: [],\n nowImg: \"\",\n toWhere: \"\",\n designTemperature: 0,\n },\n // 点击展示所有的登录\n showAll() {\n proxyData.showChild = !proxyData.showChild;\n if (proxyData.lightIcon === \"arrow-up\") {\n proxyData.lightIcon = \"arrow-down\";\n } else {\n proxyData.lightIcon = \"arrow-up\";\n }\n proxyData.barSwiperInit();\n },\n // 设置温度条的位置\n setBarNowPerstion() {\n let left: any =\n ((proxyData.airTemp - proxyData.airData.minTempSet) / 0.5) *\n proxyData.part;\n left = Math.floor(left);\n proxyData.realTemp = proxyData.airTemp;\n let barBox: any = document.querySelector(\"#barId\");\n if (barBox) {\n barBox.style.left = left + \"px\";\n }\n },\n // 滑动\n endBoxSwiper() {\n proxyData.swiperIinit = true;\n let handBox: any = document.querySelector(\"#handId\");\n let barBox: any = document.querySelector(\"#barId\");\n let sliderBox: any = document.querySelector(\"#sliderId\");\n let isMove: any = false;\n let barLeft: any = 0;\n let sliderWidth: any = sliderBox.offsetWidth;\n let barWidth: any = barBox.offsetWidth;\n let tempPart =\n (proxyData.airData.maxTempSet - proxyData.airData.minTempSet) / 20;\n let part: any = 0.5 / (tempPart / (Math.floor(sliderWidth) / 22));\n proxyData.part = part;\n handBox.addEventListener(\"touchstart\", function (e: any) {\n barLeft = isNaN(parseInt(barBox.style.left))\n ? 0\n : parseInt(barBox.style.left);\n isMove = false;\n });\n handBox.addEventListener(\"touchend\", function (e: any) {\n proxyData.changeZongAir(\"temp\", proxyData.realTemp);\n });\n swiper(handBox, {\n swipeLeft: function (e: any) {\n barLeft = Math.abs(barLeft);\n let moveRealX: any = Math.abs(e.mation.moveX - e.mation.startX);\n let left: any = barLeft - moveRealX;\n left = left < 0 ? 0 : left;\n barBox.style.left = left + \"px\";\n proxyData.realTemp =\n proxyData.airData.minTempSet + Math.ceil(left / part) * 0.5;\n },\n swipeRight: function (e: any) {\n barLeft = Math.abs(barLeft);\n let moveRealX: any = Math.abs(e.mation.moveX - e.mation.startX);\n let left: any = barLeft + moveRealX;\n left = left > sliderWidth ? sliderWidth - barWidth : left;\n barBox.style.left = left + \"px\";\n proxyData.realTemp =\n proxyData.airData.minTempSet + Math.ceil(left / part) * 0.5;\n if (proxyData.realTemp > proxyData.airData.maxTempSet) {\n proxyData.realTemp = proxyData.airData.maxTempSet;\n }\n },\n });\n },\n // 格式化模式\n formateModel(childItem: any) {\n if (childItem.workMode) {\n if (childItem.workMode == 1) {\n childItem.modeName = \"制冷\";\n } else if (childItem.workMode == 2) {\n childItem.modeName = \"制热\";\n } else if (childItem.workMode == 3) {\n childItem.modeName = \"通风\";\n } else if (childItem.workMode == 4) {\n childItem.modeName = \"AUTO\";\n }\n } else {\n childItem.modeName = \"\";\n }\n },\n // 定时获取空调状态\n getAirInfoToTimer(timerLong: any = 15000) {\n if (proxyData.airTimer) {\n clearTimeout(proxyData.airTimer);\n }\n proxyData.airTimer = setTimeout(function () {\n proxyData.getAirInfo();\n }, timerLong);\n },\n // 计算loading时间\n setLoadingNumber() {\n let timer: any = setInterval(() => {\n proxyData.loadingTimer++;\n console.log(proxyData.loadingTimer);\n if (proxyData.loadingTimer >= 15) {\n clearInterval(timer);\n proxyData.loadingAir = false;\n proxyData.getAirInfoToTimer(0);\n }\n }, 1000);\n },\n // 格式化空调数据\n formatAirData(btnType: any, text: any) {\n let obj: any = {};\n if (btnType == \"temp\") {\n obj.codeKey = \"tempSetCode\";\n obj.value = text;\n }\n if (btnType == \"gear\" && text == \"windLow\") {\n //降挡\n if (proxyData.airData.gear > 1) {\n proxyData.airData.gear--;\n proxyData.airData.isAutoGear = 0;\n obj.value = proxyData.airData.gear;\n obj.codeKey = \"gearCode\";\n } else {\n return;\n }\n }\n if (btnType == \"gear\" && text == \"windUp\") {\n //升档\n if (proxyData.airData.gear < 3) {\n proxyData.airData.gear++;\n proxyData.airData.isAutoGear = 0;\n obj.value = proxyData.airData.gear;\n obj.codeKey = \"gearCode\";\n } else {\n return;\n }\n }\n if (btnType == \"gear\" && text == \"auto\") {\n proxyData.airData.isAutoGear = 1;\n obj.value = proxyData.airData.isAutoGear ? 4 : proxyData.airData.gear;\n obj.codeKey = \"gearCode\";\n }\n if (btnType == \"mode\") {\n proxyData.airData.workMode = text;\n obj.codeKey = \"modeSetCode\";\n obj.value = text;\n }\n return obj;\n },\n /**\n * 加载loading\n */\n loadingStart() {\n proxyData.cotrolLoading = true;\n },\n /**\n * 结束\n */\n loadinngEnd() {\n proxyData.cotrolLoading = false;\n },\n // 计算loading时间\n setChildLoadingNumber(childItem: any) {\n childItem.loadingTimer = 1;\n let timer: any = setInterval(() => {\n childItem.loadingTimer++;\n if (childItem.loadingTimer >= 15) {\n clearInterval(timer);\n childItem.loadingTimer = 0;\n proxyData.getAirInfoToTimer(0);\n }\n console.log(\"===\");\n console.log(childItem.loadingTimer);\n }, 1000);\n },\n // 连续点击2秒内未点击才发指令\n childDisabled(childItem: any, data: any) {\n clearTimeout(childItem.timeOuter);\n childItem.timeOuter = setInterval(() => {\n childItem.num--;\n if (childItem.num == 0) {\n proxyData.setSpaceCondtioners(data);\n clearTimeout(childItem.timeOuter);\n }\n }, 1000);\n },\n // 子设备降低温度\n changeChildItemAir(btnType: any, childItem: any, symbol: any) {\n if (!childItem.isOpen && btnType !== \"switch\") {\n return;\n }\n let arr: any = [];\n if (btnType === \"switch\") {\n if (childItem.loadingTimer >= 1 && childItem.loadingTimer <= 15) {\n return;\n }\n childItem.isOpen = !childItem.isOpen;\n proxyData.setChildLoadingNumber(childItem);\n let obj: any = {\n id: childItem.id, //类型:String 必有字段 备注:设备id\n code: childItem.switchCode, //类型:String 必有字段 备注:编码 EquipSwtichSet\n value: childItem.isOpen ? \"1\" : \"0\", //类型:String 必有字段 备注:值 0\n };\n arr.push(obj);\n // loadig的状态\n } else if (btnType === \"temp\") {\n childItem.num = 2;\n if (\n childItem.tempSet <= proxyData.airData.minTempSet ||\n childItem.tempSet >= proxyData.airData.maxTempSet\n ) {\n return;\n }\n if (symbol === \"up\") {\n childItem.tempSet = childItem.tempSet + 0.5;\n } else if (symbol === \"down\") {\n childItem.tempSet = childItem.tempSet - 0.5;\n }\n let obj: any = {\n id: childItem.id, //类型:String 必有字段 备注:设备id\n code: childItem.tempSetCode, //类型:String 必有字段 备注:编码 EquipSwtichSet\n value: childItem.tempSet, //类型:String 必有字段 备注:值 0\n };\n arr.push(obj);\n proxyData.childDisabled(childItem, arr);\n } else if (btnType === \"gear\") {\n if (symbol === \"up\") {\n if (childItem.isAutoGear) {\n return;\n }\n if (childItem.gear >= 3) {\n childItem.isAutoGear = 1;\n } else {\n childItem.gear++;\n childItem.isAutoGear = 0;\n }\n } else if (symbol === \"down\") {\n if (!childItem.isAutoGear && childItem.gear <= 1) {\n return;\n }\n if (childItem.isAutoGear) {\n childItem.isAutoGear = 0;\n childItem.gear = 3;\n } else {\n childItem.gear--;\n }\n }\n let obj: any = {\n id: childItem.id, //类型:String 必有字段 备注:设备id\n code: childItem.gearCode, //类型:String 必有字段 备注:编码 EquipSwtichSet\n value: childItem.isAutoGear ? 4 : childItem.gear, //类型:String 必有字段 备注:值 0\n };\n arr.push(obj);\n } else if (btnType === \"model\") {\n if (symbol === \"up\") {\n if (childItem.workMode >= 3) {\n return;\n }\n childItem.workMode++;\n } else if (symbol === \"down\") {\n if (childItem.workMode <= 1) {\n return;\n }\n childItem.workMode--;\n }\n let obj: any = {\n id: childItem.id, //类型:String 必有字段 备注:设备id\n code: childItem.modeSetCode, //类型:String 必有字段 备注:编码 EquipSwtichSet\n value: childItem.workMode, //类型:String 必有字段 备注:值 0\n };\n arr.push(obj);\n }\n console.log(\"====\");\n console.log(arr);\n // 修改单个设备的状态\n if (btnType !== \"temp\") {\n proxyData.setSpaceCondtioners(arr);\n }\n },\n // 改变设备状态\n setSpaceCondtioners(data: any) {\n setSpaceCondtioners(data)\n .then((res) => {\n // proxyData.setLoadingNumber();\n proxyData.loadinngEnd();\n })\n .catch(() => {\n // proxyData.setLoadingNumber();\n proxyData.loadinngEnd();\n });\n },\n // 改变空调状态\n changeZongAir(btnType: any, text: any) {\n if (!airData.runStatus) return;\n let equpObj: any = proxyData.formatAirData(btnType, text);\n if (equpObj.value) {\n let data: any = [];\n proxyData.equipList.map((item: any) => {\n let obj: any = {\n id: item.id, //类型:String 必有字段 备注:设备id\n code: item[equpObj.codeKey], //类型:String 必有字段 备注:编码 EquipSwtichSet\n value: equpObj.value, //类型:String 必有字段 备注:值 0\n };\n data.push(obj);\n });\n console.log(\"设备数据处理---\");\n console.log(data);\n if (!proxyData.cotrolLoading) {\n proxyData.loadingStart();\n // 调整设备状态\n proxyData.setSpaceCondtioners(data);\n }\n }\n },\n // 总控制改变空调状态\n airChange() {\n // 先不更新状态等确认框弹出后再更新状\n proxyData.airData.isOpen = !proxyData.airData.isOpen;\n proxyData.loadingAir = true;\n proxyData.loadingTimer = 0;\n clearTimeout(proxyData.airTimer);\n proxyData.setLoadingNumber();\n let data: any = [];\n proxyData.equipList.map((item: any) => {\n let obj: any = {\n id: item.id, //类型:String 必有字段 备注:设备id\n code: item.switchCode, //类型:String 必有字段 备注:编码 EquipSwtichSet\n value: proxyData.airData.isOpen ? \"1\" : \"0\", //类型:String 必有字段 备注:值 0\n };\n data.push(obj);\n });\n // 设备状态处理\n proxyData.setSpaceCondtioners(data);\n },\n // 设置子设备的状态\n formateSetChildStatus() {\n proxyData.equipList.map((item: any) => {\n item.isOpen = item.runStatus === 1 ? true : false;\n });\n },\n // 初始化滚动\n barSwiperInit() {\n if (proxyData.airData.isOpen && !proxyData.showChild) {\n if (!proxyData.swiperIinit) {\n nextTick(() => {\n proxyData.endBoxSwiper();\n proxyData.setBarNowPerstion();\n });\n } else {\n nextTick(() => {\n proxyData.setBarNowPerstion();\n });\n }\n }\n },\n // 空调信息airTemp\n getAirInfo() {\n const paramObj = {\n // // projectId: props.projectId, //'Pj1101080255'\n // projectId: \"Pj1101080255\",\n // spaceId: \"Sp110108025564f438d7fef64eea8202a6462f1bbcce\",\n spaceId: props.spaceId,\n // spaceId: props.spaceId,//'Sp110108025564f438d7fef64eea8202a6462f1bbcce' 空间id\n };\n //wx.showLoading();\n let str: any = setQueryConfig(paramObj);\n querySpaceConditioners(str)\n .then((res) => {\n let data: any = res.data || {};\n proxyData.firstLoadingAir = false;\n proxyData.loadingAir = false;\n proxyData.airTemp = data.tempSet;\n proxyData.airData.maxTempSet = data.maxTempSet;\n proxyData.airData.minTempSet = data.minTempSet;\n proxyData.airData.isOpen = data.runStatus ? true : false;\n proxyData.airData.runStatus = data.runStatus;\n proxyData.airData.isAutoGear = data.isAutoGear;\n proxyData.airData.gear = data.gear;\n proxyData.airData.workMode = data.workMode;\n proxyData.equipList = data.equipList;\n // 设置子设备的状态\n proxyData.formateSetChildStatus();\n // 设置当前温度的位置\n if (proxyData.airData.isOpen) {\n proxyData.airData.airImg = parseImgUrl(\n \"page-officehome\",\n \"openair.png\"\n );\n } else {\n proxyData.airData.airImg = parseImgUrl(\n \"page-officehome\",\n \"air_close.png\"\n );\n }\n proxyData.barSwiperInit();\n proxyData.getAirInfoToTimer();\n })\n .catch(() => {});\n },\n });\n watch(props, (newProps: any) => {\n if (newProps.spaceId) {\n // proxyData.getAirInfo();\n }\n proxyData.temperature = props.temperature;\n proxyData.userIsControl = newProps.userIsControl;\n proxyData.forceOverTimeFlag = newProps.forceOverTimeFlag;\n });\n onBeforeUnmount(() => {\n if (proxyData.airTimer) {\n clearTimeout(proxyData.airTimer);\n proxyData.airTimer = null;\n }\n if (proxyData.feedbackTimer) {\n clearTimeout(proxyData.feedbackTimer);\n proxyData.feedbackTimer = null;\n }\n });\n onMounted(() => {\n proxyData.getAirInfo();\n // 获取空调信息\n });\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./manualIndex.vue?vue&type=template&id=5be753e7&scoped=true&ts=true\"\nimport script from \"./manualIndex.vue?vue&type=script&lang=ts\"\nexport * from \"./manualIndex.vue?vue&type=script&lang=ts\"\n\nimport \"./manualIndex.vue?vue&type=style&index=0&id=5be753e7&lang=scss&scoped=true\"\nimport \"./manualIndex.vue?vue&type=style&index=1&id=5be753e7&lang=scss\"\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-5be753e7\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, resolveComponent as _resolveComponent, createVNode as _createVNode, withModifiers as _withModifiers, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4d4ee037\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"light\"\n}\nconst _hoisted_2 = { class: \"light-top\" }\nconst _hoisted_3 = { class: \"light-desc\" }\nconst _hoisted_4 = { class: \"light-title\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"显示全部\", -1))\nconst _hoisted_6 = { class: \"light-right\" }\nconst _hoisted_7 = [\"src\"]\nconst _hoisted_8 = { class: \"control-title\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_van_icon = _resolveComponent(\"van-icon\")!\n const _component_Switch = _resolveComponent(\"Switch\")!\n\n return (_ctx.lampList && _ctx.lampList.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(_ctx.isShowChildLight ? \"光照\" : _ctx.lampList[0].localName), 1),\n _createElementVNode(\"p\", {\n class: _normalizeClass(_ctx.isShowChildLight ? 'light-status' : 'light-status')\n }, _toDisplayString(_ctx.lampSw ? \"照明已开启\" : \"照明已关闭\"), 3),\n (_ctx.isShowChildLight)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"show-all\",\n onClick: _cache[0] || (_cache[0] = _withModifiers(\n//@ts-ignore\n(...args) => (_ctx.showAll && _ctx.showAll(...args)), [\"stop\"]))\n }, [\n _createVNode(_component_van_icon, {\n name: _ctx.lightIcon,\n class: \"light-icon\"\n }, null, 8, [\"name\"]),\n _hoisted_5\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"img\", {\n src: _ctx.lightImg,\n alt: \"\"\n }, null, 8, _hoisted_7),\n (!_ctx.showFlag)\n ? (_openBlock(), _createBlock(_component_Switch, {\n key: 0,\n disabled: !_ctx.userIsControl,\n modelValue: _ctx.lampSw,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.lampSw) = $event)),\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.eqChange('allLamp', '', 0))),\n \"inactive-color\": \"rgba(196, 196, 196, 0.4)\",\n class: \"switch-btn\"\n }, null, 8, [\"disabled\", \"modelValue\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_ctx.showFlag && _ctx.isShowChildLight)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(_ctx.lampList, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"light-control\",\n key: item.id\n }, [\n _createElementVNode(\"div\", _hoisted_8, _toDisplayString(item.localName), 1),\n _createVNode(_component_Switch, {\n \"active-color\": \"$elActiveColor\",\n disabled: !_ctx.userIsControl,\n modelValue: item.switch,\n \"onUpdate:modelValue\": ($event: any) => ((item.switch) = $event),\n onClick: ($event: any) => (_ctx.eqChange('main', item, index)),\n \"inactive-color\": \"rgba(196, 196, 196, 0.2)\",\n class: \"switch-btn\"\n }, null, 8, [\"disabled\", \"modelValue\", \"onUpdate:modelValue\", \"onClick\"])\n ]))\n }), 128))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n}","\nimport {\n defineComponent,\n computed,\n onMounted,\n reactive,\n toRefs,\n getCurrentInstance,\n watch,\n onBeforeMount,\n onUnmounted,\n onBeforeUnmount,\n} from \"vue\";\nimport { Switch, Toast } from \"vant\";\nimport { getLampHttp, getStatusHttp, setallLampHttp } from \"@/apis/envmonitor\";\nimport { parseImgUrl } from \"@/utils\";\n\nexport default defineComponent({\n props: {\n projectId: {\n type: String,\n default: () => \"\",\n },\n spaceId: {\n type: String,\n default: () => \"\",\n },\n userIsControl: {\n type: Boolean,\n default: () => false,\n },\n forceOverTimeFlag: {\n type: Boolean,\n default: () => false,\n },\n },\n components: { Switch },\n setup(props, contx) {\n const lampList: any = [];\n let lightsStatusTimer: any = null;\n const timeOut: any = null;\n const initData: any = [];\n let lightParams: any = [];\n const proxyData = reactive({\n userIsControl: props.userIsControl,\n forceOverTimeFlag: props.forceOverTimeFlag,\n setStatus: false,\n lightParams: lightParams,\n allowSvg: \"down_Arrow.svg\",\n timeOut: timeOut,\n lightIcon: \"arrow-down\",\n showFlag: false,\n loadingLight: false,\n initData: initData,\n lampList: lampList,\n lightsStatusTimer: lightsStatusTimer,\n startCheckLightsTime: 0,\n lightImg: parseImgUrl(\"page-officehome\", \"lamp_close_v2.png\"),\n lampSw: false, // 主灯开关\n // 点击展示所有的登录\n showAll() {\n proxyData.showFlag = !proxyData.showFlag;\n proxyData.lightIcon = \"arrow-down\";\n },\n // 获取灯的状态\n getLampList() {\n getLampHttp({ spaceId: props.spaceId })\n .then((res) => {\n const resData: any = res;\n if (!proxyData.setStatus) {\n if (resData && resData.result == \"success\") {\n let content = resData?.content ?? [];\n let lampOpen = false; // 如果有一个开 则总灯开\n for (let i = 0; i < content.length; i++) {\n content[i].type = \"lamp\";\n content[i].imgOpen = parseImgUrl(\n \"page-officehome\",\n \"lampch_open.png\"\n );\n content[i].imgClose = parseImgUrl(\n \"page-officehome\",\n \"lampch_close.png\"\n );\n content[i].switch = content[i].runStatus ? true : false;\n if (content[i].runStatus) {\n lampOpen = true;\n }\n content[i].loading = false;\n }\n proxyData.initData = JSON.parse(JSON.stringify(content)); // 灯的数据\n proxyData.lampSw = lampOpen; // 主灯开关\n proxyData.lampList = content;\n proxyData.lightImg = proxyData.lampSw\n ? parseImgUrl(\"page-officehome\", \"lamp_open_v2.png\")\n : parseImgUrl(\"page-officehome\", \"lamp_close_v2.png\");\n }\n }\n console.log(\"执行了----====\");\n proxyData.startLightsStatusTimer();\n })\n .catch(() => {\n proxyData.startLightsStatusTimer();\n });\n },\n // 调整灯\n eqChange(type: any, item: any, index: any) {\n if (proxyData.userIsControl) {\n // debugger\n if (type === \"allLamp\") {\n if (proxyData.forceOverTimeFlag && proxyData.lampSw) {\n // 强制加班开灯\n contx.emit(\"triggerWork\");\n return;\n }\n // 总开关按钮所有灯\n // 当前要执行的灯的操作\n proxyData.loadingLight = true;\n // const statusFlag = !proxyData.lampSw\n // console.log('proxyData.lampSw==')\n const statusFlag = proxyData.lampSw;\n // 瞬间修改状态\n proxyData.setStatus = true;\n proxyData.updateAllLampStatus(statusFlag);\n proxyData.setLamp(type, \"\", statusFlag, 0); // 调接口\n } else {\n if (proxyData.forceOverTimeFlag && item.switch) {\n // 强制加班开灯\n contx.emit(\"triggerWork\");\n return;\n }\n //当前要执行的灯的操作\n // 按钮loading\n item.loading = true;\n const statusFlag: any = item.switch;\n let id = item.id;\n proxyData.setStatus = true;\n proxyData.updateLampStatus(item, statusFlag);\n proxyData.setLamp(type, id, statusFlag, index); // 调接口\n }\n } else {\n Toast(\"您没有当前空间的控制权限!\");\n }\n },\n // 控制灯的接口\n setLamp(type: string, id: any, statusFlag: any, index: any) {\n let params: any = [];\n if (type === \"allLamp\") {\n for (let i = 0; i < proxyData.initData.length; i++) {\n proxyData.initData[i].switch = statusFlag;\n }\n params = proxyData.initData;\n } else {\n params = [\n {\n id: id,\n switch: statusFlag,\n },\n ];\n }\n proxyData.lightParams = params;\n // 调服务端的接口像后台发送灯的操作的指令\n setallLampHttp(params)\n .then((res) => {\n const resData: any = res;\n // set成功后1s关闭定时器\n setTimeout(() => {\n proxyData.setStatus = false;\n }, 1000);\n if (resData.result === \"success\") {\n // const checkData: any = proxyData.judgeChangeResponeseSuccess(resData)\n // proxyData.getTimeLampStatus(checkData, type, id, statusFlag, index)\n } else {\n proxyData.initLampLoading();\n }\n })\n .catch(() => {\n setTimeout(() => {\n proxyData.setStatus = false;\n }, 1000);\n });\n },\n // 报错后关闭灯的loading\n initLampLoading() {\n proxyData.loadingLight = false;\n proxyData.lampList.map((item: any) => {\n item.loading = false;\n });\n },\n //手动修改灯的状态\n updateAllLampStatus(statusFlag: any) {\n proxyData.lampSw = statusFlag;\n for (let i = 0; i < proxyData.lampList.length; i++) {\n proxyData.lampList[i].switch = statusFlag;\n // if (proxyData.lampList[i].type == 'lamp') {\n // }\n }\n },\n // 单个灯的状态修改\n updateLampStatus(item: any, statusFlag: any) {\n item.switch = statusFlag;\n // let flag: any = true\n // for (let i = 0; i < proxyData.lampList.length; i++) {\n // if (proxyData.lampList[i].type == 'lamp') {\n // if (proxyData.lampList[i].switch !== statusFlag) {\n // flag = false\n // break\n // }\n // }\n // }\n },\n // 轮询查看状态\n getTimeLampStatus(\n checkData: any,\n type: any,\n id: any,\n statusFlag: any,\n index: any\n ) {\n if (checkData[\"success\"] && checkData[\"success\"].length) {\n if (type === \"allLamp\") {\n // 点击主灯按钮\n proxyData.updateAllLampLoading(checkData[\"success\"]); // 所有灯\n } else {\n // 当个的时候修改loading的状态\n proxyData.updateLampLoading(index);\n }\n proxyData.getLampList();\n }\n if (checkData[\"processing\"] && checkData[\"processing\"].length) {\n let checkParams: any = proxyData.lightParams;\n let processArr: any = checkData[\"processing\"];\n let params: any = [];\n processArr.map((item: any) => {\n let obj: any = {\n id: item.id,\n orderSeqNum: item.orderSeqNum,\n };\n for (let i = 0; i < checkParams.length; i++) {\n if (item.id === checkParams[i].id) {\n obj.switch = checkParams[i].switch;\n break;\n }\n }\n params.push(obj);\n });\n proxyData.checkChangeLightStatusSuccess(\n params,\n type,\n id,\n statusFlag,\n index\n );\n }\n if (checkData[\"error\"] && checkData[\"error\"].length) {\n if (type === \"allLamp\") {\n // 点击主灯按钮\n proxyData.updateAllLampLoading(checkData[\"error\"]); // 所有灯\n } else {\n // 当个的时候修改loading的状态\n proxyData.updateLampLoading(index);\n }\n }\n },\n // 查看指令是否成功完成\n judgeChangeResponeseSuccess(resData: any) {\n let data: any = resData?.content ?? [];\n let processingArr: any = [];\n let successArr: any = [];\n let errorArr: any = [];\n for (let i = 0; i < data.length; i++) {\n let item: any = data[i];\n if ((item.result = \"success\")) {\n if (item.state === 200 && item.exeResult === \"success\") {\n successArr.push(item);\n } else if (\n (item.state === 200 && item.exeResult === \"processing:rcvd\") ||\n (item.state === 202 && !item.exeResult)\n ) {\n processingArr.push(item);\n } else {\n errorArr.push(item);\n }\n } else {\n errorArr.push(item);\n }\n }\n let obj: any = {\n success: successArr,\n processing: processingArr,\n error: errorArr,\n };\n return obj;\n },\n // 操作成功后更新所有灯的真实状态\n updateAllLampLoading(arr: any) {\n for (let i = 0; i < proxyData.lampList.length; i++) {\n if (proxyData.lampList[i].type == \"lamp\") {\n arr.map((item: any) => {\n if (proxyData.lampList[i].id === item.id) {\n proxyData.lampList[i].loading = false;\n }\n });\n }\n }\n let loadingLen = proxyData.lampList.filter((item: any) => {\n return item.loading;\n });\n if (loadingLen.length === 0) {\n proxyData.loadingLight = false;\n }\n },\n // 动态切换主灯的状态\n updateLampLoading(index: any) {\n proxyData.lampList[index].loading = false;\n },\n // 灯的指令完成后更新状态\n checkChangeLightStatusSuccess(\n checkParams: any,\n type: any,\n id: any,\n value: any,\n index: any\n ) {\n // 轮询查询灯的状态\n getStatusHttp(checkParams).then((res) => {\n const resData: any = res;\n const checkData: any = proxyData.judgeChangeResponeseSuccess(resData);\n proxyData.getTimeLampStatus(checkData, type, id, value, index);\n });\n },\n // 定时刷新接口\n startLightsStatusTimer() {\n if (proxyData.lightsStatusTimer) {\n window.clearTimeout(proxyData.lightsStatusTimer);\n proxyData.lightsStatusTimer = null;\n }\n proxyData.lightsStatusTimer = window.setTimeout(() => {\n proxyData.getLampList();\n }, 2000);\n },\n });\n const isShowChildLight = computed(() => {\n return proxyData.lampList.length && proxyData.lampList.length > 1;\n });\n watch(\n props,\n (newProps: any) => {\n if (newProps.spaceId) {\n // 空间id改变的重新获取值调用接口\n console.log(\"spaceid变化了=======\");\n proxyData.startLightsStatusTimer();\n }\n // 定时调空间信息\n proxyData.userIsControl = newProps.userIsControl;\n proxyData.forceOverTimeFlag = newProps.forceOverTimeFlag;\n },\n {\n deep: false,\n immediate: true,\n }\n );\n onBeforeUnmount(() => {\n if (proxyData.lightsStatusTimer) {\n window.clearTimeout(proxyData.lightsStatusTimer);\n proxyData.lightsStatusTimer = null;\n }\n });\n onMounted(() => {\n // console.log('空间切换====d')\n // 获取空调信息\n proxyData.getLampList();\n // proxyData.startLightsStatusTimer()\n });\n return {\n isShowChildLight,\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=4d4ee037&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=4d4ee037&lang=scss&scoped=true\"\nimport \"./index.vue?vue&type=style&index=1&id=4d4ee037&class=style&lang=scss\"\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-4d4ee037\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e5733310\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"curtain\"\n}\nconst _hoisted_2 = { class: \"curtain-top\" }\nconst _hoisted_3 = { class: \"curtain-desc\" }\nconst _hoisted_4 = { class: \"curtain-title\" }\nconst _hoisted_5 = { class: \"curtain-status\" }\nconst _hoisted_6 = { class: \"curtain-tip\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"显示全部\", -1))\nconst _hoisted_8 = { class: \"curtain-right\" }\nconst _hoisted_9 = [\"src\"]\nconst _hoisted_10 = {\n key: 0,\n class: \"curtain-control\"\n}\nconst _hoisted_11 = {\n key: 0,\n class: \"timer-text\"\n}\nconst _hoisted_12 = [\"src\"]\nconst _hoisted_13 = {\n key: 0,\n class: \"timer-text\"\n}\nconst _hoisted_14 = [\"src\"]\nconst _hoisted_15 = { class: \"child-title\" }\nconst _hoisted_16 = { class: \"curtain-control\" }\nconst _hoisted_17 = [\"onClick\"]\nconst _hoisted_18 = {\n key: 0,\n class: \"timer-text\"\n}\nconst _hoisted_19 = [\"src\"]\nconst _hoisted_20 = [\"onClick\"]\nconst _hoisted_21 = {\n key: 0,\n class: \"timer-text\"\n}\nconst _hoisted_22 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_van_icon = _resolveComponent(\"van-icon\")!\n\n return (_ctx.curtainData && _ctx.curtainData.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(_ctx.curtainData.length && _ctx.curtainData.length == 1 ? _ctx.curtainData[0].name : '窗帘'), 1),\n _createElementVNode(\"p\", _hoisted_5, [\n _createElementVNode(\"span\", _hoisted_6, _toDisplayString(_ctx.countText), 1)\n ]),\n (_ctx.isShowChildLight)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"show-all\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.showAll && _ctx.showAll(...args)))\n }, [\n _createVNode(_component_van_icon, {\n name: _ctx.lightIcon,\n class: \"curtain-icon\"\n }, null, 8, [\"name\"]),\n _hoisted_7\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('page-officehome','curtain-img.svg'),\n alt: \"\"\n }, null, 8, _hoisted_9),\n (!_ctx.showFlag)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"control-item mr10\", {'box-active':_ctx.curtainClose && _ctx.count,'control-item-disabled':!_ctx.userIsControl}]),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.handleTotal('EquipOffSet')))\n }, [\n (_ctx.curtainClose && _ctx.count)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_11, _toDisplayString(_ctx.count), 1))\n : (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n src: _ctx.parseImgUrl('page-officehome','curtain-close.png'),\n alt: \"\"\n }, null, 8, _hoisted_12))\n ], 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"control-item\", {'box-active':_ctx.curtainOpen && _ctx.count,'control-item-disabled':!_ctx.userIsControl}]),\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.handleTotal('EquipOnSet')))\n }, [\n (_ctx.curtainOpen && _ctx.count)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_13, _toDisplayString(_ctx.count), 1))\n : (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n src: _ctx.parseImgUrl('page-officehome','curtain-open.png'),\n alt: \"\"\n }, null, 8, _hoisted_14))\n ], 2)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_ctx.showFlag)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(_ctx.curtainData, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"child-curtain\",\n key: item.id\n }, [\n _createElementVNode(\"div\", _hoisted_15, _toDisplayString(item.name), 1),\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"control-item mr10\", {'box-active':item.curtainClose && _ctx.count,'control-item-disabled':!_ctx.userIsControl}]),\n onClick: ($event: any) => (_ctx.handleChild('EquipOffSet',item.id,index))\n }, [\n (item.curtainClose && _ctx.count)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_18, _toDisplayString(_ctx.count), 1))\n : (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n src: _ctx.parseImgUrl('page-officehome','curtain-close.png'),\n alt: \"\"\n }, null, 8, _hoisted_19))\n ], 10, _hoisted_17),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"control-item\", {'box-active':item.curtainOpen && _ctx.count,'control-item-disabled':!_ctx.userIsControl}]),\n onClick: ($event: any) => (_ctx.handleChild('EquipOnSet',item.id,index))\n }, [\n (item.curtainOpen && _ctx.count)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_21, _toDisplayString(_ctx.count), 1))\n : (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n src: _ctx.parseImgUrl('page-officehome','curtain-open.png'),\n alt: \"\"\n }, null, 8, _hoisted_22))\n ], 10, _hoisted_20)\n ])\n ]))\n }), 128))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n}","\nimport { computed, defineComponent, onMounted, reactive, toRefs, watch } from 'vue'\nimport { getObjectDataEqpGroupHttp, setEquipeHttp } from '@/apis/envmonitor'\nimport { parseImgUrl } from '@/utils'\nimport { Toast } from 'vant'\n\nexport default defineComponent({\n props: {\n projectId: {\n type: String,\n default: () => ''\n },\n spaceId: {\n type: String,\n default: () => ''\n },\n userIsControl: {\n type: Boolean,\n default: () => false\n }\n },\n setup(props) {\n let curtainData: any = []\n let timer: any = null\n let projectId: any = props.projectId\n const proxyData = reactive({\n curtainData: curtainData,\n userIsControl: props.userIsControl,\n lightIcon: 'arrow-down',\n showFlag: false,\n projectId: projectId,\n countText: '', // 到记时文案\n count: 0, // 到记时\n curtainOpen: false,\n curtainClose: false,\n parseImgUrl: parseImgUrl,\n timer: timer,\n // 获取窗帘列表\n getEqpGroup() {\n const params: any = {\n criteria: {\n projectId: props.projectId,\n spaceId: props.spaceId, // 空间ID\n type: 0 // 0.窗帘\n },\n orders: [\n {\n column: 'sortNum',\n asc: true\n }\n ]\n }\n getObjectDataEqpGroupHttp(params).then(res => {\n const resData: any = res\n proxyData.curtainData = resData.count ? resData.content : []\n for (let i = 0; i < proxyData.curtainData.length; i++) {\n let item = proxyData.curtainData[i]\n item.childDownFlag = false\n item.childUpFlag = false\n item.childCount = 2\n item.childCountText = ''\n }\n })\n },\n // 点击展示所有的登录\n showAll() {\n proxyData.showFlag = !proxyData.showFlag\n if (proxyData.showFlag) {\n proxyData.lightIcon = 'arrow-up'\n } else {\n proxyData.lightIcon = 'arrow-down'\n }\n },\n checkCount() {\n if (proxyData.count > 0) {\n return true\n } else {\n return false\n }\n },\n // 窗帘总开关\n handleTotal(setType: string) {\n if (proxyData.userIsControl) {\n let flag = proxyData.checkCount()\n /**\n * flag:true 代表指令正在发送中,false:代表当前没有指令在发送\n */\n if (!flag) { // 只要有一条指令在发送中,要求其它指令不能再发送\n proxyData.changeStatus(setType)\n let arr = JSON.parse(JSON.stringify(proxyData.curtainData)) // 窗帘数据\n let paramsArr = proxyData.setParams(arr, setType)\n // 更新窗帘的按钮可点击状态\n proxyData.setSwitchStatus(setType)\n // 发送窗帘指令\n setEquipeHttp(paramsArr).then(res => {\n })\n }\n } else {\n Toast('您没有当前空间的控制权限!')\n }\n },\n handleChild(setType: string, id: any, index: any) {\n if (proxyData.userIsControl) {\n let flag = proxyData.checkCount()\n /**\n * flag:true 代表指令正在发送中,false:代表当前没有指令在发送\n */\n if (!flag) { // 只要有一条指令在发送中,要求其它指令不能再发送\n let childItem: any = proxyData.curtainData[index]\n const params = {\n projectId: proxyData.projectId,\n objectId: id, // 设备ID/窗帘组ID\n equipmentCategory: 'CFSSES', // 设备编码 窗帘:CFSSES\n infoCode: setType, // 窗帘开设定:EquipOnSet 窗帘关设定:EquipOffSet\n value: 1 // 窗帘 1 移动/停止\n }\n let paramsArr = []\n paramsArr.push(params)\n // 更新窗帘的按钮可点击状态\n proxyData.changeStatus(setType, childItem)\n proxyData.setSwitchStatus(setType, childItem)\n // 发送窗帘指令\n setEquipeHttp(paramsArr).then(res => {\n })\n }\n } else {\n Toast('您没有当前空间的控制权限!')\n }\n },\n clearCurtain() {\n proxyData.curtainData.map((item: any) => {\n item.curtainClose = false\n item.curtainOpen = false\n proxyData.curtainClose = false\n proxyData.curtainOpen = false\n })\n },\n changeStatus(setType: any, item: any = null) {\n proxyData.clearCurtain()\n if (setType === 'EquipOffSet') {\n if (item) {\n item.curtainClose = true\n } else {\n proxyData.curtainClose = true\n }\n } else {\n if (item) {\n item.curtainOpen = true\n } else {\n proxyData.curtainOpen = true\n }\n }\n },\n // 窗帘状态数据\n setSwitchStatus(setType: any, item: any = null) {\n proxyData.count = 2 // 恢复count\n proxyData.countText = '指令下发中'\n proxyData.timer = setInterval(() => {\n if (proxyData.count === 0) {\n proxyData.countText = ''\n clearInterval(proxyData.timer)\n proxyData.clearCurtain()\n }\n if (proxyData.count === 1) {\n proxyData.countText = '再次点击停止窗帘'\n }\n if (proxyData.count > 0) {\n proxyData.count--\n } else {\n proxyData.count = 0\n }\n }, 1000)\n },\n // 设置发送给后台的窗帘数据\n setParams(arr: any, setType: any) {\n let paramsArr = []\n for (let i = 0; i < arr.length; i++) {\n let obj = {\n objectId: arr[i].id, // 设备ID/窗帘组ID\n equipmentCategory: 'CFSSES', // 设备编码 窗帘:CFSSES\n infoCode: setType, // 窗帘开设定:EquipOnSet 窗帘关设定:EquipOffSet\n value: 1\n }\n paramsArr.push(obj)\n }\n return paramsArr\n }\n })\n const isShowChildLight = computed(() => {\n return proxyData.curtainData.length && proxyData.curtainData.length > 1\n })\n watch(\n props,\n (newProps: any) => {\n if (newProps.spaceId) {\n // 当前空间的控制权限\n proxyData.getEqpGroup()\n proxyData.userIsControl = newProps.userIsControl\n }\n }\n )\n onMounted(() => {\n // 获取空调信息\n proxyData.getEqpGroup()\n })\n return {\n isShowChildLight,\n ...toRefs(proxyData)\n }\n }\n})\n","import { render } from \"./index.vue?vue&type=template&id=e5733310&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=e5733310&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-e5733310\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-18f3164f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"top\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", null, \"选择工作结束时间\")\n], -1))\nconst _hoisted_2 = { class: \"btns\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_van_picker = _resolveComponent(\"van-picker\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n (_openBlock(), _createBlock(_component_van_picker, {\n ref: \"picker\",\n \"show-toolbar\": false,\n \"default-index\": _ctx.defaultIndex,\n onChange: _ctx.onChange,\n loading: _ctx.loading,\n key: _ctx.account_type_value,\n columns: _ctx.columns\n }, null, 8, [\"default-index\", \"onChange\", \"loading\", \"columns\"])),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"span\", {\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.triggerComfirm && _ctx.triggerComfirm(...args))),\n class: \"btn btn_com\"\n }, \"确定\")\n ])\n ]))\n}","\nimport { Picker, Toast } from 'vant'\nimport { defineComponent, reactive, toRefs, ref, onBeforeMount, onMounted, onUpdated } from 'vue'\nimport { formatDate, getHours, getTomorrow } from '@/utils'\nimport { changeSetTimeHttp } from '@/apis/envmonitor'\nimport any = jasmine.any\n\nexport default defineComponent({\n props: {\n projectId: {\n type: String,\n default: () => ''\n },\n show: {\n type: Boolean,\n default: () => false\n },\n\n nextCusStartTime: { // 第二天 服务定制开始时间\n type: Number,\n default: () => 0\n },\n cusStartTime: { // 服务定制开始时间\n type: Number,\n default: () => 0\n },\n cusEndTime: { // 服务定制结束时间\n type: Number,\n default: () => 0\n },\n spaceId: {\n type: String,\n default: () => ''\n },\n currentValue: {\n type: Array,\n default: () => [0, 0]\n },\n workInfo: {\n type: Object,\n default: () => {\n }\n }\n },\n components: {\n VanPicker: Picker\n },\n setup(props, contx) {\n const picker: any = ref(null)\n const columns = [\n { values: ['今天', '明天'] },\n { values: [] },\n ]\n const timeList: any = []\n const checkValues: any = []\n const proxyData = reactive({\n columns: columns,\n loading: false,\n defaultIndex: 0,\n account_type_value: '0+3',\n checkValues: checkValues,\n timeList: timeList,\n tempVal: '',\n onChange(values: any) {\n if (values[0] !== proxyData.tempVal) {\n proxyData.loading = true\n proxyData.tempVal = values[0]\n }\n if (values[0] === '今天') {\n // proxyData.columns[1].values = []\n proxyData.formatColumns(0)\n } else {\n // proxyData.columns[1].values = []\n proxyData.formatColumns(1)\n }\n },\n setDefaultTime(col: number = 0, textTime: any) {\n proxyData.defaultIndex = col\n let timeArr: any = proxyData.columns[1].values\n let optIndex: any = 0\n timeArr.map((item: any, index: any) => {\n if (textTime === item) {\n optIndex = index\n }\n })\n picker.value.setColumnValue(col, textTime)\n let x: any = col ? '明天' : '今天'\n let time: any = textTime ? textTime : timeArr[0]\n // proxyData.checkValues = [x, time]\n // picker.value.setColumnIndex(col, optIndex)\n },\n formatColumns(curDate: any) {\n let arrTime = []\n if (curDate === 0) {\n // 今天\n let nowTime = getHours() // 当前小时\n let todayStart = 0\n let todayEnd = 0\n if (props.cusStartTime && nowTime + 2 < props.cusStartTime) {\n todayStart = nowTime + 1\n todayEnd = props.cusStartTime\n } else if (props.cusStartTime && (nowTime + 2) >= props.cusStartTime) {\n if (nowTime > props.cusEndTime) {\n todayStart = nowTime + 1\n todayEnd = 24\n } else {\n // 逻辑有问题吧\n todayStart = props.cusEndTime + 1\n todayEnd = 24\n }\n } else if (!props.cusStartTime) {\n todayStart = nowTime + 1\n todayEnd = 24\n } else {\n return\n }\n for (let i = todayStart; i < todayEnd + 1; i++) {\n const item = {\n label: `${i}:00`,\n value: i\n }\n arrTime.push(item)\n }\n } else {\n // 明天\n // debugger\n for (let j = 1; j < props.nextCusStartTime; j++) {\n let num: any = j\n if (num < 10) {\n num = '0' + j\n }\n const item = {\n label: `${num}:00`,\n value: Number(num)\n }\n arrTime.push(item)\n }\n }\n proxyData.timeList = arrTime\n let values: any = []\n for (let i = 0; i < proxyData.timeList.length; i++) {\n values.push(proxyData.timeList[i].label)\n }\n proxyData.columns[1].values = values\n setTimeout(() => {\n proxyData.loading = false\n }, 1000)\n },\n // 确定\n triggerComfirm() {\n let values: any = picker.value.getValues()\n proxyData.checkValues = [values[0], values[1]]\n // console.log(proxyData.checkValues)\n //设置加班\n if (proxyData.checkValues[0] && proxyData.checkValues[1]) {\n // console.log(proxyData.checkValues)\n proxyData.setWorkOverTime()\n } else {\n Toast('请选择时间')\n }\n },\n // 设置加班时间\n setWorkOverTime() {\n // /**\n // * 1.少了判断位置的逻辑\n // */\n let endDate: string = formatDate()\n if (proxyData.checkValues[0] === '明天') {\n endDate = getTomorrow()\n }\n let endTime = proxyData.checkValues[1]\n endTime = endTime.replace(':', '')\n const params = {\n projectId: props.projectId, // 项目id\n 'objectId': props.spaceId, // 空间ID\n 'endDate': endDate, // 结束日期 \"20210310\",\n 'endTime': endTime + '00', // 结束时间 \"090000\"\n 'type': 2 // 0 预约加班,1 取消,2 我来了/确定, 3 我走了\n }\n // console.log('被点击了===')\n changeSetTimeHttp(params).then(res => {\n const resData: any = res\n if (resData.result == 'success') {\n }\n contx.emit('setWorkTime')\n }).catch(() => {\n contx.emit('setWorkTime')\n })\n },\n init() {\n let text: any = props.workInfo.text\n let textTime: any = props.workInfo.textTime\n // debugger\n if (text === '明天') {\n proxyData.formatColumns(1) // 默认初始化为今天\n proxyData.setDefaultTime(1, textTime)\n } else {\n proxyData.formatColumns(0) // 默认初始化为今天\n proxyData.setDefaultTime(0, textTime)\n }\n }\n })\n onMounted(() => {\n proxyData.init()\n })\n return {\n picker,\n ...toRefs(proxyData)\n }\n }\n})\n","import { render } from \"./TimeBox.vue?vue&type=template&id=18f3164f&scoped=true&ts=true\"\nimport script from \"./TimeBox.vue?vue&type=script&lang=ts\"\nexport * from \"./TimeBox.vue?vue&type=script&lang=ts\"\n\nimport \"./TimeBox.vue?vue&type=style&index=0&id=18f3164f&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-18f3164f\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, vShow as _vShow, normalizeClass as _normalizeClass, withDirectives as _withDirectives, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1f8e6930\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"nav\" }\nconst _hoisted_2 = { class: \"nav-left\" }\nconst _hoisted_3 = [\"onClick\"]\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = [\"src\"]\nconst _hoisted_6 = { class: \"nav-right\" }\nconst _hoisted_7 = [\"onClick\"]\nconst _hoisted_8 = [\"src\"]\nconst _hoisted_9 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.navData, (item, index) => {\n return _withDirectives((_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"nav-item\", _ctx.activeCode===item.code?'nav-active':'']),\n onClick: ($event: any) => (_ctx.checkNav(item,index)),\n key: 'nav'+index\n }, [\n (_ctx.activeCode===item.code)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: item.activeImg,\n alt: \"\"\n }, null, 8, _hoisted_4))\n : (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n src: item.img,\n alt: \"\"\n }, null, 8, _hoisted_5))\n ], 10, _hoisted_3)), [\n [_vShow, index<3 && item.noShow]\n ])\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.navData, (item, index) => {\n return _withDirectives((_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"nav-item\", _ctx.activeCode===item.code?'nav-active':'']),\n onClick: ($event: any) => (_ctx.checkNav(item,index)),\n key: 'nav'+index\n }, [\n (_ctx.activeCode===item.code)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: item.activeImg,\n alt: \"\"\n }, null, 8, _hoisted_8))\n : (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n src: item.img,\n alt: \"\"\n }, null, 8, _hoisted_9))\n ], 10, _hoisted_7)), [\n [_vShow, index>=3 && item.noShow]\n ])\n }), 128))\n ])\n ]))\n}","\nimport { defineComponent, onMounted, reactive, toRefs, watch } from 'vue'\nimport { useRouter } from 'vue-router'\n\nexport default defineComponent({\n props: {\n navList: {\n type: Array,\n default: () => []\n }\n },\n setup(props, contex) {\n const router = useRouter()\n const navData: any = []\n const proxyData = reactive({\n activeCode: 'air',\n navData: navData,\n setNavValue(val: any) {\n proxyData.navData = val\n },\n checkNav(item: any, index: any) {\n proxyData.activeCode = item.code\n contex.emit('changeNav', item)\n },\n setActiveCode(activeCode: any) {\n proxyData.activeCode = activeCode\n }\n })\n watch(\n props.navList, (newVal, oldValue) => {\n proxyData.setNavValue(newVal)\n }\n )\n onMounted(() => {\n proxyData.setNavValue(props.navList)\n })\n return {\n ...toRefs(proxyData)\n }\n }\n})\n","import { render } from \"./NavBar.vue?vue&type=template&id=1f8e6930&scoped=true&ts=true\"\nimport script from \"./NavBar.vue?vue&type=script&lang=ts\"\nexport * from \"./NavBar.vue?vue&type=script&lang=ts\"\n\nimport \"./NavBar.vue?vue&type=style&index=0&id=1f8e6930&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-1f8e6930\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-100ec62f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"scene-dailog\" }\nconst _hoisted_2 = { class: \"title\" }\nconst _hoisted_3 = { class: \"dailog-content\" }\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = { class: \"status-text1\" }\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\" 切换至 \")\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\" 场景 \")\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\"切换中...\")\nconst _hoisted_9 = {\n key: 1,\n class: \"status-text2\"\n}\nconst _hoisted_10 = { key: 0 }\nconst _hoisted_11 = /*#__PURE__*/_createTextVNode(\"我知道了\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_van_loading = _resolveComponent(\"van-loading\")!\n const _component_buttons = _resolveComponent(\"buttons\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_ctx.secenaroStatus.localName), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('ipdImages', 'taolun-big.svg')\n }, null, 8, _hoisted_4),\n _createElementVNode(\"span\", _hoisted_5, [\n _hoisted_6,\n _createElementVNode(\"i\", null, _toDisplayString(_ctx.secenaroStatus.sceneName), 1),\n _hoisted_7\n ]),\n (_ctx.secenaroStatus.loading)\n ? (_openBlock(), _createBlock(_component_van_loading, {\n key: 0,\n class: \"status-text2\"\n }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (!_ctx.secenaroStatus.loading)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_9, [\n (_ctx.secenaroStatus.lodingText)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, \" 已为您切换至适宜\" + _toDisplayString(_ctx.secenaroStatus.sceneName) + \"的环境\", 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_component_buttons, {\n class: \"dailog-btn\",\n onClick: _ctx.closeDailog\n }, {\n default: _withCtx(() => [\n _hoisted_11\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]))\n}","\nimport {\n defineComponent,\n reactive,\n toRefs,\n onBeforeMount,\n onMounted,\n ref,\n watch,\n} from \"vue\";\nimport { Loading, Toast } from \"vant\";\nimport { parseImgUrl } from \"@/utils\";\n\nexport default defineComponent({\n props: {\n projectId: {\n type: String,\n default: () => \"\",\n },\n scenarioArr: {\n type: Array,\n default: () => [],\n },\n activeType: {\n type: String,\n default: () => \"\",\n },\n secenaroStatus: {\n type: Object,\n default: () => {},\n },\n },\n components: {\n VanLoading: Loading,\n },\n setup(props, contx) {\n const proxyData = reactive({\n parseImgUrl: parseImgUrl,\n secenaroStatus: props.secenaroStatus,\n closeDailog() {\n contx.emit(\"closeDailog\");\n },\n });\n watch(\n props,\n (newProps: any) => {\n proxyData.secenaroStatus = newProps.secenaroStatus;\n },\n {\n deep: false,\n immediate: true,\n }\n );\n onMounted(() => {});\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./scenarioDailog.vue?vue&type=template&id=100ec62f&scoped=true&ts=true\"\nimport script from \"./scenarioDailog.vue?vue&type=script&lang=ts\"\nexport * from \"./scenarioDailog.vue?vue&type=script&lang=ts\"\n\nimport \"./scenarioDailog.vue?vue&type=style&index=0&id=100ec62f&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-100ec62f\"]])\n\nexport default __exports__","import { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2048181d\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"map-home map-home-pading\" }\nconst _hoisted_2 = { class: \"map-top\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_map_box = _resolveComponent(\"map-box\")!\n const _component_space_box = _resolveComponent(\"space-box\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"span\", {\n class: _normalizeClass(_ctx.type == 1 ? 'span-active' : ''),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.checkMapType(1)))\n }, \"列表\", 2),\n _createElementVNode(\"span\", {\n class: _normalizeClass(_ctx.type == 2 ? 'span-active' : ''),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.checkMapType(2)))\n }, \"地图\", 2)\n ]),\n (_ctx.type === 2)\n ? (_openBlock(), _createBlock(_component_map_box, {\n key: 0,\n spaceData: _ctx.spaceData,\n projectId: _ctx.projectId,\n floorId: _ctx.floorId,\n spaceInfo: _ctx.spaceInfo,\n buildingId: _ctx.buildingId,\n onChangeSpace: _ctx.changeSpace\n }, null, 8, [\"spaceData\", \"projectId\", \"floorId\", \"spaceInfo\", \"buildingId\", \"onChangeSpace\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.type === 1)\n ? (_openBlock(), _createBlock(_component_space_box, {\n key: 1,\n spaceData: _ctx.spaceData,\n spaceInfo: _ctx.spaceInfo,\n onChangeSpace: _ctx.changeSpace\n }, null, 8, [\"spaceData\", \"spaceInfo\", \"onChangeSpace\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b11982ae\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"space-home\" }\nconst _hoisted_2 = { class: \"com-search\" }\nconst _hoisted_3 = { class: \"search-icon\" }\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = { class: \"space-box\" }\nconst _hoisted_6 = [\"onClick\"]\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\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_van_search, {\n placeholder: \"搜索办公区\",\n modelValue: _ctx.searchValue,\n \"onUpdate:modelValue\": [\n _cache[0] || (_cache[0] = ($event: any) => ((_ctx.searchValue) = $event)),\n _ctx.onSearch\n ],\n onClear: _ctx.onCancel\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"onClear\"]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('search-icon', 'search-icon.svg'),\n alt: \"\"\n }, null, 8, _hoisted_4)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n (_ctx.spaceData && _ctx.spaceData.length)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(_ctx.spaceData, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"space-item\", \n _ctx.activeSpace.spaceId == item.spaceId ? 'space-active-item' : ''\n ]),\n key: 'spaceItem' + index,\n onClick: ($event: any) => (_ctx.changeSpace(item, index))\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(item.spaceName), 1)\n ], 10, _hoisted_6))\n }), 128))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}","\nimport {\n defineComponent,\n reactive,\n toRefs,\n onBeforeMount,\n onMounted,\n ref,\n watch,\n} from \"vue\";\nimport { useRouter } from \"vue-router\";\nimport { getUserInfo, newNumber, parseImgUrl } from \"@/utils\";\nimport { UserActionTypes } from \"@/store/modules/user/action-types\";\nimport { useStore } from \"@/store\";\nimport { login } from \"@/apis/user\";\nimport { Search, Toast } from \"vant\";\nimport { setToken } from \"@/utils/cookies\";\nimport { queryWorkSpace } from \"@/apis/envmonitor\";\n\nexport default defineComponent({\n props: {\n spaceData: {\n type: Array,\n default: () => [],\n },\n spaceInfo: {\n type: Object,\n default: () => {},\n },\n },\n components: {\n vanSearch: Search,\n },\n setup(props, contx) {\n let router: any = useRouter();\n const userInfo: any = getUserInfo();\n const store = useStore();\n const spaceData: any = [];\n const proxyData = reactive({\n parseImgUrl:parseImgUrl,\n userInfo: userInfo,\n spaceData: spaceData,\n searchValue: \"\", // 搜索val\n activeSpace: props.spaceInfo,\n changeSpace(item: any, index: any) {\n // debugger;\n proxyData.activeSpace = item;\n console.log(proxyData.activeSpace);\n contx.emit(\"changeSpace\", item);\n },\n queryWorkSpace() {\n let params: any = {\n criteria: {\n //类型:Object 必有字段 备注:无\n projectId: proxyData.userInfo.projectId,\n spaceName: proxyData.searchValue,\n macAddress: proxyData.userInfo.mac, //类型:String 必有字段 备注:mac地址\n },\n orders: [\n //类型:Array 必有字段 备注:无\n {\n //类型:Object 必有字段 备注:无\n column: \"isMajorSpace\", //类型:String 必有字段 备注:无\n asc: false, //类型:Boolean 必有字段 备注:无\n },\n ],\n };\n queryWorkSpace(params).then((res) => {\n let resData: any = res;\n if (resData.result === \"success\") {\n proxyData.spaceData = resData?.content ?? [];\n } else {\n proxyData.spaceData = [];\n }\n });\n },\n // 搜索\n onSearch() {\n proxyData.queryWorkSpace();\n },\n // 取消搜索\n onCancel() {},\n });\n onMounted(() => {});\n watch(\n props,\n (newProps: any) => {\n proxyData.spaceData = newProps.spaceData;\n proxyData.activeSpace = newProps.spaceInfo;\n },\n {\n deep: false,\n immediate: true,\n }\n );\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./SpaceBox.vue?vue&type=template&id=b11982ae&scoped=true&ts=true\"\nimport script from \"./SpaceBox.vue?vue&type=script&lang=ts\"\nexport * from \"./SpaceBox.vue?vue&type=script&lang=ts\"\n\nimport \"./SpaceBox.vue?vue&type=style&index=0&id=b11982ae&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-b11982ae\"]])\n\nexport default __exports__","\nimport {\n defineComponent,\n reactive,\n toRefs,\n onBeforeMount,\n onMounted,\n ref,\n watch,\n} from \"vue\";\nimport SpaceBox from \"./SpaceBox.vue\";\nimport MapBox from \"./MapBox.vue\";\nimport { useRouter } from \"vue-router\";\nimport { newNumber, parseImgUrl } from \"@/utils\";\nimport { UserActionTypes } from \"@/store/modules/user/action-types\";\nimport { useStore } from \"@/store\";\nimport { login } from \"@/apis/user\";\nimport { Form, Field, CellGroup, Button, Toast } from \"vant\";\nimport { setToken } from \"@/utils/cookies\";\nimport { getMapInfo } from \"@/apis/envmonitor\";\n\nexport default defineComponent({\n props: {\n spaceData: {\n type: Array,\n default: () => [],\n },\n projectId: {\n type: String,\n default: () => \"\",\n },\n buildingId: {\n type: String,\n default: () => \"\",\n },\n floorId: {\n type: String,\n default: () => \"\",\n },\n spaceInfo: {\n type: Object,\n default: () => {},\n },\n },\n components: {\n vanForm: Form,\n vanField: Field,\n CellGroup,\n vanButton: Button,\n SpaceBox,\n MapBox,\n },\n setup(props, contex) {\n let router: any = useRouter();\n let showMap: any = null;\n const store = useStore();\n const proxyData = reactive({\n type: 1,\n spaceData: props.spaceData,\n showMap: showMap, // 是否展示地图\n // 切换空间\n changeSpace(item: any) {\n contex.emit(\"changeSpace\", item, 1);\n },\n buildingId: props.buildingId,\n floorId: props.floorId,\n spaceInfo: props.spaceInfo,\n checkMapType(type: any) {\n proxyData.type = type;\n },\n /**\n * 获取地图信息\n */\n getMapInfo() {\n let params: any = {\n projectId: props.projectId,\n floorId: proxyData.floorId,\n };\n getMapInfo(params)\n .then((res) => {\n // debugger\n let resData: any = res;\n if (resData.result === \"success\") {\n let data: any = resData?.data ?? null;\n // debugger\n if (data && data.spaceList && data.spaceList.length) {\n proxyData.showMap = true;\n } else {\n proxyData.showMap = false;\n }\n } else {\n proxyData.showMap = false;\n }\n })\n .catch(() => {\n proxyData.showMap = false;\n });\n },\n });\n onMounted(() => {\n proxyData.getMapInfo();\n });\n watch(\n props,\n (newProps: any) => {\n proxyData.spaceData = newProps.spaceData;\n proxyData.buildingId = newProps.buildingId;\n proxyData.floorId = newProps.floorId;\n proxyData.spaceInfo = newProps.spaceInfo;\n // proxyData.getMapInfo();\n },\n {\n deep: false,\n immediate: true,\n }\n );\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=2048181d&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=2048181d&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-2048181d\"]])\n\nexport default __exports__","\nimport {\n defineComponent,\n reactive,\n toRefs,\n ref,\n onBeforeMount,\n onMounted,\n nextTick,\n onBeforeUnmount,\n getCurrentInstance,\n} from \"vue\";\nimport WorkOvertime from \"./components/workOvertime/index.vue\";\nimport Contact from \"./components/Contact/index.vue\";\nimport WorkConfig from \"./components/workOvertime/WorkConfig.vue\";\nimport ScenarioConfig from \"./components/Scenario/ScenarioConfig.vue\";\nimport MapBox from \"@/views/envmonitor/components/Map/MapBox.vue\";\nimport Header from \"@/components/header/Index.vue\";\nimport Comheader from \"@/components/header/Comheader.vue\";\nimport Scenario from \"@/views/envmonitor/components/Scenario/Scenario.vue\";\nimport Air from \"@/views/envmonitor/components/Air/index.vue\";\nimport ManualIndex from \"@/views/envmonitor/components/Air/manualIndex.vue\";\nimport Light from \"@/views/envmonitor/components/Light/index.vue\";\nimport Curtain from \"@/views/envmonitor/components/Curtain/index.vue\";\nimport TimeBox from \"@/views/envmonitor/TimeBox.vue\";\nimport NavBar from \"@/views/envmonitor/NavBar.vue\";\nimport ScenarioDailog from \"@/views/envmonitor/components/Scenario/scenarioDailog.vue\";\nimport Detail from \"@/views/envmonitor/detail.vue\";\nimport ComMap from \"@/views/envmonitor/components/Map/index.vue\";\nimport { Icon, Popup, Dialog, Toast } from \"vant\";\nimport { useRouter, useRoute } from \"vue-router\";\nimport {\n getCompanyInfo,\n getWeather,\n getSpaceInfo,\n getMeetingSceneHttp,\n getSetTimeHttp,\n changeSetTimeHttp,\n getSpaceEquipType,\n getPermanentSpace,\n getUserControlAuth,\n getSpaceMode,\n getSpaceTemp,\n querySpaceSceneConfig,\n queryCustomAndScence,\n queryWorkSpace,\n getPadImg,\n} from \"@/apis/envmonitor\";\nimport Keys from \"@/constant/key\";\nimport {\n formatDate,\n getHours,\n getLocalNewSpaceInfo,\n getNowWeek,\n getUserInfo,\n parseImgUrl,\n setQueryConfig,\n} from \"@/utils\";\nimport { store } from \"@/store\";\nimport { SpaceInfoModel } from \"@/model/userModel\";\nimport { getWorkType } from \"@/utils/mapIcon\";\n\nexport default defineComponent({\n components: {\n MapBox,\n ComMap,\n ScenarioDailog,\n Scenario,\n Header,\n Comheader,\n NavBar,\n Air,\n ManualIndex,\n Light,\n Curtain,\n TimeBox,\n WorkOvertime,\n WorkConfig,\n ScenarioConfig,\n Detail,\n Contact,\n [Dialog.Component.name]: Dialog.Component,\n VanPopup: Popup,\n VanIcon: Icon,\n },\n setup() {\n const proxyGlobal: any = getCurrentInstance();\n const router: any = useRouter();\n const route: any = useRoute();\n const document: any = window.document;\n const screenHeight: any = document.body.clientHeight;\n const outWeather: any = {};\n let secenaroStatus: any = {};\n // 空间数据(包括空间下的设备的状态)\n const officeData: any = {};\n let spaceEqFlagObj: SpaceInfoModel = {\n hasAir: true, // 有无空调\n hasBlowing: false, // 空调有无 变风量系统\n hasLamp: false, //有无灯具\n };\n const popList: any = [];\n const detailQuery: any = {};\n // 空间类型\n let spaceInfo: any = {};\n const projectId: string = store.state.user.projectId;\n const sceneDetail: any = {};\n const timeOutEvent: any = {};\n const touchInterval: any = {};\n const headerInfo: {\n headImg: any;\n headScene: string;\n tipText: string;\n tipTextSwatch: boolean;\n } = {\n headImg: \"\",\n headScene: \"\",\n tipText: \"选择工作结束时间\",\n tipTextSwatch: false,\n };\n let spaceExistenceDevice: any = {\n curtain: false,\n light: false,\n airConditioner: false,\n bodySensor: false,\n };\n let childRef: any = {};\n // let mapRef: any = {}\n let intervalTimer: any = null;\n const workInfo: any = {};\n const userInfo: any = getUserInfo();\n let spaceTimer: any = null;\n let listSen: any = [\n {\n id: 0,\n code: \"DISCUSSING\",\n name: \"会议模式\",\n img: \"scene_work.svg\",\n checked: true,\n textObj: [\n {\n text: \"照明灯光已全部为您开启\",\n status: \"ok\",\n },\n {\n text: \"演示设备已为您准备\",\n status: \"ok\",\n },\n {\n text: \"空调已为您开启\",\n type: \"air\",\n status: \"ok\",\n },\n ],\n },\n {\n id: 1,\n code: \"PROJECTING\",\n name: \"投影模式\",\n img: \"scene_visitor.svg\",\n checked: false,\n textObj: [\n {\n text: \"主灯已为您关闭,氛围灯为您开启\",\n status: \"ok\",\n },\n {\n text: \"演示设备已为您开启\",\n status: \"ok\",\n },\n {\n text: \"空调已为您开启\",\n type: \"air\",\n status: \"ok\",\n },\n {\n text: \"窗帘已为您关闭\",\n status: \"ok\",\n },\n ],\n },\n {\n id: 2,\n code: \"ADJOURNMENT\",\n name: \"全关模式\",\n img: \"scene_rest.svg\",\n checked: false,\n textObj: [\n {\n text: \"照明灯光2min后将全部关闭\",\n status: \"ok\",\n },\n {\n text: \"演示设备已为您关闭\",\n status: \"ok\",\n },\n {\n text: \"空调全部关闭\",\n type: \"air\",\n status: \"ok\",\n },\n {\n text: \"窗帘已为您关闭\",\n status: \"ok\",\n },\n ],\n },\n ];\n let userSpaceInfo: any = [];\n let spaceModelTimer: any = null;\n let spaceTempTimer: any = null;\n let envlist: any = [\n {\n id: 2,\n name: \"甲醛\",\n num: \"\",\n level: \"\",\n bgColor: \"\",\n img: \"jiaquan.svg\",\n funcid: \"HCHO\",\n code: \"jiaquan\",\n unit: \"mg/m³\",\n },\n {\n id: 0,\n name: \"CO₂\",\n bgColor: \"\",\n num: \"\",\n level: \"\",\n img: \"co2.svg\",\n funcid: \"CO2\",\n code: \"co2\",\n unit: \"ppm\",\n },\n {\n id: 1,\n name: \"PM2.5\",\n bgColor: \"\",\n num: \"\",\n level: \"\",\n funcid: \"PM2d5\",\n img: \"pm2.5.svg\",\n code: \"pm25\",\n unit: \"ug/m³\",\n },\n {\n id: 3,\n name: \"湿度\",\n bgColor: \"\",\n img: \"humidity.svg\",\n num: \"\",\n level: \"\",\n funcid: \"Tdb,RH\",\n code: \"shidu\",\n unit: \"%\",\n },\n ];\n let scenarioArr: any = [];\n let realEevList: any = []; // 解决v-if报错的问题临时使用\n let workkArr: any = [];\n let spaceData: any = [];\n let secenTimer: any = {};\n let nowDate: any = formatDate(\"YYYY.MM.DD HH:mm\");\n let nowWeek: any = getNowWeek();\n let padImgData: any = [];\n let controlMode: number = 0;\n const proxyData = reactive({\n parseImgUrl: parseImgUrl,\n fileUrl: proxyGlobal.proxy.$fileUrl,\n nowDate: nowDate,\n nowWeek: nowWeek,\n isShowWork: false,\n isShowMetting: false,\n localName: \"\",\n airTemp: \"\",\n userIsControl: true,\n spaceModelTimer: spaceModelTimer,\n spaceTempTimer: spaceTempTimer,\n userSpaceInfo: userSpaceInfo,\n spaceTimer: spaceTimer,\n workInfo: workInfo,\n intervalTimer: intervalTimer,\n roomType: \"\",\n showSpaceTip: false,\n mapOpacity: 0,\n opacityV: 1,\n childRef: childRef,\n hideTopImg: false,\n isBottom: false,\n isScrool: false,\n officeData: officeData,\n popList: popList,\n popupType: \"scenario\",\n showSecenDetailDalig: false,\n sceneDetail: sceneDetail,\n showScenario: false,\n projectId: projectId,\n spaceInfo: spaceInfo,\n headerInfo: headerInfo,\n topbgimg: \"\",\n userInfo: userInfo,\n deviceIcon: \"arrow\",\n visible: false,\n outWeather: outWeather,\n vanPopupIndex: \"\",\n spaceEqFlagObj: spaceEqFlagObj,\n spaceExistenceDevice: spaceExistenceDevice,\n listOffice: [\n {\n id: 0,\n name: \"工作\",\n code: \"work\",\n img: \"scene_work.svg\",\n checked: true,\n textObj: [\n {\n text: \"办公区灯光已全部为您开启\",\n status: \"ok\",\n },\n {\n text: \"正在将温度调至 26℃\",\n status: \"ok\",\n },\n {\n text: \"窗帘已为您全部打开\",\n status: \"ok\",\n },\n {\n text: \"饮用水已为您准备\",\n status: \"ok\",\n },\n ],\n },\n {\n id: 1,\n name: \"会客\",\n code: \"guest\",\n img: \"scene_visitor.svg\",\n checked: false,\n textObj: [\n {\n text: \"会客区照明已为您开启\",\n status: \"ok\",\n },\n {\n text: \"空调已为您切换至会客温度,目标温度24℃\",\n status: \"ok\",\n },\n {\n text: \"窗帘已为您全部开启\",\n status: \"ok\",\n },\n {\n text: \"演示设备已为您准备\",\n status: \"ok\",\n },\n {\n text: \"饮用水已为您准备\",\n status: \"ok\",\n },\n ],\n },\n {\n id: 2,\n name: \"休息\",\n code: \"rest\",\n img: \"scene_rest.svg\",\n checked: false,\n textObj: [\n {\n text: \"主灯已关闭,氛围灯将为您开启\",\n status: \"ok\",\n },\n {\n text: \"空调将为您调节至适宜休息的温度,目标温度26℃\",\n status: \"ok\",\n },\n {\n text: \"窗帘已为您全部关闭\",\n status: \"ok\",\n },\n ],\n },\n ],\n listSen: listSen,\n isACATVA: false,\n showWorkOff: false, // 开放办公室的 提前关闭是否展示\n envlist: envlist,\n realEevList: realEevList,\n navList: [\n {\n top: 0,\n id: \"airId\",\n code: \"air\",\n name: \"温度/湿度\",\n noShow: true,\n img: parseImgUrl(\"page-officehome\", \"temp.png\"),\n activeImg: parseImgUrl(\"page-officehome\", \"temp_active.svg\"),\n },\n {\n top: 0,\n id: \"lightId\",\n code: \"lamp\",\n name: \"光照\",\n noShow: false,\n img: parseImgUrl(\"page-officehome\", \"lamp.png\"),\n activeImg: parseImgUrl(\"page-officehome\", \"lamp_active.svg\"),\n },\n {\n top: 0,\n id: \"curtainId\",\n code: \"curtain\",\n name: \"窗帘\",\n noShow: false,\n img: parseImgUrl(\"page-officehome\", \"curtain-nav.svg\"),\n activeImg: parseImgUrl(\"page-officehome\", \"curtain-nav-active.svg\"),\n },\n {\n top: 0,\n id: 4,\n code: \"mySpace\",\n name: \"常驻空间\",\n noShow: false,\n activeImg: parseImgUrl(\"page-officehome\", \"mySpaceIcon.svg\"),\n img: parseImgUrl(\"page-officehome\", \"mySpaceIcon.svg\"),\n },\n {\n top: 0,\n id: 5,\n code: \"switchSpace\",\n name: \"我的\",\n noShow: true,\n activeImg: parseImgUrl(\"page-officehome\", \"mapIcon.png\"),\n img: parseImgUrl(\"page-officehome\", \"mapIcon.png\"),\n },\n ],\n // 上班=ATWORK 讨论=DISCUSSING 投影=PROJECTING 散会=ADJOURNMENT 下班=OFFWORK\n meetingRoomSence: [\n {\n code: \"DISCUSSING\",\n name: \"讨论\",\n },\n {\n code: \"PROJECTING\",\n name: \"演示\",\n },\n {\n code: \"ADJOURNMENT\",\n name: \"散会\",\n },\n ],\n nextCusStartTime: 0, // 第二天服务定制开始时间\n cusEndTime: 0,\n cusStartTime: 0, // 当天服务定制-开始时间\n isShowContact: false,\n showContact() {\n proxyData.isShowContact = true;\n },\n closeContactDailog() {\n proxyData.isShowContact = false;\n },\n padBgImg: \"\",\n // 设置平板背景图\n // reviewBaseUrl: `/image-service/common/file_get?systemId=dataPlatform`,\n setPadBgImg() {\n if (\n proxyData.padImgData.isBgDefault === 0 &&\n proxyData.padImgData.bgImage &&\n proxyData.padImgData.bgImage.fileId\n ) {\n proxyData.padBgImg =\n proxyData.fileUrl + `&key=${proxyData.padImgData.bgImage.fileId}`;\n } else {\n // debugger;\n if (proxyData.roomType == \"个人\") {\n proxyData.padBgImg = parseImgUrl(\"ipdImages\", \"pad_img2.png\");\n } else if (proxyData.roomType === \"会议室\") {\n proxyData.padBgImg = parseImgUrl(\"ipdImages\", \"pad_img3.png\");\n } else if (proxyData.roomType === \"开放\") {\n proxyData.padBgImg = parseImgUrl(\"ipdImages\", \"pad_img1.png\");\n } else {\n proxyData.padBgImg = parseImgUrl(\"ipdImages\", \"pad_img1.png\");\n }\n }\n },\n logImg: \"\",\n // 设置平板logo\n setPadLogo() {\n if (\n proxyData.padImgData.isLogoDefault === 0 &&\n proxyData.padImgData.logoImage &&\n proxyData.padImgData.logoImage.fileId\n ) {\n // 公司提供的\n proxyData.logImg =\n proxyData.fileUrl + `&key=${proxyData.padImgData.logoImage.fileId}`;\n } else {\n proxyData.logImg = \"\";\n }\n },\n padImgData: padImgData,\n padNumber: 0,\n // 获取pad的背景图\n getPadImg() {\n let params: any = {\n funcType: proxyData.officeData.roomFuncType,\n spaceId: proxyData.spaceInfo.spaceId,\n };\n let str: any = setQueryConfig(params);\n // debugger;\n if (proxyData.padNumber < 1) {\n proxyData.padNumber = 1;\n getPadImg(str).then((res) => {\n if (res.result === \"success\") {\n proxyData.padImgData = res.data;\n proxyData.setPadBgImg(); // 设置平板背景\n proxyData.setPadLogo(); // 设置平板logo\n }\n });\n }\n },\n /**\n * 加班\n */\n triggerWork() {\n proxyData.isShowWork = true;\n },\n /**\n * 关闭加班\n */\n closeWork() {\n proxyData.isShowWork = false;\n // console.log(\"关闭加班功能---\");\n proxyData.queryCustomAndScenceTimer(0);\n },\n forceOverTimeFlag: false,\n setForceOverTimeFlag(flag: any) {\n // debugger\n if (proxyData.roomType === \"开放\" && flag) {\n proxyData.forceOverTimeFlag = true;\n } else {\n proxyData.forceOverTimeFlag = false;\n }\n },\n // 获取公司信息\n async getCompanyInfo() {\n const res: any = await getCompanyInfo({ companyId: Keys.companyKey });\n const data = res.data;\n // store.commit(UserMutationTypes.SET_PROJECT_ID, 'Pj1101080259')\n // const location: any = data.sagaCareCoords.split(',')\n // const targetLocationInfo: any = {\n // longitude: location[0],\n // latitude: location[1]\n // }\n // console.log(targetLocationInfo)\n },\n // 获取天气信息\n getWeather() {\n const params: any = {\n openid: proxyData.userInfo.openid,\n pubname: proxyData.userInfo.pubname,\n projectId: store.state.user.projectId,\n };\n const str: string = setQueryConfig(params);\n getWeather(str).then((res) => {\n const content: any = res?.content ?? {};\n proxyData.outWeather = content;\n const text: string = content.text;\n proxyData.getWeatherIcon(text);\n proxyData.getnowTime(text);\n });\n },\n // 设置当前背景图\n getnowTime(text: string) {\n // 头部背景图片\n const now = getHours();\n if (text.indexOf(\"霾\") > -1) {\n proxyData.topbgimg = parseImgUrl(\"weather\", \"office_smog.jpg\");\n } else {\n if (now >= 6 && now < 19) {\n // 白天\n proxyData.topbgimg = parseImgUrl(\"weather\", \"office_bright.jpg\");\n } else {\n // 夜晚\n proxyData.topbgimg = parseImgUrl(\"weather\", \"office_night.jpg\");\n }\n }\n },\n // 设置天气icon\n getWeatherIcon(text: string) {\n if (text && text.indexOf(\"晴\") > -1) {\n proxyData.outWeather.imgname = parseImgUrl(\"weather\", \"sun.png\");\n } else if (text && text.indexOf(\"雨\") > -1) {\n proxyData.outWeather.imgname = parseImgUrl(\"weather\", \"rain.png\");\n } else if (\n (text && text.indexOf(\"阴\") > -1) ||\n text.indexOf(\"云\") > -1\n ) {\n proxyData.outWeather.imgname = parseImgUrl(\"weather\", \"cloudy.png\");\n } else if (text && text.indexOf(\"霾\") > -1) {\n proxyData.outWeather.imgname = parseImgUrl(\"weather\", \"mai.png\");\n } else if (text && text.indexOf(\"雾\") > -1) {\n proxyData.outWeather.imgname = parseImgUrl(\"weather\", \"fog.png\");\n } else if (text && text.indexOf(\"风\") > -1) {\n proxyData.outWeather.imgname = parseImgUrl(\"weather\", \"wind.png\");\n } else if (text && text.indexOf(\"雷\") > -1) {\n proxyData.outWeather.imgname = parseImgUrl(\"weather\", \"thunder.png\");\n } else {\n proxyData.outWeather.imgname = parseImgUrl(\"weather\", \"sun.png\");\n }\n },\n // 判断空间类型\n checkSpaceType(roomFuncType: string) {\n let roomType: any = getWorkType(roomFuncType);\n if (roomType === \"个人\") {\n proxyData.roomType = \"个人\";\n proxyData.headerInfo.headImg = parseImgUrl(\n \"page-officehome\",\n \"office_person_2.png\"\n );\n proxyData.headerInfo.headScene = \"工作\";\n proxyData.popList = proxyData.listOffice;\n } else if (roomType === \"会议室\") {\n proxyData.roomType = \"会议室\";\n proxyData.popList = JSON.parse(JSON.stringify(proxyData.listSen));\n proxyData.headerInfo.headImg = parseImgUrl(\n \"page-officehome\",\n \"office_normal_2.png\"\n );\n // 获取会议室场\n proxyData.getPageMeetingSceneHttp();\n } else if (roomType === \"开放\") {\n // debugger\n proxyData.roomType = \"开放\";\n proxyData.headerInfo.headImg = parseImgUrl(\n \"page-officehome\",\n \"office_publi_2.png\"\n );\n } else {\n proxyData.roomType = \"其它\";\n proxyData.headerInfo.headImg = parseImgUrl(\n \"page-officehome\",\n \"office_publi_2.png\"\n );\n }\n if (roomType !== \"会议室\") {\n proxyData.timerSpaceInfo();\n }\n },\n /**\n * 检查用户可使用的权限\n */\n checkUserSpace() {\n let flag: any = false;\n // let flag: any = true\n for (let i = 0; i < proxyData.userSpaceInfo.length; i++) {\n if (\n proxyData.spaceInfo.spaceId === proxyData.userSpaceInfo[i].sp_id\n ) {\n flag = true;\n break;\n }\n }\n proxyData.userIsControl = flag;\n },\n /**\n * 获取用户控制权限\n */\n getUserControlAuth() {\n getUserControlAuth()\n .then((res) => {\n let resData: any = res;\n if (resData.result === \"success\") {\n proxyData.userSpaceInfo = resData.data;\n } else {\n proxyData.userSpaceInfo = [];\n }\n proxyData.checkUserSpace();\n })\n .catch(() => {\n proxyData.userSpaceInfo = [];\n proxyData.checkUserSpace();\n });\n },\n controlMode: controlMode, // 当前空间的模式 0:自动控制 1:手动控制\n // 获取空间信息\n getSpaceInfo() {\n // const userInfo =\n const data: any = {\n criteria: {\n spaceId: proxyData.spaceInfo.spaceId,\n projectId: proxyData.userInfo.projectId,\n },\n pubname: proxyData.userInfo.pubname,\n openid: proxyData.userInfo.openid,\n };\n getSpaceInfo(data)\n .then((res) => {\n const content: any = res?.content ?? [];\n if (content[0]) {\n proxyData.officeData = content[0];\n }\n proxyData.officeData = proxyData.officeData\n ? proxyData.officeData\n : {};\n if (proxyData.officeData.localName) {\n proxyData.localName = proxyData.officeData.localName;\n }\n if (proxyData.officeData.temperature) {\n proxyData.officeData.temperature =\n proxyData.officeData.temperature.toFixed(1) * 1;\n }\n // proxyData.controlMode = proxyData.officeData.controlMode || 1;\n proxyData.controlMode = proxyData.officeData.controlMode;\n // 环境数据\n proxyData.checkSpaceType(proxyData.officeData.roomFuncType);\n proxyData.formatSpaceInfo(content);\n proxyData.getPadImg();\n // proxyData.setPageheight()\n proxyData.loadinngEnd();\n // 获取pad的背景图\n })\n .catch(() => {\n proxyData.loadinngEnd();\n proxyData.timerSpaceInfo();\n });\n },\n // 定时调获取空调接口\n getSpaceModeTimer() {\n proxyData.spaceModelTimer = setTimeout(() => {\n proxyData.getSpaceMode();\n clearTimeout(proxyData.spaceModelTimer);\n proxyData.spaceModelTimer = null;\n }, 1000);\n },\n // 获取运行模式\n getSpaceMode() {\n getSpaceMode()\n .then((res) => {\n proxyData.getSpaceModeTimer();\n })\n .catch(() => {\n proxyData.getSpaceModeTimer();\n });\n },\n // 定时调用获取温度\n getSpaceTempTimer() {\n proxyData.spaceTempTimer = setTimeout(() => {\n clearTimeout(proxyData.spaceTempTimer);\n proxyData.spaceTempTimer = null;\n proxyData.getSpaceTemp();\n });\n },\n // 获取空间空调设备温度\n getSpaceTemp() {\n getSpaceTemp()\n .then((res) => {\n proxyData.getSpaceTempTimer();\n })\n .catch(() => {\n proxyData.getSpaceTempTimer();\n });\n },\n // 设置环境参数的背景颜色\n setEnvBg(key: any, text: any) {\n let bgColor: any = \"\";\n if (key === \"humidity\") {\n // 湿度\n if (text === \"干燥\" || text === \"潮湿\") {\n bgColor =\n \"linear-gradient(180deg, rgba(205, 11, 0, 0) 0%, #CD0B00 100%)\";\n } else {\n bgColor = \"\";\n }\n } else if (key === \"hcho\") {\n // 甲醛\n if (text === \"超标\") {\n bgColor =\n \"linear-gradient(180deg, rgba(205, 11, 0, 0) 0%, #CD0B00 100%)\";\n } else {\n bgColor = \"\";\n }\n } else if (key === \"co2\") {\n if (text === \"略高\") {\n bgColor =\n \"linear-gradient(180deg, rgba(205, 11, 0, 0.5) 0%, #CD0B00 100%)\";\n } else if (text === \"超标\") {\n bgColor =\n \"linear-gradient(180deg, rgba(205, 11, 0, 1) 0%, #CD0B00 100%)\";\n } else {\n bgColor = \"\";\n }\n } else if (key === \"pm25\") {\n if (text === \"良\") {\n bgColor =\n \"linear-gradient(180deg, rgba(205, 11, 0, 0.2) 0%, #CD0B00 100%)\";\n } else if (text === \"轻度污染\") {\n bgColor =\n \"linear-gradient(180deg, rgba(205, 11, 0, 0.4) 0%, #CD0B00 100%)\";\n } else if (text === \"中度污染\") {\n bgColor =\n \"linear-gradient(180deg, rgba(205, 11, 0, 0.6) 0%, #CD0B00 100%)\";\n } else if (text === \"重度污染\") {\n bgColor =\n \"linear-gradient(180deg, rgba(205, 11, 0, 0.8) 0%, #CD0B00 100%)\";\n } else if (text === \"严重污染\") {\n bgColor =\n \"linear-gradient(180deg, rgba(205, 11, 0, 1) 0%, #CD0B00 100%)\";\n } else {\n bgColor = \"\";\n }\n }\n return bgColor;\n },\n // 格式化环境数据(处理环境数据展示的级别)\n checkLevel(value: string, name: string) {\n let objList = {\n humidity: {\n range: [30, 70],\n text: [\"干燥\", \"健康\", \"潮湿\"],\n },\n co2: {\n range: [800, 1000, 1500],\n text: [\"健康\", \"达标\", \"略高\", \"超标\"],\n },\n pm25: {\n range: [35, 75, 115, 150, 250],\n text: [\n \"健康\",\n \"良\",\n \"轻度污染\",\n \"中度污染\",\n \"重度污染\",\n \"严重污染\",\n ],\n },\n hcho: {\n range: [0.1],\n text: [\"健康\", \"超标\"],\n },\n };\n let sortArr = [value, ...objList[name].range].sort((a, b) => {\n return a - b;\n });\n\n let level = sortArr.findIndex((item) => item === value);\n let levelTxt = objList[name].text[level];\n let bgColor: any = proxyData.setEnvBg(name, levelTxt);\n return {\n level,\n levelTxt,\n bgColor,\n };\n },\n /**\n *设置当前页面的高度\n */\n setPageheight() {\n nextTick(() => {\n document.getElementById(\"envBox\").style.height =\n document.getElementById(\"envBox\").offsetHeight + \"px\";\n });\n },\n // 空间信息数据格式化\n formatSpaceInfo(content: any = []) {\n for (let i = 0; i < content.length; i++) {\n let item = content[i];\n if (item.co2 || item.co2 == 0) {\n let obj: any = proxyData.checkLevel(item.co2, \"co2\");\n proxyData.envlist[1].level = obj.levelTxt;\n proxyData.envlist[1].bgColor = obj.bgColor;\n proxyData.envlist[1].num = item.co2;\n } else {\n proxyData.envlist[1].level = \"--\";\n proxyData.envlist[1].num = \"--\";\n proxyData.envlist[1].bgColor = \"\";\n }\n if (item.pm25 || item.pm25 === 0) {\n let obj: any = proxyData.checkLevel(item.pm25, \"pm25\");\n proxyData.envlist[2].level = obj.levelTxt;\n proxyData.envlist[2].bgColor = obj.bgColor;\n proxyData.envlist[2].num = item.pm25;\n } else {\n proxyData.envlist[2].level = \"--\";\n proxyData.envlist[2].num = \"--\";\n proxyData.envlist[2].bgColor = \"\";\n }\n if (item.hcho || item.hcho == 0) {\n let obj: any = proxyData.checkLevel(item.hcho, \"hcho\");\n proxyData.envlist[0].level = obj.levelTxt;\n proxyData.envlist[0].bgColor = obj.bgColor;\n proxyData.envlist[0].num = item.hcho.toFixed(2);\n } else {\n proxyData.envlist[0].level = \"--\";\n proxyData.envlist[0].num = \"--\";\n proxyData.envlist[0].bgColor = \"\";\n }\n if (item.humidity || item.humidity == 0) {\n let obj: any = proxyData.checkLevel(item.humidity, \"humidity\");\n proxyData.envlist[3].level = obj.levelTxt;\n proxyData.envlist[3].bgColor = obj.bgColor;\n proxyData.envlist[3].num = item.humidity.toFixed(0);\n } else {\n proxyData.envlist[3].level = \"--\";\n proxyData.envlist[3].num = \"--\";\n proxyData.envlist[3].bgColor = \"\";\n }\n }\n },\n activeType: \"\", // 当前会议室场景\n // 获取会议室场景(如果是会议室的才调此接口)\n getPageMeetingSceneHttp() {\n const params: { spaceId: string } = {\n spaceId: proxyData.spaceInfo.spaceId,\n };\n getMeetingSceneHttp(params)\n .then((res) => {\n let resSen: string = res?.content ?? \"\";\n if (resSen === \"OFFWORK\") {\n resSen = \"ADJOURNMENT\";\n }\n proxyData.activeType = resSen;\n // 定时调空间数据\n proxyData.timerSpaceInfo();\n })\n .catch(() => {\n proxyData.timerSpaceInfo();\n });\n },\n // 切换场景的状态\n secenaroStatus: secenaroStatus,\n // 设置场景名称\n setHeadScene(item: any) {\n proxyData.isShowMetting = true;\n proxyData.secenaroStatus = {\n localName: proxyData.officeData.localName,\n loading: item.loading,\n lodingText: item.lodingText,\n sceneName: item.sceneName,\n };\n console.log(proxyData.secenaroStatus);\n },\n closeDailog() {\n proxyData.isShowMetting = false;\n },\n isShowDetail: false,\n detailQuery: detailQuery,\n handleDetail(item: any) {\n proxyData.isShowDetail = true;\n proxyData.detailQuery.funcid = item.funcid;\n proxyData.detailQuery.spaceId = proxyData.spaceInfo.spaceId;\n // router.push({\n // path: '/envmonitor-detail',\n // query: {\n // funcid: item.funcid,\n // spaceId: proxyData.spaceInfo.spaceId\n // }\n // })\n },\n // 获取空调设备温度\n updateAirTemp(airTemp: any) {\n proxyData.airTemp = airTemp;\n proxyData.setHeadSceneAirTemp();\n },\n // 设置场景切换时候的温度\n setHeadSceneAirTemp() {\n if (\n proxyData.sceneDetail &&\n proxyData.sceneDetail.textObj &&\n proxyData.sceneDetail.textObj.length\n ) {\n if (\n proxyData.airTemp &&\n (proxyData.sceneDetail.code == \"DISCUSSING\" ||\n proxyData.sceneDetail.code == \"PROJECTING\")\n ) {\n for (let i = 0; i < proxyData.sceneDetail.textObj.length; i++) {\n let item: any = proxyData.sceneDetail.textObj;\n if (item.type === \"air\") {\n item.text = item.text + \",目标温度\" + proxyData.airTemp;\n }\n }\n }\n }\n },\n // 修改加班时间\n setWorkTime() {\n proxyData.showScenario = false;\n // 修改成功后获取服务定制时间\n proxyData.setTime();\n },\n // 提前关闭\n handlePreClose() {\n let endDate: any = formatDate();\n let endTime: any = getHours();\n if (endTime < 10) {\n endTime = `0${endTime}`;\n }\n const params = {\n projectId: proxyData.projectId,\n objectId: proxyData.spaceInfo.spaceId, // 空间ID\n endDate: endDate, // 结束日期 \"20210310\",\n endTime: endTime + \"0000\", // 结束时间 \"090000\"\n type: 3, // 0 预约加班,1 取消,2 我来了/确定, 3 我走了\n };\n changeSetTimeHttp(params).then((res) => {\n const resData: any = res;\n if (resData.result == \"success\") {\n proxyData.changeLampStatus();\n }\n });\n },\n // 提前关闭更改状态\n changeLampStatus() {\n proxyData.showWorkOff = false;\n proxyData.headerInfo.tipText = \"选择工作结束时间\";\n proxyData.headerInfo.tipTextSwatch = true;\n },\n // 获取空间下的设备信息\n getEquipments() {\n let params: { spaceId: string } = {\n spaceId: proxyData.spaceInfo.spaceId,\n // projectId: proxyData.projectId,\n };\n /**\n *重新获取设备的时候,先初始化数据\n */\n proxyData.spaceExistenceDevice = {\n curtain: false,\n light: false,\n airConditioner: false,\n bodySensor: false,\n };\n let queryParams: any = setQueryConfig(params);\n getSpaceEquipType(queryParams).then((res) => {\n let resData: any = res;\n if (resData.result === \"success\") {\n let data: any = resData?.data ?? [];\n for (let i = 0; i < data.length; i++) {\n proxyData.spaceExistenceDevice[data[i]] = true;\n }\n // for (let key in proxyData.spaceExistenceDevice) {\n // let flag: any = false;\n // for (let i = 0; i < data.length; i++) {\n // // proxyData.spaceExistenceDevice[data[i]] = true;\n // if (data[i] === key) {\n // flag = true;\n // break;\n // }\n // }\n // proxyData.spaceExistenceDevice[key] = flag;\n // }\n // if (proxyData.spaceExistenceDevice.airConditioner) {\n // proxyData.navList[0].noShow = true\n // } else {\n // proxyData.navList[0].noShow = false\n // }\n // debugger\n if (proxyData.spaceExistenceDevice.light) {\n proxyData.navList[1].noShow = true;\n } else {\n proxyData.navList[1].noShow = false;\n }\n if (proxyData.spaceExistenceDevice.curtain) {\n proxyData.navList[2].noShow = true;\n } else {\n proxyData.navList[2].noShow = false;\n }\n }\n });\n },\n // 时间格式转换\n hourMiChange(tempStr: number) {\n // 转为时间 19.3 - 19:30 19.41-19:41 19-19:00\n let str = tempStr.toString();\n let newStr = \"\";\n let dLen = str.length > 2 ? str.split(\".\")[1].length : str;\n if (dLen === 1) {\n str = str.replace(\".\", \"\") + \"0\";\n newStr = str.slice(0, 2) + \":\" + str.slice(2);\n } else if (dLen === 2) {\n str = str.replace(\".\", \"\");\n newStr = str.slice(0, 2) + \":\" + str.slice(2);\n } else {\n newStr = str + \":00\";\n }\n return newStr;\n },\n // 获取灯灯定制时间\n getSetTimeHttp() {\n const params: { spaceId: string } = {\n spaceId: proxyData.spaceInfo.spaceId,\n };\n getSetTimeHttp(params).then((res) => {\n const resData = res;\n // debugger\n const content = resData?.content ?? {};\n // proxyData.workInfo = content\n /* 可选日期和时间的规则是:\n 当下时间至次日服务定制开始时间;\n 如果没有服务定制时间,\n 默认次日8:00 */\n proxyData.nextCusStartTime = content.nextCusStartTime\n ? Math.floor(Number(content.nextCusStartTime / 10000))\n : 9;\n /* 当时间早于 当天服务定制开始时间且不早于2个小时,当前时间-当天服务开始时间 ;\n 否则,当天服务结束时间为开始-明天服务定制开始时间/明天8点\n */\n let date = formatDate(\"\");\n let tomText: string = \"\"; // 明天 文案\n let now = getHours(); // 用户的时间\n let cusEndTime: number = 0; // 服务定制 - 开始时间\n let cusStartTime: number = 0; // 服务定制 - 结束时间\n let changTime: number = 0; // 修改后的时间\n proxyData.showWorkOff = false; // 不显示提前关闭\n\n /*\n 先判断服务定制时间是否跨天,跨天以第二天的开始时间为准\n */\n // 修改以后的时间 endDate 和 endTime\n // 当天\n // debugger\n if (content.endDate && date === content.endDate) {\n changTime = Number(content.endTime / 10000);\n tomText = \"\";\n }\n // 修改到明天\n if (content.endDate && date !== content.endDate) {\n changTime = Number(content.endTime / 10000); // 今天的时间肯定小于明天的 所以+24\n tomText = \"明天\";\n }\n\n /* 无服务定制时间:\n --- 时间弹窗 ----\n 今天显示:当前时间开始,默认是当前时间+2小时\n 次日显示:00点 - 8点\n --- 有设置时间 ---\n 1、 且 设置时间在当前时间之后,显示设置时间\n 2、 且在当前时间之前,显示选择结束时间\n */\n // 无服务定制时间\n if (\n !content.nextCusEndTime &&\n !content.cusStartTime &&\n content.endDate\n ) {\n let daTime = tomText ? changTime + 24 : changTime;\n // console.log('无服务定制', daTime);\n if (now < daTime) {\n proxyData.headerInfo.tipText = `${tomText}${proxyData.hourMiChange(\n changTime\n )}`;\n proxyData.headerInfo.tipTextSwatch = false;\n proxyData.showWorkOff = true; // 提前关闭\n proxyData.workInfo.textTime = proxyData.hourMiChange(changTime);\n proxyData.workInfo.text = tomText ? tomText : \"今天\";\n } else {\n proxyData.headerInfo.tipText = \"选择工作结束时间\";\n proxyData.headerInfo.tipTextSwatch = true;\n proxyData.workInfo.textTime = \"\";\n proxyData.workInfo.text = \"\";\n }\n } else {\n proxyData.headerInfo.tipText = \"选择工作结束时间\";\n proxyData.headerInfo.tipTextSwatch = true;\n proxyData.workInfo.textTime = \"\";\n proxyData.workInfo.text = \"\";\n }\n\n if (!content.cusEndTime) {\n proxyData.cusStartTime = 0; // 今天的服务定制开始时间\n proxyData.cusEndTime = 0; // 今天结束时间\n return;\n }\n // 无服务定制不走下面的代码\n /*\n 有服务定制:\n 当天进来时间、用户修改时间、当天服务定制时间 显示判断;\n 1、今天没有,明天有\n 2、今天有,明天没有\n 3、今天有,明天有\n */\n if (content.cusEndTime) {\n cusStartTime = content.cusStartTime\n ? Number(content.cusStartTime / 10000)\n : 0;\n cusEndTime = content.cusEndTime\n ? Number(content.cusEndTime / 10000)\n : 0;\n proxyData.cusStartTime = Math.floor(cusStartTime); // 今天的服务定制开始时间\n proxyData.cusEndTime = Math.floor(cusEndTime); // 今天的服务定制结束时间\n }\n // 1、用户时间 服务定制时间之内\n // debugger\n if (now >= cusStartTime && now < cusEndTime && !changTime) {\n // console.log('当前时间,服务定制之内,没有更改时间')\n proxyData.headerInfo.tipText = `${tomText}${proxyData.hourMiChange(\n cusEndTime\n )}`;\n proxyData.headerInfo.tipTextSwatch = false;\n } else if (now >= cusStartTime && now < cusEndTime && changTime) {\n const daTime =\n (tomText ? changTime + 24 : changTime) > now\n ? changTime\n : cusEndTime;\n // console.log('当前时间,服务定制之内,有更改时间', daTime)\n proxyData.headerInfo.tipText = `${tomText}${proxyData.hourMiChange(\n daTime\n )}`;\n proxyData.headerInfo.tipTextSwatch = false;\n proxyData.workInfo.textTime = proxyData.hourMiChange(daTime);\n proxyData.workInfo.text = tomText ? tomText : \"今天\";\n } else if (now >= cusEndTime && changTime) {\n //大于服务定制时间\n // (tomText ? changTime + 24 : changTime) 判断changeTime是否跨天\n if ((tomText ? changTime + 24 : changTime) >= now) {\n // console.log('当前时间,服务定制之外,有更改时间且 修改时间大于当前');\n cusEndTime = changTime;\n proxyData.headerInfo.tipText = `${tomText}${proxyData.hourMiChange(\n cusEndTime\n )}`;\n proxyData.headerInfo.tipTextSwatch = false;\n proxyData.showWorkOff = true;\n proxyData.workInfo.textTime = proxyData.hourMiChange(cusEndTime);\n proxyData.workInfo.text = tomText ? tomText : \"今天\";\n } else {\n // console.log('当前时间,服务定制之外,有更改时间且 修改时间小于当前')\n proxyData.headerInfo.tipTextSwatch = true;\n proxyData.headerInfo.tipText = \"选择工作结束时间\";\n proxyData.workInfo.textTime = \"\";\n proxyData.workInfo.text = \"\";\n }\n } else {\n // proxyData.headerInfo.tipTextSwatch = false\n proxyData.headerInfo.tipTextSwatch = true;\n proxyData.headerInfo.tipText = \"选择工作结束时间\";\n // proxyData.headerInfo.tipText = `${tomText}${proxyData.hourMiChange(cusEndTime)}`\n proxyData.workInfo.textTime = \"\";\n proxyData.workInfo.text = \"\";\n }\n });\n },\n // 设置设备的关闭时间\n setTime() {\n proxyData.getSetTimeHttp();\n },\n // 点击切换会议室场景\n handlePopup(type: string = \"scenario\") {\n if (proxyData.userIsControl) {\n proxyData.showScenario = !proxyData.showScenario;\n if (proxyData.showScenario) {\n proxyData.deviceIcon = \"arrow-down\";\n } else {\n proxyData.deviceIcon = \"arrow\";\n }\n proxyData.popupType = type;\n } else {\n Toast(\"您没有当前空间的控制权限!\");\n }\n },\n // 切换空间\n triggerCheckSpace() {\n let ele: any = document.getElementById(\"envContent\");\n let houseEle: any = document.getElementById(\"houseDes\");\n let houseHeight: any = houseEle.offsetHeight;\n proxyData.opacityV = 0;\n proxyData.mapOpacity = 1;\n ele.scrollTop = 0;\n let top: any = 0;\n let interval: any = setInterval(() => {\n top = top + 15;\n if (top < screenHeight - houseHeight) {\n ele.style.top = top + \"px\";\n } else {\n ele.style.top = screenHeight - houseHeight + \"px\";\n clearInterval(interval);\n }\n }, 10);\n proxyData.hideTopImg = true;\n proxyData.isBottom = true;\n },\n /**\n * 加载loading\n */\n loadingStart() {\n Toast.loading({\n duration: 0, // 持续展示 toast\n forbidClick: true,\n message: \"加载中...\",\n });\n },\n /**\n * 结束\n */\n loadinngEnd() {\n Toast.clear();\n },\n // 清除定时器\n clearTimerSpaceInfo() {\n clearTimeout(proxyData.spaceTimer);\n proxyData.spaceTimer = null;\n },\n // 定时调空间\n timerSpaceInfo(timer: any = 5000) {\n proxyData.spaceTimer = setTimeout(() => {\n proxyData.getSpaceInfo();\n proxyData.clearTimerSpaceInfo();\n }, timer);\n },\n isWork: false,\n isMetting: false,\n // 判断对应的办公室的场景展示\n checkIsSpaceScene() {\n proxyData.scenarioArr.map((item: any) => {\n if (item.sceneType === \"OVERTIME\") {\n proxyData.isWork = true;\n }\n // if (item.sceneType === \"DISCUSSING\" || item.) {\n // proxyData.isMetting = true;\n // }\n });\n },\n /**\n * 获取场景列表\n */\n scenarioArr: scenarioArr,\n querySpaceSceneConfig() {\n let params: any = {\n spaceId: proxyData.spaceInfo.spaceId,\n };\n let str: any = setQueryConfig(params);\n // debugger;\n querySpaceSceneConfig(str).then((res) => {\n let resData: any = res;\n let data: any = resData?.data ?? [];\n proxyData.scenarioArr = data;\n proxyData.checkIsSpaceScene();\n });\n },\n /**\n *查询空间加班记录\n */\n workkArr: workkArr,\n secenTimer: secenTimer,\n queryCustomAndScenceTimer(timer: any = 10000) {\n if (proxyData.secenTimer) {\n clearTimeout(proxyData.secenTimer);\n proxyData.secenTimer = null;\n }\n proxyData.secenTimer = setTimeout(() => {\n proxyData.queryCustomAndScence();\n }, timer);\n },\n queryCustomAndScence() {\n let params: any = {\n spaceId: proxyData.spaceInfo.spaceId,\n };\n let str: any = setQueryConfig(params);\n queryCustomAndScence(str).then((res) => {\n let resData: any = res?.data ?? [];\n proxyData.workkArr = resData;\n for (let i = 0; i < proxyData.workkArr.length; i++) {\n let customSceneList: any =\n proxyData.workkArr[i]?.customSceneList ?? [];\n customSceneList = customSceneList.sort(proxyData.compare);\n }\n\n proxyData.queryCustomAndScenceTimer(5000);\n });\n },\n // 数组排序\n compare(obj1: any, obj2: any) {\n var val1 = obj1.startTime;\n var val2 = obj2.startTime;\n if (val1 < val2) {\n return -1;\n } else if (val1 > val2) {\n return 1;\n } else {\n return 0;\n }\n },\n // 格式化当前页面展示的时间\n formateWorkTime() {},\n /**\n * 空间相关的接口\n */\n init() {\n proxyData.padNumber = 0;\n // proxyData.roomType = \"\";\n // 获取场景配置\n proxyData.timerSpaceInfo(0);\n // 获取空间下的设备信息\n proxyData.getEquipments();\n proxyData.querySpaceSceneConfig();\n // 查询加班记录\n proxyData.queryCustomAndScenceTimer(0);\n proxyData.setTime();\n // 定时获取空间模式\n // proxyData.getSpaceModeTimer()\n },\n /**\n *删除参数\n */\n updatePageUrl() {\n let history: any = window.history;\n let url: any = window.location.origin + window.location.pathname;\n history.replaceState(\"\", \"\", url);\n },\n // 定时关闭提示框\n setTimerCloseTip() {\n let timeNum: number = 0;\n proxyData.intervalTimer = setInterval(() => {\n timeNum++;\n if (timeNum > 2) {\n proxyData.showSpaceTip = false;\n clearInterval(proxyData.intervalTimer);\n proxyData.updatePageUrl();\n }\n }, 1000);\n },\n // 平板当前空间\n spaceData: spaceData,\n copySpaceData: spaceData,\n floorId: \"\",\n buildingId: \"\",\n queryWorkSpace() {\n let params: any = {\n criteria: {\n //类型:Object 必有字段 备注:无\n projectId: proxyData.userInfo.projectId,\n spaceName: \"\",\n macAddress: proxyData.userInfo.mac, //类型:String 必有字段 备注:mac地址\n },\n orders: [\n //类型:Array 必有字段 备注:无\n {\n //类型:Object 必有字段 备注:无\n column: \"isMajorSpace\", //类型:String 必有字段 备注:无\n asc: false, //类型:Boolean 必有字段 备注:无\n },\n ],\n };\n queryWorkSpace(params).then((res) => {\n let resData: any = res;\n if (resData.result === \"success\") {\n proxyData.spaceData = resData?.content ?? [];\n // proxyData.copySpaceData = resData?.content ?? [];\n } else {\n proxyData.spaceData = [];\n }\n proxyData.spaceData.map((item: any) => {\n if (proxyData.spaceInfo.spaceId === item.spaceId) {\n item.active = true;\n proxyData.spaceInfo = item;\n } else {\n item.active = false;\n }\n // if (item.isMajorSpace) {\n // item.active = true;\n // proxyData.spaceInfo = item;\n // } else {\n // item.active = false;\n // }\n });\n proxyData.copySpaceData = JSON.parse(\n JSON.stringify(proxyData.spaceData)\n );\n });\n },\n // 重置空间状态\n resetSpaceStatus() {\n proxyData.spaceData.map((item: any) => {\n item.active = false;\n });\n proxyData.roomType = \"\";\n // 切换空间的时候把加班按钮平板\n proxyData.setForceOverTimeFlag(false);\n proxyData.isWork = false;\n },\n // 更多空间\n isShowMap: false,\n defaultSpace: spaceInfo,\n moreSpace() {\n proxyData.isShowMap = true;\n proxyData.defaultSpace = proxyData.spaceInfo;\n },\n // 数组元素更换位置\n elChangeExForArray(item: any) {\n let index1: any = 1;\n let index2: any = 0;\n for (let i = 0; i < proxyData.spaceData.length; i++) {\n if (item.spaceId === proxyData.spaceData[i].spaceId) {\n proxyData.spaceData[i].active = true;\n if (i > 2) {\n index2 = i;\n break;\n }\n }\n }\n if (index2) {\n let temp = proxyData.spaceData[index1];\n proxyData.spaceData[index1] = proxyData.spaceData[index2];\n proxyData.spaceData[index2] = temp;\n }\n console.log(proxyData.spaceData);\n },\n // 切换空间\n changeSpace(item: any, type: any = 0) {\n // 定时清除空间信息\n proxyData.clearTimerSpaceInfo();\n // 重置当前选中空间的状态\n proxyData.resetSpaceStatus();\n proxyData.spaceInfo = item;\n proxyData.init();\n if (type === 1) {\n // proxyData.isShowMap = false;\n proxyData.defaultSpace = item;\n proxyData.elChangeExForArray(item);\n }\n item.active = true;\n },\n timeOutEvent: timeOutEvent,\n touchNumber: 0,\n gtouchstart(e: any) {\n proxyData.touchNumber = 0;\n proxyData.timeOutEvent = setTimeout(function () {\n proxyData.touchNumber = 1;\n proxyData.longPress();\n }, 400); //这里设置定时器,定义长按500毫秒触发长按事件\n return false;\n },\n //手释放,如果在500毫秒内就释放,则取消长按事件,此时可以执行onclick应该执行的事件\n showDeleteButton() {\n console.log(\"dddd-\");\n clearInterval(proxyData.touchInterval);\n proxyData.touchInterval = null;\n clearTimeout(proxyData.timeOutEvent); //清除定时器\n if (proxyData.timeOutEvent != 0) {\n }\n return false;\n },\n //如果手指有移动,则取消所有事件,此时说明用户只是要移动而不是长按\n gtouchmove() {\n clearTimeout(this.timeOutEvent); //清除定时器\n proxyData.timeOutEvent = 0;\n },\n touchInterval: touchInterval,\n //真正长按后应该执行的内容\n longPress() {\n proxyData.timeOutEvent = 0;\n proxyData.touchInterval = setInterval(() => {\n proxyData.touchNumber++;\n if (proxyData.touchNumber === 4) {\n clearInterval(proxyData.touchInterval);\n proxyData.touchInterval = null;\n router.push({\n name: \"home\",\n query: { mac: proxyData.userInfo.mac, type: \"logoOut\" },\n });\n }\n }, 1000);\n //执行长按要执行的内容,如弹出菜单\n // console.log(\"长按\");\n },\n });\n nextTick(() => {\n // proxyData.envmonitorMove()\n // proxyData.envScrollTop()\n });\n onBeforeUnmount(() => {\n proxyData.clearTimerSpaceInfo();\n });\n onMounted(() => {\n // debugger\n // 获取天气信息\n // console.log(\"router====\")\n // console.log(route.query)\n let spaceId: any = route.query.spaceId;\n proxyData.spaceInfo = {\n // spaceId: \"Sp1101080259ce19c0effb604fe380f3a00c37e3959e\",\n spaceId: spaceId,\n };\n proxyData.defaultSpace = {\n spaceId: spaceId,\n };\n proxyData.init();\n // 获取当前平板绑定的空间\n proxyData.queryWorkSpace();\n proxyData.getWeather();\n });\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=3f7534ef&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=3f7534ef&lang=scss&scoped=true\"\nimport \"./index.vue?vue&type=style&index=1&id=3f7534ef&lang=scss\"\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-3f7534ef\"]])\n\nexport default __exports__","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!./scenarioDailog.vue?vue&type=style&index=0&id=100ec62f&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./index.vue?vue&type=style&index=0&id=e5733310&lang=scss&scoped=true\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuBg\":\"#fff\",\"menuText\":\"#162b64\",\"menuActiveText\":\"#435ebe\"};","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Index.vue?vue&type=style&index=0&id=54f78787&lang=scss&scoped=true\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuBg\":\"#fff\",\"menuText\":\"#162b64\",\"menuActiveText\":\"#435ebe\"};","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./index.vue?vue&type=style&index=0&id=3f7534ef&lang=scss&scoped=true\"","import \"../../style/base.css\";\nimport \"../../badge/index.css\";\nimport \"../../icon/index.css\";\nimport \"../../cell/index.css\";\nimport \"../index.css\";\n","'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength(FIND_INDEX);\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\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!./ScenarioConfig.vue?vue&type=style&index=0&id=3ed2c47e&lang=scss&scoped=true\"","import { isDef, isObject } from \"./validate\";\nfunction deepClone(obj) {\n if (!isDef(obj)) {\n return obj;\n }\n if (Array.isArray(obj)) {\n return obj.map((item) => deepClone(item));\n }\n if (isObject(obj)) {\n const to = {};\n Object.keys(obj).forEach((key) => {\n to[key] = deepClone(obj[key]);\n });\n return to;\n }\n return obj;\n}\nexport {\n deepClone\n};\n","import { createVNode as _createVNode } from \"vue\";\nimport { ref, watch, reactive, defineComponent } from \"vue\";\nimport { deepClone } from \"../utils/deep-clone\";\nimport { clamp, isObject, unknownProp, numericProp, makeArrayProp, makeNumberProp, preventDefault, createNamespace, makeRequiredProp } from \"../utils\";\nimport { useParent } from \"@vant/use\";\nimport { useTouch } from \"../composables/use-touch\";\nimport { useExpose } from \"../composables/use-expose\";\nconst DEFAULT_DURATION = 200;\nconst MOMENTUM_LIMIT_TIME = 300;\nconst MOMENTUM_LIMIT_DISTANCE = 15;\nconst [name, bem] = createNamespace(\"picker-column\");\nfunction getElementTranslateY(element) {\n const {\n transform\n } = window.getComputedStyle(element);\n const translateY = transform.slice(7, transform.length - 1).split(\", \")[5];\n return Number(translateY);\n}\nconst PICKER_KEY = Symbol(name);\nconst isOptionDisabled = (option) => isObject(option) && option.disabled;\nvar stdin_default = defineComponent({\n name,\n props: {\n textKey: makeRequiredProp(String),\n readonly: Boolean,\n allowHtml: Boolean,\n className: unknownProp,\n itemHeight: makeRequiredProp(Number),\n defaultIndex: makeNumberProp(0),\n swipeDuration: makeRequiredProp(numericProp),\n initialOptions: makeArrayProp(),\n visibleItemCount: makeRequiredProp(numericProp)\n },\n emits: [\"change\"],\n setup(props, {\n emit,\n slots\n }) {\n let moving;\n let startOffset;\n let touchStartTime;\n let momentumOffset;\n let transitionEndTrigger;\n const wrapper = ref();\n const state = reactive({\n index: props.defaultIndex,\n offset: 0,\n duration: 0,\n options: deepClone(props.initialOptions)\n });\n const touch = useTouch();\n const count = () => state.options.length;\n const baseOffset = () => props.itemHeight * (+props.visibleItemCount - 1) / 2;\n const adjustIndex = (index) => {\n index = clamp(index, 0, count());\n for (let i = index; i < count(); i++) {\n if (!isOptionDisabled(state.options[i]))\n return i;\n }\n for (let i = index - 1; i >= 0; i--) {\n if (!isOptionDisabled(state.options[i]))\n return i;\n }\n };\n const setIndex = (index, emitChange) => {\n index = adjustIndex(index) || 0;\n const offset = -index * props.itemHeight;\n const trigger = () => {\n if (index !== state.index) {\n state.index = index;\n if (emitChange) {\n emit(\"change\", index);\n }\n }\n };\n if (moving && offset !== state.offset) {\n transitionEndTrigger = trigger;\n } else {\n trigger();\n }\n state.offset = offset;\n };\n const setOptions = (options) => {\n if (JSON.stringify(options) !== JSON.stringify(state.options)) {\n state.options = deepClone(options);\n setIndex(props.defaultIndex);\n }\n };\n const onClickItem = (index) => {\n if (moving || props.readonly) {\n return;\n }\n transitionEndTrigger = null;\n state.duration = DEFAULT_DURATION;\n setIndex(index, true);\n };\n const getOptionText = (option) => {\n if (isObject(option) && props.textKey in option) {\n return option[props.textKey];\n }\n return option;\n };\n const getIndexByOffset = (offset) => clamp(Math.round(-offset / props.itemHeight), 0, count() - 1);\n const momentum = (distance, duration) => {\n const speed = Math.abs(distance / duration);\n distance = state.offset + speed / 3e-3 * (distance < 0 ? -1 : 1);\n const index = getIndexByOffset(distance);\n state.duration = +props.swipeDuration;\n setIndex(index, true);\n };\n const stopMomentum = () => {\n moving = false;\n state.duration = 0;\n if (transitionEndTrigger) {\n transitionEndTrigger();\n transitionEndTrigger = null;\n }\n };\n const onTouchStart = (event) => {\n if (props.readonly) {\n return;\n }\n touch.start(event);\n if (moving) {\n const translateY = getElementTranslateY(wrapper.value);\n state.offset = Math.min(0, translateY - baseOffset());\n startOffset = state.offset;\n } else {\n startOffset = state.offset;\n }\n state.duration = 0;\n touchStartTime = Date.now();\n momentumOffset = startOffset;\n transitionEndTrigger = null;\n };\n const onTouchMove = (event) => {\n if (props.readonly) {\n return;\n }\n touch.move(event);\n if (touch.isVertical()) {\n moving = true;\n preventDefault(event, true);\n }\n state.offset = clamp(startOffset + touch.deltaY.value, -(count() * props.itemHeight), props.itemHeight);\n const now = Date.now();\n if (now - touchStartTime > MOMENTUM_LIMIT_TIME) {\n touchStartTime = now;\n momentumOffset = state.offset;\n }\n };\n const onTouchEnd = () => {\n if (props.readonly) {\n return;\n }\n const distance = state.offset - momentumOffset;\n const duration = Date.now() - touchStartTime;\n const allowMomentum = duration < MOMENTUM_LIMIT_TIME && Math.abs(distance) > MOMENTUM_LIMIT_DISTANCE;\n if (allowMomentum) {\n momentum(distance, duration);\n return;\n }\n const index = getIndexByOffset(state.offset);\n state.duration = DEFAULT_DURATION;\n setIndex(index, true);\n setTimeout(() => {\n moving = false;\n }, 0);\n };\n const renderOptions = () => {\n const optionStyle = {\n height: `${props.itemHeight}px`\n };\n return state.options.map((option, index) => {\n const text = getOptionText(option);\n const disabled = isOptionDisabled(option);\n const data = {\n role: \"button\",\n style: optionStyle,\n tabindex: disabled ? -1 : 0,\n class: bem(\"item\", {\n disabled,\n selected: index === state.index\n }),\n onClick: () => onClickItem(index)\n };\n const childData = {\n class: \"van-ellipsis\",\n [props.allowHtml ? \"innerHTML\" : \"textContent\"]: text\n };\n return _createVNode(\"li\", data, [slots.option ? slots.option(option) : _createVNode(\"div\", childData, null)]);\n });\n };\n const setValue = (value) => {\n const {\n options\n } = state;\n for (let i = 0; i < options.length; i++) {\n if (getOptionText(options[i]) === value) {\n return setIndex(i);\n }\n }\n };\n const getValue = () => state.options[state.index];\n setIndex(state.index);\n useParent(PICKER_KEY);\n useExpose({\n state,\n setIndex,\n getValue,\n setValue,\n setOptions,\n stopMomentum\n });\n watch(() => props.initialOptions, setOptions);\n watch(() => props.defaultIndex, (value) => setIndex(value));\n return () => _createVNode(\"div\", {\n \"class\": [bem(), props.className],\n \"onTouchstart\": onTouchStart,\n \"onTouchmove\": onTouchMove,\n \"onTouchend\": onTouchEnd,\n \"onTouchcancel\": onTouchEnd\n }, [_createVNode(\"ul\", {\n \"ref\": wrapper,\n \"style\": {\n transform: `translate3d(0, ${state.offset + baseOffset()}px, 0)`,\n transitionDuration: `${state.duration}ms`,\n transitionProperty: state.duration ? \"all\" : \"none\"\n },\n \"class\": bem(\"wrapper\"),\n \"onTransitionend\": stopMomentum\n }, [renderOptions()])]);\n }\n});\nexport {\n PICKER_KEY,\n stdin_default as default\n};\n","import { createVNode as _createVNode } from \"vue\";\nimport { ref, watch, computed, defineComponent } from \"vue\";\nimport { extend, unitToPx, truthProp, makeArrayProp, preventDefault, makeStringProp, makeNumericProp, createNamespace, HAPTICS_FEEDBACK, BORDER_UNSET_TOP_BOTTOM } from \"../utils\";\nimport { useChildren } from \"@vant/use\";\nimport { useExpose } from \"../composables/use-expose\";\nimport { Loading } from \"../loading\";\nimport Column, { PICKER_KEY } from \"./PickerColumn\";\nconst [name, bem, t] = createNamespace(\"picker\");\nconst pickerSharedProps = {\n title: String,\n loading: Boolean,\n readonly: Boolean,\n allowHtml: Boolean,\n itemHeight: makeNumericProp(44),\n showToolbar: truthProp,\n swipeDuration: makeNumericProp(1e3),\n visibleItemCount: makeNumericProp(6),\n cancelButtonText: String,\n confirmButtonText: String\n};\nconst pickerProps = extend({}, pickerSharedProps, {\n columns: makeArrayProp(),\n valueKey: String,\n defaultIndex: makeNumericProp(0),\n toolbarPosition: makeStringProp(\"top\"),\n columnsFieldNames: Object\n});\nvar stdin_default = defineComponent({\n name,\n props: pickerProps,\n emits: [\"confirm\", \"cancel\", \"change\"],\n setup(props, {\n emit,\n slots\n }) {\n if (process.env.NODE_ENV !== \"production\") {\n if (slots.default) {\n console.warn('[Vant] Picker: \"default\" slot is deprecated, please use \"toolbar\" slot instead.');\n }\n if (props.valueKey) {\n console.warn('[Vant] Picker: \"valueKey\" prop is deprecated, please use \"columnsFieldNames\" prop instead.');\n }\n }\n const hasOptions = ref(false);\n const formattedColumns = ref([]);\n const {\n text: textKey,\n values: valuesKey,\n children: childrenKey\n } = extend({\n text: props.valueKey || \"text\",\n values: \"values\",\n children: \"children\"\n }, props.columnsFieldNames);\n const {\n children,\n linkChildren\n } = useChildren(PICKER_KEY);\n linkChildren();\n const itemHeight = computed(() => unitToPx(props.itemHeight));\n const dataType = computed(() => {\n const firstColumn = props.columns[0];\n if (typeof firstColumn === \"object\") {\n if (childrenKey in firstColumn) {\n return \"cascade\";\n }\n if (valuesKey in firstColumn) {\n return \"object\";\n }\n }\n return \"plain\";\n });\n const formatCascade = () => {\n var _a;\n const formatted = [];\n let cursor = {\n [childrenKey]: props.columns\n };\n while (cursor && cursor[childrenKey]) {\n const children2 = cursor[childrenKey];\n let defaultIndex = (_a = cursor.defaultIndex) != null ? _a : +props.defaultIndex;\n while (children2[defaultIndex] && children2[defaultIndex].disabled) {\n if (defaultIndex < children2.length - 1) {\n defaultIndex++;\n } else {\n defaultIndex = 0;\n break;\n }\n }\n formatted.push({\n [valuesKey]: cursor[childrenKey],\n className: cursor.className,\n defaultIndex\n });\n cursor = children2[defaultIndex];\n }\n formattedColumns.value = formatted;\n };\n const format = () => {\n const {\n columns\n } = props;\n if (dataType.value === \"plain\") {\n formattedColumns.value = [{\n [valuesKey]: columns\n }];\n } else if (dataType.value === \"cascade\") {\n formatCascade();\n } else {\n formattedColumns.value = columns;\n }\n hasOptions.value = formattedColumns.value.some((item) => item[valuesKey] && item[valuesKey].length !== 0);\n };\n const getIndexes = () => children.map((child) => child.state.index);\n const setColumnValues = (index, options) => {\n const column = children[index];\n if (column) {\n column.setOptions(options);\n hasOptions.value = true;\n }\n };\n const onCascadeChange = (columnIndex) => {\n let cursor = {\n [childrenKey]: props.columns\n };\n const indexes = getIndexes();\n for (let i = 0; i <= columnIndex; i++) {\n cursor = cursor[childrenKey][indexes[i]];\n }\n while (cursor && cursor[childrenKey]) {\n columnIndex++;\n setColumnValues(columnIndex, cursor[childrenKey]);\n cursor = cursor[childrenKey][cursor.defaultIndex || 0];\n }\n };\n const getChild = (index) => children[index];\n const getColumnValue = (index) => {\n const column = getChild(index);\n if (column) {\n return column.getValue();\n }\n };\n const setColumnValue = (index, value) => {\n const column = getChild(index);\n if (column) {\n column.setValue(value);\n if (dataType.value === \"cascade\") {\n onCascadeChange(index);\n }\n }\n };\n const getColumnIndex = (index) => {\n const column = getChild(index);\n if (column) {\n return column.state.index;\n }\n };\n const setColumnIndex = (columnIndex, optionIndex) => {\n const column = getChild(columnIndex);\n if (column) {\n column.setIndex(optionIndex);\n if (dataType.value === \"cascade\") {\n onCascadeChange(columnIndex);\n }\n }\n };\n const getColumnValues = (index) => {\n const column = getChild(index);\n if (column) {\n return column.state.options;\n }\n };\n const getValues = () => children.map((child) => child.getValue());\n const setValues = (values) => {\n values.forEach((value, index) => {\n setColumnValue(index, value);\n });\n };\n const setIndexes = (indexes) => {\n indexes.forEach((optionIndex, columnIndex) => {\n setColumnIndex(columnIndex, optionIndex);\n });\n };\n const emitAction = (event) => {\n if (dataType.value === \"plain\") {\n emit(event, getColumnValue(0), getColumnIndex(0));\n } else {\n emit(event, getValues(), getIndexes());\n }\n };\n const onChange = (columnIndex) => {\n if (dataType.value === \"cascade\") {\n onCascadeChange(columnIndex);\n }\n if (dataType.value === \"plain\") {\n emit(\"change\", getColumnValue(0), getColumnIndex(0));\n } else {\n emit(\"change\", getValues(), columnIndex);\n }\n };\n const confirm = () => {\n children.forEach((child) => child.stopMomentum());\n emitAction(\"confirm\");\n };\n const cancel = () => emitAction(\"cancel\");\n const renderTitle = () => {\n if (slots.title) {\n return slots.title();\n }\n if (props.title) {\n return _createVNode(\"div\", {\n \"class\": [bem(\"title\"), \"van-ellipsis\"]\n }, [props.title]);\n }\n };\n const renderCancel = () => {\n const text = props.cancelButtonText || t(\"cancel\");\n return _createVNode(\"button\", {\n \"type\": \"button\",\n \"class\": [bem(\"cancel\"), HAPTICS_FEEDBACK],\n \"onClick\": cancel\n }, [slots.cancel ? slots.cancel() : text]);\n };\n const renderConfirm = () => {\n const text = props.confirmButtonText || t(\"confirm\");\n return _createVNode(\"button\", {\n \"type\": \"button\",\n \"class\": [bem(\"confirm\"), HAPTICS_FEEDBACK],\n \"onClick\": confirm\n }, [slots.confirm ? slots.confirm() : text]);\n };\n const renderToolbar = () => {\n if (props.showToolbar) {\n const slot = slots.toolbar || slots.default;\n return _createVNode(\"div\", {\n \"class\": bem(\"toolbar\")\n }, [slot ? slot() : [renderCancel(), renderTitle(), renderConfirm()]]);\n }\n };\n const renderColumnItems = () => formattedColumns.value.map((item, columnIndex) => {\n var _a;\n return _createVNode(Column, {\n \"textKey\": textKey,\n \"readonly\": props.readonly,\n \"allowHtml\": props.allowHtml,\n \"className\": item.className,\n \"itemHeight\": itemHeight.value,\n \"defaultIndex\": (_a = item.defaultIndex) != null ? _a : +props.defaultIndex,\n \"swipeDuration\": props.swipeDuration,\n \"initialOptions\": item[valuesKey],\n \"visibleItemCount\": props.visibleItemCount,\n \"onChange\": () => onChange(columnIndex)\n }, {\n option: slots.option\n });\n });\n const renderMask = (wrapHeight) => {\n if (hasOptions.value) {\n const frameStyle = {\n height: `${itemHeight.value}px`\n };\n const maskStyle = {\n backgroundSize: `100% ${(wrapHeight - itemHeight.value) / 2}px`\n };\n return [_createVNode(\"div\", {\n \"class\": bem(\"mask\"),\n \"style\": maskStyle\n }, null), _createVNode(\"div\", {\n \"class\": [BORDER_UNSET_TOP_BOTTOM, bem(\"frame\")],\n \"style\": frameStyle\n }, null)];\n }\n };\n const renderColumns = () => {\n const wrapHeight = itemHeight.value * +props.visibleItemCount;\n const columnsStyle = {\n height: `${wrapHeight}px`\n };\n return _createVNode(\"div\", {\n \"class\": bem(\"columns\"),\n \"style\": columnsStyle,\n \"onTouchmove\": preventDefault\n }, [renderColumnItems(), renderMask(wrapHeight)]);\n };\n watch(() => props.columns, format, {\n immediate: true\n });\n useExpose({\n confirm,\n getValues,\n setValues,\n getIndexes,\n setIndexes,\n getColumnIndex,\n setColumnIndex,\n getColumnValue,\n setColumnValue,\n getColumnValues,\n setColumnValues\n });\n return () => {\n var _a, _b;\n return _createVNode(\"div\", {\n \"class\": bem()\n }, [props.toolbarPosition === \"top\" ? renderToolbar() : null, props.loading ? _createVNode(Loading, {\n \"class\": bem(\"loading\")\n }, null) : null, (_a = slots[\"columns-top\"]) == null ? void 0 : _a.call(slots), renderColumns(), (_b = slots[\"columns-bottom\"]) == null ? void 0 : _b.call(slots), props.toolbarPosition === \"bottom\" ? renderToolbar() : null]);\n };\n }\n});\nexport {\n stdin_default as default,\n pickerSharedProps\n};\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!./index.vue?vue&type=style&index=1&id=3f7534ef&lang=scss\"","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!./SpaceBox.vue?vue&type=style&index=0&id=b11982ae&lang=scss&scoped=true\"","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!./manualIndex.vue?vue&type=style&index=0&id=5be753e7&lang=scss&scoped=true\"","import { withInstall } from \"../utils\";\nimport _Picker from \"./Picker\";\nconst Picker = withInstall(_Picker);\nvar stdin_default = Picker;\nexport {\n Picker,\n stdin_default as default\n};\n"],"sourceRoot":""}
|