chunk-7f684f10.11245cd5.js.map 84 KB

1
  1. {"version":3,"sources":["webpack:///./node_modules/vant/es/action-bar/ActionBar.js","webpack:///./node_modules/vant/es/action-bar/index.js","webpack:///./node_modules/vant/es/action-bar-button/ActionBarButton.js","webpack:///./node_modules/vant/es/action-bar-button/index.js","webpack:///./node_modules/vant/es/dialog/Dialog.js","webpack:///./node_modules/vant/es/dialog/function-call.js","webpack:///./node_modules/vant/es/dialog/index.js","webpack:///./src/views/portrait/energySavig.vue?49bc","webpack:///./src/apis/portrait.ts","webpack:///./node_modules/vant/es/button/Button.js","webpack:///./node_modules/vant/es/button/index.js","webpack:///./src/views/portrait/energySavig.vue?82b3","webpack:///./node_modules/vant/es/dialog/style/index.js","webpack:///./src/views/portrait/energySavig.vue?f65e","webpack:///./src/views/portrait/energySavig.vue?f0a4","webpack:///./src/views/portrait/energySavig.vue","webpack:///./src/views/portrait/energySavig.vue?06b9"],"names":["bem","create","ACTION_BAR_KEY","Symbol","actionBarProps","safeAreaInsetBottom","stdin_default","name","props","slots","linkChildren","_a","default","call","ActionBar","actionBarButtonProps","type","String","text","icon","color","loading","Boolean","disabled","route","parent","index","isFirst","prev","children","value","isLast","next","isButton","last","first","ActionBarButton","t","dialogProps","title","theme","width","message","Function","callback","allowHtml","className","transition","messageAlign","closeOnPopstate","showCancelButton","cancelButtonText","cancelButtonColor","confirmButtonText","confirmButtonColor","showConfirmButton","closeOnClickOverlay","popupInheritKeys","emits","emit","root","confirm","cancel","updateShow","close","action","getActionHandler","show","beforeClose","args","onCancel","onConfirm","onKeydown","event","_b","target","popupRef","onEventType","Enter","Escape","key","renderTitle","isolated","renderMessage","hasTitle","classNames","content","renderContent","renderButtons","renderRoundButtons","renderFooter","footer","instance","initInstance","Wrapper","state","toggle","Dialog","options","Promise","resolve","reject","open","currentOptions","defaultOptions","overlay","teleport","lockScroll","overlayClass","overlayStyle","alert","setDefaultOptions","resetDefaultOptions","Component","install","app","use","config","globalProperties","$dialog","queryTotalIntegral","params","request","GET","undefined","json","queryPortraitTempUserTotal","queryTotalPortraitLight","queryPortraitTempUserDetail","POST","getSeasonBySeasonDate","queryPortraitLightUser","queryAllIntegral","lightFeedbackQuery","tempFeedbackQuery","queryPortraitModule","buttonProps","tag","size","block","plain","round","square","hairline","iconPrefix","nativeType","loadingSize","loadingText","loadingType","iconPosition","renderLoadingIcon","renderIcon","renderText","getStyle","style","background","includes","border","borderColor","onClick","classes","Button","module","exports","n","_hoisted_1","class","id","_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","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","height","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_hoisted_52","_hoisted_53","render","_ctx","_cache","$props","$setup","$data","$options","_component_van_icon","_component_com_chart","_component_van_dialog","goDeail","energyData","totalPoints","goRank","level","$event","intergral","portait","airConditioner","goRecord","tempTotal","adjustTotalNum","adjustUpNum","adjustDownNum","triggerDailog","economizeEnergy","seasonType","triggerSeason","options1","src","parseImgUrl","alt","comfortType","adjustNum","comfortTextObj","img","lowComfortTemp","highComfortTemp","firstLine","secondLine","light","lightTotal","openNum","closeNum","options2","showDialog","_","components","ComChart","setup","query","router","proxyData","user","store","showNum","today","lastMonth","date","month","then","res","resData","result","data","setChartData","chartList","colorArr","data1","data2","temperatureArr","map","item","push","num","temperature","param","projectId","dateTime","paramStr","criteria","userId","adjustDetails","comfortTemp","forEach","baseData","formateOptions1","resList","xData","data3","sort","a","b","hour","closeOthersNum","formateOptions2","chartArr","tooltip","trigger","legend","top","align","left","itemWidth","itemHeight","textStyle","fontSize","grid","right","bottom","containLabel","xAxis","boundaryGap","axisLine","lineStyle","axisLabel","splitLine","yAxis","axisTick","series","smooth","symbol","stack","barWidth","symbolSize","showSymbol","itemStyle","normal","barBorderRadius","length","path","document","window","getElementById","offsetTop","pageEle","scrollTop","__exports__"],"mappings":"qVAIA,MAAO,EAAMA,GAAO,OAAAC,EAAA,MAAgB,cAC9BC,EAAiBC,OAAO,GACxBC,EAAiB,CACrBC,oBAAqB,QAEvB,IAAIC,EAAgB,6BAAgB,CAClCC,KAAI,EACJC,MAAOJ,EACP,MAAMI,GAAO,MACXC,IAEA,MAAM,aACJC,GACE,eAAYR,GAEhB,OADAQ,IACO,KACL,IAAIC,EACJ,OAAO,yBAAa,MAAO,CACzB,MAAS,CAACX,IAAO,CACf,uBAAwBQ,EAAMH,uBAE/B,CAAyB,OAAvBM,EAAKF,EAAMG,cAAmB,EAASD,EAAGE,KAAKJ,SCvB1D,MAAMK,EAAY,eAAY,GAC9B,I,wBCKA,MAAO,EAAM,GAAO,OAAAb,EAAA,MAAgB,qBAC9Bc,EAAuB,eAAO,GAAI,OAAY,CAClDC,KAAMC,OACNC,KAAMD,OACNE,KAAMF,OACNG,MAAOH,OACPI,QAASC,QACTC,SAAUD,UAEZ,IAAI,EAAgB,6BAAgB,CAClCf,KAAI,EACJC,MAAOO,EACP,MAAMP,GAAO,MACXC,IAEA,MAAMe,EAAQ,kBACR,OACJC,EAAM,MACNC,GACE,eAAUxB,GACRyB,EAAU,sBAAS,KACvB,GAAIF,EAAQ,CACV,MAAMG,EAAOH,EAAOI,SAASH,EAAMI,MAAQ,GAC3C,QAASF,GAAQ,aAAcA,MAG7BG,EAAS,sBAAS,KACtB,GAAIN,EAAQ,CACV,MAAMO,EAAOP,EAAOI,SAASH,EAAMI,MAAQ,GAC3C,QAASE,G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A,EAErBQ,EAAUR,SAAW,MAMzBlC,QA/iByB,WA+iBI,IAArBvN,EAAqB,uDAAT,UACL,UAATA,EACFgQ,EAAOsB,KAAK,CACVyD,KAAM,uBACNhF,MAAO,CACLtC,YAAawC,EAAUzC,WAAWC,YAClCzN,KAAMA,KAIVgQ,EAAOsB,KAAK,CACVyD,KAAM,iBACNhF,MAAO,CACLtC,YAAawC,EAAUzC,WAAWC,YAClCzN,KAAMA,MAQd0N,OArkByB,WAskBvBsC,EAAOsB,KAAK,CAAEyD,KAAM,kBAMtB/G,SA5kByB,WA4kBF,IAAdhO,EAAc,uDAAF,GACnBgQ,EAAOsB,KAAK,CACVyD,KAAM,UACNhF,MAAO,CAAE/P,KAAMA,MAOnBqO,cAtlByB,WAulBvB4B,EAAUP,YAAa,KAyB3B,OAtBA,uBAAS,WACP,GAAIO,EAAU1G,IAAuB,WAAjB0G,EAAU1G,GAAiB,CAC7C,IAAMyL,EAAgBC,OAAOD,SAEzB/B,EAAM+B,EAASE,eAAejF,EAAU1G,IAAI4L,UAAY,GACxDC,EAAUJ,EAASE,eAAe,QACtCE,EAAQC,UAAYpC,MAGxB,wBAAU,WAERhD,EAAUzJ,qBAEVyJ,EAAU/I,wBAEV+I,EAAUnJ,6BAEVmJ,EAAUlJ,0BAEVkJ,EAAU9I,4BAGZ,mBACK,oBAAO8I,O,8CC3oBhB,MAAMqF,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAASzI,IAAQ,CAAC,YAAY,qBAE1E,iB,kCCVf","file":"static/js/chunk-7f684f10.11245cd5.js","sourcesContent":["import { createVNode as _createVNode } from \"vue\";\nimport { defineComponent } from \"vue\";\nimport { truthProp, createNamespace } from \"../utils\";\nimport { useChildren } from \"@vant/use\";\nconst [name, bem] = createNamespace(\"action-bar\");\nconst ACTION_BAR_KEY = Symbol(name);\nconst actionBarProps = {\n safeAreaInsetBottom: truthProp\n};\nvar stdin_default = defineComponent({\n name,\n props: actionBarProps,\n setup(props, {\n slots\n }) {\n const {\n linkChildren\n } = useChildren(ACTION_BAR_KEY);\n linkChildren();\n return () => {\n var _a;\n return _createVNode(\"div\", {\n \"class\": [bem(), {\n \"van-safe-area-bottom\": props.safeAreaInsetBottom\n }]\n }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);\n };\n }\n});\nexport {\n ACTION_BAR_KEY,\n stdin_default as default\n};\n","import { withInstall } from \"../utils\";\nimport _ActionBar from \"./ActionBar\";\nconst ActionBar = withInstall(_ActionBar);\nvar stdin_default = ActionBar;\nexport {\n ActionBar,\n stdin_default as default\n};\n","import { createVNode as _createVNode } from \"vue\";\nimport { computed, defineComponent } from \"vue\";\nimport { extend, createNamespace } from \"../utils\";\nimport { ACTION_BAR_KEY } from \"../action-bar/ActionBar\";\nimport { useParent } from \"@vant/use\";\nimport { useExpose } from \"../composables/use-expose\";\nimport { useRoute, routeProps } from \"../composables/use-route\";\nimport { Button } from \"../button\";\nconst [name, bem] = createNamespace(\"action-bar-button\");\nconst actionBarButtonProps = extend({}, routeProps, {\n type: String,\n text: String,\n icon: String,\n color: String,\n loading: Boolean,\n disabled: Boolean\n});\nvar stdin_default = defineComponent({\n name,\n props: actionBarButtonProps,\n setup(props, {\n slots\n }) {\n const route = useRoute();\n const {\n parent,\n index\n } = useParent(ACTION_BAR_KEY);\n const isFirst = computed(() => {\n if (parent) {\n const prev = parent.children[index.value - 1];\n return !(prev && \"isButton\" in prev);\n }\n });\n const isLast = computed(() => {\n if (parent) {\n const next = parent.children[index.value + 1];\n return !(next && \"isButton\" in next);\n }\n });\n useExpose({\n isButton: true\n });\n return () => {\n const {\n type,\n icon,\n text,\n color,\n loading,\n disabled\n } = props;\n return _createVNode(Button, {\n \"class\": bem([type, {\n last: isLast.value,\n first: isFirst.value\n }]),\n \"size\": \"large\",\n \"type\": type,\n \"icon\": icon,\n \"color\": color,\n \"loading\": loading,\n \"disabled\": disabled,\n \"onClick\": route\n }, {\n default: () => [slots.default ? slots.default() : text]\n });\n };\n }\n});\nexport {\n stdin_default as default\n};\n","import { withInstall } from \"../utils\";\nimport _ActionBarButton from \"./ActionBarButton\";\nconst ActionBarButton = withInstall(_ActionBarButton);\nvar stdin_default = ActionBarButton;\nexport {\n ActionBarButton,\n stdin_default as default\n};\n","import { mergeProps as _mergeProps, createVNode as _createVNode } from \"vue\";\nimport { ref, reactive, withKeys, defineComponent } from \"vue\";\nimport { noop, pick, extend, addUnit, truthProp, isFunction, BORDER_TOP, BORDER_LEFT, unknownProp, numericProp, makeStringProp, callInterceptor, createNamespace } from \"../utils\";\nimport { popupSharedProps, popupSharedPropKeys } from \"../popup/shared\";\nimport { Popup } from \"../popup\";\nimport { Button } from \"../button\";\nimport { ActionBar } from \"../action-bar\";\nimport { ActionBarButton } from \"../action-bar-button\";\nconst [name, bem, t] = createNamespace(\"dialog\");\nconst dialogProps = extend({}, popupSharedProps, {\n title: String,\n theme: String,\n width: numericProp,\n message: [String, Function],\n callback: Function,\n allowHtml: Boolean,\n className: unknownProp,\n transition: makeStringProp(\"van-dialog-bounce\"),\n messageAlign: String,\n closeOnPopstate: truthProp,\n showCancelButton: Boolean,\n cancelButtonText: String,\n cancelButtonColor: String,\n confirmButtonText: String,\n confirmButtonColor: String,\n showConfirmButton: truthProp,\n closeOnClickOverlay: Boolean\n});\nconst popupInheritKeys = [...popupSharedPropKeys, \"transition\", \"closeOnPopstate\"];\nvar stdin_default = defineComponent({\n name,\n props: dialogProps,\n emits: [\"confirm\", \"cancel\", \"keydown\", \"update:show\"],\n setup(props, {\n emit,\n slots\n }) {\n const root = ref();\n const loading = reactive({\n confirm: false,\n cancel: false\n });\n const updateShow = (value) => emit(\"update:show\", value);\n const close = (action) => {\n var _a;\n updateShow(false);\n (_a = props.callback) == null ? void 0 : _a.call(props, action);\n };\n const getActionHandler = (action) => () => {\n if (!props.show) {\n return;\n }\n emit(action);\n if (props.beforeClose) {\n loading[action] = true;\n callInterceptor(props.beforeClose, {\n args: [action],\n done() {\n close(action);\n loading[action] = false;\n },\n canceled() {\n loading[action] = false;\n }\n });\n } else {\n close(action);\n }\n };\n const onCancel = getActionHandler(\"cancel\");\n const onConfirm = getActionHandler(\"confirm\");\n const onKeydown = withKeys((event) => {\n var _a, _b;\n if (event.target !== ((_b = (_a = root.value) == null ? void 0 : _a.popupRef) == null ? void 0 : _b.value)) {\n return;\n }\n const onEventType = {\n Enter: props.showConfirmButton ? onConfirm : noop,\n Escape: props.showCancelButton ? onCancel : noop\n };\n onEventType[event.key]();\n emit(\"keydown\", event);\n }, [\"enter\", \"esc\"]);\n const renderTitle = () => {\n const title = slots.title ? slots.title() : props.title;\n if (title) {\n return _createVNode(\"div\", {\n \"class\": bem(\"header\", {\n isolated: !props.message && !slots.default\n })\n }, [title]);\n }\n };\n const renderMessage = (hasTitle) => {\n const {\n message,\n allowHtml,\n messageAlign\n } = props;\n const classNames = bem(\"message\", {\n \"has-title\": hasTitle,\n [messageAlign]: messageAlign\n });\n const content = isFunction(message) ? message() : message;\n if (allowHtml && typeof content === \"string\") {\n return _createVNode(\"div\", {\n \"class\": classNames,\n \"innerHTML\": content\n }, null);\n }\n return _createVNode(\"div\", {\n \"class\": classNames\n }, [content]);\n };\n const renderContent = () => {\n if (slots.default) {\n return _createVNode(\"div\", {\n \"class\": bem(\"content\")\n }, [slots.default()]);\n }\n const {\n title,\n message,\n allowHtml\n } = props;\n if (message) {\n const hasTitle = !!(title || slots.title);\n return _createVNode(\"div\", {\n \"key\": allowHtml ? 1 : 0,\n \"class\": bem(\"content\", {\n isolated: !hasTitle\n })\n }, [renderMessage(hasTitle)]);\n }\n };\n const renderButtons = () => _createVNode(\"div\", {\n \"class\": [BORDER_TOP, bem(\"footer\")]\n }, [props.showCancelButton && _createVNode(Button, {\n \"size\": \"large\",\n \"text\": props.cancelButtonText || t(\"cancel\"),\n \"class\": bem(\"cancel\"),\n \"style\": {\n color: props.cancelButtonColor\n },\n \"loading\": loading.cancel,\n \"onClick\": onCancel\n }, null), props.showConfirmButton && _createVNode(Button, {\n \"size\": \"large\",\n \"text\": props.confirmButtonText || t(\"confirm\"),\n \"class\": [bem(\"confirm\"), {\n [BORDER_LEFT]: props.showCancelButton\n }],\n \"style\": {\n color: props.confirmButtonColor\n },\n \"loading\": loading.confirm,\n \"onClick\": onConfirm\n }, null)]);\n const renderRoundButtons = () => _createVNode(ActionBar, {\n \"class\": bem(\"footer\")\n }, {\n default: () => [props.showCancelButton && _createVNode(ActionBarButton, {\n \"type\": \"warning\",\n \"text\": props.cancelButtonText || t(\"cancel\"),\n \"class\": bem(\"cancel\"),\n \"color\": props.cancelButtonColor,\n \"loading\": loading.cancel,\n \"onClick\": onCancel\n }, null), props.showConfirmButton && _createVNode(ActionBarButton, {\n \"type\": \"danger\",\n \"text\": props.confirmButtonText || t(\"confirm\"),\n \"class\": bem(\"confirm\"),\n \"color\": props.confirmButtonColor,\n \"loading\": loading.confirm,\n \"onClick\": onConfirm\n }, null)]\n });\n const renderFooter = () => {\n if (slots.footer) {\n return slots.footer();\n }\n return props.theme === \"round-button\" ? renderRoundButtons() : renderButtons();\n };\n return () => {\n const {\n width,\n title,\n theme,\n message,\n className\n } = props;\n return _createVNode(Popup, _mergeProps({\n \"ref\": root,\n \"role\": \"dialog\",\n \"class\": [bem([theme]), className],\n \"style\": {\n width: addUnit(width)\n },\n \"tabindex\": 0,\n \"aria-labelledby\": title || message,\n \"onKeydown\": onKeydown,\n \"onUpdate:show\": updateShow\n }, pick(props, popupInheritKeys)), {\n default: () => [renderTitle(), renderContent(), renderFooter()]\n });\n };\n }\n});\nexport {\n stdin_default as default\n};\n","import { createVNode as _createVNode, mergeProps as _mergeProps } from \"vue\";\nimport { extend, inBrowser, withInstall } from \"../utils\";\nimport { mountComponent, usePopupState } from \"../utils/mount-component\";\nimport VanDialog from \"./Dialog\";\nlet instance;\nfunction initInstance() {\n const Wrapper = {\n setup() {\n const {\n state,\n toggle\n } = usePopupState();\n return () => _createVNode(VanDialog, _mergeProps(state, {\n \"onUpdate:show\": toggle\n }), null);\n }\n };\n ({\n instance\n } = mountComponent(Wrapper));\n}\nfunction Dialog(options) {\n if (!inBrowser) {\n return Promise.resolve();\n }\n return new Promise((resolve, reject) => {\n if (!instance) {\n initInstance();\n }\n instance.open(extend({}, Dialog.currentOptions, options, {\n callback: (action) => {\n (action === \"confirm\" ? resolve : reject)(action);\n }\n }));\n });\n}\nDialog.defaultOptions = {\n title: \"\",\n width: \"\",\n theme: null,\n message: \"\",\n overlay: true,\n callback: null,\n teleport: \"body\",\n className: \"\",\n allowHtml: false,\n lockScroll: true,\n transition: void 0,\n beforeClose: null,\n overlayClass: \"\",\n overlayStyle: void 0,\n messageAlign: \"\",\n cancelButtonText: \"\",\n cancelButtonColor: null,\n confirmButtonText: \"\",\n confirmButtonColor: null,\n showConfirmButton: true,\n showCancelButton: false,\n closeOnPopstate: true,\n closeOnClickOverlay: false\n};\nDialog.currentOptions = extend({}, Dialog.defaultOptions);\nDialog.alert = Dialog;\nDialog.confirm = (options) => Dialog(extend({\n showCancelButton: true\n}, options));\nDialog.close = () => {\n if (instance) {\n instance.toggle(false);\n }\n};\nDialog.setDefaultOptions = (options) => {\n extend(Dialog.currentOptions, options);\n};\nDialog.resetDefaultOptions = () => {\n Dialog.currentOptions = extend({}, Dialog.defaultOptions);\n};\nDialog.Component = withInstall(VanDialog);\nDialog.install = (app) => {\n app.use(Dialog.Component);\n app.config.globalProperties.$dialog = Dialog;\n};\nexport {\n Dialog\n};\n","import { Dialog } from \"./function-call\";\nvar stdin_default = Dialog;\nexport {\n Dialog,\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!./energySavig.vue?vue&type=style&index=1&id=b1d82ca6&lang=scss\"","import { RootObject, RootWeatherObject } from '@/model/rootObject'\nimport { Users, CompanyModel, OutherWeather, SpaceModel } from '@/model/userModel'\nimport { https } from '@/utils/https'\nimport { RequestParams, ContentType, Method } from 'axios-mapper'\nimport { setQueryConfig, getUserInfo } from '@/utils'\n\nimport { duoduoenvService } from '@/config'\n\n// const comInfo: any = {}\n// comInfo.userId = getUserInfo().userId\n// comInfo.projectId = getUserInfo().projectId\n// const comParams: string = ''\n\n//查询 今日新增 排名\nexport const queryTotalIntegral = (params: any) => {\n return https().request<any>(`${duoduoenvService}userIntegral/queryUserMessage?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n// 查询空调使用统计\nexport const queryPortraitTempUserTotal = () => {\n return https().request<any>(`${duoduoenvService}userPortrait/portraitTemp/queryPortraitTempUserTotal`, Method.GET, undefined, ContentType.json)\n}\n\n// 灯的使用统计\nexport const queryTotalPortraitLight = () => {\n return https().request<any>(`${duoduoenvService}userPortrait/portraitLight/queryTotalPortraitLight`, Method.GET, undefined, ContentType.json)\n}\n/**\n * 空调统计数据 chart详情\n */\nexport const queryPortraitTempUserDetail = (params: any) => {\n return https().request<any>(`${duoduoenvService}userPortrait/portraitTemp/queryPortraitTempUserDetail`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 获取季节类型\n * @param params\n */\nexport const getSeasonBySeasonDate = (params: any) => {\n return https().request<any>(`${duoduoenvService}custom/getSeasonBySeasonDate?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 开灯使用统计图\n */\nexport const queryPortraitLightUser = (params: any) => {\n return https().request<any>(`${duoduoenvService}userPortrait/portraitLight/queryPortraitLightUser`, Method.POST\n , params, ContentType.json)\n}\n\n/**\n * 获取用户积分&获取用户的节能排名\n */\nexport const queryAllIntegral = (params: any) => {\n return https().request<any>(`${duoduoenvService}userIntegral/query`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 获取用户的节能排名\n */\nexport const queryIntegralRank = (params: any) => {\n return https().request<any>(`${duoduoenvService}userIntegral/query`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 开关调节记录\n * @param params\n */\nexport const lightFeedbackQuery = (params: any) => {\n return https().request<any>(`${duoduoenvService}custom/feedback/light/query`, Method.POST, params, ContentType.json)\n}\n\n/**\n *\n *空调调节记录\n * @param params\n */\nexport const tempFeedbackQuery = (params: any) => {\n return https().request<any>(`${duoduoenvService}custom/feedbackQuery`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 判断模块的显示和隐藏\n */\nexport const queryPortraitModule = () => {\n return https().request<any>(`${duoduoenvService}userPortrait/queryPortraitModuleList`, Method.GET, undefined, ContentType.json)\n}\n\n\n\n\n\n","import { createVNode as _createVNode } from \"vue\";\nimport { defineComponent } from \"vue\";\nimport { extend, numericProp, preventDefault, makeStringProp, createNamespace, BORDER_SURROUND } from \"../utils\";\nimport { useRoute, routeProps } from \"../composables/use-route\";\nimport { Icon } from \"../icon\";\nimport { Loading } from \"../loading\";\nconst [name, bem] = createNamespace(\"button\");\nconst buttonProps = extend({}, routeProps, {\n tag: makeStringProp(\"button\"),\n text: String,\n icon: String,\n type: makeStringProp(\"default\"),\n size: makeStringProp(\"normal\"),\n color: String,\n block: Boolean,\n plain: Boolean,\n round: Boolean,\n square: Boolean,\n loading: Boolean,\n hairline: Boolean,\n disabled: Boolean,\n iconPrefix: String,\n nativeType: makeStringProp(\"button\"),\n loadingSize: numericProp,\n loadingText: String,\n loadingType: String,\n iconPosition: makeStringProp(\"left\")\n});\nvar stdin_default = defineComponent({\n name,\n props: buttonProps,\n emits: [\"click\"],\n setup(props, {\n emit,\n slots\n }) {\n const route = useRoute();\n const renderLoadingIcon = () => {\n if (slots.loading) {\n return slots.loading();\n }\n return _createVNode(Loading, {\n \"size\": props.loadingSize,\n \"type\": props.loadingType,\n \"class\": bem(\"loading\")\n }, null);\n };\n const renderIcon = () => {\n if (props.loading) {\n return renderLoadingIcon();\n }\n if (slots.icon) {\n return _createVNode(\"div\", {\n \"class\": bem(\"icon\")\n }, [slots.icon()]);\n }\n if (props.icon) {\n return _createVNode(Icon, {\n \"name\": props.icon,\n \"class\": bem(\"icon\"),\n \"classPrefix\": props.iconPrefix\n }, null);\n }\n };\n const renderText = () => {\n let text;\n if (props.loading) {\n text = props.loadingText;\n } else {\n text = slots.default ? slots.default() : props.text;\n }\n if (text) {\n return _createVNode(\"span\", {\n \"class\": bem(\"text\")\n }, [text]);\n }\n };\n const getStyle = () => {\n const {\n color,\n plain\n } = props;\n if (color) {\n const style = {\n color: plain ? color : \"white\"\n };\n if (!plain) {\n style.background = color;\n }\n if (color.includes(\"gradient\")) {\n style.border = 0;\n } else {\n style.borderColor = color;\n }\n return style;\n }\n };\n const onClick = (event) => {\n if (props.loading) {\n preventDefault(event);\n } else if (!props.disabled) {\n emit(\"click\", event);\n route();\n }\n };\n return () => {\n const {\n tag,\n type,\n size,\n block,\n round,\n plain,\n square,\n loading,\n disabled,\n hairline,\n nativeType,\n iconPosition\n } = props;\n const classes = [bem([type, size, {\n plain,\n block,\n round,\n square,\n loading,\n disabled,\n hairline\n }]), {\n [BORDER_SURROUND]: hairline\n }];\n return _createVNode(tag, {\n \"type\": nativeType,\n \"class\": classes,\n \"style\": getStyle(),\n \"disabled\": disabled,\n \"onClick\": onClick\n }, {\n default: () => [_createVNode(\"div\", {\n \"class\": bem(\"content\")\n }, [iconPosition === \"left\" && renderIcon(), renderText(), iconPosition === \"right\" && renderIcon()])]\n });\n };\n }\n});\nexport {\n stdin_default as default\n};\n","import { withInstall } from \"../utils\";\nimport _Button from \"./Button\";\nconst Button = withInstall(_Button);\nvar stdin_default = Button;\nexport {\n Button,\n stdin_default as default\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuBg\":\"#fff\",\"menuText\":\"#162b64\",\"menuActiveText\":\"#435ebe\"};","import \"../../style/base.css\";\nimport \"../../action-bar/index.css\";\nimport \"../../badge/index.css\";\nimport \"../../icon/index.css\";\nimport \"../../loading/index.css\";\nimport \"../../button/index.css\";\nimport \"../../action-bar-button/index.css\";\nimport \"../../overlay/index.css\";\nimport \"../../popup/index.css\";\nimport \"../index.css\";\n","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, Fragment as _Fragment, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b1d82ca6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"energy-savig content-box pheight\",\n id: \"page\"\n}\nconst _hoisted_2 = {\n class: \"energy-top clearfix\",\n id: \"energy\"\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"我的节能\", -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"排名\", -1))\nconst _hoisted_5 = { class: \"top-num\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"今天新增\", -1))\nconst _hoisted_7 = { class: \"top-num\" }\nconst _hoisted_8 = {\n class: \"card\",\n id: \"air\"\n}\nconst _hoisted_9 = { class: \"card-top\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"record-title\" }, \"温度调节统计\", -1))\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"调节记录\", -1))\nconst _hoisted_12 = { class: \"card-box\" }\nconst _hoisted_13 = { class: \"temprature-item\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"累计调节\", -1))\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"sup\", null, \"次\", -1))\nconst _hoisted_16 = { class: \"temprature-item\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"累计调高\", -1))\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"sup\", null, \"次\", -1))\nconst _hoisted_19 = { class: \"temprature-item\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"累计调低\", -1))\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"sup\", null, \"次\", -1))\nconst _hoisted_22 = /*#__PURE__*/_createTextVNode(\"空调节能 \")\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"sup\", null, \"kW·h\", -1))\nconst _hoisted_24 = { class: \"chart-content\" }\nconst _hoisted_25 = { class: \"chart-btn\" }\nconst _hoisted_26 = {\n key: 1,\n class: \"no-data\",\n height: \"100%\",\n width: \"100%\"\n}\nconst _hoisted_27 = [\"src\"]\nconst _hoisted_28 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"暂无数据\", -1))\nconst _hoisted_29 = {\n key: 0,\n class: \"tip-box zero\"\n}\nconst _hoisted_30 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"tip-title\" }, \"您的调节记录\", -1))\nconst _hoisted_31 = { class: \"tip-num\" }\nconst _hoisted_32 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"tip-desc\" }, [\n /*#__PURE__*/_createElementVNode(\"p\", null, \"温度关键词无动于衷\")\n], -1))\nconst _hoisted_33 = [\"src\"]\nconst _hoisted_34 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"tip-title\" }, \"您的舒适温度\", -1))\nconst _hoisted_35 = { class: \"tip-num\" }\nconst _hoisted_36 = { key: 0 }\nconst _hoisted_37 = { key: 1 }\nconst _hoisted_38 = { key: 2 }\nconst _hoisted_39 = { class: \"tip-desc\" }\nconst _hoisted_40 = [\"src\"]\nconst _hoisted_41 = {\n class: \"card lamp-card mt30\",\n id: \"lamp\"\n}\nconst _hoisted_42 = { class: \"card-top\" }\nconst _hoisted_43 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"record-title\" }, \"开关照明统计\", -1))\nconst _hoisted_44 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"调节记录\", -1))\nconst _hoisted_45 = { class: \"card-box\" }\nconst _hoisted_46 = { class: \"temprature-item\" }\nconst _hoisted_47 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"累计开启\", -1))\nconst _hoisted_48 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"sup\", null, \"次\", -1))\nconst _hoisted_49 = { class: \"temprature-item\" }\nconst _hoisted_50 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"累计关闭\", -1))\nconst _hoisted_51 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"sup\", null, \"次\", -1))\nconst _hoisted_52 = { class: \"chart-content mt30\" }\nconst _hoisted_53 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"dailog-content\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"空调节能\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"夏季设定值调高一度,冬季调低两度;\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"相当于省电20%;\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"如果夏季空调温度都设定在26℃以上;\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"如果冬季空调温度都设定在20℃以下;\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"节省的电力是相当可观的\")\n], -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_com_chart = _resolveComponent(\"com-chart\")!\n const _component_van_dialog = _resolveComponent(\"van-dialog\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n class: \"top-item fl\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.goDeail && _ctx.goDeail(...args)))\n }, [\n _hoisted_3,\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.energyData.totalPoints || _ctx.energyData.totalPoints == 0 ? _ctx.energyData.totalPoints : '--'), 1)\n ]),\n _createElementVNode(\"div\", {\n class: \"top-item pt fr\",\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.goRank && _ctx.goRank(...args)))\n }, [\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.energyData.level || _ctx.energyData.level == 0 ? _ctx.energyData.level : '--'), 1),\n _createVNode(_component_van_icon, {\n class: \"arrow\",\n name: \"arrow\"\n })\n ])\n ]),\n _createElementVNode(\"div\", {\n class: \"top-item pt pr fr\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.goDeail('today')))\n }, [\n _hoisted_6,\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"span\", null, \"+ \" + _toDisplayString(_ctx.energyData.intergral || _ctx.energyData.intergral == 0 ? _ctx.energyData.intergral : '--'), 1),\n _createVNode(_component_van_icon, {\n class: \"arrow\",\n name: \"arrow\"\n })\n ])\n ])\n ]),\n (_ctx.portait.airConditioner)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createElementVNode(\"div\", {\n class: \"record-btn\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.goRecord('temp')))\n }, [\n _hoisted_11,\n _createVNode(_component_van_icon, {\n class: \"arrow\",\n name: \"arrow\"\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _hoisted_14,\n _createElementVNode(\"span\", null, [\n _createTextVNode(_toDisplayString((_ctx.tempTotal.adjustTotalNum || _ctx.tempTotal.adjustTotalNum == 0) ? _ctx.tempTotal.adjustTotalNum : '--') + \" \", 1),\n _hoisted_15\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _createElementVNode(\"span\", null, [\n _createTextVNode(_toDisplayString((_ctx.tempTotal.adjustUpNum || _ctx.tempTotal.adjustUpNum == 0) ? _ctx.tempTotal.adjustUpNum : '--') + \" \", 1),\n _hoisted_18\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _hoisted_20,\n _createElementVNode(\"span\", null, [\n _createTextVNode(_toDisplayString((_ctx.tempTotal.adjustDownNum || _ctx.tempTotal.adjustDownNum == 0) ? _ctx.tempTotal.adjustDownNum : '--') + \" \", 1),\n _hoisted_21\n ])\n ]),\n _createElementVNode(\"div\", {\n class: \"temprature-item\",\n onClick: _cache[4] || (_cache[4] = \n//@ts-ignore\n(...args) => (_ctx.triggerDailog && _ctx.triggerDailog(...args)))\n }, [\n _createElementVNode(\"span\", null, [\n _hoisted_22,\n _createVNode(_component_van_icon, {\n class: \"question\",\n name: \"question-o\"\n })\n ]),\n _createElementVNode(\"span\", null, [\n _createTextVNode(_toDisplayString((_ctx.tempTotal.economizeEnergy || _ctx.tempTotal.economizeEnergy == 0) ? _ctx.tempTotal.economizeEnergy : '--') + \" \", 1),\n _hoisted_23\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"span\", {\n class: _normalizeClass(_ctx.seasonType == 'Cooling'?'active':''),\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.triggerSeason('Cooling')))\n }, \"供冷季\", 2),\n _createElementVNode(\"span\", {\n class: _normalizeClass(_ctx.seasonType == 'Warm'?'active':''),\n onClick: _cache[6] || (_cache[6] = ($event: any) => (_ctx.triggerSeason('Warm')))\n }, \"供暖季\", 2)\n ]),\n (_ctx.options1)\n ? (_openBlock(), _createBlock(_component_com_chart, {\n key: 0,\n options: _ctx.options1,\n id: \"chart1\",\n height: \"100%\",\n width: \"100%\"\n }, null, 8, [\"options\"]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_26, [\n _createElementVNode(\"img\", {\n src: _ctx.parseImgUrl('page-officehome','empty.png'),\n alt: \"\"\n }, null, 8, _hoisted_27),\n _hoisted_28\n ]))\n ]),\n (_ctx.comfortType=='zero'||_ctx.comfortType=='little')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_29, [\n _hoisted_30,\n _createElementVNode(\"div\", _hoisted_31, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.adjustNum), 1)\n ]),\n _hoisted_32,\n _createElementVNode(\"img\", {\n class: \"tip-img\",\n src: _ctx.comfortTextObj.img,\n alt: \"\"\n }, null, 8, _hoisted_33)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: _normalizeClass([\"tip-box\", {'good':_ctx.comfortType=='good','heat':_ctx.comfortType=='heat'}])\n }, [\n _hoisted_34,\n _createElementVNode(\"div\", _hoisted_35, [\n (_ctx.lowComfortTemp)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_36, _toDisplayString(_ctx.lowComfortTemp) + \"℃\", 1))\n : _createCommentVNode(\"\", true),\n (_ctx.lowComfortTemp && _ctx.highComfortTemp)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_37, \"-\"))\n : _createCommentVNode(\"\", true),\n (_ctx.highComfortTemp)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_38, _toDisplayString(_ctx.highComfortTemp) + \"℃\", 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_39, [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.comfortTextObj.firstLine), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.comfortTextObj.secondLine), 1)\n ]),\n _createElementVNode(\"img\", {\n class: \"tip-img\",\n src: _ctx.comfortTextObj.img,\n alt: \"\"\n }, null, 8, _hoisted_40)\n ], 2))\n ], 64))\n : _createCommentVNode(\"\", true),\n (_ctx.portait.light)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createElementVNode(\"div\", _hoisted_41, [\n _createElementVNode(\"div\", _hoisted_42, [\n _hoisted_43,\n _createElementVNode(\"div\", {\n class: \"record-btn\",\n onClick: _cache[7] || (_cache[7] = ($event: any) => (_ctx.goRecord('light')))\n }, [\n _hoisted_44,\n _createVNode(_component_van_icon, {\n class: \"arrow\",\n name: \"arrow\"\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_45, [\n _createElementVNode(\"div\", _hoisted_46, [\n _hoisted_47,\n _createElementVNode(\"span\", null, [\n _createTextVNode(_toDisplayString((_ctx.lightTotal.openNum || _ctx.lightTotal.openNum == 0) ? _ctx.lightTotal.openNum : '--') + \" \", 1),\n _hoisted_48\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_49, [\n _hoisted_50,\n _createElementVNode(\"span\", null, [\n _createTextVNode(_toDisplayString((_ctx.lightTotal.closeNum || _ctx.lightTotal.closeNum == 0) ? _ctx.lightTotal.closeNum : '--') + \" \", 1),\n _hoisted_51\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_52, [\n (_ctx.options2)\n ? (_openBlock(), _createBlock(_component_com_chart, {\n key: 0,\n options: _ctx.options2,\n id: \"chart2\",\n height: \"100%\",\n width: \"100%\"\n }, null, 8, [\"options\"]))\n : _createCommentVNode(\"\", true)\n ])\n ], 64))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_van_dialog, {\n \"confirm-button-text\": \"我知道了\",\n \"confirm-button-color\": \"#000\",\n show: _ctx.showDialog,\n \"onUpdate:show\": _cache[8] || (_cache[8] = ($event: any) => ((_ctx.showDialog) = $event))\n }, {\n default: _withCtx(() => [\n _hoisted_53\n ]),\n _: 1\n }, 8, [\"show\"])\n ]))\n}","\nimport ComChart from '@/components/charts/ComChart.vue'\nimport { defineComponent, reactive, toRefs, onMounted, nextTick } from 'vue'\nimport { useRouter, useRoute } from 'vue-router'\nimport { EChartsOption } from 'echarts'\nimport { Dialog } from 'vant'\nimport { formatDate, getPreMonth, parseImgUrl, setQueryConfig } from '@/utils'\nimport {\n queryPortraitTempUserTotal,\n queryTotalIntegral,\n queryPortraitTempUserDetail,\n getSeasonBySeasonDate, queryTotalPortraitLight, queryPortraitLightUser\n} from '@/apis/portrait'\nimport { store } from '@/store'\n\nexport default defineComponent({\n components: {\n [Dialog.Component.name]: Dialog.Component,\n ComChart\n },\n setup() {\n let options1: any = null\n let options2: any = null\n let route = useRoute()\n let id: any = route.query.type\n let energyData: any = {}\n let tempTotal: any = {}\n let comfortTextObj: any = {}\n let highComfortTemp: any = ''\n let lowComfortTemp: any = 0\n let adjustNum: any = ''\n let comfortType: any = ''\n let lightTotal: any = ''\n let router = useRouter()\n const proxyData = reactive({\n user: store.state.user,\n portait: store.state.portait,\n parseImgUrl: parseImgUrl,\n options1: options1,\n highComfortTemp: highComfortTemp,\n lowComfortTemp: lowComfortTemp,\n options2: options2,\n adjustNum: adjustNum,\n comfortType: comfortType,\n comfortTextObj: comfortTextObj,\n id: id,\n showNum: 0,\n seasonType: '',\n tempTotal: tempTotal,\n lightTotal: lightTotal,\n energyData: energyData,\n showDialog: false,\n /**\n * 节能分数\n */\n queryTotalIntegral() {\n let today = formatDate('')\n let lastMonth = getPreMonth()\n let params: any = {\n date: today,\n month: lastMonth\n }\n let query: string = setQueryConfig(params)\n queryTotalIntegral(query).then(function(res) {\n const resData: any = res\n if (res.result === 'success') {\n proxyData.energyData = resData\n }\n // console.log(proxyData.energyData)\n })\n },\n /**\n * 空调使用统计\n */\n queryPortraitTempUserTotal() {\n queryPortraitTempUserTotal().then(res => {\n const resData: any = res\n if (resData.result === 'success') {\n const data: any = resData?.data ?? {}\n proxyData.tempTotal = data\n }\n })\n },\n /**\n * 照明使用统计\n */\n queryTotalPortraitLight() {\n queryTotalPortraitLight().then(res => {\n const resData: any = res\n if (resData.result === 'success') {\n const data: any = resData?.data ?? {}\n proxyData.lightTotal = data\n }\n })\n },\n /**\n * 设置图表高亮颜色\n * @param chartList\n */\n setChartData(chartList: any) {\n let colorArr: any = []\n let data1: any = [0]\n let data2: any = [0]\n let temperatureArr: any = [0]\n chartList.map((item: any) => {\n if (item.type === 'up') {\n data1.push(item.num)\n temperatureArr.push(item.temperature)\n } else {\n data2.push(item.num)\n }\n })\n temperatureArr.map((item: any) => {\n if (item !== 0 && (item === proxyData.highComfortTemp || item === proxyData.lowComfortTemp)) {\n colorArr.push('#00DC23')\n } else {\n colorArr.push('transparent')\n }\n })\n return {\n colorArr: colorArr,\n temperatureArr: temperatureArr,\n data1: data1,\n data2: data2\n }\n },\n /**\n * 切换季节类型\n * @param type\n */\n triggerSeason(type: any) {\n proxyData.seasonType = type\n // 空调统计图表\n proxyData.queryPortraitTempUserDetail()\n },\n /**\n * 获取季节类型\n */\n getSeasonBySeasonDate() {\n let param: any = {\n projectId: proxyData.user.projectId,\n dateTime: formatDate('')\n }\n\n let paramStr: string = setQueryConfig(param)\n getSeasonBySeasonDate(paramStr).then(res => {\n let resData: any = res\n let type = (resData.content[0] || {}).type\n if (type == 1 || type == 3) {\n proxyData.seasonType = 'Cooling'\n } else {\n proxyData.seasonType = 'Warm'\n }\n // 空调统计\n proxyData.queryPortraitTempUserDetail()\n })\n },\n /**\n * 空调调节统计接口\n */\n queryPortraitTempUserDetail() {\n const param: any = {\n criteria: {\n 'seasonType': proxyData.seasonType,\n 'userId': proxyData.user.userId,\n 'projectId': proxyData.user.projectId\n }\n }\n queryPortraitTempUserDetail(param).then(res => {\n const resData: any = res.data || {}\n const adjustDetails = resData.adjustDetails || []\n let adjustNum = 0\n let chartList: any = []\n // 标记处的值\n proxyData.highComfortTemp = resData.highComfortTemp ? resData.highComfortTemp : 0\n proxyData.lowComfortTemp = resData.lowComfortTemp ? resData.lowComfortTemp : 0\n proxyData.lowComfortTemp = (proxyData.lowComfortTemp == proxyData.highComfortTemp) ? 0 : proxyData.lowComfortTemp\n\n let comfortTemp: any = null\n\n if (proxyData.highComfortTemp && proxyData.lowComfortTemp) {\n comfortTemp = (proxyData.highComfortTemp + proxyData.lowComfortTemp) / 2\n } else if (proxyData.highComfortTemp && !proxyData.lowComfortTemp) {\n comfortTemp = proxyData.highComfortTemp\n } else if (!proxyData.highComfortTemp && proxyData.lowComfortTemp) {\n comfortTemp = lowComfortTemp\n }\n adjustDetails.forEach(function(item: any) {\n const baseData: any = [\n {\n temperature: item.temperature || 0,\n num: item.adjustUpNum,\n type: 'up'\n },\n {\n temperature: item.temperature || 0,\n num: -item.adjustDownNum,\n type: 'down'\n }]\n adjustNum = adjustNum + item.adjustUpNum + item.adjustDownNum\n chartList.push(...baseData)\n })\n // 设置图表的颜色\n let colorArr: any = proxyData.setChartData(chartList)\n proxyData.formateOptions1(colorArr)\n\n let comfortType = ''\n let comfortTextObj = {}\n if (adjustNum == 0) {\n proxyData.showNum = 0\n comfortType = 'zero'\n comfortTextObj = {\n firstLine: '温度关键词 无动于衷',\n img: parseImgUrl('page-portrait', 'zero.png')\n }\n } else if (adjustNum > 0 && !comfortTemp) {//不存在舒适温度\n proxyData.showNum = adjustNum\n comfortType = 'little'\n comfortTextObj = {\n firstLine: '温度关键词 随遇而安',\n img: parseImgUrl('page-portrait', 'littleBest.png')\n }\n\n } else {//获取舒适程度\n if (this.seasonType == 'Warm') {//冬天\n if (comfortTemp <= 18) {//说明耐冻\n comfortType = 'hardy'\n comfortTextObj = {\n firstLine: '耐寒能力堪比 北极熊',\n secondLine: '「落雪的日子,吃支雪糕去去火」',\n img: parseImgUrl('page-portrait', 'bear.svg')\n }\n\n } else if (comfortTemp > 18 && comfortTemp < 24) {\n comfortType = 'good'\n comfortTextObj = {\n firstLine: '温度适宜,享受当下',\n secondLine: '「唯独工作可以带来快乐」',\n img: parseImgUrl('page-portrait', 'duck.svg')\n }\n } else if (comfortTemp >= 24) {//说明耐热\n comfortType = 'heat'\n comfortTextObj = {\n firstLine: '耐高温能力堪比双驼峰',\n secondLine: '「阳光海滩,喝杯奶茶添点甜」',\n img: parseImgUrl('page-portrait', 'camel.svg')\n }\n }\n } else {//夏天\n if (comfortTemp <= 23) {//说明耐冻\n comfortType = 'hardy'\n comfortTextObj = {\n firstLine: '耐寒能力堪比 北极熊',\n secondLine: '「落雪的日子,吃支雪糕去去火」',\n img: parseImgUrl('page-portrait', 'bear.svg')\n // img: this.h5StaticPath + '/page-portrait/bear.svg'\n }\n } else if (comfortTemp > 23 && comfortTemp < 27) {\n comfortType = 'good'\n comfortTextObj = {\n firstLine: '温度适宜,享受当下',\n secondLine: '「唯独工作可以带来快乐」',\n img: parseImgUrl('page-portrait', 'duck.svg')\n }\n } else if (comfortTemp >= 27) {//说明耐热\n comfortType = 'heat'\n comfortTextObj = {\n firstLine: '耐高温能力堪比双驼峰',\n secondLine: '「阳光海滩,喝杯奶茶添点甜」',\n img: parseImgUrl('page-portrait', 'camel.svg')\n }\n }\n }\n }\n proxyData.adjustNum = adjustNum\n proxyData.comfortType = comfortType\n proxyData.comfortTextObj = comfortTextObj\n })\n },\n /**\n * 照明统计echarts数据\n */\n queryPortraitLightUser() {\n const params = {\n criteria: {\n userId: proxyData.user.userId\n }\n }\n queryPortraitLightUser(params).then(res => {\n const resData: any = res\n const resList: any = resData.content || []\n let xData: any = []\n let data1: any = []\n let data2: any = []\n let data3: any = []\n resList.sort(function(a: any, b: any) {\n return a.hour - b.hour\n })\n resList.forEach(function(item: any, index: any) {\n item.hour = item.hour < 10 ? ('0' + item.hour + ':00') : (item.hour + ':00')\n xData.push(item.hour)\n data1.push(item.openNum)\n data2.push(item.closeNum)\n data3.push(item.closeOthersNum)\n })\n proxyData.formateOptions2(xData, data1, data2, data3)\n\n })\n },\n formateOptions1(chartArr: any) {\n let options1 = {\n tooltip: {\n trigger: 'axis'\n },\n legend: {\n top: 10,\n align: 'left',\n left: 0,\n itemWidth: 15,\n itemHeight: 6,\n data: [\n {\n icon: 'roundRect',\n name: '调高'\n },\n {\n icon: 'roundRect',\n name: '调低'\n },\n {\n icon: 'roundRect',\n name: '舒适度'\n }\n ],\n textStyle: {\n fontSize: 12,\n color: '#C4C4C4'\n }\n },\n grid: {\n top: 50,\n left: 5,\n right: 10,\n bottom: 10,\n containLabel: true\n },\n xAxis: [{\n type: 'category',\n boundaryGap: false,\n axisLine: {\n lineStyle: {\n color: 'rgba(196, 196, 196, 0.6)'\n }\n },\n axisLabel: {\n fontSize: 12,\n color: '#4D5262'\n },\n splitLine: {\n show: true,\n lineStyle: {\n type: 'dashed',\n color: chartArr.colorArr\n }\n },\n data: chartArr.temperatureArr\n }],\n yAxis: [{\n type: 'value',\n axisTick: {\n show: false\n },\n axisLine: {\n lineStyle: {\n color: 'rgba(196, 196, 196, 0.6)'\n }\n },\n axisLabel: {\n fontSize: 12,\n color: '#4D5262'\n },\n splitLine: {\n lineStyle: {\n color: 'rgba(196, 196, 196, 0.6)'\n }\n }\n }],\n series: [\n {\n name: '调高',\n smooth: true,\n symbol: 'circle',\n type: 'bar',\n stack: 'x',\n barWidth: 8,\n symbolSize: 5,\n showSymbol: false,\n itemStyle: {\n //柱形图圆角,鼠标移上去效果,如果只是一个数字则说明四个参数全部设置为那么多\n normal: {\n //柱形图圆角,初始化效果\n barBorderRadius: [15, 15, 0, 0],\n color: 'rgba(229, 87, 79, 1)'\n }\n },\n data: chartArr.data1\n },\n {\n name: '调低',\n smooth: true,\n symbol: 'circle',\n type: 'bar',\n stack: 'x',\n barWidth: 8,\n symbolSize: 5,\n showSymbol: false,\n itemStyle: {\n //柱形图圆角,鼠标移上去效果,如果只是一个数字则说明四个参数全部设置为那么多\n normal: {\n //柱形图圆角,初始化效果\n barBorderRadius: [0, 0, 15, 15],\n color: 'rgba(94, 139, 207, 1)'\n }\n },\n data: chartArr.data2\n },\n {\n name: '舒适度',\n smooth: true,\n symbol: 'circle',\n type: 'line',\n barWidth: 8,\n itemStyle: {\n normal: {\n color: '#00DC23'\n }\n },\n symbolSize: 5,\n showSymbol: false,\n data: []\n }\n ]\n\n } as EChartsOption\n if (chartArr.temperatureArr && chartArr.temperatureArr.length) {\n proxyData.options1 = options1\n } else {\n proxyData.options1 = null\n }\n\n },\n /**\n *\n * 照明统计图\n * @param xData\n * @param data1 开灯\n * @param data2 关灯\n * @param data3 关闭其它的\n */\n formateOptions2(xData: any, data1: any, data2: any, data3: any) {\n let options2 = {\n tooltip: {\n trigger: 'axis'\n },\n legend: {\n top: 0,\n align: 'left',\n left: 0,\n itemWidth: 15,\n itemHeight: 6,\n data: [\n {\n icon: 'roundRect',\n name: '开灯'\n },\n {\n icon: 'roundRect',\n name: '关灯'\n },\n {\n icon: 'roundRect',\n name: '关闭其他'\n }\n ],\n textStyle: {\n fontSize: 12,\n color: '#C4C4C4'\n }\n },\n grid: {\n top: 60,\n left: 10,\n right: 5,\n bottom: 10,\n containLabel: true\n },\n xAxis: [{\n type: 'category',\n boundaryGap: true,\n axisLine: {\n lineStyle: {\n color: 'rgba(196, 196, 196, 0.6)'\n }\n },\n axisLabel: {\n fontSize: 12,\n color: '#4D5262'\n },\n data: xData\n }],\n yAxis: [{\n type: 'value',\n name: '单位(次)',\n axisTick: {\n show: false\n },\n axisLine: {\n lineStyle: {\n color: 'rgba(196, 196, 196, 0.6)'\n }\n },\n axisLabel: {\n fontSize: 12,\n color: '#4D5262'\n // formatter:'{value}(次)'\n },\n splitLine: {\n lineStyle: {\n color: 'rgba(196, 196, 196, 0.6)'\n }\n }\n }],\n series: [\n {\n name: '开灯',\n smooth: true,\n symbol: 'circle',\n type: 'bar',\n barWidth: 8,\n symbolSize: 5,\n showSymbol: false,\n itemStyle: {\n //柱形图圆角,鼠标移上去效果,如果只是一个数字则说明四个参数全部设置为那么多\n normal: {\n color: 'rgba(229, 87, 79, 1)'\n }\n },\n data: data1\n },\n {\n name: '关灯',\n smooth: true,\n symbol: 'circle',\n type: 'bar',\n barWidth: 6,\n symbolSize: 5,\n showSymbol: false,\n itemStyle: {\n //柱形图圆角,鼠标移上去效果,如果只是一个数字则说明四个参数全部设置为那么多\n normal: {\n color: 'rgba(94, 139, 207, 1)'\n }\n },\n data: data2\n },\n {\n name: '关闭其他',\n smooth: true,\n symbol: 'circle',\n type: 'bar',\n barWidth: 6,\n symbolSize: 5,\n showSymbol: false,\n itemStyle: {\n //柱形图圆角,鼠标移上去效果,如果只是一个数字则说明四个参数全部设置为那么多\n normal: {\n color: '#E89E32'\n }\n },\n data: data3\n }\n ]\n\n } as EChartsOption\n if (xData && xData.length) {\n proxyData.options2 = options2\n } else {\n proxyData.options2 = null\n }\n },\n /**\n * 节能详情&今日新增节能\n */\n goDeail(type: any = 'history') {\n if (type === 'today') {\n router.push({\n path: '/today-energy-detail',\n query: {\n totalPoints: proxyData.energyData.totalPoints,\n type: type\n }\n })\n } else {\n router.push({\n path: '/energy-detail',\n query: {\n totalPoints: proxyData.energyData.totalPoints,\n type: type\n }\n })\n }\n },\n /**\n * 排行榜\n */\n goRank() {\n router.push({ path: '/energy-rank' })\n },\n /**\n *\n * 调节记录\n */\n goRecord(type: any = '') {\n router.push({\n path: '/record',\n query: { type: type }\n })\n },\n /**\n *\n *空调节能详情\n */\n triggerDailog() {\n proxyData.showDialog = true\n }\n })\n nextTick(() => {\n if (proxyData.id && proxyData.id !== 'energy') {\n const document: any = window.document\n // console.log(document.getElementById(proxyData.id))\n let top = document.getElementById(proxyData.id).offsetTop - 20\n let pageEle = document.getElementById('page')\n pageEle.scrollTop = top\n }\n })\n onMounted(() => {\n // 节能评分\n proxyData.queryTotalIntegral()\n // 获取季节类型及温度统计图表\n proxyData.getSeasonBySeasonDate()\n // 空调使用统计\n proxyData.queryPortraitTempUserTotal()\n // 照明统计卡片\n proxyData.queryTotalPortraitLight()\n // 照明统计图表\n proxyData.queryPortraitLightUser()\n\n })\n return {\n ...toRefs(proxyData)\n }\n }\n})\n","import { render } from \"./energySavig.vue?vue&type=template&id=b1d82ca6&scoped=true&ts=true\"\nimport script from \"./energySavig.vue?vue&type=script&lang=ts\"\nexport * from \"./energySavig.vue?vue&type=script&lang=ts\"\n\nimport \"./energySavig.vue?vue&type=style&index=0&id=b1d82ca6&lang=scss&scoped=true\"\nimport \"./energySavig.vue?vue&type=style&index=1&id=b1d82ca6&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-b1d82ca6\"]])\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!./energySavig.vue?vue&type=style&index=0&id=b1d82ca6&lang=scss&scoped=true\""],"sourceRoot":""}