chunk-3250642b.4a7f75f2.js.map 626 KB

1
  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/Scenario/ScenarioConfig.vue?9599","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/ManualWork/index.vue?29c9","webpack:///./src/views/envmonitor/components/Air/manualIndex.vue?dd57","webpack:///./src/views/envmonitor/components/Contact/index.vue?5225","webpack:///./src/views/envmonitor/index.vue?76d7","webpack:///./node_modules/vant/es/cell-group/CellGroup.js","webpack:///./node_modules/vant/es/cell-group/index.js","webpack:///./node_modules/vant/es/form/style/index.js","webpack:///./src/views/envmonitor/components/Light/index.vue?956f","webpack:///./src/utils/swiper.ts","webpack:///./src/views/envmonitor/components/workOvertime/WorkConfig.vue?bf2b","webpack:///./src/views/envmonitor/components/Scenario/scenarioDailog.vue?6820","webpack:///./src/views/envmonitor/components/workOvertime/index.vue?34bc","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?9d6d","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?e87d","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?cd6a","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?d0b1","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?8f51","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/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?24d5","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?724c","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?995a","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/Contact/index.vue?04b9","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?256e","webpack:///./src/views/envmonitor/index.vue?bd7b","webpack:///./node_modules/vant/es/field/style/index.js","webpack:///./node_modules/core-js/modules/es.array.find-index.js","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/components/Light/index.vue?cef5","webpack:///./src/views/envmonitor/index.vue?a30f","webpack:///./src/views/envmonitor/components/Map/SpaceBox.vue?66fa","webpack:///./node_modules/vant/es/picker/index.js","webpack:///./src/views/envmonitor/components/ManualWork/WorkConfig.vue?b468","webpack:///./src/views/envmonitor/components/Map/index.vue?c126"],"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","swiper","el","options","isMove","startX","startY","moveX","moveY","disX","disY","fun","data","swipeLeft","swipeRight","swipeDown","swipeUp","drag","Object","assign","addEventListener","e","touches","pageX","pageY","passive","mation","absX","Math","abs","absY","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","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","contantDetail","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","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","setup","context","proxyGlobal","screenInfo","screenWidth","screenHeight","myTimeArr","timerArr","nowData","redUrl","bgRed","userInfo","proxyData","isEvent","startIndex","endIndex","startLen","setScreennWidth","addTimeEl","document","querySelector","offsetWidth","getNowIndex","nowIndex","getTomorrowIndex","getNowPerstion","obj","len","formatTimer","cusStartTime","parseCusStartTime","cusEndTime","parseCusEndTime","setOptionnalTime","sliderList","slidersWrapper","sliderWidth","getBoundingClientRect","sliderLeft","setOptionnalPerstion","sliderSwiper","leftInit","isNaN","parseInt","checkMoveTarget","endBox","endEnd","endRadio","checkPersionService","flag","i","isServiceTime","cancelRemoveListener","removeEventListener","endBoxSwiper","sliderBtnEl","startEl","sliderBoxEl","querySelectorAll","sliderBtnLeft","screenLeft","sliderBtnWidth","sliderBoxWidth","ceil","moveRealX","cancelSliderBoxColor","sliderBoxArr","isCheck","slidersWrapperWidth","parseIndex","bg","setCheckTimeStyle","setServiceTimerStyle","setPastTime","time","newTime","minute","temTimeInt","setWorkTimeList","isUpdate","proxy","$loadinngEnd","date","Date","getDay","replace","customSceneList","custom","j","tempStartTime","startTime","tempEndTime","endTime","oldDate","objectId","activeIndex","clearTimerBoxStyle","elItem","changeEl","formateAddTimer","delTimerArr","delObj","formaTimeObj","relNowTime","addObj","formTimeArr","sourceType","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","_hoisted_34","_hoisted_35","_hoisted_36","approvalData","checkApprovalStatus","text","isLight","isAir","equipmentList","equipmentCategory","airNum","checkEquipment","lightNum","getTimerIndex","cusIndex","spaceCustomContentList","endFormatTimer","setNowBarPerstion","getSliderWapperWidth","spaceCustom","formateEquipment","isCusTimeBefore","targetWidth","offsetX","formateApproveStatusPerstion","approvalStatus","leftStart","leftEnd","sceneEquipList","delStartTime","realTime","endTimeReal","splice","removeDuplicateObj","arr","newArr","next","delSpaceNoCtrDevice","scene","isExeSpaceTime","openDeviceAll","airDevice","lightDevice","switch","code","setSpaceCondtioners","setallLampHttp","_component_buttons","_component_van_dialog","imgUrl","wechatQrCode","phone","VanLoading","Component","contx","$imgUrl","queryCustomerservice","params","criteria","resData","content","deep","immediate","_component_leave_dailog","timerText","classColor","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","formateApproveData","newCustomSceneList","hasOwnProperty","setLeavingTime","delTime","parse","sceneType","handleScene","flex","sceneName","scenarioImgArr","DISCUSSING","PROJECTING","ADJOURNMENT","formatScenarioImg","order","sort","a","b","loading","lodingText","result","pm25","quality","setPermanentSpace","VanIcon","goBack","window","history","go","_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","setTimeout","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_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","loadingStart","loadinngEnd","setChildLoadingNumber","childDisabled","timeOuter","symbol","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","clearLightStatusTimer","timerLen","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","Header","Comheader","NavBar","Air","ManualIndex","ManualOvertime","Light","Curtain","TimeBox","WorkOvertime","WorkConfig","ManualConfig","ScenarioConfig","Detail","Contact","route","body","clientHeight","weatherTimer","spaceEqFlagObj","hasBlowing","hasLamp","popList","user","sceneDetail","timeOutEvent","touchInterval","cusServiceTimer","headerInfo","headImg","headScene","tipText","tipTextSwatch","bodySensor","childRef","intervalTimer","spaceTimer","listSen","userSpaceInfo","spaceModelTimer","spaceTempTimer","level","funcid","sceneConfigTimer","realEevList","secenTimer","padImgData","allDevice","spaceEquipList","equipTimer","fileUrl","$fileUrl","showSpaceTip","mapOpacity","opacityV","hideTopImg","isBottom","isScrool","popupType","showSecenDetailDalig","showScenario","topbgimg","deviceIcon","visible","vanPopupIndex","listOffice","showWorkOff","meetingRoomSence","setPadBgImg","isBgDefault","bgImage","fileId","setPadLogo","isLogoDefault","logoImage","padNumber","getPadImg","funcType","roomFuncType","checkDeviceShowWork","equipmentId","queryCustomAndScenceTimer","getCompanyInfo","companyId","companyKey","getWeatherTimer","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","duration","forbidClick","clear","clearTimerSpaceInfo","isMetting","checkIsSpaceScene","clearSceneConfigTimer","querySpaceSceneConfigTimer","querySpaceSceneConfig","clearSecenTimer","clearEquipTimer","getSpaceEquipListTimer","getSpaceEquipList","queryCustomAndScence","compare","formateManualWorkTime","obj1","obj2","val1","val2","updatePageUrl","url","location","origin","pathname","replaceState","resetSpaceStatus","elChangeExForArray","index1","index2","temp","clearAll","touchNumber","longPress","queryCustomerserviceTimer","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","element","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":"2IAAA,qB,oCCAA,W,sFCAA,W,kCCAA,W,oCCCA,IAAIA,EAAI,EAAQ,QACZC,EAAU,EAAQ,QAA6BC,KAC/CC,EAAsB,EAAQ,QAC9BC,EAA0B,EAAQ,QAClCC,EAAiB,E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nB0H,EAAgB,EAAQ,QACxB3H,EAAW,EAAQ,QAGnB4H,EAAe,SAAUC,GAC3B,OAAO,SAAUC,EAAMxpC,EAAY6iC,EAAiB4G,GAClDL,EAAUppC,GACV,IAAI2iC,EAAIhB,EAAS6H,GACbE,EAAOL,EAAc1G,GACrBxiC,EAASuhC,EAASiB,EAAExiC,QACpB8L,EAAQs9B,EAAWppC,EAAS,EAAI,EAChC0Y,EAAI0wB,GAAY,EAAI,EACxB,GAAI1G,EAAkB,EAAG,MAAO,EAAM,CACpC,GAAI52B,KAASy9B,EAAM,CACjBD,EAAOC,EAAKz9B,GACZA,GAAS4M,EACT,MAGF,GADA5M,GAAS4M,EACL0wB,EAAWt9B,EAAQ,EAAI9L,GAAU8L,EACnC,MAAM62B,UAAU,+CAGpB,KAAMyG,EAAWt9B,GAAS,EAAI9L,EAAS8L,EAAOA,GAAS4M,EAAO5M,KAASy9B,IACrED,EAAOzpC,EAAWypC,EAAMC,EAAKz9B,GAAQA,EAAO02B,IAE9C,OAAO8G,IAIXppC,EAAOC,QAAU,CAGfnB,KAAMmqC,GAAa,GAGnB11B,MAAO01B,GAAa,K,gFCtCtB,W,kCCAA,W,yDCAA,W,kCCAA,gGAEA,MAAMK,EAAS,eAAY,QAC3B,IAAI5oC,EAAgB4oC,G,kCCHpB,W,kCCAA","file":"static/js/chunk-3250642b.4a7f75f2.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!./ScenarioConfig.vue?vue&type=style&index=0&id=1fed2403&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\"","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=545aa93e&lang=scss&scoped=true\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuBg\":\"#fff\",\"menuText\":\"#162b64\",\"menuActiveText\":\"#435ebe\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuBg\":\"#fff\",\"menuText\":\"#162b64\",\"menuActiveText\":\"#435ebe\"};","// 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","import \"../../style/base.css\";\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./index.vue?vue&type=style&index=0&id=6a545f18&lang=scss&scoped=true\"","export function swiper(el: any, options: any) {\n //设置开关,监听move事件\n let isMove: any = false\n // 设置手指触摸开始的坐标\n let startX: any = 0\n let startY: any = 0\n // 设置手指移动的坐标\n let moveX: any = 0\n let moveY: any = 0\n //设置指针距离元素的边框的距离\n let disX: any = 0\n let disY: any = 0\n // 如果用户未传入参数2,自己定义一个\n let fun: any = function() {\n }\n let data: any = {\n swipeLeft: fun,\n swipeRight: fun,\n swipeDown: fun,\n swipeUp: fun,\n drag: fun\n }\n // 判断是否传入参数2,有的话覆盖默认值\n Object.assign(data, options)\n // 给元素绑定三个事件\n el.addEventListener('touchstart', function(e: any) {\n //获取手指开始的坐标\n startX = e.touches[0].pageX\n startY = e.touches[0].pageY\n //计算指针距离元素边框的位置\n disX = 0\n disY = 0\n }, { passive: true })\n el.addEventListener('touchmove', function(e: any) {\n //如果触发了move事件,打开开关\n isMove = true\n // 获取移动时的坐标\n moveX = e.touches[0].pageX\n moveY = e.touches[0].pageY\n e.mation = {\n startX: startX,\n startY: startY,\n moveX: moveX,\n moveY: moveY,\n disX: disX,\n disY: disY\n }\n data.drag.call(el, e)\n // 判断是否触发了move事件\n if (isMove) {\n // 计算水平边长\n let absX: any = Math.abs(moveX - startX)\n // 计算垂直边长\n let absY: any = Math.abs(moveY - startY)\n // 判断垂直还是水平滑动\n if (absX > absY) {\n // console.log('水平滑动');\n //再判断是左滑右滑\n if (moveX - startX > 0) {\n data.swipeRight.call(el, e)\n } else {\n data.swipeLeft.call(el, e)\n }\n } else {\n // console.log('垂直滑动');\n //判断是上滑还是下滑\n if (moveY - startX > 0) { // 下滑\n data.swipeDown.call(el, e)\n } else {\n data.swipeUp.call(el, e)\n }\n }\n }\n }, { passive: true })\n el.addEventListener('touchend', function(e: any) {\n isMove = false\n })\n}\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./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!./scenarioDailog.vue?vue&type=style&index=0&id=f8a217b2&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\"","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-33d90844\"),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 (_ctx.contantDetail)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\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 : _createCommentVNode(\"\", true)\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 && _ctx.spaceInfo.spaceId)\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 seviceEquipmentList: _ctx.seviceEquipmentList,\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, [\"seviceEquipmentList\", \"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 (_ctx.isShowContact)\n ? (_openBlock(), _createBlock(_component_contact, {\n key: 0,\n isShowContact: _ctx.isShowContact,\n contantDetail: _ctx.contantDetail,\n onCloseDailog: _ctx.closeContactDailog\n }, null, 8, [\"isShowContact\", \"contantDetail\", \"onCloseDailog\"]))\n : _createCommentVNode(\"\", true)\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-545aa93e\"),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 = [\"onClick\"]\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\" }\nconst _hoisted_15 = {\n key: 0,\n class: \"device-title\"\n}\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"line\" }, null, -1))\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text\" }, \"预约开启设备\", -1))\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"line\" }, null, -1))\nconst _hoisted_19 = [\n _hoisted_16,\n _hoisted_17,\n _hoisted_18\n]\nconst _hoisted_20 = { class: \"work-device\" }\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-title\" }, \"空调\", -1))\nconst _hoisted_22 = { class: \"device-box\" }\nconst _hoisted_23 = [\"onClick\"]\nconst _hoisted_24 = { class: \"row-item\" }\nconst _hoisted_25 = [\"src\"]\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-title\" }, \"照明\", -1))\nconst _hoisted_27 = { class: \"device-box\" }\nconst _hoisted_28 = [\"onClick\"]\nconst _hoisted_29 = { class: \"row-item\" }\nconst _hoisted_30 = [\"src\"]\nconst _hoisted_31 = {\n key: 2,\n class: \"device-tip\"\n}\nconst _hoisted_32 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"计费方式:\", -1))\nconst _hoisted_33 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, [\n /*#__PURE__*/_createElementVNode(\"span\", null, \" * \"),\n /*#__PURE__*/_createTextVNode(\" 空调延时采用后付费方式,系统将根据您申请的时间产生延时费用。预约时间下您可自由开启空间下的设备。 \")\n], -1))\nconst _hoisted_34 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" 收费标准按开机设备对应空间的面积计费,空调加时费用按0.4元/m²·h进行计费,照明设备延时使用不计费。 \", -1))\nconst _hoisted_35 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" 如您提前结束工作,请点击“我要离开”按钮,系统会自动调整设备关闭时间,感谢与您一同共创可持续的办公环境。 \", -1))\nconst _hoisted_36 = [\n _hoisted_32,\n _hoisted_33,\n _hoisted_34,\n _hoisted_35\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 (_ctx.approvalData && _ctx.approvalData.length)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(_ctx.approvalData, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"approval-status\",\n style: _normalizeStyle([{\"width\":\"60px\"}, {\n left: item.left + 'px',\n background: item.bg,\n }]),\n key: 'approval' + index,\n onClick: ($event: any) => (_ctx.checkApprovalStatus(item, $event))\n }, _toDisplayString(item.text), 13, _hoisted_10))\n }), 128))\n : _createCommentVNode(\"\", true),\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.isLight || _ctx.isAir)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_15, _hoisted_19))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_20, [\n (_ctx.isAir)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _hoisted_21,\n _createElementVNode(\"div\", _hoisted_22, [\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(\"div\", _hoisted_24, [\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_25)\n ])\n ], 12, _hoisted_23))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n ])\n ], 64))\n : _createCommentVNode(\"\", true),\n (_ctx.isLight)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _hoisted_26,\n _createElementVNode(\"div\", _hoisted_27, [\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(\"div\", _hoisted_29, [\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_30)\n ])\n ], 12, _hoisted_28))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n ])\n ], 64))\n : _createCommentVNode(\"\", true),\n (_ctx.isLight || _ctx.isAir)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_31, _hoisted_36))\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 seviceEquipmentList: {\n // 是否走服务定制的设备\n type: Array,\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 approvalData: 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 seviceEquipmentList: props.seviceEquipmentList,\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 sliderWidth: any = proxyData.getSliderWapperWidth();\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 proxyData.setPastTime();\n },\n /**\n * 设置过去的时间\n */\n setPastTime() {\n // debugger;\n if (proxyData.nowData.week === \"今天\") {\n let index: any = proxyData.getNowIndex();\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\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 // 点击审批的时候触发接口\n checkApprovalStatus(item: any, e: any) {\n if (e.target) {\n let targetWidth: any = e.target.offsetWidth * 0.7;\n let left: any = item.left - targetWidth * 1.5 + e.offsetX;\n let sliderBoxEl: any = document.querySelectorAll(\".slider-box\")[0];\n let sliderWidth: any = sliderBoxEl.offsetWidth;\n let index: any = Math.ceil(left / sliderWidth);\n proxyData.checkSlider({}, index);\n }\n },\n approvalData: approvalData,\n // 获取slider的宽度\n getSliderWapperWidth() {\n let slidersWrapper: any = document.querySelector(\"#slidersWrapperId\");\n let slidersWrapperWidth: any =\n slidersWrapper.getBoundingClientRect().width;\n return slidersWrapperWidth;\n },\n // 格式化审批状态的数据位置\n formateApproveStatusPerstion() {\n if (proxyData.nowData) {\n let spaceCustomContentList: any =\n proxyData.nowData.customSceneList || [];\n let slidersWrapperWidth: any = proxyData.getSliderWapperWidth();\n proxyData.approvalData = [];\n for (let i = 0; i < spaceCustomContentList.length; i++) {\n let item: any = spaceCustomContentList[i];\n // 加班数据\n let obj: any = {\n left: 0,\n bg: \"\",\n index: 0,\n approvalStatus: item.approvalStatus,\n text: \"\",\n };\n if (item.approvalStatus == 0) {\n obj.text = \"待审批\";\n obj.bg = \"rgba(65, 107, 255, 0.6)\";\n } else if (item.approvalStatus == 1) {\n obj.text = \"已通过\";\n obj.bg = \"rgba(24, 196, 93, 0.6)\";\n } else if (item.approvalStatus == 2) {\n obj.text = \"已拒绝\";\n obj.bg = \"rgba(255, 54, 54, 0.6)\";\n }\n // else if (item.approvalStatus == 3) {\n // obj.text = \"已失效\";\n // obj.bg = \"rgba(255, 54, 54, 0.6)\";\n // }\n if (obj.text) {\n let startTime: any = proxyData.parseCusStartTime(item.startTime);\n let endTime: any = proxyData.parseCusEndTime(item.endTime);\n let relNowTime: any = getRelNowTime();\n let timerArr: any = proxyData.nowTimerArr;\n let leftStart: any = 0;\n let leftEnd: any = 0;\n timerArr.map((timer: any, index: any) => {\n if (timer.formatTimer == startTime) {\n if (slidersWrapperWidth) {\n leftStart = slidersWrapperWidth * index;\n }\n }\n if (timer.formatTimer == endTime) {\n if (slidersWrapperWidth) {\n leftEnd = slidersWrapperWidth * index;\n }\n }\n });\n obj.left = leftStart + (leftEnd - leftStart) * 0.5 - 18;\n if (relNowTime < endTime) {\n proxyData.approvalData.push(obj);\n }\n }\n }\n }\n },\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 // // 已经被选择的时间\n proxyData.setCheckTimeStyle();\n // // 固定服务时间\n proxyData.setServiceTimerStyle();\n if (proxyData.nowData.week === \"今天\") {\n proxyData.setPastTime();\n }\n // 设置审批状态\n proxyData.formateApproveStatusPerstion();\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 delSpaceNoCtrDevice(formTimerArr: any) {\n formTimerArr.map((item: any) => {\n let sceneEquipList: any = item.sceneEquipList || [];\n let seviceEquipmentList: any = proxyData.seviceEquipmentList;\n if (item.type == \"2\" && sceneEquipList.length) {\n sceneEquipList.map((scene: any, index: any) => {\n let flag: any = false;\n for (let i = 0; i < seviceEquipmentList.length; i++) {\n if (\n scene.objectId == seviceEquipmentList[i].id &&\n seviceEquipmentList[i].isExeSpaceTime\n ) {\n flag = true;\n }\n if (flag) {\n break;\n }\n }\n if (!flag) {\n item.sceneEquipList.splice(index, 1);\n }\n });\n }\n });\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.delSpaceNoCtrDevice(formTimerArr);\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 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 proxyData.seviceEquipmentList = newProps.seviceEquipmentList;\n console.log(\"弹窗变化了-----==\");\n // proxyData.setWorkTimeList();\n });\n onMounted(() => {\n // 设置dom最外层的宽\n // console.log(\"弹窗变化了-----==\");\n // proxyData.formateManualWorkTime();\n proxyData.setWorkTimeList();\n });\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=545aa93e&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=545aa93e&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-545aa93e\"]])\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 contantDetail: {\n type: Object,\n default: () => {},\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: props.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 proxyData.contantDetail = newProps.contantDetail;\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=8f2b022e&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=8f2b022e&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-34a0334d\"),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 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 workkArr: 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 formateApproveData() {\n let data: any = proxyData.workkArr || [];\n for (let i = 0; i < data.length; i++) {\n let customSceneList: any = data[i]?.customSceneList ?? [];\n if (customSceneList && customSceneList.length) {\n let newCustomSceneList: any = [];\n customSceneList.map((item: any, index: any) => {\n if (item.hasOwnProperty(\"approvalStatus\")) {\n if (item.approvalStatus == 1) {\n // customSceneList.splice(index, 1);\n newCustomSceneList.push(item);\n }\n } else {\n }\n });\n data[i].customSceneList = newCustomSceneList;\n }\n }\n console.log(\"审批数据处理--\", data);\n },\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 if (newProps.workkArr && newProps.workkArr.length) {\n proxyData.workkArr = JSON.parse(JSON.stringify(newProps.workkArr));\n console.log(\"workkArr数据变化了\", proxyData.workkArr);\n proxyData.formateApproveData();\n proxyData.formateWorkTime();\n }\n },\n {\n deep: false,\n immediate: true,\n }\n );\n onMounted(() => {\n // proxyData.workkArr = props.workkArr;\n // proxyData.workkArr = JSON.parse(JSON.stringify(props.workkArr));\n // proxyData.formateApproveData();\n // proxyData.formateWorkTime();\n });\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./WorkConfig.vue?vue&type=template&id=34a0334d&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=34a0334d&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-34a0334d\"]])\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-1fed2403\"),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 let scenarioArr: any = [];\n const proxyData = reactive({\n parseImgUrl: parseImgUrl,\n spaceId: props.spaceId,\n scenarioArr: scenarioArr,\n scenarioImgArr: scenarioImgArr,\n activeType: props.activeType,\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: proxyData.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, 1);\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, 2);\n }\n })\n .catch(() => {\n item.loading = false;\n item.lodingText = \"\";\n contx.emit(\"setHeadScene\", item, 2);\n });\n },\n });\n watch(\n props,\n (newProps: any) => {\n proxyData.activeType = newProps.activeType;\n proxyData.scenarioArr = newProps.scenarioArr;\n proxyData.spaceId = newProps.spaceId;\n proxyData.formatScenarioImg();\n console.log(\"会议室场景变化了--\");\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=1fed2403&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=1fed2403&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-1fed2403\"]])\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, 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-6a545f18\"),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([\n item,\n ]);\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 clearLightStatusTimer() {\n clearTimeout(proxyData.lightsStatusTimer);\n proxyData.lightsStatusTimer = null;\n },\n // 定时刷新接口\n startLightsStatusTimer(timerLen: any = 2000) {\n proxyData.lightsStatusTimer = setTimeout(() => {\n proxyData.getLampList();\n proxyData.clearLightStatusTimer();\n }, timerLen);\n },\n });\n const isShowChildLight = computed(() => {\n return proxyData.lampList.length && proxyData.lampList.length > 1;\n });\n watch(\n props,\n (newProps: any) => {\n // 定时调空间信息\n proxyData.userIsControl = newProps.userIsControl;\n proxyData.controlMode = newProps.controlMode;\n proxyData.forceOverTimeFlag = newProps.forceOverTimeFlag;\n proxyData.seviceEquipmentList = newProps.seviceEquipmentList;\n if (newProps.spaceId) {\n // 空间id改变的重新获取值调用接口\n proxyData.clearLightStatusTimer();\n proxyData.getLampList();\n console.log(\"调用了====\");\n }\n },\n {\n deep: false,\n immediate: true,\n }\n );\n onBeforeUnmount(() => {\n proxyData.clearLightStatusTimer();\n });\n onMounted(() => {});\n return {\n isShowChildLight,\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=6a545f18&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=6a545f18&lang=scss&scoped=true\"\nimport \"./index.vue?vue&type=style&index=1&id=6a545f18&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-6a545f18\"]])\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-f8a217b2\"),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 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=f8a217b2&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=f8a217b2&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-f8a217b2\"]])\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-55c81230\"),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: 1,\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=55c81230&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=55c81230&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-55c81230\"]])\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\";\n// import 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 queryCustomerservice,\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 const weatherTimer: any = null;\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 contantDetail: any = {};\n const cusServiceTimer: any = null;\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 sceneConfigTimer: 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 let spaceEquipList: any = [];\n let equipTimer: any = null;\n const proxyData = reactive({\n equipTimer: equipTimer,\n seviceEquipmentList: allDevice, // 所有的设备\n spaceEquipList: spaceEquipList,\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.spaceEquipList.map((item: any) => {\n item.id = item.equipmentId;\n });\n proxyData.seviceEquipmentList = proxyData.spaceEquipList;\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 weatherTimer: weatherTimer,\n getWeatherTimer(timer: any = 3600000) {\n proxyData.weatherTimer = setTimeout(() => {\n clearTimeout(proxyData.weatherTimer);\n proxyData.getWeather();\n }, timer);\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 proxyData.getWeatherTimer();\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, flag: any) {\n proxyData.activeType = item.sceneType;\n if (flag == 1) {\n proxyData.isShowMetting = true;\n }\n proxyData.secenaroStatus = {\n localName: proxyData.officeData.localName,\n loading: item.loading,\n lodingText: item.lodingText,\n sceneName: item.sceneName,\n };\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 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 key in proxyData.spaceExistenceDevice) {\n let flag: any = false;\n for (let i = 0; i < data.length; i++) {\n if (key == data[i]) {\n flag = true;\n }\n }\n proxyData.spaceExistenceDevice[key] = flag;\n }\n // app端底部的导航判断\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 sceneConfigTimer: sceneConfigTimer,\n clearSceneConfigTimer() {\n clearTimeout(proxyData.sceneConfigTimer);\n },\n // 定时获取场景的配置\n querySpaceSceneConfigTimer(timer: any = 100000) {\n proxyData.clearSceneConfigTimer();\n proxyData.sceneConfigTimer = setTimeout(() => {\n proxyData.querySpaceSceneConfig();\n proxyData.clearSceneConfigTimer();\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)\n .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 .catch((error: any) => {\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 clearEquipTimer() {\n clearTimeout(proxyData.equipTimer);\n proxyData.equipTimer = null;\n },\n // 定时器\n getSpaceEquipListTimer(timerLen: any = 30000) {\n proxyData.clearEquipTimer();\n proxyData.equipTimer = setTimeout(() => {\n proxyData.getSpaceEquipList();\n proxyData.clearEquipTimer();\n }, timerLen);\n },\n // 查询空间下面受控的设备\n getSpaceEquipList() {\n let params: any = {\n spaceId: proxyData.spaceInfo.spaceId,\n };\n let str: any = setQueryConfig(params);\n getSpaceEquipList(str)\n .then((res: any) => {\n let data: any = res.data || [];\n proxyData.spaceEquipList = data;\n proxyData.checkDeviceShowWork(); // 判断手动控制的设备是否要开启手动控制功能\n // proxyData.getSpaceEquipListTimer();\n })\n .catch((error: any) => {\n // proxyData.getSpaceEquipListTimer();\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\n for (let i = 0; i < resData.length; i++) {\n let customSceneList: any = resData[i]?.customSceneList ?? [];\n customSceneList = customSceneList.sort(proxyData.compare);\n }\n // 手动控制的情况下走新的服务定制\n proxyData.workkArr = resData;\n proxyData.formateManualWorkTime();\n\n proxyData.queryCustomAndScenceTimer();\n })\n .catch(() => {\n proxyData.queryCustomAndScenceTimer();\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 // 手动控制加班处理时间段拼接的逻辑\n formateManualWorkTime() {\n // debugger\n let data: any = proxyData.workkArr || [];\n for (let i = 0; i < data.length; i++) {\n let item: any = data[i];\n let spaceCustomContentList: any =\n data[i].spaceCustomContentList || [];\n if (spaceCustomContentList && spaceCustomContentList.length) {\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 (\n item.cusEndTime + 1 ===\n spaceCustomContentList[j].startTime\n ) {\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 }\n },\n /**\n * 空间相关的接口\n */\n init() {\n proxyData.padNumber = 0;\n // proxyData.roomType = \"\";\n // 获取场景配置\n proxyData.getSpaceInfo();\n // 动态获取场景配置\n proxyData.querySpaceSceneConfig();\n // 获取空间下受控设备\n proxyData.getSpaceEquipList();\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 /**\n *重新获取设备的时候,先初始化数据\n */\n proxyData.spaceExistenceDevice = {\n curtain: false,\n light: false,\n airConditioner: false,\n bodySensor: false,\n };\n proxyData.spaceData.map((item: any) => {\n item.active = false;\n });\n proxyData.controlMode = 0; // 模式变成自动的\n proxyData.isWork = false;\n proxyData.roomType = \"\";\n proxyData.officeData.temperature = \"\";\n proxyData.spaceExistenceDevice = spaceExistenceDevice;\n proxyData.workkArr = [];\n // 切换空间的时候把加班按钮平板\n proxyData.setForceOverTimeFlag(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 },\n // 切换空间\n changeSpace(item: any, type: any = 0) {\n //清除空间下所有的定时器\n proxyData.clearAll();\n // 重置当前选中空间的状态\n proxyData.resetSpaceStatus();\n proxyData.spaceInfo = item;\n if (type === 1) {\n proxyData.defaultSpace = item;\n proxyData.elChangeExForArray(item);\n }\n item.active = true;\n proxyData.init();\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.clearSceneConfigTimer();\n proxyData.clearSecenTimer();\n proxyData.clearEquipTimer();\n },\n contantDetail: contantDetail,\n cusServiceTimer: cusServiceTimer,\n queryCustomerserviceTimer(timer: any = 3600000) {\n proxyData.cusServiceTimer = setTimeout(() => {\n clearTimeout(proxyData.cusServiceTimer);\n proxyData.queryCustomerservice();\n }, timer);\n },\n // 查询联系方式\n queryCustomerservice() {\n let params: any = {\n criteria: { projectId: proxyData.userInfo.projectId },\n };\n queryCustomerservice(params)\n .then((res) => {\n let resData: any = res;\n let content: any = resData?.content ?? [];\n proxyData.contantDetail = content[0];\n proxyData.queryCustomerserviceTimer();\n })\n .catch(() => {\n proxyData.queryCustomerserviceTimer();\n });\n },\n });\n onBeforeUnmount(() => {\n proxyData.clearAll();\n clearTimeout(proxyData.cusServiceTimer);\n clearTimeout(proxyData.weatherTimer);\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 proxyData.queryCustomerservice();\n });\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=33d90844&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=33d90844&lang=scss&scoped=true\"\nimport \"./index.vue?vue&type=style&index=1&id=33d90844&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-33d90844\"]])\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!./index.vue?vue&type=style&index=0&id=8f2b022e&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=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\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuBg\":\"#fff\",\"menuText\":\"#162b64\",\"menuActiveText\":\"#435ebe\"};","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./index.vue?vue&type=style&index=0&id=33d90844&lang=scss&scoped=true\"","import \"../../style/base.css\";\nimport \"../../badge/index.css\";\nimport \"../../icon/index.css\";\nimport \"../../cell/index.css\";\nimport \"../index.css\";\n","'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength(FIND_INDEX);\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n","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=6a545f18&class=style&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./index.vue?vue&type=style&index=1&id=33d90844&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./SpaceBox.vue?vue&type=style&index=0&id=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!./WorkConfig.vue?vue&type=style&index=0&id=34a0334d&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=55c81230&lang=scss&scoped=true\""],"sourceRoot":""}