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:///./node_modules/core-js/modules/es.array.reduce.js","webpack:///./src/views/envmonitor/components/Air/index.vue?ba1a","webpack:///./src/views/envmonitor/components/Air/index.vue?bebd","webpack:///./src/views/envmonitor/components/Air/manualIndex.vue?dd57","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/Scenario/Scenario.vue?9244","webpack:///./src/views/envmonitor/components/Contact/index.vue?cc17","webpack:///./src/views/envmonitor/components/workOvertime/WorkConfig.vue?bf2b","webpack:///./src/views/envmonitor/components/Map/index.vue?c26a","webpack:///./src/views/envmonitor/components/workOvertime/index.vue?34bc","webpack:///./src/views/envmonitor/components/Light/index.vue?d819","webpack:///./src/views/envmonitor/components/ManualWork/index.vue?78cc","webpack:///./node_modules/vant/es/button/style/index.js","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?c514","webpack:///./src/views/envmonitor/components/workOvertime/index.vue?4048","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/ManualWork/index.vue?ca3f","webpack:///./src/views/envmonitor/components/ManualWork/index.vue?fe85","webpack:///./src/views/envmonitor/components/ManualWork/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?2c82","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/ManualWork/WorkConfig.vue?2620","webpack:///./src/views/envmonitor/components/ManualWork/LeaveDailog.vue?ee8e","webpack:///./src/views/envmonitor/components/ManualWork/LeaveDailog.vue?8b60","webpack:///./src/views/envmonitor/components/ManualWork/LeaveDailog.vue","webpack:///./src/views/envmonitor/components/ManualWork/WorkConfig.vue?532f","webpack:///./src/views/envmonitor/components/ManualWork/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?a4e5","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?aa71","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?0f02","webpack:///./src/views/envmonitor/components/Map/SpaceBox.vue?8b26","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/Air/manualIndex.vue?4248","webpack:///./src/views/envmonitor/components/Scenario/scenarioDailog.vue?fd62","webpack:///./src/views/envmonitor/components/Curtain/index.vue?33ea","webpack:///./src/components/header/Index.vue?9ca5","webpack:///./src/views/envmonitor/components/Air/index.vue?bc81","webpack:///./node_modules/core-js/modules/es.array.splice.js","webpack:///./src/views/envmonitor/components/ManualWork/LeaveDailog.vue?2492","webpack:///./src/views/envmonitor/components/Light/index.vue?65f6","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/components/Air/manualIndex.vue?952c","webpack:///./node_modules/core-js/internals/array-reduce.js","webpack:///./src/views/envmonitor/index.vue?6e89","webpack:///./src/views/envmonitor/index.vue?5946","webpack:///./src/views/envmonitor/components/ManualWork/WorkConfig.vue?dbb6","webpack:///./src/views/envmonitor/components/Map/SpaceBox.vue?66fa","webpack:///./node_modules/vant/es/picker/index.js","webpack:///./src/views/envmonitor/index.vue?2f49","webpack:///./src/views/envmonitor/components/Light/index.vue?3f62"],"names":["$","$reduce","left","arrayMethodIsStrict","arrayMethodUsesToLength","CHROME_VERSION","IS_NODE","STRICT_METHOD","USES_TO_LENGTH","1","CHROME_BUG","target","proto","forced","reduce","callbackfn","this","arguments","length","undefined","module","exports","bem","create","cellGroupProps","title","String","inset","Boolean","border","stdin_default","name","inheritAttrs","props","slots","attrs","renderGroup","_a","default","call","renderTitle","CellGroup","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","promise","then","validate","error","push","validateAll","all","map","item","validateField","name2","matched","find","resetValidation","forEach","scrollToField","options","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","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","key","_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_manual_config","_component_scenario_config","_component_manual_index","_component_Air","_component_Light","_component_Curtain","_component_work_overtime","_component_manual_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","scenarioArr","controlMode","workkArr","onCloseWork","closeWork","onTriggerWork","triggerWork","onSetForceOverTimeFlag","setForceOverTimeFlag","activeType","spaceId","spaceInfo","projectId","onSetHeadScene","setHeadScene","seviceEquipmentList","forceOverTimeFlag","onUpdateAirTemp","updateAirTemp","hasAir","spaceExistenceDevice","airConditioner","airVolumes","userIsControl","id","isACATVA","light","curtain","show","isShowWork","position","teleport","enterType","deviceItem","_","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","Math","round","isSameValue","newValue","oldValue","JSON","stringify","handleRangeValue","_b","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","Object","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","addEventListener","e","isNaN","parseInt","abs","swiper","swipeLeft","checkMoveTarget","mation","moveX","startX","swipeRight","el","endBox","endEnd","endRadio","checkPersionService","flag","i","isServiceTime","cancelRemoveListener","removeEventListener","endBoxSwiper","sliderBtnEl","startEl","sliderBoxEl","querySelectorAll","sliderBtnLeft","screenLeft","sliderBtnWidth","sliderBoxWidth","isMove","ceil","moveRealX","cancelSliderBoxColor","sliderBoxArr","isCheck","slidersWrapperWidth","parseIndex","bg","setCheckTimeStyle","setServiceTimerStyle","setPastTime","time","newTime","minute","temTimeInt","setWorkTimeList","isUpdate","proxy","$loadinngEnd","data","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","pubname","startDate","endDate","userId","userPhone","customSceneEqType","userName","formateDelTimer","addTimeArr","addObj1","addObj2","concat","formTimerArr","saveBatchCustomScene","res","confirm","message","newProps","__exports__","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","isLight","isAir","equipmentList","equipmentCategory","airNum","checkEquipment","lightNum","getTimerIndex","cusIndex","spaceCustomContentList","endFormatTimer","setNowBarPerstion","spaceCustom","formateEquipment","isCusTimeBefore","sceneEquipList","delStartTime","realTime","endTimeReal","splice","removeDuplicateObj","arr","newArr","next","scene","openDeviceAll","airDevice","lightDevice","switch","code","setSpaceCondtioners","setallLampHttp","_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","setLeavingTime","delTime","sceneType","handleScene","flex","sceneName","scenarioImgArr","DISCUSSING","PROJECTING","ADJOURNMENT","formatScenarioImg","order","sort","a","b","loading","lodingText","result","pm25","quality","setPermanentSpace","VanIcon","goBack","window","history","go","popList","vanPopupIndex","sceneDetail","showSecenDetailDalig","loadingStart","duration","forbidClick","loadinngEnd","clear","mitem","parse","element","setTimeout","_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","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_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","transform","valueHeight","sel","tempArr","titem","gIndex","gearArr","gItem","mIndex","modelArr","mItem","valueDom","cotrolLoading","swiperIinit","part","setChildSelectList","barSwiperInit","setBarNowPerstion","barBox","sliderBox","floor","barWidth","handBox","barLeft","tempPart","setLoadingNumber","formatAirData","codeKey","setChildLoadingNumber","childDisabled","timeOuter","symbol","isExeSpaceTime","checkDeviceIsExeSpaceTime","switchCode","tempSetCode","gearCode","modeSetCode","updateChildPerstion","equpObj","deviceAll","formateSetChildStatus","findIndex","ele","setValueHeight","offsetHeight","str","lampList","isShowChildLight","lampSw","lightImg","showFlag","eqChange","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","mapType","_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","ManualOvertime","Light","Curtain","TimeBox","WorkOvertime","WorkConfig","ManualConfig","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","allDevice","seviceEquipmentListFlag","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","checkDeviceShowWork","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","levelTxt","setPageheight","getElementById","resSen","setHeadSceneAirTemp","handlePreClose","changeLampStatus","getEquipments","queryParams","hourMiChange","tempStr","toString","newStr","dLen","slice","handlePopup","triggerCheckSpace","houseEle","houseHeight","scrollTop","clearTimerSpaceInfo","isMetting","checkIsSpaceScene","querySpaceSceneConfigTimer","timerOut","querySpaceSceneConfig","clearSecenTimer","getSpaceEquipList","queryCustomAndScence","compare","formateManualWorkTime","obj1","obj2","val1","val2","updatePageUrl","url","location","origin","pathname","replaceState","resetSpaceStatus","elChangeExForArray","index1","index2","temp","clearAll","touchNumber","longPress","toAbsoluteIndex","toInteger","toLength","toObject","arraySpeciesCreate","createProperty","arrayMethodHasSpeciesSupport","HAS_SPECIES_SUPPORT","ACCESSORS","0","MAX_SAFE_INTEGER","MAXIMUM_ALLOWED_LENGTH_EXCEEDED","deleteCount","insertCount","actualDeleteCount","A","k","from","to","O","actualStart","argumentsLength","TypeError","$findIndex","addToUnscopables","FIND_INDEX","SKIPS_HOLES","deepClone","keys","DEFAULT_DURATION","MOMENTUM_LIMIT_TIME","MOMENTUM_LIMIT_DISTANCE","getElementTranslateY","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","aFunction","IndexedObject","createMethod","IS_RIGHT","that","memo","self","Picker"],"mappings":"kHAAA,qB,oCCAA,W,2DCAA,W,oCCCA,IAAIA,EAAI,EAAQ,QACZC,EAAU,EAAQ,QAA6BC,KAC/CC,EAAsB,EAAQ,QAC9BC,EAA0B,EAAQ,QAClCC,EAAiB,EAAQ,QACzBC,EAAU,EAAQ,QAElBC,EAAgBJ,EAAoB,UACpCK,EAAiBJ,EAAwB,SAAU,CAAEK,EAAG,IAGxDC,GAAcJ,GAAWD,EAAiB,IAAMA,EAAiB,GAIrEL,EAAE,CAAEW,OAAQ,QAASC,OAAO,EAAMC,QAASN,IAAk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EAAQ,QAGnB2H,EAAe,SAAUC,GAC3B,OAAO,SAAUC,EAAMnnC,EAAYygC,EAAiB2G,GAClDL,EAAU/mC,GACV,IAAIugC,EAAIhB,EAAS4H,GACbE,EAAOL,EAAczG,GACrBpgC,EAASm/B,EAASiB,EAAEpgC,QACpBgK,EAAQ+8B,EAAW/mC,EAAS,EAAI,EAChCwX,EAAIuvB,GAAY,EAAI,EACxB,GAAIzG,EAAkB,EAAG,MAAO,EAAM,CACpC,GAAIt2B,KAASk9B,EAAM,CACjBD,EAAOC,EAAKl9B,GACZA,GAASwN,EACT,MAGF,GADAxN,GAASwN,EACLuvB,EAAW/8B,EAAQ,EAAIhK,GAAUgK,EACnC,MAAMu2B,UAAU,+CAGpB,KAAMwG,EAAW/8B,GAAS,EAAIhK,EAASgK,EAAOA,GAASwN,EAAOxN,KAASk9B,IACrED,EAAOpnC,EAAWonC,EAAMC,EAAKl9B,GAAQA,EAAOo2B,IAE9C,OAAO6G,IAIX/mC,EAAOC,QAAU,CAGfnB,KAAM8nC,GAAa,GAGnBl1B,MAAOk1B,GAAa,K,kCCtCtB,W,mECCA5mC,EAAOC,QAAU,CAAC,OAAS,OAAO,SAAW,UAAU,eAAiB,Y,yDCDxE,W,gFCAA,W,kCCAA,gGAEA,MAAMgnC,EAAS,eAAY,QAC3B,IAAIvmC,EAAgBumC,G,kCCHpB,W,qBCCAjnC,EAAOC,QAAU,CAAC,OAAS,OAAO,SAAW,UAAU,eAAiB","file":"static/js/chunk-125ef246.cea5237b.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\"","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduce');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 });\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH || CHROME_BUG }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\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=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\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuBg\":\"#fff\",\"menuText\":\"#162b64\",\"menuActiveText\":\"#435ebe\"};","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!./Scenario.vue?vue&type=style&index=0&id=7769650f&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!./WorkConfig.vue?vue&type=style&index=0&id=1d74e949&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=91b1f394&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=7d28da75&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=b2601396&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=012ae220&lang=scss&scoped=true\"","import \"../../style/base.css\";\nimport \"../../badge/index.css\";\nimport \"../../icon/index.css\";\nimport \"../../loading/index.css\";\nimport \"../index.css\";\n","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-54afeb17\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"main-left\" }\nconst _hoisted_2 = { class: \"logo-box\" }\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 = { class: \"temp-num\" }\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_manual_config = _resolveComponent(\"manual-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_manual_overtime = _resolveComponent(\"manual-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\", {\n class: \"left-top\",\n onTouchstart: _cache[1] || (_cache[1] = ($event: any) => (_ctx.gtouchstart($event))),\n onTouchmove: _cache[2] || (_cache[2] = ($event: any) => (_ctx.gtouchmove())),\n onTouchend: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.showDeleteButton && _ctx.showDeleteButton(...args)))\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\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 ]),\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[0] || (_cache[0] = \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 ], 32),\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 _createElementVNode(\"span\", _hoisted_16, [\n _createTextVNode(_toDisplayString(_ctx.officeData.temperature ? _ctx.officeData.temperature : \"--\"), 1),\n _hoisted_17\n ])\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) ||\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 onCloseWork: _ctx.closeWork,\n onTriggerWork: _ctx.triggerWork,\n onSetForceOverTimeFlag: _ctx.setForceOverTimeFlag\n }, null, 8, [\"scenarioArr\", \"workkArr\", \"onCloseWork\", \"onTriggerWork\", \"onSetForceOverTimeFlag\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.roomType === '开放' && _ctx.isWork && _ctx.controlMode === 1)\n ? (_openBlock(), _createBlock(_component_manual_config, {\n key: 1,\n scenarioArr: _ctx.scenarioArr,\n workkArr: _ctx.workkArr,\n onCloseWork: _ctx.closeWork,\n onTriggerWork: _ctx.triggerWork,\n onSetForceOverTimeFlag: _ctx.setForceOverTimeFlag\n }, null, 8, [\"scenarioArr\", \"workkArr\", \"onCloseWork\", \"onTriggerWork\", \"onSetForceOverTimeFlag\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.roomType === '会议室' && _ctx.scenarioArr && _ctx.scenarioArr.length)\n ? (_openBlock(), _createBlock(_component_scenario_config, {\n key: 2,\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 seviceEquipmentList: _ctx.seviceEquipmentList,\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\", \"seviceEquipmentList\", \"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 controlMode: _ctx.controlMode,\n seviceEquipmentList: _ctx.seviceEquipmentList,\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\", \"controlMode\", \"seviceEquipmentList\", \"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 && _ctx.controlMode !== 1)\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 (_ctx.isShowWork && _ctx.controlMode === 1)\n ? (_openBlock(), _createBlock(_component_manual_overtime, {\n key: 1,\n enterType: _ctx.enterType,\n deviceItem: _ctx.deviceItem,\n spaceInfo: _ctx.spaceInfo,\n onCloseWork: _ctx.closeWork,\n projectId: _ctx.projectId,\n workkArr: _ctx.workkArr\n }, null, 8, [\"enterType\", \"deviceItem\", \"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-7d28da75\"),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 delTimerArr.push(delObj);\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: proxyData.userInfo.pubname, //类型: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 for (let i = 0; i < customSceneList.length; i++) {\n let index: any = i;\n let item: any = customSceneList[i];\n if (startTime == item.startTime && endTime == item.endTime) {\n // 代表需要删除该段\n // 整段删除\n let delObj: any = proxyData.formaTimeObj(\n item,\n \"1\",\n item.startTime,\n item.endTime\n );\n delTimerArr.push(delObj);\n break;\n } else 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 = \"3\";\n // item.endTimeReal = realTime;\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 // proxyGlobal.proxy.$loadinngEnd();\n proxyData.showLoading = false;\n } else if (type === 2) {\n // 删除\n proxyData.isUpdate = true;\n proxyData.showLoading = false;\n // proxyData.setWorkTimeList();\n }\n context.emit(\"closeWork\");\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=7d28da75&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=7d28da75&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-7d28da75\"]])\n\nexport default __exports__","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, normalizeStyle as _normalizeStyle, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-012ae220\"),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 = {\n class: \"add-time\",\n id: \"addTimeId\"\n}\nconst _hoisted_5 = {\n key: 0,\n class: \"date_box\"\n}\nconst _hoisted_6 = [\"onClick\"]\nconst _hoisted_7 = {\n class: \"sliders-list\",\n id: \"sliderListId\"\n}\nconst _hoisted_8 = { class: \"sliders\" }\nconst _hoisted_9 = [\"onClick\", \"data-index\"]\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"start\",\n id: \"startId\"\n}, null, -1))\nconst _hoisted_11 = /*#__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_12 = [\n _hoisted_10,\n _hoisted_11\n]\nconst _hoisted_13 = { class: \"add-time-btn\" }\nconst _hoisted_14 = {\n key: 0,\n class: \"device-title\"\n}\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"line\" }, null, -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text\" }, \"预约开启设备\", -1))\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"line\" }, null, -1))\nconst _hoisted_18 = [\n _hoisted_15,\n _hoisted_16,\n _hoisted_17\n]\nconst _hoisted_19 = { class: \"work-device\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-title\" }, \"空调\", -1))\nconst _hoisted_21 = { class: \"device-box\" }\nconst _hoisted_22 = [\"onClick\"]\nconst _hoisted_23 = [\"src\"]\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-title\" }, \"照明\", -1))\nconst _hoisted_25 = { class: \"device-box\" }\nconst _hoisted_26 = [\"onClick\"]\nconst _hoisted_27 = [\"src\"]\nconst _hoisted_28 = {\n key: 2,\n class: \"device-tip\"\n}\nconst _hoisted_29 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"计费方式:\", -1))\nconst _hoisted_30 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, [\n /*#__PURE__*/_createElementVNode(\"span\", null, \" * \"),\n /*#__PURE__*/_createTextVNode(\" 空调延时采用后付费方式,系统将根据您申请的时间产生延时费用。预约时间下您可自由开启空间下的设备。 \")\n], -1))\nconst _hoisted_31 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" 收费标准按开机设备对应空间的面积计费,空调加时费用按50元/m2·h进行计费,照明设备延时使用不计费。 \", -1))\nconst _hoisted_32 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" 如您提前结束工作,请点击“我要离开”按钮,系统会自动调整设备关闭时间,感谢与您一同共创可持续的办公环境。 \", -1))\nconst _hoisted_33 = [\n _hoisted_29,\n _hoisted_30,\n _hoisted_31,\n _hoisted_32\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\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString(_ctx.spaceInfo.spaceName) + \" 申请延时\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n (_ctx.dateArr && _ctx.dateArr.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\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_6))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_7, [\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_8, [\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_9)\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_12)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\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.isLight || _ctx.isAir)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, _hoisted_18))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_19, [\n (_ctx.isAir)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _hoisted_20,\n _createElementVNode(\"div\", _hoisted_21, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.nowData.equipmentList, (item, index) => {\n return (_openBlock(), _createElementBlock(_Fragment, {\n key: 'eq' + index\n }, [\n (item.equipmentCategory !== 'SELTLT')\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"device-row\",\n style: _normalizeStyle({ width: _ctx.airNum == 1 ? '98%' : '48%' }),\n onClick: ($event: any) => (_ctx.checkEquipment(item))\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(item.localName), 1),\n _createElementVNode(\"img\", {\n src: \n item.isCheck\n ? _ctx.parseImgUrl('ipdImages', 'check-open.svg')\n : _ctx.parseImgUrl('ipdImages', 'check-close.svg')\n ,\n alt: \"\"\n }, null, 8, _hoisted_23)\n ], 12, _hoisted_22))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n ])\n ], 64))\n : _createCommentVNode(\"\", true),\n (_ctx.isLight)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _hoisted_24,\n _createElementVNode(\"div\", _hoisted_25, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.nowData.equipmentList, (item, index) => {\n return (_openBlock(), _createElementBlock(_Fragment, {\n key: 'eq' + index\n }, [\n (item.equipmentCategory === 'SELTLT')\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"device-row\",\n style: _normalizeStyle({ width: _ctx.lightNum == 1 ? '98%' : '48%' }),\n onClick: ($event: any) => (_ctx.checkEquipment(item))\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(item.localName), 1),\n _createElementVNode(\"img\", {\n src: \n item.isCheck\n ? _ctx.parseImgUrl('ipdImages', 'check-open.svg')\n : _ctx.parseImgUrl('ipdImages', 'check-close.svg')\n ,\n alt: \"\"\n }, null, 8, _hoisted_27)\n ], 12, _hoisted_26))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n ])\n ], 64))\n : _createCommentVNode(\"\", true),\n (_ctx.isLight || _ctx.isAir)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_28, _hoisted_33))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.showLoading)\n ? (_openBlock(), _createBlock(_component_van_loading, {\n key: 1,\n class: \"temp-loading\"\n }))\n : _createCommentVNode(\"\", true)\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 {\n saveBatchCustomScene,\n setallLampHttp,\n setSpaceCondtioners,\n} from \"@/apis/envmonitor\";\nimport { number } from \"echarts\";\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 enterType: {\n type: Number,\n default: () => 1,\n },\n deviceItem: {\n type: Object,\n default: () => null,\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 parseImgUrl: parseImgUrl,\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 deviceItem: props.deviceItem,\n enterType: props.enterType, // 1:all 2:空调 3:灯\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 getTimerIndex(timerArr: any, val: any) {\n let cusIndex: any = 0;\n timerArr.map((time: any, index: any) => {\n if (time.formatTimer == val) {\n cusIndex = index;\n }\n });\n return cusIndex;\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\n let spaceCustomContentList: any =\n proxyData.nowData.spaceCustomContentList || [];\n // debugger\n if (formatTimer >= cusStartTime && formatTimer <= cusEndTime) {\n // debugger\n //在服务定制时间之间\n timerArr.map((item: any, index: any) => {\n if (item.formatTimer === cusEndTime) {\n obj.nowIndex = index;\n }\n });\n let endFormatTimer: any = timerArr[nowIndex + obj.len].formatTimer;\n spaceCustomContentList.map((item: any) => {\n let startTime: any = proxyData.parseCusStartTime(item.startTime);\n if (startTime > cusEndTime && endFormatTimer > startTime) {\n let cusIndex: any = proxyData.getTimerIndex(timerArr, startTime);\n obj.len =\n cusIndex - obj.nowIndex > 0 ? cusIndex - obj.nowIndex : 0;\n }\n });\n } else if (formatTimer < cusStartTime) {\n console.log(\"在当前的服务定制之前---4\");\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 } else if (formatTimer >= cusEndTime) {\n // 在服务定制之后\n // 在服务定制之后\n console.log(\"在当前的服务定制之后---4\");\n let endFormatTimer: any = timerArr[nowIndex + obj.len].formatTimer;\n spaceCustomContentList.map((item: any) => {\n let startTime: any = proxyData.parseCusStartTime(item.startTime);\n if (startTime > cusEndTime && endFormatTimer > startTime) {\n let cusIndex: any = proxyData.getTimerIndex(timerArr, startTime);\n obj.len =\n cusIndex - obj.nowIndex > 0 ? cusIndex - obj.nowIndex : 0;\n }\n });\n }\n return obj;\n },\n // 设置当前可选择的时间可选时间\n setNowBarPerstion(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 return;\n }\n\n let spaceCustomContentList: any =\n proxyData.nowData.spaceCustomContentList || [];\n let formatTimer: any = proxyData.nowTimerArr[index].formatTimer; //在服务定制时间之间\n let flag: any = false;\n spaceCustomContentList.map((spaceCustom: any) => {\n let startTime: any = proxyData.parseCusStartTime(\n spaceCustom.startTime\n );\n let endTime: any = proxyData.parseCusEndTime(spaceCustom.endTime);\n if (formatTimer >= startTime && formatTimer < endTime) {\n flag = true;\n }\n });\n if (flag) {\n return;\n }\n\n proxyData.setOptionnalPerstion(index);\n },\n /**\n * 获取个人加班申请数据\n */\n dateArr: dateArr,\n myTimeArr: myTimeArr,\n isAir: false,\n isLight: false,\n lightNum: 0,\n airNum: 0,\n // 格式化设备\n formateEquipment() {\n proxyData.isLight = false;\n proxyData.isAir = false;\n proxyData.lightNum = 0;\n proxyData.airNum = 0;\n if (\n proxyData.nowData &&\n proxyData.nowData.equipmentList &&\n proxyData.nowData.equipmentList.length\n ) {\n if (proxyData.enterType === 1) {\n proxyData.nowData.equipmentList.map((item: any) => {\n item.isCheck = true;\n });\n } else if (proxyData.enterType === 2) {\n // 空调\n if (proxyData.deviceItem && proxyData.deviceItem.id) {\n proxyData.nowData.equipmentList.map((item: any) => {\n if (\n item.equipmentCategory !== \"SELTLT\" &&\n proxyData.deviceItem.id == item.id\n ) {\n item.isCheck = true;\n } else {\n item.isCheck = false;\n }\n });\n } else {\n proxyData.nowData.equipmentList.map((item: any) => {\n if (item.equipmentCategory !== \"SELTLT\") {\n item.isCheck = true;\n } else {\n item.isCheck = false;\n }\n });\n }\n } else {\n // 灯\n if (proxyData.deviceItem && proxyData.deviceItem.id) {\n proxyData.nowData.equipmentList.map((item: any) => {\n if (\n item.equipmentCategory === \"SELTLT\" &&\n proxyData.deviceItem.id == item.id\n ) {\n item.isCheck = true;\n } else {\n item.isCheck = false;\n }\n });\n } else {\n proxyData.nowData.equipmentList.map((item: any) => {\n if (item.equipmentCategory === \"SELTLT\") {\n item.isCheck = true;\n } else {\n item.isCheck = false;\n }\n });\n }\n }\n // 判断是否有空调和灯\n proxyData.nowData.equipmentList.map((item: any) => {\n if (item.equipmentCategory == \"SELTLT\") {\n proxyData.isLight = true;\n proxyData.lightNum++;\n }\n if (item.equipmentCategory !== \"SELTLT\") {\n proxyData.isAir = true;\n proxyData.airNum++;\n }\n });\n }\n },\n // 加班时间是否在所有的服务定制时间之前\n isCusTimeBefore(spaceCustomContentList: any, time: any) {\n let flag: any = false;\n spaceCustomContentList.map((item: any) => {\n if (time < item.startTime) {\n flag = true;\n }\n });\n return flag;\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 spaceCustomContentList: any =\n data[i].spaceCustomContentList || []; // 固定服务定制时间\n\n let week: any = getWeekDate(new Date(date).getDay());\n if (date === nowDate) {\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 isServiceTime: 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 if (\n proxyData.isCusTimeBefore(\n spaceCustomContentList,\n custom.endTime\n )\n ) {\n // 加班时间在服务定制时间之前\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 // debugger\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 spaceCustomContentList.map((spaceCustom: any) => {\n let startTime: any = proxyData.parseCusStartTime(\n spaceCustom.startTime\n );\n let endTime: any = proxyData.parseCusEndTime(spaceCustom.endTime);\n console.log(\"t==\", endTime);\n // 是否在固定区域时间\n if (startTime && endTime) {\n // debugger\n timerArr.map((item: any) => {\n if (\n item.formatTimer >= startTime &&\n item.formatTimer < endTime\n ) {\n item.isServiceTime = true;\n }\n });\n }\n });\n console.log(\"t==\", timerArr);\n\n proxyData.dateArr.push({\n date: date,\n isActive: false,\n equipmentList: data[i].equipmentList || [],\n oldDate: data[i].date,\n objectId: data[i].objectId,\n cusStartTime: data[i].cusStartTime,\n customSceneList: customSceneList,\n cusEndTime: data[i].cusEndTime,\n spaceCustomContentList: data[i].spaceCustomContentList || [],\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 proxyData.formateEquipment();\n nextTick(() => {\n proxyData.setNowBarPerstion(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 },\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 delTimerArr.push(delObj);\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 // if()\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 console.log(item);\n let obj: any = {\n projectId: proxyData.projectId, //类型:String 必有字段 备注:项目id\n sceneEquipList:\n item && item.sceneEquipList ? item.sceneEquipList : [],\n objectId: proxyData.nowData.objectId, //类型:String 必有字段 备注:空间id\n sourceType: proxyData.userInfo.pubname, //类型: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 // 删除时间的数据拼接\n for (let i = 0; i < customSceneList.length; i++) {\n let item: any = customSceneList[i];\n let index: any = i;\n if (item.startTime === startTime && item.endTime === endTime) {\n // 代表需要删除该段\n // 整段删除\n let delObj: any = proxyData.formaTimeObj(\n item,\n \"1\",\n item.startTime,\n item.endTime\n );\n delTimerArr.push(delObj);\n break;\n } else 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\n // 删除的时间为当时时间的时候\n let delStartTime: any = 0;\n let formTimeArr: any = addTimeArr.concat(delTimerArr);\n let realTime: any = getRelNowTime();\n formTimeArr.map((item: any, index: any) => {\n if (item.type == \"1\") {\n // 删除当前时间段\n if (realTime >= item.startTime && realTime <= item.endTime) {\n item.type = \"3\";\n delStartTime = item.startTime;\n item.endTimeReal = realTime;\n }\n }\n });\n formTimeArr.map((item: any, index: any) => {\n if (item.type == \"0\" && delStartTime) {\n if (item.startTime == delStartTime) {\n formTimeArr.splice(index, 1);\n }\n }\n });\n\n return formTimeArr;\n } else {\n return [];\n }\n },\n // 关闭加班弹窗\n closeWorkTimer() {\n proxyData.formBtn = false;\n context.emit(\"closeWork\");\n },\n // 数组去除重复\n removeDuplicateObj(arr: any) {\n let obj = {};\n arr = arr.reduce((newArr: any, next: any) => {\n obj[next.objectId]\n ? \"\"\n : (obj[next.objectId] = true && newArr.push(next));\n return newArr;\n }, []);\n return arr;\n },\n checkEquipment(item: any) {\n item.isCheck = !item.isCheck;\n },\n // 提交申请\n addWorkTimer() {\n let formTimerArr: any = proxyData.formateAddTimer();\n let sceneEquipList: any = [];\n proxyData.nowData.equipmentList.map((item: any) => {\n if (item.isCheck) {\n let obj: any = {\n projectId: item.projectId, //类型:String 必有字段 备注:无\n objectId: item.id, //类型:String 必有字段 备注:设备id\n type: item.equipmentCategory,\n };\n sceneEquipList.push(obj);\n }\n });\n if (formTimerArr && formTimerArr.length == 2) {\n if (\n formTimerArr[1].startTime >= formTimerArr[0].startTime &&\n formTimerArr[1].endTime <= formTimerArr[0].endTime\n ) {\n } else {\n formTimerArr.map((item: any) => {\n if (item.type == \"1\") {\n if (item.sceneEquipList && item.sceneEquipList.length) {\n item.sceneEquipList.map((scene: any) => {\n let obj: any = {\n projectId: scene.projectId, //类型:String 必有字段 备注:无\n objectId: scene.objectId, //类型:String 必有字段 备注:设备id\n type: scene.type,\n };\n sceneEquipList.push(obj);\n });\n }\n }\n });\n }\n }\n\n sceneEquipList = proxyData.removeDuplicateObj(sceneEquipList);\n formTimerArr.map((item: any) => {\n if (item.type == \"0\" || item.type == \"2\") {\n item.sceneEquipList = sceneEquipList;\n }\n });\n // 保存加班记录\n proxyData.saveBatchCustomScene(formTimerArr);\n // 如果在当前时间,需要手动开启设备\n proxyData.openDeviceAll(formTimerArr);\n },\n // 手动控制开启设备\n openDeviceAll(formTimerArr: any) {\n let sceneEquipList: any = [];\n formTimerArr.map((item: any) => {\n if (item.type == \"2\") {\n sceneEquipList = sceneEquipList.concat(item.sceneEquipList);\n }\n });\n sceneEquipList = proxyData.removeDuplicateObj(sceneEquipList);\n // 改变设备状态\n let airDevice: any = [];\n let lightDevice: any = [];\n sceneEquipList.map((item: any) => {\n if (item.type == \"SELTLT\") {\n let obj: any = {\n id: item.objectId,\n switch: true,\n };\n lightDevice.push(obj);\n } else {\n let obj: any = {\n id: item.objectId, //类型:String 必有字段 备注:设备id\n code: \"EquipSwitchSet\", //类型:String 必有字段 备注:编码 EquipSwtichSet\n value: \"1\", //类型:String 必有字段 备注:值 0\n };\n airDevice.push(obj);\n }\n });\n proxyData.setSpaceCondtioners(airDevice);\n proxyData.setallLampHttp(lightDevice);\n },\n // 手动开空调\n setSpaceCondtioners(data: any) {\n setSpaceCondtioners(data)\n .then((res) => {})\n .catch(() => {});\n },\n // 手动开灯\n setallLampHttp(data: any) {\n setallLampHttp(data)\n .then((res) => {})\n .catch(() => {});\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 } else if (type === 2) {\n // 删除\n proxyData.isUpdate = true;\n // context.emit(\"closeWork\");\n // proxyData.showLoading = false;\n }\n context.emit(\"closeWork\");\n proxyData.showLoading = false;\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 console.log(\"需要删除的数据---\");\n console.log(formTimeArr);\n if (formTimeArr && formTimeArr.length) {\n // console.log(formTimeArr);\n // alert(\"确定删除当前时间吗?\");\n // debugger;\n Dialog.confirm({\n title: \"确认\",\n message: \"确定删除当前时间吗?\",\n })\n .then(() => {\n let sceneEquipList: any = [];\n formTimeArr.map((item: any) => {\n if (item.type == \"1\") {\n if (item.sceneEquipList) {\n item.sceneEquipList.map((scene: any) => {\n let obj: any = {\n projectId: scene.projectId, //类型:String 必有字段 备注:无\n objectId: scene.objectId, //类型:String 必有字段 备注:设备id\n type: scene.type,\n };\n sceneEquipList.push(obj);\n });\n }\n }\n });\n sceneEquipList = proxyData.removeDuplicateObj(sceneEquipList);\n\n formTimeArr.map((item: any) => {\n if (item.type !== \"1\") {\n item.sceneEquipList = sceneEquipList;\n }\n });\n\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 proxyData.enterType = newProps.enterType;\n proxyData.deviceItem = newProps.deviceItem;\n if (proxyData.isUpdate) {\n proxyData.setWorkTimeList();\n }\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=012ae220&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=012ae220&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-012ae220\"]])\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-1d74e949\"),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 contx.emit(\"closeWork\");\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=1d74e949&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=1d74e949&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-1d74e949\"]])\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-a5a94816\"),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-5934e340\"),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=5934e340&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=5934e340&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-5934e340\"]])\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/ManualWork/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\", 1);\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 = 3; // 3=我要离开\n proxyData.delTimeArr.push(item);\n } // 点击我要离开的时候需要删除的数据\n if (oldTimeEnd === item.startTime) {\n endTime = item.endTime;\n item.type = 3;\n proxyData.delTimeArr.push(item);\n }\n });\n }\n },\n // 我要离开\n myLeaving() {\n // 格式化当前时间\n proxyData.formatDataDel();\n // 设置真实的离开时间\n proxyData.setLeavingTime(); // // 3=我要离开\n console.log(\"离开了=====\");\n console.log(proxyData.delTimeArr);\n proxyData.leaveBtnFlag = true;\n // 取消加班\n proxyData.saveBatchCustomScene();\n },\n // 设置真实的离开时间\n setLeavingTime() {\n let nowTime: any = getRelNowTime();\n proxyData.delTimeArr.map((delTime: any) => {\n if (nowTime >= delTime.startTime && nowTime <= delTime.endTime) {\n delTime.endTimeReal = nowTime;\n // delTime.type = 3\n } else if (nowTime < delTime.startTime) {\n delTime.type = 1; // 时间还未开始直接取消加班记录\n } else if (nowTime > delTime.endTime) {\n delTime.endTimeReal = delTime.endTime;\n }\n });\n },\n // 取消加班记录\n saveBatchCustomScene() {\n // proxyGlobal.proxy.$loadingStart(0);\n proxyData.openLeavDailog();\n saveBatchCustomScene(proxyData.delTimeArr)\n .then((res) => {\n proxyData.leaveBtnFlag = false;\n contx.emit(\"closeWork\");\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=a5a94816&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=a5a94816&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-a5a94816\"]])\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-49332094\"),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(\"div\", _hoisted_42, [\n _createElementVNode(\"div\", {\n class: \"value-wrap\",\n style: _normalizeStyle({\n transform: _ctx.valueHeight\n ? 'translateY(' + -childItem.sel * _ctx.valueHeight + 'px)'\n : 'translateY(0px)',\n })\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(childItem.tempArr, (titem, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"value\",\n key: index + 'ct'\n }, _toDisplayString(titem), 1))\n }), 128))\n ], 4)\n ]),\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(\"div\", _hoisted_45, [\n _createElementVNode(\"div\", {\n class: \"value-wrap\",\n style: _normalizeStyle({\n transform: _ctx.valueHeight\n ? 'translateY(' + -childItem.gIndex * _ctx.valueHeight + 'px)'\n : 'translateY(0px)',\n })\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(childItem.gearArr, (gItem, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"value\",\n key: index + 'g'\n }, _toDisplayString(gItem), 1))\n }), 128))\n ], 4)\n ]),\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(\"div\", _hoisted_48, [\n _createElementVNode(\"div\", {\n class: \"value-wrap\",\n style: _normalizeStyle({\n transform: _ctx.valueHeight\n ? 'translateY(' + -childItem.mIndex * _ctx.valueHeight + 'px)'\n : 'translateY(0px)',\n })\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(childItem.modelArr, (mItem, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"value\",\n key: index + 'm'\n }, _toDisplayString(mItem), 1))\n }), 128))\n ], 4)\n ]),\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 seviceEquipmentList: {\n // 是否走服务定制的设备\n type: Array,\n default: () => [],\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 let valueDom: any = null;\n let valueHeight: any = null;\n let spaceId: any = \"\";\n const proxyData = reactive({\n seviceEquipmentList: props.seviceEquipmentList,\n valueDom: valueDom,\n spaceId: spaceId,\n valueHeight: valueHeight,\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 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 async 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\n if (proxyData.showChild) {\n await nextTick(() => {\n proxyData.setChildSelectList();\n });\n } else {\n await nextTick(() => {\n proxyData.barSwiperInit();\n });\n }\n\n // proxyData.getAirInfoToTimer(0);\n },\n // 设置温度条的位置\n setBarNowPerstion() {\n proxyData.realTemp = proxyData.airTemp;\n let barBox: any = document.querySelector(\"#barId\");\n // console.log(\"设置温度位置---\");\n // console.log(barBox)\n if (!barBox) {\n return;\n }\n let sliderBox: any = document.querySelector(\"#sliderId\");\n if (\n proxyData.airTemp >= proxyData.airData.minTempSet &&\n proxyData.airTemp <= proxyData.airData.maxTempSet\n ) {\n // 正常温度范围\n let left: any =\n ((proxyData.airTemp - proxyData.airData.minTempSet) / 0.5) *\n proxyData.part;\n left = Math.floor(left);\n if (barBox) {\n barBox.style.left = left + \"px\";\n }\n } else {\n if (!proxyData.airTemp) {\n barBox.style.left = 0 + \"px\";\n } else if (proxyData.airTemp < proxyData.airData.minTempSet) {\n barBox.style.left = 0 + \"px\";\n } else if (proxyData.airTemp > proxyData.airData.maxTempSet) {\n let sliderWidth: any = sliderBox.offsetWidth;\n let barWidth: any = barBox.offsetWidth;\n barBox.style.left = sliderWidth - barWidth + \"px\";\n }\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 ? sliderBox.offsetWidth : 1;\n let barWidth: any = barBox ? barBox.offsetWidth : 20;\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 if (!handBox) {\n return;\n }\n handBox.addEventListener(\"touchstart\", function (e: any) {\n barLeft = isNaN(parseInt(barBox.style.left))\n ? 0\n : parseInt(barBox.style.left);\n isMove = true;\n });\n handBox.addEventListener(\"touchend\", function (e: any) {\n isMove = false;\n proxyData.changeZongAir(\"temp\", proxyData.realTemp);\n proxyData.airTemp = proxyData.realTemp;\n });\n swiper(handBox, {\n swipeLeft: function (e: any) {\n if (isMove) {\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 },\n swipeRight: function (e: any) {\n if (isMove) {\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 // 定时获取空调状态\n getAirInfoToTimer(timerLong: any = 10000) {\n if (proxyData.airTimer) {\n clearTimeout(proxyData.airTimer);\n proxyData.airTimer = null;\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 = proxyData.airData.isAutoGear ? 0 : 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 const domAirOpen = !childItem.isOpen;\n let isExeSpaceTime: Boolean = proxyData.checkDeviceIsExeSpaceTime([\n childItem,\n ]);\n if (proxyData.forceOverTimeFlag && domAirOpen && isExeSpaceTime) {\n //需要强制加班\n contx.emit(\"triggerWork\", 2, childItem);\n return;\n }\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 (symbol === \"up\") {\n if (childItem.tempSet >= proxyData.airData.maxTempSet) {\n return;\n }\n childItem.tempSet = childItem.tempSet + 0.5;\n } else if (symbol === \"down\") {\n if (childItem.tempSet <= proxyData.airData.minTempSet) {\n return;\n }\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 // 修改单个设备的状态\n if (btnType !== \"temp\") {\n proxyData.setSpaceCondtioners(arr);\n }\n proxyData.updateChildPerstion();\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 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 checkDeviceIsExeSpaceTime(deviceAll: any = []) {\n let seviceEquipmentList: any = proxyData.seviceEquipmentList;\n let flag: any = false;\n for (let i = 0; i < seviceEquipmentList.length; i++) {\n for (let j = 0; j < deviceAll.length; j++) {\n if (\n seviceEquipmentList[i].id == deviceAll[j].id &&\n seviceEquipmentList[i].isExeSpaceTime\n ) {\n flag = true;\n break;\n }\n }\n if (flag) {\n break;\n }\n }\n return flag;\n },\n // 总控制改变空调状态\n airChange() {\n // 先不更新状态等确认框弹出后再更新状\n // 操作空调\n const domAirOpen = !proxyData.airData.isOpen;\n let isExeSpaceTime: Boolean = proxyData.checkDeviceIsExeSpaceTime(\n proxyData.equipList\n );\n if (proxyData.forceOverTimeFlag && domAirOpen && isExeSpaceTime) {\n //需要强制加班\n contx.emit(\"triggerWork\", 2);\n return;\n }\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 async barSwiperInit() {\n if (proxyData.airData.isOpen && !proxyData.showChild) {\n proxyData.endBoxSwiper();\n proxyData.setBarNowPerstion();\n }\n },\n // 设置子设备的可调范围\n setChildSelectList() {\n proxyData.equipList.map((item: any) => {\n let tempArr: any = [];\n for (\n let i = proxyData.airData.minTempSet;\n i <= proxyData.airData.maxTempSet;\n i = i + 0.5\n ) {\n tempArr.push(i);\n }\n item.tempArr = tempArr;\n let index: any = item.tempArr.findIndex((ele: any) => {\n return ele == item.tempSet;\n });\n item.sel = index == -1 ? 0 : index;\n\n let modelArr: any = [\"制冷\", \"制热\", \"通风\"];\n item.modelArr = modelArr;\n let mIndex: any = item.workMode ? item.workMode - 1 : 2;\n item.mIndex = mIndex;\n\n let gearArr: any = [0, 1, 2, 3, \"AUTO\"];\n item.gearArr = gearArr;\n let gIndex: any = item.gearArr.findIndex((ele: any) => {\n if (item.isAutoGear == 1) {\n return ele == \"AUTO\";\n } else {\n return ele == item.gear;\n }\n });\n item.gIndex = gIndex == -1 ? 0 : gIndex;\n });\n proxyData.setValueHeight();\n },\n setValueHeight() {\n if (!proxyData.valueHeight) {\n proxyData.valueDom = proxyData.valueDom\n ? proxyData.valueDom\n : document.querySelectorAll(\".value\")[0];\n proxyData.valueHeight = proxyData.valueDom\n ? proxyData.valueDom.offsetHeight\n : 0;\n }\n console.log(\"proxyData.valueHeight==\", proxyData.valueHeight);\n },\n // 改变子设备选中的位置\n updateChildPerstion() {\n proxyData.equipList.map((item: any) => {\n let index: any = item.tempArr.findIndex((ele: any) => {\n return ele == item.tempSet;\n });\n item.sel = index == -1 ? 0 : index;\n\n let mIndex: any = item.workMode ? item.workMode - 1 : 2;\n item.mIndex = mIndex;\n\n let gIndex: any = item.gearArr.findIndex((ele: any) => {\n if (item.isAutoGear == 1) {\n return ele == \"AUTO\";\n } else {\n return ele == item.gear;\n }\n });\n item.gIndex = gIndex == -1 ? 0 : gIndex;\n });\n },\n // 空调信息airTemp\n getAirInfo() {\n const paramObj = {\n // // projectId: props.projectId, //'Pj1101080255'\n // projectId: \"Pj1101080255\",\n // spaceId: \"Sp110108025564f438d7fef64eea8202a6462f1bbcce\",\n spaceId: proxyData.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.setChildSelectList();\n proxyData.formateSetChildStatus();\n\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\n nextTick(() => {\n proxyData.barSwiperInit();\n });\n proxyData.getAirInfoToTimer();\n })\n .catch(() => {});\n },\n });\n watch(props, (newProps: any) => {\n if (newProps.spaceId) {\n // proxyData.swiperIinit = false;\n proxyData.spaceId = newProps.spaceId;\n // proxyData.getAirInfoToTimer(0);\n proxyData.temperature = props.temperature;\n proxyData.userIsControl = newProps.userIsControl;\n proxyData.forceOverTimeFlag = newProps.forceOverTimeFlag;\n proxyData.seviceEquipmentList = props.seviceEquipmentList;\n }\n });\n onBeforeUnmount(() => {\n if (proxyData.airTimer) {\n clearTimeout(proxyData.airTimer);\n proxyData.airTimer = null;\n }\n });\n onMounted(() => {\n proxyData.spaceId = props.spaceId;\n proxyData.getAirInfoToTimer(0);\n // 获取空调信息\n });\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./manualIndex.vue?vue&type=template&id=49332094&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=49332094&lang=scss&scoped=true\"\nimport \"./manualIndex.vue?vue&type=style&index=1&id=49332094&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-49332094\"]])\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-b2601396\"),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 controlMode: {\n type: Number,\n default: () => 0,\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 seviceEquipmentList: {\n // 是否走服务定制的设备\n type: Array,\n default: () => [],\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 seviceEquipmentList: props.seviceEquipmentList,\n controlMode: props.controlMode,\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 checkDeviceIsExeSpaceTime(deviceAll: any = []) {\n if (proxyData.controlMode !== 1) {\n return true;\n }\n let seviceEquipmentList: any = proxyData.seviceEquipmentList;\n let flag: any = false;\n for (let i = 0; i < seviceEquipmentList.length; i++) {\n for (let j = 0; j < deviceAll.length; j++) {\n if (\n seviceEquipmentList[i].id == deviceAll[j].id &&\n seviceEquipmentList[i].isExeSpaceTime\n ) {\n flag = true;\n break;\n }\n }\n if (flag) {\n break;\n }\n }\n return flag;\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 let isExeSpaceTime:Boolean = proxyData.checkDeviceIsExeSpaceTime(\n proxyData.lampList\n );\n if (\n proxyData.forceOverTimeFlag &&\n proxyData.lampSw &&\n isExeSpaceTime\n ) {\n // 强制加班开灯\n contx.emit(\"triggerWork\", 3);\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 let isExeSpaceTime:Boolean= proxyData.checkDeviceIsExeSpaceTime([item]);\n if (proxyData.forceOverTimeFlag && item.switch && isExeSpaceTime) {\n // 强制加班开灯\n contx.emit(\"triggerWork\", 3, item);\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.controlMode = newProps.controlMode;\n proxyData.forceOverTimeFlag = newProps.forceOverTimeFlag;\n proxyData.seviceEquipmentList = props.seviceEquipmentList;\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=b2601396&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=b2601396&lang=scss&scoped=true\"\nimport \"./index.vue?vue&type=style&index=1&id=b2601396&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-b2601396\"]])\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-91b1f394\"),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 mapType: 2,\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-4b041186\"),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=4b041186&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=4b041186&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-4b041186\"]])\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=91b1f394&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=91b1f394&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-91b1f394\"]])\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 ManualOvertime from \"./components/ManualWork/index.vue\";\nimport Contact from \"./components/Contact/index.vue\";\nimport WorkConfig from \"./components/workOvertime/WorkConfig.vue\";\nimport ManualConfig from \"./components/ManualWork/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 getSpaceEquipList,\n} from \"@/apis/envmonitor\";\nimport Keys from \"@/constant/key\";\nimport {\n formatDate,\n formatDateStr,\n getHours,\n getLocalNewSpaceInfo,\n getNowWeek,\n getRelNowTime,\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 ManualOvertime,\n Light,\n Curtain,\n TimeBox,\n WorkOvertime,\n WorkConfig,\n ManualConfig,\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 let deviceItem: any = null;\n let allDevice: any = [];\n const proxyData = reactive({\n seviceEquipmentList: allDevice, // 所有的设备\n seviceEquipmentListFlag: false,\n enterType: 1,\n deviceItem: deviceItem,\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(type: any = 1, deviceItem: any = null) {\n // console.log(type);\n proxyData.enterType = type;\n proxyData.deviceItem = deviceItem || null;\n proxyData.isShowWork = true;\n },\n // 关于手动控制是否展示加班弹窗的问题处理\n checkDeviceShowWork() {\n proxyData.seviceEquipmentList = proxyData.workkArr[0].equipmentList;\n proxyData.seviceEquipmentList.map((item: any) => {\n item.isExeSpaceTime = 1;\n });\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 console.log(\"timer===\", 1);\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 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 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 });\n },\n /**\n * 获取场景列表\n */\n scenarioArr: scenarioArr,\n // 定时获取场景的配置\n querySpaceSceneConfigTimer(timer: any = 10000) {\n let timerOut: any = setTimeout(() => {\n proxyData.querySpaceSceneConfig();\n clearTimeout(timerOut);\n }, timer);\n },\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 proxyData.querySpaceSceneConfigTimer();\n });\n },\n /**\n *查询空间加班记录\n */\n workkArr: workkArr,\n secenTimer: secenTimer,\n // 清除查询加班记录的定时器\n clearSecenTimer() {\n clearTimeout(proxyData.secenTimer);\n proxyData.secenTimer = null;\n },\n // 查询空间下面的设备\n getSpaceEquipList() {\n let params: any = {\n spaceId: proxyData.spaceInfo.spaceId,\n };\n let str: any = setQueryConfig(params);\n getSpaceEquipList(str).then((res: any) => {\n let data: any = res.data || [];\n // proxyData.checkDeviceShowWork(data); // 判断手动控制的设备是否要开启手动控制功能\n });\n },\n // 定时查空间的加班记录\n queryCustomAndScenceTimer(timer: any = 10000) {\n proxyData.clearSecenTimer();\n proxyData.secenTimer = setTimeout(() => {\n proxyData.queryCustomAndScence();\n proxyData.clearSecenTimer();\n }, timer);\n },\n // 定时查空间的加班记录\n queryCustomAndScence() {\n let params: any = {\n spaceId: proxyData.spaceInfo.spaceId,\n };\n let str: any = setQueryConfig(params);\n queryCustomAndScence(str)\n .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 if (proxyData.controlMode === 1) {\n proxyData.formateManualWorkTime();\n proxyData.checkDeviceShowWork()\n }\n proxyData.queryCustomAndScenceTimer();\n })\n .catch(() => {\n proxyData.queryCustomAndScenceTimer();\n });\n },\n\n // 手动控制加班处理时间段拼接的逻辑\n formateManualWorkTime() {\n // debugger\n let data: any = proxyData.workkArr;\n for (let i = 0; i < proxyData.workkArr.length; i++) {\n let item: any = proxyData.workkArr[i];\n let spaceCustomContentList: any =\n proxyData.workkArr[i].spaceCustomContentList || [];\n spaceCustomContentList = spaceCustomContentList.sort(\n proxyData.compare\n );\n item.spaceCustomContentList = spaceCustomContentList;\n let nowTime: any = getRelNowTime();\n let nowDate: any = formatDate(\"YYYY-MM-DD\");\n let date: any = formatDateStr(data[i].date);\n item.cusStartTime = spaceCustomContentList[0]\n ? spaceCustomContentList[0].startTime\n : \"\";\n item.cusEndTime = spaceCustomContentList[0]\n ? spaceCustomContentList[0].endTime\n : \"\";\n if (nowDate == date) {\n // 当前时间\n item.cusStartTime = \"\";\n item.cusEndTime = \"\";\n }\n for (let j = 0; j < spaceCustomContentList.length; j++) {\n if (item.cusStartTime && item.cusEndTime) {\n if (item.cusEndTime + 1 === spaceCustomContentList[j].startTime) {\n item.cusEndTime = spaceCustomContentList[j].endTime;\n }\n } else {\n if (\n nowTime >= spaceCustomContentList[j].startTime &&\n nowTime <= spaceCustomContentList[j].endTime\n ) {\n item.cusStartTime = spaceCustomContentList[j].startTime;\n item.cusEndTime = spaceCustomContentList[j].endTime;\n }\n }\n }\n if (!item.cusStartTime) {\n item.cusStartTime = spaceCustomContentList[0]\n ? spaceCustomContentList[0].startTime\n : \"\";\n item.cusEndTime = spaceCustomContentList[0]\n ? spaceCustomContentList[0].endTime\n : \"\";\n }\n\n console.log(\"proxyData.workkArr===\");\n console.log(proxyData.workkArr);\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.getSpaceEquipList();\n // 动态获取场景配置\n proxyData.querySpaceSceneConfigTimer(0);\n // 查询加班记录\n proxyData.queryCustomAndScenceTimer(0);\n // 获取空间下的设备信息\n proxyData.getEquipments();\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 spaceData: spaceData,\n copySpaceData: spaceData,\n floorId: \"\",\n buildingId: \"\",\n // 获取pad当前绑定的空间\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.seviceEquipmentListFlag = false;\n proxyData.spaceData.map((item: any) => {\n item.active = false;\n });\n proxyData.controlMode = 0; // 模式变成自动的\n proxyData.roomType = \"\";\n proxyData.officeData.temperature = \"\";\n proxyData.spaceExistenceDevice = spaceExistenceDevice;\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.clearAll();\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 }, 500); //这里设置定时器,定义长按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 === 6) {\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 clearAll() {\n proxyData.clearTimerSpaceInfo();\n proxyData.clearSecenTimer();\n },\n });\n onBeforeUnmount(() => {\n proxyData.clearAll();\n });\n onMounted(() => {\n let spaceId: any = route.query.spaceId;\n proxyData.spaceInfo = {\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=54afeb17&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=54afeb17&lang=scss&scoped=true\"\nimport \"./index.vue?vue&type=style&index=1&id=54afeb17&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-54afeb17\"]])\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!./manualIndex.vue?vue&type=style&index=1&id=49332094&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!./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\"","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\"};","'use strict';\nvar $ = require('../internals/export');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toInteger = require('../internals/to-integer');\nvar toLength = require('../internals/to-length');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 });\n\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\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!./LeaveDailog.vue?vue&type=style&index=0&id=5934e340&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=b2601396&class=style&lang=scss\"","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!./manualIndex.vue?vue&type=style&index=0&id=49332094&lang=scss&scoped=true\"","var aFunction = require('../internals/a-function');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar toLength = require('../internals/to-length');\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aFunction(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = toLength(O.length);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\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=54afeb17&lang=scss\"","// 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!./WorkConfig.vue?vue&type=style&index=0&id=a5a94816&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!./SpaceBox.vue?vue&type=style&index=0&id=4b041186&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","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=54afeb17&lang=scss&scoped=true\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuBg\":\"#fff\",\"menuText\":\"#162b64\",\"menuActiveText\":\"#435ebe\"};"],"sourceRoot":""}
|