Commit 7e8f18d3 authored by 王亚晖's avatar 王亚晖

修改报警信息页面,添加报警状态页面

parent f15d1579
import{_ as c,c as e,e as p,f as _,j as t,w as o,p as u}from"./index-CfXQRuoZ.js";const i={name:""};function d(l,n,m,f,x,$){const r=e("el-button"),s=e("el-result"),a=e("el-col");return p(),_("div",null,[t(a,null,{default:o(()=>[t(s,{icon:"error",title:"404","sub-title":"页面不存在",style:{"padding-top":"150px"}},{extra:o(()=>[t(r,{type:"primary",onClick:n[0]||(n[0]=b=>l.$router.push("/"))},{default:o(()=>[u(" 返回首页 ")]),_:1})]),_:1})]),_:1})])}const v=c(i,[["render",d]]);export{v as default}; import{_ as c,c as e,e as p,f as _,j as t,w as o,p as u}from"./index-B36hnqXR.js";const i={name:""};function d(l,n,m,f,x,$){const r=e("el-button"),s=e("el-result"),a=e("el-col");return p(),_("div",null,[t(a,null,{default:o(()=>[t(s,{icon:"error",title:"404","sub-title":"页面不存在",style:{"padding-top":"150px"}},{extra:o(()=>[t(r,{type:"primary",onClick:n[0]||(n[0]=b=>l.$router.push("/"))},{default:o(()=>[u(" 返回首页 ")]),_:1})]),_:1})]),_:1})])}const v=c(i,[["render",d]]);export{v as default};
import{_ as r}from"./index-CfXQRuoZ.js";const e={};function c(t,_){return" 报警信息 "}const a=r(e,[["render",c]]);export{a as default}; import{_ as r}from"./index-B36hnqXR.js";const e={};function c(t,_){return" 报警信息 "}const a=r(e,[["render",c]]);export{a as default};
import{_ as r}from"./index-CfXQRuoZ.js";const e={};function t(c,o){return" 锅炉全景工艺图 "}const n=r(e,[["render",t]]);export{n as default}; import{_ as r}from"./index-B36hnqXR.js";const e={};function t(c,o){return" 锅炉全景工艺图 "}const n=r(e,[["render",t]]);export{n as default};
import{_ as o}from"./BoilerArt.vue_vue_type_style_index_1_lang-RuP_Tku6.js";import"./Pumpx-84eUMtg2.js";import"./index-CfXQRuoZ.js";import"./utils-D2jWEAG0.js";export{o as default};
import{_ as o}from"./BoilerArt.vue_vue_type_style_index_1_lang-B9SH0ucm.js";import"./Pumpx-84eUMtg2.js";import"./index-B36hnqXR.js";import"./utils-D2jWEAG0.js";export{o as default};
import{_ as E}from"./BoilerArt.vue_vue_type_style_index_1_lang-RuP_Tku6.js";import{d as S,b as V,r as d,s as A,c as r,e as m,f as g,i as p,j as i,w as _,p as h,F as b,g as I,h as v}from"./index-CfXQRuoZ.js";import"./Pumpx-84eUMtg2.js";import"./utils-D2jWEAG0.js";const F={style:{position:"absolute",height:"40px","z-index":"999","background-color":"aliceblue",width:"100%"}},P=p("div",{style:{position:"absolute","margin-top":"-29px","margin-left":"490px"}}," 锅炉: ",-1),T={style:{position:"absolute","margin-top":"-38px",padding:"5px","margin-left":"555px"}},$={style:{position:"absolute","margin-top":"-32px","margin-left":"1100px"}},N=p("div",{style:{height:"40px"}},null,-1),W=S({__name:"BoilerArtworkPage",setup(U){const u=V([]),l=d(),a=d(60),f=d(1),y=d();x();function x(){var o=A.getters.getEnterprise();o&&(y.value=o[0].enterpriseId,o.forEach(e=>{e.enterpriseId===y.value&&(e.enterpriseId==="9BCA54BC-8F27-4849-8D7D-50C5099E1949".toLowerCase()?e.serviceCenterList.forEach(t=>{t.supplyList.forEach(n=>{n.boilerList.forEach(c=>{u.push({value:c.boilerId,label:c.description})})})}):e.supplyList.forEach(t=>{t.boilerList.forEach(n=>{u.push({value:n.boilerId,label:n.description})})}))}),l.value=u[0].value)}function w(){const o="/BoilerArt",e={id:l.value,time:a.value},t=new URLSearchParams(e).toString();window.open(`${o}?${t}`,"_blank","toolbar=yes,location=yes,status=yes,menubar=yes,width=600,height=400,scrollbars=yes")}function C(){const o="/AllBoilerArt",e={id:l.value,time:a.value},t=new URLSearchParams(e).toString();window.open(`${o}?${t}`,"_blank","toolbar=yes,location=yes,status=yes,menubar=yes,width=600,height=400,scrollbars=yes")}function k(){f.value+=1}return(o,e)=>{const t=r("el-button"),n=r("el-option"),c=r("el-select"),L=r("el-input"),B=r("el-scrollbar");return m(),g(b,null,[p("div",F,[i(t,{style:{"margin-left":"5px","padding-left":"10px","margin-top":"5px","margin-bottom":"0px"},onClick:w,type:"primary",icon:"FullScreen"},{default:_(()=>[h("全屏")]),_:1}),i(t,{style:{"margin-left":"5px","padding-left":"10px","margin-top":"5px","margin-bottom":"0px"},onClick:C,type:"primary",icon:"FullScreen"},{default:_(()=>[h("全景工艺图")]),_:1}),P,p("div",T,[i(c,{modelValue:l.value,"onUpdate:modelValue":e[0]||(e[0]=s=>l.value=s),"collapse-tags":"",placeholder:"请选择",style:{width:"250px"}},{default:_(()=>[(m(!0),g(b,null,I(u,s=>(m(),v(n,{label:s.label,value:s.value},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),p("div",$,[h(" 刷新间隔(秒):"),i(L,{style:{width:"80px"},modelValue:a.value,"onUpdate:modelValue":e[1]||(e[1]=s=>a.value=s),type:"number",min:"3",max:"300",onChange:k},null,8,["modelValue"])])]),N,i(B,{style:{width:"1920px",height:"980px"}},{default:_(()=>[(m(),v(E,{id:l.value,key:f.value,refreshTime:a.value},null,8,["id","refreshTime"]))]),_:1})],64)}}});export{W as default}; import{_ as E}from"./BoilerArt.vue_vue_type_style_index_1_lang-B9SH0ucm.js";import{d as S,b as V,r as d,s as A,c as r,e as m,f as g,i as p,j as i,w as _,p as h,F as b,g as I,h as v}from"./index-B36hnqXR.js";import"./Pumpx-84eUMtg2.js";import"./utils-D2jWEAG0.js";const F={style:{position:"absolute",height:"40px","z-index":"999","background-color":"aliceblue",width:"100%"}},P=p("div",{style:{position:"absolute","margin-top":"-29px","margin-left":"490px"}}," 锅炉: ",-1),T={style:{position:"absolute","margin-top":"-38px",padding:"5px","margin-left":"555px"}},$={style:{position:"absolute","margin-top":"-32px","margin-left":"1100px"}},N=p("div",{style:{height:"40px"}},null,-1),W=S({__name:"BoilerArtworkPage",setup(U){const u=V([]),l=d(),a=d(60),f=d(1),y=d();x();function x(){var o=A.getters.getEnterprise();o&&(y.value=o[0].enterpriseId,o.forEach(e=>{e.enterpriseId===y.value&&(e.enterpriseId==="9BCA54BC-8F27-4849-8D7D-50C5099E1949".toLowerCase()?e.serviceCenterList.forEach(t=>{t.supplyList.forEach(n=>{n.boilerList.forEach(c=>{u.push({value:c.boilerId,label:c.description})})})}):e.supplyList.forEach(t=>{t.boilerList.forEach(n=>{u.push({value:n.boilerId,label:n.description})})}))}),l.value=u[0].value)}function w(){const o="/BoilerArt",e={id:l.value,time:a.value},t=new URLSearchParams(e).toString();window.open(`${o}?${t}`,"_blank","toolbar=yes,location=yes,status=yes,menubar=yes,width=600,height=400,scrollbars=yes")}function C(){const o="/AllBoilerArt",e={id:l.value,time:a.value},t=new URLSearchParams(e).toString();window.open(`${o}?${t}`,"_blank","toolbar=yes,location=yes,status=yes,menubar=yes,width=600,height=400,scrollbars=yes")}function k(){f.value+=1}return(o,e)=>{const t=r("el-button"),n=r("el-option"),c=r("el-select"),L=r("el-input"),B=r("el-scrollbar");return m(),g(b,null,[p("div",F,[i(t,{style:{"margin-left":"5px","padding-left":"10px","margin-top":"5px","margin-bottom":"0px"},onClick:w,type:"primary",icon:"FullScreen"},{default:_(()=>[h("全屏")]),_:1}),i(t,{style:{"margin-left":"5px","padding-left":"10px","margin-top":"5px","margin-bottom":"0px"},onClick:C,type:"primary",icon:"FullScreen"},{default:_(()=>[h("全景工艺图")]),_:1}),P,p("div",T,[i(c,{modelValue:l.value,"onUpdate:modelValue":e[0]||(e[0]=s=>l.value=s),"collapse-tags":"",placeholder:"请选择",style:{width:"250px"}},{default:_(()=>[(m(!0),g(b,null,I(u,s=>(m(),v(n,{label:s.label,value:s.value},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),p("div",$,[h(" 刷新间隔(秒):"),i(L,{style:{width:"80px"},modelValue:a.value,"onUpdate:modelValue":e[1]||(e[1]=s=>a.value=s),type:"number",min:"3",max:"300",onChange:k},null,8,["modelValue"])])]),N,i(B,{style:{width:"1920px",height:"980px"}},{default:_(()=>[(m(),v(E,{id:l.value,key:f.value,refreshTime:a.value},null,8,["id","refreshTime"]))]),_:1})],64)}}});export{W as default};
import{_ as r}from"./index-CfXQRuoZ.js";const e={};function o(t,c){return" 锅炉远程控制 "}const _=r(e,[["render",o]]);export{_ as default}; import{_ as r}from"./index-B36hnqXR.js";const e={};function o(t,c){return" 锅炉远程控制 "}const _=r(e,[["render",o]]);export{_ as default};
import{_ as e}from"./index-CfXQRuoZ.js";const r={};function t(a,c){return" 能耗分析 "}const s=e(r,[["render",t]]);export{s as default}; import{_ as e}from"./index-B36hnqXR.js";const r={};function t(a,c){return" 能耗分析 "}const s=e(r,[["render",t]]);export{s as default};
import{_ as K,r as b,y as W,o as $,a as z,c as m,z as A,m as O,e as s,h,w as y,f as x,F as V,g as M,A as P,B as w,t as H}from"./index-CfXQRuoZ.js";/* empty css */const Y={key:0,class:"blink-animation"},q={key:1},G="fixedColumn",J=20,Q={__name:"DataForm",props:["dataRows","dataTables","maxHeight","sortMap","sortabletype","width","tableHeight","alarm","isLoading","parentMethod","offlineTime"],emits:["sort","child-event"],setup(d,{emit:D}){const e=d,T=D,c=b(null),u=b(30),_=b([]),v=b(1),g=b(0),U=t=>{if(!(v.value<=u.value)&&c){var a=g.value;if(t.deltaY>0?a+=4:a-=4,a<0&&(a=0),a+u.value>v.value&&(a=v.value-u.value),a==g.value)return;g.value=a,C()}};function C(){e.dataTables.length&&(e.dataTables.length<u.value?_.value=e.dataTables.slice(0,e.dataTables.length):_.value=e.dataTables.slice(g.value,g.value+u.value))}function E(t){T("sort",t)}function R({row:t,column:a,rowIndex:f,columnIndex:p}){let o={};return o.padding="0px",o.borderColor="#97d5fd",o.height="15px",e.dataRows.forEach(r=>{r.name===a.property&&(o["background-color"]="#"+r.color,r.fixed||e.alarm&&e.alarm.forEach(i=>{i.id.toUpperCase()===t.id.toUpperCase()&&i.enName.toUpperCase()==r.name.toUpperCase()&&(i.topMost||i.downMost?o.color="#ff0000":o.color="#ff8040")}))}),o}function L({row:t,column:a,rowIndex:f,columnIndex:p}){let o;return e.dataRows.forEach(r=>{if(r.name===a.property){var i=r.color=="FFFFFF"?"d9f1ff":r.color;o={"background-color":"#"+i,"padding-left":"0px","padding-right":"0px",borderColor:"#97d5fd",color:"#000","text-align":"center","vertical-align":"top"}}}),o}function S(t){e.sortMap&&t.column.property&&e.sortMap.get(t.column.property)&&(t.column.order=e.sortMap.get(t.column.property).order)}W([()=>e.isLoading,()=>e.dataTables],(t,a)=>{v.value=e.dataTables.length,C()},{deep:!0}),$(()=>{e.tableHeight&&(u.value=Math.ceil((e.tableHeight-100)/J)),v.value=e.dataTables.length,c.value&&c.value.$refs.bodyWrapper.addEventListener("mousewheel",U),C()}),z(()=>{c.value&&c.value.$refs.bodyWrapper.removeEventListener("mousewheel",U)});const F=()=>{e.parentMethod(),T("child-event")};function B(t,a){if(a.fixed)return!1;var f=!1;return e.alarm&&e.alarm.forEach(p=>{p.id.toUpperCase()===t.id.toUpperCase()&&p.enName.toUpperCase()==a.property.toUpperCase()&&(f=!0)}),f}function N(t,a){return t[a.property]}return(t,a)=>{const f=m("el-input"),p=m("el-option"),o=m("el-select"),r=m("el-table-column"),i=m("el-table"),I=A("loading");return d.dataRows&&d.dataTables?O((s(),h(i,{key:0,ref_key:"tableRef",ref:c,"show-header":"true",border:"","highlight-current-row":"","max-height":d.maxHeight?d.maxHeight:"-",height:d.tableHeight,"virtual-scroll":"",style:{"border-color":"#97d5fd"},"header-cell-class-name":S,onSortChange:E,"cell-style":R,data:_.value,"header-cell-style":L,"element-loading-text":"数据加载中......","row-class-name":"fixed-row-height","element-loading-background":"rgba(0, 0, 0, 0.8)"},{default:y(()=>[(s(!0),x(V,null,M(d.dataRows,l=>(s(),x(V,{key:l.name},[l.isVisible?(s(),h(r,{key:0,"class-name":[l.fixed?G:""],fixed:l.fixed,prop:l.name,label:l.showName,width:l.width,sortable:d.sortabletype,color:l.color},{default:y(()=>[l.haveFilter?(s(),h(r,{key:0,prop:l.name,width:l.width},{header:y(()=>[l.filterType==1?(s(),h(f,{key:0,modelValue:l.filterValue,"onUpdate:modelValue":n=>l.filterValue=n,placeholder:"",onKeyup:P(F,["enter"])},null,8,["modelValue","onUpdate:modelValue"])):l.filterType==2?(s(),h(o,{key:1,modelValue:l.filterValue,"onUpdate:modelValue":n=>l.filterValue=n,placeholder:"",onChange:F},{default:y(()=>[(s(!0),x(V,null,M(l.filterText,n=>(s(),h(p,{key:n.text,label:n.text,value:n.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):w("",!0)]),default:y(({row:n,column:k})=>[B(n,k)?(s(),x("div",Y,H(N(n,k)),1)):(s(),x("div",q,H(n[k.property]),1))]),_:2},1032,["prop","width"])):w("",!0)]),_:2},1032,["class-name","fixed","prop","label","width","sortable","color"])):w("",!0)],64))),128))]),_:1},8,["max-height","height","data"])),[[I,d.isLoading]]):w("",!0)}}},j=K(Q,[["__scopeId","data-v-4be20399"]]);export{j as D}; import{_ as K,r as b,y as W,o as $,a as z,c as m,z as A,m as O,e as s,h,w as y,f as x,F as V,g as M,A as P,B as w,t as H}from"./index-B36hnqXR.js";/* empty css */const Y={key:0,class:"blink-animation"},q={key:1},G="fixedColumn",J=20,Q={__name:"DataForm",props:["dataRows","dataTables","maxHeight","sortMap","sortabletype","width","tableHeight","alarm","isLoading","parentMethod","offlineTime"],emits:["sort","child-event"],setup(d,{emit:D}){const e=d,T=D,c=b(null),u=b(30),_=b([]),v=b(1),g=b(0),U=t=>{if(!(v.value<=u.value)&&c){var a=g.value;if(t.deltaY>0?a+=4:a-=4,a<0&&(a=0),a+u.value>v.value&&(a=v.value-u.value),a==g.value)return;g.value=a,C()}};function C(){e.dataTables.length&&(e.dataTables.length<u.value?_.value=e.dataTables.slice(0,e.dataTables.length):_.value=e.dataTables.slice(g.value,g.value+u.value))}function E(t){T("sort",t)}function R({row:t,column:a,rowIndex:f,columnIndex:p}){let o={};return o.padding="0px",o.borderColor="#97d5fd",o.height="15px",e.dataRows.forEach(r=>{r.name===a.property&&(o["background-color"]="#"+r.color,r.fixed||e.alarm&&e.alarm.forEach(i=>{i.id.toUpperCase()===t.id.toUpperCase()&&i.enName.toUpperCase()==r.name.toUpperCase()&&(i.topMost||i.downMost?o.color="#ff0000":o.color="#ff8040")}))}),o}function L({row:t,column:a,rowIndex:f,columnIndex:p}){let o;return e.dataRows.forEach(r=>{if(r.name===a.property){var i=r.color=="FFFFFF"?"d9f1ff":r.color;o={"background-color":"#"+i,"padding-left":"0px","padding-right":"0px",borderColor:"#97d5fd",color:"#000","text-align":"center","vertical-align":"top"}}}),o}function S(t){e.sortMap&&t.column.property&&e.sortMap.get(t.column.property)&&(t.column.order=e.sortMap.get(t.column.property).order)}W([()=>e.isLoading,()=>e.dataTables],(t,a)=>{v.value=e.dataTables.length,C()},{deep:!0}),$(()=>{e.tableHeight&&(u.value=Math.ceil((e.tableHeight-100)/J)),v.value=e.dataTables.length,c.value&&c.value.$refs.bodyWrapper.addEventListener("mousewheel",U),C()}),z(()=>{c.value&&c.value.$refs.bodyWrapper.removeEventListener("mousewheel",U)});const F=()=>{e.parentMethod(),T("child-event")};function B(t,a){if(a.fixed)return!1;var f=!1;return e.alarm&&e.alarm.forEach(p=>{p.id.toUpperCase()===t.id.toUpperCase()&&p.enName.toUpperCase()==a.property.toUpperCase()&&(f=!0)}),f}function N(t,a){return t[a.property]}return(t,a)=>{const f=m("el-input"),p=m("el-option"),o=m("el-select"),r=m("el-table-column"),i=m("el-table"),I=A("loading");return d.dataRows&&d.dataTables?O((s(),h(i,{key:0,ref_key:"tableRef",ref:c,"show-header":"true",border:"","highlight-current-row":"","max-height":d.maxHeight?d.maxHeight:"-",height:d.tableHeight,"virtual-scroll":"",style:{"border-color":"#97d5fd"},"header-cell-class-name":S,onSortChange:E,"cell-style":R,data:_.value,"header-cell-style":L,"element-loading-text":"数据加载中......","row-class-name":"fixed-row-height","element-loading-background":"rgba(0, 0, 0, 0.8)"},{default:y(()=>[(s(!0),x(V,null,M(d.dataRows,l=>(s(),x(V,{key:l.name},[l.isVisible?(s(),h(r,{key:0,"class-name":[l.fixed?G:""],fixed:l.fixed,prop:l.name,label:l.showName,width:l.width,sortable:d.sortabletype,color:l.color},{default:y(()=>[l.haveFilter?(s(),h(r,{key:0,prop:l.name,width:l.width},{header:y(()=>[l.filterType==1?(s(),h(f,{key:0,modelValue:l.filterValue,"onUpdate:modelValue":n=>l.filterValue=n,placeholder:"",onKeyup:P(F,["enter"])},null,8,["modelValue","onUpdate:modelValue"])):l.filterType==2?(s(),h(o,{key:1,modelValue:l.filterValue,"onUpdate:modelValue":n=>l.filterValue=n,placeholder:"",onChange:F},{default:y(()=>[(s(!0),x(V,null,M(l.filterText,n=>(s(),h(p,{key:n.text,label:n.text,value:n.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):w("",!0)]),default:y(({row:n,column:k})=>[B(n,k)?(s(),x("div",Y,H(N(n,k)),1)):(s(),x("div",q,H(n[k.property]),1))]),_:2},1032,["prop","width"])):w("",!0)]),_:2},1032,["class-name","fixed","prop","label","width","sortable","color"])):w("",!0)],64))),128))]),_:1},8,["max-height","height","data"])),[[I,d.isLoading]]):w("",!0)}}},j=K(Q,[["__scopeId","data-v-4be20399"]]);export{j as D};
import{_ as e}from"./index-CfXQRuoZ.js";const r={};function c(t,_){return" 明日预测 "}const o=e(r,[["render",c]]);export{o as default}; import{_ as e}from"./index-B36hnqXR.js";const r={};function c(t,_){return" 明日预测 "}const o=e(r,[["render",c]]);export{o as default};
import{_ as y,o as x,G as b,a as v,c as l,e as g,f as w,j as e,w as t,F as E,i as u,p as m,q as Y,x as k}from"./index-CfXQRuoZ.js";const C=s=>(Y("data-v-2548defb"),s=s(),k(),s),H={class:"div-header"},S=C(()=>u("div",{id:"h-chart",style:{height:"800px",background:"white",flex:"1","padding-top":"15px"}},null,-1)),A={__name:"HeatAnalysisPage",setup(s){var n,h={title:{text:"换热站热耗(GJ)",x:"10px",y:"0px",itemGap:20,backgroundColor:"#EEE",textStyle:{fontSize:16,fontWeight:"500",color:"#000000"}},legend:{data:["福合园","福锦园","福满园"],x:"right",y:"top",textStyle:{color:"#666"}},tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},xAxis:{type:"category",boundaryGap:!1,axisLine:{show:!1},data:["2024-01-01 01","2024-01-01 02","2024-01-01 03","2024-01-01 04","2024-01-01 05","2024-01-01 06","2024-01-01 07","2024-01-01 08","2024-01-01 09","2024-01-01 10","2024-01-01 11","2024-01-01 12"]},yAxis:{type:"value",axisLine:{show:!1}},series:[{name:"福合园",data:[820,932,901,934,1290,1330,1320,780,880,560,120,450],type:"line",smooth:!0,symbol:"none"},{name:"福锦园",data:[720,732,901,974,1290,1330,1320,990,1300,1100,880,650],type:"line",smooth:!0,symbol:"none"},{name:"福满园",data:[920,732,951,974,1090,930,1120,1400,1200,1100,1300,890],type:"line",smooth:!0,symbol:"none"}],color:["#0379FF","#FEA501","#13E1E1"]};return x(()=>{n=b(document.getElementById("h-chart")),n.setOption(h)}),v(()=>{n&&n.dispose()}),(c,D)=>{const f=l("el-cascader"),o=l("el-form-item"),d=l("el-date-picker"),i=l("el-config-provider"),a=l("el-option"),r=l("el-select"),p=l("el-button"),_=l("el-card");return g(),w(E,null,[e(_,{class:"card-contianer"},{default:t(()=>[u("div",H,[e(o,{label:"换热机组:"},{default:t(()=>[e(f,{"collapse-tags":"",clearable:"","show-all-levels":!1,placeholder:"请选择",style:{"min-width":"210px"}})]),_:1}),e(o,{label:"开始时间:"},{default:t(()=>[e(i,{locale:c.zhCn},{default:t(()=>[e(d,{type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"选择开始时间",style:{"min-width":"180px"}})]),_:1},8,["locale"])]),_:1}),e(o,{label:"结束时间:"},{default:t(()=>[e(i,{locale:c.zhCn},{default:t(()=>[e(d,{type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"选择结束时间",style:{"min-width":"180px"}})]),_:1},8,["locale"])]),_:1}),e(o,{label:"时间间隔"},{default:t(()=>[e(r,{placeholder:"近24小时",style:{"min-width":"105px"},clearable:""},{default:t(()=>[e(a,{label:"近24小时",value:0}),e(a,{label:"度日单耗",value:1}),e(a,{label:"周单耗",value:2}),e(a,{label:"月单耗",value:3}),e(a,{label:"总量",value:4})]),_:1})]),_:1}),e(o,{label:"能耗类型"},{default:t(()=>[e(r,{placeholder:"耗热",style:{"min-width":"105px"},clearable:""},{default:t(()=>[e(a,{label:"耗热",value:0}),e(a,{label:"耗电",value:1}),e(a,{label:"耗水",value:2})]),_:1})]),_:1}),e(o,null,{default:t(()=>[e(p,{type:"primary",style:{"min-width":"70px"}},{default:t(()=>[m("查询")]),_:1})]),_:1}),e(o,null,{default:t(()=>[e(p,{type:"primary",style:{"min-width":"70px"}},{default:t(()=>[m("导出表格")]),_:1})]),_:1})])]),_:1}),e(_,{style:{width:"1700px",height:"100%"}},{default:t(()=>[S]),_:1})],64)}}},I=y(A,[["__scopeId","data-v-2548defb"]]);export{I as default}; import{_ as y,o as x,G as b,a as v,c as l,e as g,f as w,j as e,w as t,F as E,i as u,p as m,q as Y,x as k}from"./index-B36hnqXR.js";const C=s=>(Y("data-v-2548defb"),s=s(),k(),s),H={class:"div-header"},S=C(()=>u("div",{id:"h-chart",style:{height:"800px",background:"white",flex:"1","padding-top":"15px"}},null,-1)),A={__name:"HeatAnalysisPage",setup(s){var n,h={title:{text:"换热站热耗(GJ)",x:"10px",y:"0px",itemGap:20,backgroundColor:"#EEE",textStyle:{fontSize:16,fontWeight:"500",color:"#000000"}},legend:{data:["福合园","福锦园","福满园"],x:"right",y:"top",textStyle:{color:"#666"}},tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},xAxis:{type:"category",boundaryGap:!1,axisLine:{show:!1},data:["2024-01-01 01","2024-01-01 02","2024-01-01 03","2024-01-01 04","2024-01-01 05","2024-01-01 06","2024-01-01 07","2024-01-01 08","2024-01-01 09","2024-01-01 10","2024-01-01 11","2024-01-01 12"]},yAxis:{type:"value",axisLine:{show:!1}},series:[{name:"福合园",data:[820,932,901,934,1290,1330,1320,780,880,560,120,450],type:"line",smooth:!0,symbol:"none"},{name:"福锦园",data:[720,732,901,974,1290,1330,1320,990,1300,1100,880,650],type:"line",smooth:!0,symbol:"none"},{name:"福满园",data:[920,732,951,974,1090,930,1120,1400,1200,1100,1300,890],type:"line",smooth:!0,symbol:"none"}],color:["#0379FF","#FEA501","#13E1E1"]};return x(()=>{n=b(document.getElementById("h-chart")),n.setOption(h)}),v(()=>{n&&n.dispose()}),(c,D)=>{const f=l("el-cascader"),o=l("el-form-item"),d=l("el-date-picker"),i=l("el-config-provider"),a=l("el-option"),r=l("el-select"),p=l("el-button"),_=l("el-card");return g(),w(E,null,[e(_,{class:"card-contianer"},{default:t(()=>[u("div",H,[e(o,{label:"换热机组:"},{default:t(()=>[e(f,{"collapse-tags":"",clearable:"","show-all-levels":!1,placeholder:"请选择",style:{"min-width":"210px"}})]),_:1}),e(o,{label:"开始时间:"},{default:t(()=>[e(i,{locale:c.zhCn},{default:t(()=>[e(d,{type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"选择开始时间",style:{"min-width":"180px"}})]),_:1},8,["locale"])]),_:1}),e(o,{label:"结束时间:"},{default:t(()=>[e(i,{locale:c.zhCn},{default:t(()=>[e(d,{type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"选择结束时间",style:{"min-width":"180px"}})]),_:1},8,["locale"])]),_:1}),e(o,{label:"时间间隔"},{default:t(()=>[e(r,{placeholder:"近24小时",style:{"min-width":"105px"},clearable:""},{default:t(()=>[e(a,{label:"近24小时",value:0}),e(a,{label:"度日单耗",value:1}),e(a,{label:"周单耗",value:2}),e(a,{label:"月单耗",value:3}),e(a,{label:"总量",value:4})]),_:1})]),_:1}),e(o,{label:"能耗类型"},{default:t(()=>[e(r,{placeholder:"耗热",style:{"min-width":"105px"},clearable:""},{default:t(()=>[e(a,{label:"耗热",value:0}),e(a,{label:"耗电",value:1}),e(a,{label:"耗水",value:2})]),_:1})]),_:1}),e(o,null,{default:t(()=>[e(p,{type:"primary",style:{"min-width":"70px"}},{default:t(()=>[m("查询")]),_:1})]),_:1}),e(o,null,{default:t(()=>[e(p,{type:"primary",style:{"min-width":"70px"}},{default:t(()=>[m("导出表格")]),_:1})]),_:1})])]),_:1}),e(_,{style:{width:"1700px",height:"100%"}},{default:t(()=>[S]),_:1})],64)}}},I=y(A,[["__scopeId","data-v-2548defb"]]);export{I as default};
import{_ as e}from"./index-CfXQRuoZ.js";const r={};function t(c,_){return" 热用户数据 "}const s=e(r,[["render",t]]);export{s as default}; import{_ as e}from"./index-B36hnqXR.js";const r={};function t(c,_){return" 热用户数据 "}const s=e(r,[["render",t]]);export{s as default};
import{_ as m}from"./MeasurementArt.vue_vue_type_style_index_1_lang-CWGimgFj.js";import"./index-CfXQRuoZ.js";export{m as default}; import{_ as m}from"./MeasurementArt.vue_vue_type_style_index_1_lang-BjE9Uo9n.js";import"./index-B36hnqXR.js";export{m as default};
import{d as q,r as s,s as k,b as A,l as B,c as G,e as J,h as O,w as M,i as e,t as o,p as t,k as j}from"./index-CfXQRuoZ.js";const z={class:"amsArt"},K={style:{"margin-top":"-30px","margin-left":"800px"}},Q={class:"div_Param",style:{"margin-left":"730px","margin-top":"40px"}},U={style:{color:"green"}},W={class:"div_Param",style:{"margin-left":"1100px","margin-top":"40px"}},X={style:{color:"green"}},Y={class:"div_Param",style:{"margin-left":"1350px","margin-top":"50px"}},Z={style:{color:"green"}},$={class:"div_Param",style:{"margin-left":"1640px","margin-top":"190px"}},ee={style:{color:"green"}},te=e("br",null,null,-1),se={style:{color:"green"}},ae=e("br",null,null,-1),le={style:{color:"green"}},oe=e("br",null,null,-1),re={style:{color:"green"}},ne=e("br",null,null,-1),ie={class:"div_Param",style:{"margin-left":"580px","margin-top":"640px"}},ce={style:{color:"green"}},pe={class:"div_Param",style:{"margin-left":"830px","margin-top":"630px"}},ue={style:{color:"green"}},de={class:"div_Param",style:{"margin-left":"1200px","margin-top":"580px"}},ve={style:{color:"green"}},_e=e("br",null,null,-1),me={style:{color:"green"}},he=e("br",null,null,-1),ge=q({__name:"MeasurementArt",props:["id","refreshTime"],setup(E){const u=E,m=j(),d=s(),c=s(),v=s();u.id===void 0?c.value=m.query.id:c.value=u.id;const p=s();u.refreshTime===void 0?p.value=m.query.time:p.value=u.refreshTime,console.log(p.value),N();function N(){var a=k.getters.getEnterprise();a&&(v.value=a[0].enterpriseId)}const l=A([]),_=s(),H=s(),L=s(),D=s(),V=s(),h=s(),y=s(),g=s(),f=s(),S=s(),x=s(),I=s(),P=s(),w=s(),b=s(),F=s();R();function R(){var a=k.getters.getEnterprise();console.log(a),a&&a.forEach(n=>{n.enterpriseId===v.value&&(n.enterpriseId==="9bca54bc-8f27-4849-8d7d-50c5099e1949"?n.serviceCenterList.forEach(r=>{r.supplyList.forEach(i=>{c.value===i.pipeInfo.pipeId&&(d.value=i.pipeInfo.pipeName,_.value=i.supplyId,T())})}):n.supplyList.forEach(r=>{c.value===r.pipeInfo.pipeId&&(d.value=r.supplyName,_.value=r.supplyId,T())}))})}function T(){B.post("/api/weather/Real",_.value).then(a=>{H.value=a.data.temperature,L.value=a.data.wind,D.value=a.data.illumination,V.value=a.data.humidity})}C();function C(){B.post("/api/pipe/Real",{enterpriseId:v.value,deviceType:8}).then(n=>{console.log(n),n.data.title.forEach(r=>{n.data.realData.forEach(i=>{i.id===c.value&&(l[r.enName]=i[r.enName[0].toLowerCase()+r.enName.substring(1)])})}),h.value=l.SupplyClearPressure,y.value=l.SupplyValuePressure,g.value=l.FirstInTemp,f.value=l.SupplyFlow,S.value=l.SupplyFlowSum,x.value=l.SupplyHeat,I.value=l.SupplyHeatSum,P.value=l.FirstOutTemp,w.value=l.BackClearPressure,b.value=l.BackFlow,F.value=l.BackFlowSum})}return setInterval(()=>{C(),console.log(p.value)},p.value*1e3),(a,n)=>{const r=G("el-scrollbar");return J(),O(r,{class:"asmcContainer"},{default:M(()=>[e("div",z,[e("div",K,[e("h1",null,o(d.value),1)]),e("div",Q,[t("供水除污器后压力 "),e("a",U,o(h.value),1),t(" mpa")]),e("div",W,[t("供水电动阀后压力 "),e("a",X,o(y.value),1),t(" mpa")]),e("div",Y,[t("一次网供水温度 "),e("a",Z,o(g.value),1),t(" ℃")]),e("div",$,[t(" 供水瞬时流量 "),e("a",ee,o(f.value),1),t(" m³"),te,t(" 供水累计流量 "),e("a",se,o(S.value),1),t(" m³"),ae,t(" 供水瞬时热量 "),e("a",le,o(x.value),1),t(" GJ/H"),oe,t(" 供水累计热量 "),e("a",re,o(I.value),1),t(" GJ"),ne]),e("div",ie,[t("一次网回水温度 "),e("a",ce,o(P.value),1),t(" ℃")]),e("div",pe,[t("回水除污器后压力 "),e("a",ue,o(w.value),1),t(" mpa")]),e("div",de,[t(" 回水瞬时流量 "),e("a",ve,o(b.value),1),t(" m³"),_e,t(" 回水累计流量 "),e("a",me,o(F.value),1),t(" m³"),he])])]),_:1})}}});export{ge as _}; import{d as q,r as s,s as k,b as A,l as B,c as G,e as J,h as O,w as M,i as e,t as o,p as t,k as j}from"./index-B36hnqXR.js";const z={class:"amsArt"},K={style:{"margin-top":"-30px","margin-left":"800px"}},Q={class:"div_Param",style:{"margin-left":"730px","margin-top":"40px"}},U={style:{color:"green"}},W={class:"div_Param",style:{"margin-left":"1100px","margin-top":"40px"}},X={style:{color:"green"}},Y={class:"div_Param",style:{"margin-left":"1350px","margin-top":"50px"}},Z={style:{color:"green"}},$={class:"div_Param",style:{"margin-left":"1640px","margin-top":"190px"}},ee={style:{color:"green"}},te=e("br",null,null,-1),se={style:{color:"green"}},ae=e("br",null,null,-1),le={style:{color:"green"}},oe=e("br",null,null,-1),re={style:{color:"green"}},ne=e("br",null,null,-1),ie={class:"div_Param",style:{"margin-left":"580px","margin-top":"640px"}},ce={style:{color:"green"}},pe={class:"div_Param",style:{"margin-left":"830px","margin-top":"630px"}},ue={style:{color:"green"}},de={class:"div_Param",style:{"margin-left":"1200px","margin-top":"580px"}},ve={style:{color:"green"}},_e=e("br",null,null,-1),me={style:{color:"green"}},he=e("br",null,null,-1),ge=q({__name:"MeasurementArt",props:["id","refreshTime"],setup(E){const u=E,m=j(),d=s(),c=s(),v=s();u.id===void 0?c.value=m.query.id:c.value=u.id;const p=s();u.refreshTime===void 0?p.value=m.query.time:p.value=u.refreshTime,console.log(p.value),N();function N(){var a=k.getters.getEnterprise();a&&(v.value=a[0].enterpriseId)}const l=A([]),_=s(),H=s(),L=s(),D=s(),V=s(),h=s(),y=s(),g=s(),f=s(),S=s(),x=s(),I=s(),P=s(),w=s(),b=s(),F=s();R();function R(){var a=k.getters.getEnterprise();console.log(a),a&&a.forEach(n=>{n.enterpriseId===v.value&&(n.enterpriseId==="9bca54bc-8f27-4849-8d7d-50c5099e1949"?n.serviceCenterList.forEach(r=>{r.supplyList.forEach(i=>{c.value===i.pipeInfo.pipeId&&(d.value=i.pipeInfo.pipeName,_.value=i.supplyId,T())})}):n.supplyList.forEach(r=>{c.value===r.pipeInfo.pipeId&&(d.value=r.supplyName,_.value=r.supplyId,T())}))})}function T(){B.post("/api/weather/Real",_.value).then(a=>{H.value=a.data.temperature,L.value=a.data.wind,D.value=a.data.illumination,V.value=a.data.humidity})}C();function C(){B.post("/api/pipe/Real",{enterpriseId:v.value,deviceType:8}).then(n=>{console.log(n),n.data.title.forEach(r=>{n.data.realData.forEach(i=>{i.id===c.value&&(l[r.enName]=i[r.enName[0].toLowerCase()+r.enName.substring(1)])})}),h.value=l.SupplyClearPressure,y.value=l.SupplyValuePressure,g.value=l.FirstInTemp,f.value=l.SupplyFlow,S.value=l.SupplyFlowSum,x.value=l.SupplyHeat,I.value=l.SupplyHeatSum,P.value=l.FirstOutTemp,w.value=l.BackClearPressure,b.value=l.BackFlow,F.value=l.BackFlowSum})}return setInterval(()=>{C(),console.log(p.value)},p.value*1e3),(a,n)=>{const r=G("el-scrollbar");return J(),O(r,{class:"asmcContainer"},{default:M(()=>[e("div",z,[e("div",K,[e("h1",null,o(d.value),1)]),e("div",Q,[t("供水除污器后压力 "),e("a",U,o(h.value),1),t(" mpa")]),e("div",W,[t("供水电动阀后压力 "),e("a",X,o(y.value),1),t(" mpa")]),e("div",Y,[t("一次网供水温度 "),e("a",Z,o(g.value),1),t(" ℃")]),e("div",$,[t(" 供水瞬时流量 "),e("a",ee,o(f.value),1),t(" m³"),te,t(" 供水累计流量 "),e("a",se,o(S.value),1),t(" m³"),ae,t(" 供水瞬时热量 "),e("a",le,o(x.value),1),t(" GJ/H"),oe,t(" 供水累计热量 "),e("a",re,o(I.value),1),t(" GJ"),ne]),e("div",ie,[t("一次网回水温度 "),e("a",ce,o(P.value),1),t(" ℃")]),e("div",pe,[t("回水除污器后压力 "),e("a",ue,o(w.value),1),t(" mpa")]),e("div",de,[t(" 回水瞬时流量 "),e("a",ve,o(b.value),1),t(" m³"),_e,t(" 回水累计流量 "),e("a",me,o(F.value),1),t(" m³"),he])])]),_:1})}}});export{ge as _};
import{_ as L}from"./MeasurementArt.vue_vue_type_style_index_1_lang-CWGimgFj.js";import{b as B,r as u,s as v,c as i,e as c,f as h,i as r,j as d,w as f,p as b,F as x,g as N,h as y,D as S}from"./index-CfXQRuoZ.js";const F={style:{position:"absolute",height:"40px","z-index":"999","background-color":"aliceblue",width:"100%"}},P=r("div",{style:{position:"absolute","margin-top":"-29px","margin-left":"390px"}}," 供热站: ",-1),T={style:{position:"absolute","margin-top":"-38px",padding:"5px","margin-left":"455px"}},A={style:{position:"absolute","margin-top":"-32px","margin-left":"1100px"}},D=r("div",{style:{height:"40px"}},null,-1),R={__name:"MeasurementArtworkPage",setup(U){S();const s=B([]),l=u("6d695d02-ceb8-4af2-836f-89a55f12b4d5"),p=u(60),m=u(1),_=u();w();function w(){var t=v.getters.getEnterprise();t&&(_.value=t[0].enterpriseId)}I();function I(){var t=v.getters.getEnterprise();t&&t.forEach(e=>{console.log(e),e.enterpriseId===_.value&&(e.enterpriseId==="9BCA54BC-8F27-4849-8D7D-50C5099E1949".toLowerCase()?(e.serviceCenterList.forEach(o=>{console.log(o),o.supplyList.forEach(a=>{a.pipeInfo.pipeId!=="f8fdf686-30ec-4e4c-ab60-d74ec8b98e3f"&&s.push({value:a.pipeInfo.pipeId,label:a.pipeInfo.pipeName})})}),l.value=s[0].value):(e.supplyList.forEach(o=>{s.push({value:o.pipeInfo.pipeId,label:supply.pipeInfo.pipeName})}),l.value=s[0].value))})}function C(){const t="/MeasurementArt",e={id:l.value,time:p.value},o=new URLSearchParams(e).toString();window.open(`${t}?${o}`,"_blank","toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes")}function g(){m.value+=1}return(t,e)=>{const o=i("el-button"),a=i("el-option"),E=i("el-select"),V=i("el-input"),k=i("el-scrollbar");return c(),h(x,null,[r("div",F,[d(o,{style:{"margin-left":"5px","padding-left":"10px","margin-top":"5px","margin-bottom":"0px"},onClick:C,type:"primary",icon:"FullScreen"},{default:f(()=>[b("全屏")]),_:1}),P,r("div",T,[d(E,{modelValue:l.value,"onUpdate:modelValue":e[0]||(e[0]=n=>l.value=n),"collapse-tags":"",placeholder:"请选择",style:{"min-width":"220px"},onChange:g},{default:f(()=>[(c(!0),h(x,null,N(s,n=>(c(),y(a,{label:n.label,value:n.value},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),r("div",A,[b(" 刷新间隔(秒):"),d(V,{style:{width:"80px"},modelValue:p.value,"onUpdate:modelValue":e[1]||(e[1]=n=>p.value=n),type:"number",min:"3",max:"300",onChange:g},null,8,["modelValue"])])]),D,d(k,{style:{width:"1920px",height:"980px"}},{default:f(()=>[(c(),y(L,{id:l.value,key:m.value,refreshTime:p.value},null,8,["id","refreshTime"]))]),_:1})],64)}}};export{R as default}; import{_ as L}from"./MeasurementArt.vue_vue_type_style_index_1_lang-BjE9Uo9n.js";import{b as B,r as u,s as v,c as i,e as c,f as h,i as r,j as d,w as f,p as b,F as x,g as N,h as y,D as S}from"./index-B36hnqXR.js";const F={style:{position:"absolute",height:"40px","z-index":"999","background-color":"aliceblue",width:"100%"}},P=r("div",{style:{position:"absolute","margin-top":"-29px","margin-left":"390px"}}," 供热站: ",-1),T={style:{position:"absolute","margin-top":"-38px",padding:"5px","margin-left":"455px"}},A={style:{position:"absolute","margin-top":"-32px","margin-left":"1100px"}},D=r("div",{style:{height:"40px"}},null,-1),R={__name:"MeasurementArtworkPage",setup(U){S();const s=B([]),l=u("6d695d02-ceb8-4af2-836f-89a55f12b4d5"),p=u(60),m=u(1),_=u();w();function w(){var t=v.getters.getEnterprise();t&&(_.value=t[0].enterpriseId)}I();function I(){var t=v.getters.getEnterprise();t&&t.forEach(e=>{console.log(e),e.enterpriseId===_.value&&(e.enterpriseId==="9BCA54BC-8F27-4849-8D7D-50C5099E1949".toLowerCase()?(e.serviceCenterList.forEach(o=>{console.log(o),o.supplyList.forEach(a=>{a.pipeInfo.pipeId!=="f8fdf686-30ec-4e4c-ab60-d74ec8b98e3f"&&s.push({value:a.pipeInfo.pipeId,label:a.pipeInfo.pipeName})})}),l.value=s[0].value):(e.supplyList.forEach(o=>{s.push({value:o.pipeInfo.pipeId,label:supply.pipeInfo.pipeName})}),l.value=s[0].value))})}function C(){const t="/MeasurementArt",e={id:l.value,time:p.value},o=new URLSearchParams(e).toString();window.open(`${t}?${o}`,"_blank","toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes")}function g(){m.value+=1}return(t,e)=>{const o=i("el-button"),a=i("el-option"),E=i("el-select"),V=i("el-input"),k=i("el-scrollbar");return c(),h(x,null,[r("div",F,[d(o,{style:{"margin-left":"5px","padding-left":"10px","margin-top":"5px","margin-bottom":"0px"},onClick:C,type:"primary",icon:"FullScreen"},{default:f(()=>[b("全屏")]),_:1}),P,r("div",T,[d(E,{modelValue:l.value,"onUpdate:modelValue":e[0]||(e[0]=n=>l.value=n),"collapse-tags":"",placeholder:"请选择",style:{"min-width":"220px"},onChange:g},{default:f(()=>[(c(!0),h(x,null,N(s,n=>(c(),y(a,{label:n.label,value:n.value},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),r("div",A,[b(" 刷新间隔(秒):"),d(V,{style:{width:"80px"},modelValue:p.value,"onUpdate:modelValue":e[1]||(e[1]=n=>p.value=n),type:"number",min:"3",max:"300",onChange:g},null,8,["modelValue"])])]),D,d(k,{style:{width:"1920px",height:"980px"}},{default:f(()=>[(c(),y(L,{id:l.value,key:m.value,refreshTime:p.value},null,8,["id","refreshTime"]))]),_:1})],64)}}};export{R as default};
import{_ as w,c as r,e as u,f as c,j as a,w as s,d as g,G as V,i as o,F as y,g as b,h as f,p as Q,q as L,x as k}from"./index-CfXQRuoZ.js";import{p as B}from"./analysis-JHy_aleX.js";const d=i=>(L("data-v-77ceeff5"),i=i(),k(),i),I={class:"content"},C={class:"block"},F=d(()=>o("span",{class:"demonstration"},"换热机组:",-1)),E={class:"block"},x=d(()=>o("span",{class:"demonstration"},"开始时间:",-1)),A={class:"block"},S=d(()=>o("span",{class:"demonstration"},"结束时间:",-1)),U={class:"block"},z=d(()=>o("span",{class:"demonstration"},"时间类型:",-1)),D={class:"block"},N=d(()=>o("span",{class:"demonstration"},"能耗类型:",-1)),R=d(()=>o("div",{class:"echartsLayer1",id:"echartsLayer1"},null,-1)),j=g({data(){return{myChart:null,QOQlist:[],QOQlistTime:[],QOQlistRecord:[],QOQlistTemperature:[],props:{multiple:!0},options:[{value:1,label:"港东供热服务中心",children:[{value:2,label:"东部供热站",children:[{value:3,label:"港东锅炉房"},{value:4,label:"大港一中"},{value:5,label:"福合园"}]},{value:7,label:"小王庄供热站",children:[{value:3,label:"港东锅炉房"},{value:4,label:"大港一中"},{value:5,label:"福合园"}]}]},{value:17,label:"城区供热服务中心",children:[{value:18,label:"小王庄供热站",children:[{value:19,label:"站1"},{value:20,label:"站2"}]}]}],timeTypeList:[{value:"1",label:"小时"},{value:"2",label:"日"},{value:"3",label:"周"},{value:"4",label:"月"}],recordList:[{value:"2",label:"水耗(T)"},{value:"3",label:"热耗(GJ)"},{value:"4",label:"电耗(A)"}]}},created(){},mounted:function(){this.login(),window.onresize=function(){}},methods:{login(){this.postQOQlist()},postQOQlist(){B({supplyIdList:null,idList:["EF0864C6-1A01-41CF-94BE-523B4D6063DB"],startTime:"2024-01-01 00:00:00",endTime:"2024-02-01 00:00:00",energyType:2,interval:1}).then(e=>{e.success===!0&&(e.data.forEach(l=>{this.QOQlistTime.push(l.gatherTime.split("T00:00:00")[0]),this.QOQlistRecord.push(l.record),this.QOQlistTemperature.push(l.temperature)}),this.echartInit1())})},echartInit1:function(){var i=document.getElementById("echartsLayer1"),e=V(i),l;window.onresize=()=>{e.resize()};var p="T";l={tooltip:{trigger:"axis",axisPointer:{type:"cross",crossStyle:{color:"#999"}}},legend:{data:["温度","能耗"]},xAxis:[{type:"category",data:this.QOQlistTime,axisPointer:{type:"shadow"},axisLabel:{rotate:45}}],yAxis:[{type:"value",name:"温度",axisLabel:{formatter:"{value} ℃"}},{type:"value",name:"能耗",position:"right",min:0,max:100,axisLabel:{formatter:"{value} "+p}}],series:[{name:"温度",type:"line",tooltip:{valueFormatter:function(n){return n+" ℃"}},data:this.QOQlistTemperature},{name:"能耗",type:"bar",tooltip:{valueFormatter:function(n){return n+p}},data:this.QOQlistRecord}]},l&&e.setOption(l)}}}),G=Object.assign(j,{__name:"QOQ",setup(i){return(e,l)=>{const p=r("el-cascader"),n=r("el-col"),m=r("el-date-picker"),_=r("el-option"),v=r("el-select"),h=r("el-button"),T=r("el-row"),O=r("el-divider");return u(),c("div",I,[a(T,{gutter:15,style:{width:"94%",margin:"1%"}},{default:s(()=>[a(n,{span:4},{default:s(()=>[o("div",C,[F,a(p,{options:e.options,props:e.props,clearable:"",style:{width:"60%"}},null,8,["options","props"])])]),_:1}),a(n,{span:4},{default:s(()=>[o("div",E,[x,a(m,{modelValue:e.value1,"onUpdate:modelValue":l[0]||(l[0]=t=>e.value1=t),type:"datetime",placeholder:"选择日期时间",style:{width:"60%"}},null,8,["modelValue"])])]),_:1}),a(n,{span:4},{default:s(()=>[o("div",A,[S,a(m,{modelValue:e.value1,"onUpdate:modelValue":l[1]||(l[1]=t=>e.value1=t),type:"datetime",placeholder:"选择日期时间",style:{width:"60%"}},null,8,["modelValue"])])]),_:1}),a(n,{span:4},{default:s(()=>[o("div",U,[z,a(v,{modelValue:e.timeType,"onUpdate:modelValue":l[2]||(l[2]=t=>e.timeType=t),placeholder:"请选择",style:{width:"60%"}},{default:s(()=>[(u(!0),c(y,null,b(e.timeTypeList,t=>(u(),f(_,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])]),_:1}),a(n,{span:4},{default:s(()=>[o("div",D,[N,a(v,{modelValue:e.timeType,"onUpdate:modelValue":l[3]||(l[3]=t=>e.timeType=t),placeholder:"请选择",style:{width:"60%"}},{default:s(()=>[(u(!0),c(y,null,b(e.timeTypeList,t=>(u(),f(_,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])]),_:1}),a(n,{span:4},{default:s(()=>[a(h,{type:"primary"},{default:s(()=>[Q("查询")]),_:1}),a(h,{type:"primary"},{default:s(()=>[Q("导出")]),_:1})]),_:1})]),_:1}),a(O),R])}}}),J=w(G,[["__scopeId","data-v-77ceeff5"]]);export{J as default}; import{_ as w,c as r,e as u,f as c,j as a,w as s,d as g,G as V,i as o,F as y,g as b,h as f,p as Q,q as L,x as k}from"./index-B36hnqXR.js";import{p as B}from"./analysis-DbNt-irq.js";const d=i=>(L("data-v-77ceeff5"),i=i(),k(),i),I={class:"content"},C={class:"block"},F=d(()=>o("span",{class:"demonstration"},"换热机组:",-1)),E={class:"block"},x=d(()=>o("span",{class:"demonstration"},"开始时间:",-1)),A={class:"block"},S=d(()=>o("span",{class:"demonstration"},"结束时间:",-1)),U={class:"block"},z=d(()=>o("span",{class:"demonstration"},"时间类型:",-1)),D={class:"block"},N=d(()=>o("span",{class:"demonstration"},"能耗类型:",-1)),R=d(()=>o("div",{class:"echartsLayer1",id:"echartsLayer1"},null,-1)),j=g({data(){return{myChart:null,QOQlist:[],QOQlistTime:[],QOQlistRecord:[],QOQlistTemperature:[],props:{multiple:!0},options:[{value:1,label:"港东供热服务中心",children:[{value:2,label:"东部供热站",children:[{value:3,label:"港东锅炉房"},{value:4,label:"大港一中"},{value:5,label:"福合园"}]},{value:7,label:"小王庄供热站",children:[{value:3,label:"港东锅炉房"},{value:4,label:"大港一中"},{value:5,label:"福合园"}]}]},{value:17,label:"城区供热服务中心",children:[{value:18,label:"小王庄供热站",children:[{value:19,label:"站1"},{value:20,label:"站2"}]}]}],timeTypeList:[{value:"1",label:"小时"},{value:"2",label:"日"},{value:"3",label:"周"},{value:"4",label:"月"}],recordList:[{value:"2",label:"水耗(T)"},{value:"3",label:"热耗(GJ)"},{value:"4",label:"电耗(A)"}]}},created(){},mounted:function(){this.login(),window.onresize=function(){}},methods:{login(){this.postQOQlist()},postQOQlist(){B({supplyIdList:null,idList:["EF0864C6-1A01-41CF-94BE-523B4D6063DB"],startTime:"2024-01-01 00:00:00",endTime:"2024-02-01 00:00:00",energyType:2,interval:1}).then(e=>{e.success===!0&&(e.data.forEach(l=>{this.QOQlistTime.push(l.gatherTime.split("T00:00:00")[0]),this.QOQlistRecord.push(l.record),this.QOQlistTemperature.push(l.temperature)}),this.echartInit1())})},echartInit1:function(){var i=document.getElementById("echartsLayer1"),e=V(i),l;window.onresize=()=>{e.resize()};var p="T";l={tooltip:{trigger:"axis",axisPointer:{type:"cross",crossStyle:{color:"#999"}}},legend:{data:["温度","能耗"]},xAxis:[{type:"category",data:this.QOQlistTime,axisPointer:{type:"shadow"},axisLabel:{rotate:45}}],yAxis:[{type:"value",name:"温度",axisLabel:{formatter:"{value} ℃"}},{type:"value",name:"能耗",position:"right",min:0,max:100,axisLabel:{formatter:"{value} "+p}}],series:[{name:"温度",type:"line",tooltip:{valueFormatter:function(n){return n+" ℃"}},data:this.QOQlistTemperature},{name:"能耗",type:"bar",tooltip:{valueFormatter:function(n){return n+p}},data:this.QOQlistRecord}]},l&&e.setOption(l)}}}),G=Object.assign(j,{__name:"QOQ",setup(i){return(e,l)=>{const p=r("el-cascader"),n=r("el-col"),m=r("el-date-picker"),_=r("el-option"),v=r("el-select"),h=r("el-button"),T=r("el-row"),O=r("el-divider");return u(),c("div",I,[a(T,{gutter:15,style:{width:"94%",margin:"1%"}},{default:s(()=>[a(n,{span:4},{default:s(()=>[o("div",C,[F,a(p,{options:e.options,props:e.props,clearable:"",style:{width:"60%"}},null,8,["options","props"])])]),_:1}),a(n,{span:4},{default:s(()=>[o("div",E,[x,a(m,{modelValue:e.value1,"onUpdate:modelValue":l[0]||(l[0]=t=>e.value1=t),type:"datetime",placeholder:"选择日期时间",style:{width:"60%"}},null,8,["modelValue"])])]),_:1}),a(n,{span:4},{default:s(()=>[o("div",A,[S,a(m,{modelValue:e.value1,"onUpdate:modelValue":l[1]||(l[1]=t=>e.value1=t),type:"datetime",placeholder:"选择日期时间",style:{width:"60%"}},null,8,["modelValue"])])]),_:1}),a(n,{span:4},{default:s(()=>[o("div",U,[z,a(v,{modelValue:e.timeType,"onUpdate:modelValue":l[2]||(l[2]=t=>e.timeType=t),placeholder:"请选择",style:{width:"60%"}},{default:s(()=>[(u(!0),c(y,null,b(e.timeTypeList,t=>(u(),f(_,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])]),_:1}),a(n,{span:4},{default:s(()=>[o("div",D,[N,a(v,{modelValue:e.timeType,"onUpdate:modelValue":l[3]||(l[3]=t=>e.timeType=t),placeholder:"请选择",style:{width:"60%"}},{default:s(()=>[(u(!0),c(y,null,b(e.timeTypeList,t=>(u(),f(_,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])]),_:1}),a(n,{span:4},{default:s(()=>[a(h,{type:"primary"},{default:s(()=>[Q("查询")]),_:1}),a(h,{type:"primary"},{default:s(()=>[Q("导出")]),_:1})]),_:1})]),_:1}),a(O),R])}}}),J=w(G,[["__scopeId","data-v-77ceeff5"]]);export{J as default};
import{D as R}from"./DataForm-CTGsUa9o.js";import{d as F,r as E,o as v,s as x,a as D,b as _,c as N,e as m,f as p,F as V,g as B,h as g,w as I,i as T,t as y,j as C,u as k,k as A,l as n,_ as S}from"./index-CfXQRuoZ.js";import{m as u}from"./utils-D2jWEAG0.js";/* empty css */const P={class:"home-contianer"},H={class:"tableTitle"},L=4,j=5,G=6,M=7,U=F({__name:"RealSupplyPage",setup(W){const o=E(null);v(()=>{o.value=x.getters.getEnterpriseId(),o.value&&f()}),D(()=>{}),A();var i=_({tables:new Array});for(let e=0;e<7;e++)i.tables.push({name:"",table:{dataRow:{},tableData:{},alarm:{}}});async function c(){var e=await n.post("/api/pipe/Real",{enterpriseId:o.value,deviceType:1}),s=e.data,a=u(s);a.dataRows.push({name:"rowIndex",showName:"编号",fixed:!0,width:80,color:"B5E6FF",isVisible:!0}),a.dataRows.push({name:"supplyName",showName:"供热站名称",fixed:!0,width:150,color:"B5E6FF",isVisible:!0}),a.dataRows.push({name:"gatherTime",showName:"采集时间",fixed:!0,width:170,color:"B5E6FF",isVisible:!0}),i.tables[1]={name:"总管",table:{dataRows:a.dataRows,tableData:a.tableData,alarm:e.data.alarmData}},n.post("/api/pipe/Real",{enterpriseId:o.value,deviceType:8}).then(t=>{var r=t.data,l=u(r);l.dataRows.push({name:"rowIndex",showName:"编号",fixed:!0,width:80,color:"B5E6FF",isVisible:!0}),l.dataRows.push({name:"supplyName",showName:"供热站名称",fixed:!0,width:150,color:"B5E6FF",isVisible:!0}),l.dataRows.push({name:"gatherTime",showName:"采集时间",fixed:!0,width:170,color:"B5E6FF",isVisible:!0}),i.tables[0]={name:"计量站",table:{dataRows:l.dataRows,tableData:l.tableData,alarm:t.data.alarmData}}})}function w(){n.post("/api/boiler/Real",{enterpriseId:o.value,deviceType:0}).then(e=>{var s=e.data,a=u(s);a.dataRows.push({name:"rowIndex",showName:"编号",fixed:!0,width:80,color:"B5E6FF",isVisible:!0}),a.dataRows.push({name:"supplyName",showName:"供热站名称",fixed:!0,width:150,color:"B5E6FF",isVisible:!0}),a.dataRows.push({name:"name",showName:"名称",fixed:!0,width:120,color:"B5E6FF",isVisible:!0}),a.dataRows.push({name:"gatherTime",showName:"采集时间",fixed:!0,width:170,color:"B5E6FF",isVisible:!0}),i.tables[2]={name:"锅炉",table:{dataRows:a.dataRows,tableData:a.tableData,alarm:e.data.alarmData}}})}function d(e,s){n.post("/api/device/Real",{enterpriseId:o.value,deviceType:s}).then(a=>{var t=a.data,r=u(t);r.dataRows.push({name:"rowIndex",showName:"编号",fixed:!0,width:80,color:"B5E6FF",isVisible:!0}),r.dataRows.push({name:"supplyName",showName:"供热站名称",fixed:!0,width:150,color:"B5E6FF",isVisible:!0}),r.dataRows.push({name:"name",showName:"名称",fixed:!0,width:150,color:"B5E6FF",isVisible:!0}),r.dataRows.push({name:"gatherTime",showName:"采集时间",fixed:!0,width:170,color:"B5E6FF",isVisible:!0}),i.tables[s-1]={name:e,table:r}})}function h(e,s){return setInterval(e,s)}function b(){d("燃气",L),d("耗水",j),d("耗热",G),d("耗电",M)}function f(){c(),w(),b()}return h(()=>{},6e4),(e,s)=>{const a=N("el-card");return m(),p("div",P,[(m(!0),p(V,null,B(k(i).tables,t=>(m(),g(a,{key:t,class:"box-card card-contianer"},{default:I(()=>[T("div",H,y(t.name),1),C(R,{width:"100%",sortabletype:!0,maxHeight:"300",dataRows:t.table.dataRows,dataTables:t.table.tableData,alarm:t.table.alarm},null,8,["dataRows","dataTables","alarm"])]),_:2},1024))),128))])}}}),O=S(U,[["__scopeId","data-v-8b10de65"]]);export{O as default}; import{D as R}from"./DataForm-BoPBP2Rl.js";import{d as F,r as E,o as v,s as x,a as D,b as _,c as N,e as m,f as p,F as V,g as B,h as g,w as I,i as T,t as y,j as C,u as k,k as A,l as n,_ as S}from"./index-B36hnqXR.js";import{m as u}from"./utils-D2jWEAG0.js";/* empty css */const P={class:"home-contianer"},H={class:"tableTitle"},L=4,j=5,G=6,M=7,U=F({__name:"RealSupplyPage",setup(W){const o=E(null);v(()=>{o.value=x.getters.getEnterpriseId(),o.value&&f()}),D(()=>{}),A();var i=_({tables:new Array});for(let e=0;e<7;e++)i.tables.push({name:"",table:{dataRow:{},tableData:{},alarm:{}}});async function c(){var e=await n.post("/api/pipe/Real",{enterpriseId:o.value,deviceType:1}),s=e.data,a=u(s);a.dataRows.push({name:"rowIndex",showName:"编号",fixed:!0,width:80,color:"B5E6FF",isVisible:!0}),a.dataRows.push({name:"supplyName",showName:"供热站名称",fixed:!0,width:150,color:"B5E6FF",isVisible:!0}),a.dataRows.push({name:"gatherTime",showName:"采集时间",fixed:!0,width:170,color:"B5E6FF",isVisible:!0}),i.tables[1]={name:"总管",table:{dataRows:a.dataRows,tableData:a.tableData,alarm:e.data.alarmData}},n.post("/api/pipe/Real",{enterpriseId:o.value,deviceType:8}).then(t=>{var r=t.data,l=u(r);l.dataRows.push({name:"rowIndex",showName:"编号",fixed:!0,width:80,color:"B5E6FF",isVisible:!0}),l.dataRows.push({name:"supplyName",showName:"供热站名称",fixed:!0,width:150,color:"B5E6FF",isVisible:!0}),l.dataRows.push({name:"gatherTime",showName:"采集时间",fixed:!0,width:170,color:"B5E6FF",isVisible:!0}),i.tables[0]={name:"计量站",table:{dataRows:l.dataRows,tableData:l.tableData,alarm:t.data.alarmData}}})}function w(){n.post("/api/boiler/Real",{enterpriseId:o.value,deviceType:0}).then(e=>{var s=e.data,a=u(s);a.dataRows.push({name:"rowIndex",showName:"编号",fixed:!0,width:80,color:"B5E6FF",isVisible:!0}),a.dataRows.push({name:"supplyName",showName:"供热站名称",fixed:!0,width:150,color:"B5E6FF",isVisible:!0}),a.dataRows.push({name:"name",showName:"名称",fixed:!0,width:120,color:"B5E6FF",isVisible:!0}),a.dataRows.push({name:"gatherTime",showName:"采集时间",fixed:!0,width:170,color:"B5E6FF",isVisible:!0}),i.tables[2]={name:"锅炉",table:{dataRows:a.dataRows,tableData:a.tableData,alarm:e.data.alarmData}}})}function d(e,s){n.post("/api/device/Real",{enterpriseId:o.value,deviceType:s}).then(a=>{var t=a.data,r=u(t);r.dataRows.push({name:"rowIndex",showName:"编号",fixed:!0,width:80,color:"B5E6FF",isVisible:!0}),r.dataRows.push({name:"supplyName",showName:"供热站名称",fixed:!0,width:150,color:"B5E6FF",isVisible:!0}),r.dataRows.push({name:"name",showName:"名称",fixed:!0,width:150,color:"B5E6FF",isVisible:!0}),r.dataRows.push({name:"gatherTime",showName:"采集时间",fixed:!0,width:170,color:"B5E6FF",isVisible:!0}),i.tables[s-1]={name:e,table:r}})}function h(e,s){return setInterval(e,s)}function b(){d("燃气",L),d("耗水",j),d("耗热",G),d("耗电",M)}function f(){c(),w(),b()}return h(()=>{},6e4),(e,s)=>{const a=N("el-card");return m(),p("div",P,[(m(!0),p(V,null,B(k(i).tables,t=>(m(),g(a,{key:t,class:"box-card card-contianer"},{default:I(()=>[T("div",H,y(t.name),1),C(R,{width:"100%",sortabletype:!0,maxHeight:"300",dataRows:t.table.dataRows,dataTables:t.table.tableData,alarm:t.table.alarm},null,8,["dataRows","dataTables","alarm"])]),_:2},1024))),128))])}}}),O=S(U,[["__scopeId","data-v-8b10de65"]]);export{O as default};
import{_ as e}from"./index-CfXQRuoZ.js";const r={};function c(t,_){return" 阀门数据 "}const a=e(r,[["render",c]]);export{a as default}; import{_ as e}from"./index-B36hnqXR.js";const r={};function c(t,_){return" 阀门数据 "}const a=e(r,[["render",c]]);export{a as default};
import{_ as r}from"./index-CfXQRuoZ.js";const e={};function n(t,c){return" 换热站远程控制 "}const _=r(e,[["render",n]]);export{_ as default}; import{_ as r}from"./index-B36hnqXR.js";const e={};function n(t,c){return" 换热站远程控制 "}const _=r(e,[["render",n]]);export{_ as default};
import{_ as m}from"./TransferArt.vue_vue_type_style_index_1_lang-CsmTvHaG.js";import"./index-CfXQRuoZ.js";export{m as default}; import{_ as m}from"./TransferArt.vue_vue_type_style_index_1_lang-DVY94_sG.js";import"./index-B36hnqXR.js";export{m as default};
import{_ as N}from"./TransferArt.vue_vue_type_style_index_1_lang-CsmTvHaG.js";import{d as V,b as k,r as c,s as g,c as d,e as v,f as L,i as l,j as m,w as y,p as x,h as T,F as B,D as I}from"./index-CfXQRuoZ.js";const S={style:{position:"absolute",height:"40px","z-index":"999","background-color":"aliceblue",width:"100%"}},F=l("div",{style:{position:"absolute","margin-top":"-29px","margin-left":"490px"}}," 换热站: ",-1),P={style:{position:"absolute","margin-top":"-38px",padding:"5px","margin-left":"555px"}},A={style:{position:"absolute","margin-top":"-32px","margin-left":"1100px"}},D=l("div",{style:{height:"40px"}},null,-1),j=V({__name:"TransferArtworkPage",setup(U){I();const b={emitPath:!1},i=k([]),r=c(),p=c(60),h=c(1),f=c();w();function w(){var o=g.getters.getEnterprise();o&&(f.value=o[0].enterpriseId)}C();function C(){var o=g.getters.getEnterprise();o&&(o.forEach(e=>{e.enterpriseId===f.value&&(e.enterpriseId==="9BCA54BC-8F27-4849-8D7D-50C5099E1949".toLowerCase()?e.serviceCenterList.forEach(t=>{let s=[];t.supplyList.forEach(n=>{let u=[];n.transferList.forEach(a=>{u.push({value:a.unitId,label:a.unitName})}),s.push({children:u,label:n.supplyName})}),i.push({children:s,label:t.serviceCenterName})}):e.supplyList.forEach(t=>{let s=[];t.transferList.forEach(n=>{s.push({value:n.unitId,label:n.unitName})}),i.push({children:s,label:t.supplyName})}))}),r.value=i[0].children[0].children[0].value)}function E(){const o="/TransferArt",e={id:r.value,time:p.value},t=new URLSearchParams(e).toString();window.open(`${o}?${t}`,"_blank","toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes")}function _(){h.value+=1}return(o,e)=>{const t=d("el-button"),s=d("el-cascader"),n=d("el-input"),u=d("el-scrollbar");return v(),L(B,null,[l("div",S,[m(t,{style:{"margin-left":"5px","padding-left":"10px","margin-top":"5px","margin-bottom":"0px"},onClick:E,type:"primary",icon:"FullScreen"},{default:y(()=>[x("全屏")]),_:1}),F,l("div",P,[m(s,{modelValue:r.value,"onUpdate:modelValue":e[0]||(e[0]=a=>r.value=a),options:i,props:b,style:{width:"250px"},onChange:_},null,8,["modelValue","options"])]),l("div",A,[x(" 刷新间隔(秒):"),m(n,{style:{width:"80px"},modelValue:p.value,"onUpdate:modelValue":e[1]||(e[1]=a=>p.value=a),type:"number",min:"3",max:"300",onChange:_},null,8,["modelValue"])])]),D,m(u,{style:{width:"1920px",height:"980px"}},{default:y(()=>[(v(),T(N,{id:r.value,key:h.value,refreshTime:p.value},null,8,["id","refreshTime"]))]),_:1})],64)}}});export{j as default}; import{_ as N}from"./TransferArt.vue_vue_type_style_index_1_lang-DVY94_sG.js";import{d as V,b as k,r as c,s as g,c as d,e as v,f as L,i as l,j as m,w as y,p as x,h as T,F as B,D as I}from"./index-B36hnqXR.js";const S={style:{position:"absolute",height:"40px","z-index":"999","background-color":"aliceblue",width:"100%"}},F=l("div",{style:{position:"absolute","margin-top":"-29px","margin-left":"490px"}}," 换热站: ",-1),P={style:{position:"absolute","margin-top":"-38px",padding:"5px","margin-left":"555px"}},A={style:{position:"absolute","margin-top":"-32px","margin-left":"1100px"}},D=l("div",{style:{height:"40px"}},null,-1),j=V({__name:"TransferArtworkPage",setup(U){I();const b={emitPath:!1},i=k([]),r=c(),p=c(60),h=c(1),f=c();w();function w(){var o=g.getters.getEnterprise();o&&(f.value=o[0].enterpriseId)}C();function C(){var o=g.getters.getEnterprise();o&&(o.forEach(e=>{e.enterpriseId===f.value&&(e.enterpriseId==="9BCA54BC-8F27-4849-8D7D-50C5099E1949".toLowerCase()?e.serviceCenterList.forEach(t=>{let s=[];t.supplyList.forEach(n=>{let u=[];n.transferList.forEach(a=>{u.push({value:a.unitId,label:a.unitName})}),s.push({children:u,label:n.supplyName})}),i.push({children:s,label:t.serviceCenterName})}):e.supplyList.forEach(t=>{let s=[];t.transferList.forEach(n=>{s.push({value:n.unitId,label:n.unitName})}),i.push({children:s,label:t.supplyName})}))}),r.value=i[0].children[0].children[0].value)}function E(){const o="/TransferArt",e={id:r.value,time:p.value},t=new URLSearchParams(e).toString();window.open(`${o}?${t}`,"_blank","toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes")}function _(){h.value+=1}return(o,e)=>{const t=d("el-button"),s=d("el-cascader"),n=d("el-input"),u=d("el-scrollbar");return v(),L(B,null,[l("div",S,[m(t,{style:{"margin-left":"5px","padding-left":"10px","margin-top":"5px","margin-bottom":"0px"},onClick:E,type:"primary",icon:"FullScreen"},{default:y(()=>[x("全屏")]),_:1}),F,l("div",P,[m(s,{modelValue:r.value,"onUpdate:modelValue":e[0]||(e[0]=a=>r.value=a),options:i,props:b,style:{width:"250px"},onChange:_},null,8,["modelValue","options"])]),l("div",A,[x(" 刷新间隔(秒):"),m(n,{style:{width:"80px"},modelValue:p.value,"onUpdate:modelValue":e[1]||(e[1]=a=>p.value=a),type:"number",min:"3",max:"300",onChange:_},null,8,["modelValue"])])]),D,m(u,{style:{width:"1920px",height:"980px"}},{default:y(()=>[(v(),T(N,{id:r.value,key:h.value,refreshTime:p.value},null,8,["id","refreshTime"]))]),_:1})],64)}}});export{j as default};
import{_ as ve,b as m,r as p,o as ge,a as ye,c as d,z as _e,e as P,f as be,j as a,w as o,m as x,v as F,i as U,h as Ie,s as q,u as Q,p as O,E as v,H as g,G as Ee,q as xe,x as we}from"./index-B36hnqXR.js";import{z as K}from"./zh-cn-CHEiFvXs.js";import{p as Te,a as Le,b as Ve,c as Be,d as ke,e as He,f as De,g as Fe,h as Ue}from"./analysis-DbNt-irq.js";const Ce=I=>(xe("data-v-7f2751b9"),I=I(),we(),I),Ne={class:"contentBlock",id:"contentBlock"},Me={id:"echartsLayerBlock"},We=Ce(()=>U("div",{class:"echartsLayer",id:"echartsLayer"},null,-1)),Ye=[We],Ae={__name:"TransferEnergyView",setup(I){const w=m([]),C=p(),R={multiple:!0,emitPath:!1},_=p(!1);p(!1);const N=p(!1),T=m([]),E=m([]),L=m([]),V=m([]),b=m([]),n=p(!1),M=p(500),W=p("1200px"),Y=p("500px"),A=p(null),y=p("W/㎡"),r=m({supplyId:null,transferId:[],startTime:null,endTime:null,energyType:3,interval:2,type:1});m(0),m(1),m(3);const B=p(!1),j={transferId:[{required:!0,message:"请选择换热机组",trigger:"blur"}],startTime:[{required:!0,message:"请选择开始时间",trigger:"blur"}],endTime:[{required:!0,message:"请选择结束时间",trigger:"blur"}]};function G(){var e=q.getters.getEnterprise();e&&(C.value=e[0].enterpriseId)}function J(){r.transferId.length>10&&v.error("换热机组最多只能选择10个")}function X(){var e=q.getters.getEnterprise();e&&e.forEach(l=>{l.enterpriseId===C.value&&(l.enterpriseId==="9BCA54BC-8F27-4849-8D7D-50C5099E1949".toLowerCase()?l.serviceCenterList.forEach(t=>{let s=[];t.supplyList.forEach(u=>{let f=[];u.transferList.forEach(i=>{f.push({value:i.unitId,label:i.unitName})}),s.push({children:f,label:u.supplyName})}),w.push({children:s,label:t.serviceCenterName})}):l.supplyList.forEach(t=>{let s=[];t.transferList.forEach(u=>{s.push({value:u.unitId,label:u.unitName})}),w.push({children:s,label:t.supplyName})}))})}function Z(){A.value.validate(e=>{if(r.transferId.length>10)return v.error("换热机组最多只能选择10个"),!1;if(e)switch(r.type){case 0:ee();break;case 1:y.value="W/㎡",te();break;case 2:y.value="Kwh/㎡",ae();break;case 3:y.value="Kg/㎡",le();break;case 4:y.value="W/(㎡×℃)",re();break;case 5:y.value="℃",se();break;case 6:y.value="t/h/万㎡",ne();break;case 7:oe();break;case 8:ue();break}else return console.log("验证失败"),!1})}function $(){r.type==0?B.value=!0:B.value=!1}function ee(){n.value=!0,Te(r).then(e=>{g(document.getElementById("echartsLayer")),e.success===!0?h(e):(n.value=!1,v.error(e.message))})}function te(){n.value=!0,Le(r).then(e=>{g(document.getElementById("echartsLayer")),e.success===!0?h(e):(n.value=!1,v.error(e.message))})}function ae(){n.value=!0,Ve(r).then(e=>{g(document.getElementById("echartsLayer")),e.success===!0?h(e):(n.value=!1,v.error(e.message))})}function le(){n.value=!0,Be(r).then(e=>{g(document.getElementById("echartsLayer")),e.success===!0?h(e):(n.value=!1,v.error(e.message))})}function re(){n.value=!0,ke(r).then(e=>{g(document.getElementById("echartsLayer")),e.success===!0?h(e):(n.value=!1,v.error(e.message))})}function se(){n.value=!0,He(r).then(e=>{g(document.getElementById("echartsLayer")),e.success===!0?h(e):(n.value=!1,v.error(e.message))})}function ne(){n.value=!0,De(r).then(e=>{g(document.getElementById("echartsLayer")),e.success===!0?h(e):(n.value=!1,v.error(e.message))})}function oe(){n.value=!0,Fe(r).then(e=>{g(document.getElementById("echartsLayer")),e.success===!0?h(e):e.status==9&&setInterval(function(){n.value=!1,this.postHeatEffiUcFun()},6e5)})}function ue(){n.value=!0,Ue(r).then(e=>{g(document.getElementById("echartsLayer")),e.success===!0?h(e):e.status==9&&setInterval(function(){n.value=!1,this.postSecAvgTUcFun()},6e5)})}function h(e){T.length=0,e.data.hourWater.forEach(t=>{let s={transferName:t.transferName,gatherTime:t.gatherTime,temperature:t.temperature};T.push(s)}),N.value=!0,n.value=!1,E.length=0,b.length=0,V.length=0,L.length=0,E.value=ie(e.data.hourWater),E.value[0].listInfo.forEach(t=>{t.gatherTime&&L.push(t.gatherTime)}),E.value.forEach(t=>{let s=[],u=[];t.listInfo.forEach(f=>{s.push(f.temperature),u.push(parseFloat(f.uc).toFixed(2))}),b.push({name:t.transferName+"能耗",type:"bar",yAxisIndex:1,tooltip:{valueFormatter:function(f){return f}},data:u})});let l=[];e.data.temperatureList.forEach(t=>{l.push(t)}),b.push({name:"平均温度",type:"line",tooltip:{valueFormatter:function(t){return t+" ℃"}},data:l}),b.forEach((t,s)=>{V.push(t.name)}),S()}function k(){M.value=window.innerHeight-232}function ie(e){var l=[];return e.forEach(function(t,s){for(var u=0;u<l.length;u++)if(l[u].transferId==t.transferId){l[u].listInfo.push({gatherDay:t.gatherDay,gatherHour:t.gatherHour,gatherMonth:t.gatherMonth,gatherTime:t.gatherTime,gatherYear:t.gatherYear,temperature:t.temperature,transferId:t.transferId,transferName:t.transferName,uc:t.uc});return}l.push({transferId:t.transferId,transferName:t.transferName,listInfo:[{gatherDay:t.gatherDay,gatherHour:t.gatherHour,gatherMonth:t.gatherMonth,gatherTime:t.gatherTime,gatherYear:t.gatherYear,temperature:t.temperature,transferId:t.transferId,uc:t.uc}]})}),l}function S(){var e=document.getElementById("echartsLayer"),l=Ee(e),t;l.resize({width:W.value,height:Y.value}),t={title:{text:"换热站趋势图",top:0,left:50},tooltip:{trigger:"axis",axisPointer:{type:"cross",crossStyle:{color:"#999"}}},legend:{data:V},xAxis:[{type:"category",data:L,axisPointer:{type:"shadow"},axisLabel:{rotate:45}}],grid:{left:100,right:100,top:70,bottom:100},yAxis:[{type:"value",name:"温度",axisLabel:{formatter:"{value} ℃"}},{type:"value",name:"能耗",position:"right",axisLabel:{formatter:"{value} "+y.value}}],series:b},t&&l.setOption(t)}function ce(){N.value=!0;var e=document.getElementById("contentBlock").offsetWidth,l=document.getElementById("contentBlock").scrollHeight;W.value=e+"px",Y.value=l*.6+"px",S()}return ge(()=>{G(),X(),k(),window.addEventListener("resize",k),_.value=!0}),ye(()=>{window.removeEventListener("resize",k)}),(e,l)=>{const t=d("el-cascader"),s=d("el-form-item"),u=d("el-date-picker"),f=d("el-config-provider"),i=d("el-option"),H=d("el-select"),de=d("el-switch"),z=d("el-button"),pe=d("el-form"),fe=d("el-card"),D=d("el-table-column"),me=d("el-table"),he=_e("loading");return P(),be("div",Ne,[a(fe,{class:"card-contianer"},{default:o(()=>[a(pe,{inline:!0,model:r,class:"demo-form-inline",rules:j,ref_key:"formRef",ref:A},{default:o(()=>[a(s,{label:"换热机组:",prop:"transferId"},{default:o(()=>[a(t,{options:w,modelValue:r.transferId,"onUpdate:modelValue":l[0]||(l[0]=c=>r.transferId=c),props:R,"collapse-tags":"",clearable:"","show-all-levels":!1,placeholder:"请选择",style:{width:"220px"},onChange:J},null,8,["options","modelValue"])]),_:1}),a(s,{label:"开始时间:",prop:"startTime"},{default:o(()=>[a(f,{locale:Q(K)},{default:o(()=>[a(u,{type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"选择开始时间",style:{width:"180px"},modelValue:r.startTime,"onUpdate:modelValue":l[1]||(l[1]=c=>r.startTime=c)},null,8,["modelValue"])]),_:1},8,["locale"])]),_:1}),a(s,{label:"结束时间:",prop:"endTime"},{default:o(()=>[a(f,{locale:Q(K)},{default:o(()=>[a(u,{type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"选择结束时间",style:{width:"180px"},modelValue:r.endTime,"onUpdate:modelValue":l[2]||(l[2]=c=>r.endTime=c)},null,8,["modelValue"])]),_:1},8,["locale"])]),_:1}),a(s,{label:"时间类型"},{default:o(()=>[a(H,{modelValue:r.interval,"onUpdate:modelValue":l[3]||(l[3]=c=>r.interval=c),placeholder:"请选择",style:{"min-width":"80px"}},{default:o(()=>[a(i,{label:"小时",value:0}),a(i,{label:"日",value:1}),a(i,{label:"周",value:2}),a(i,{label:"月",value:3})]),_:1},8,["modelValue"])]),_:1}),a(s,{label:"能耗类型"},{default:o(()=>[a(H,{modelValue:r.type,"onUpdate:modelValue":l[4]||(l[4]=c=>r.type=c),placeholder:"请选择",style:{"min-width":"150px"},onChange:$},{default:o(()=>[a(i,{label:"热单耗",value:1}),a(i,{label:"电单耗",value:2}),a(i,{label:"水单耗",value:3}),a(i,{label:"度日数热耗",value:4}),a(i,{label:"一网回温",value:5})]),_:1},8,["modelValue"])]),_:1}),x(a(s,{label:"用量环比类型"},{default:o(()=>[a(H,{modelValue:r.energyType,"onUpdate:modelValue":l[5]||(l[5]=c=>r.energyType=c),placeholder:"请选择",style:{"min-width":"80px"}},{default:o(()=>[a(i,{label:"耗水",value:2}),a(i,{label:"耗热",value:3}),a(i,{label:"耗电",value:4})]),_:1},8,["modelValue"])]),_:1},512),[[F,B.value]]),a(s,null,{default:o(()=>[a(de,{modelValue:_.value,"onUpdate:modelValue":l[6]||(l[6]=c=>_.value=c),"active-text":"表格","inactive-text":"曲线图",style:{"--el-switch-on-color":"#13ce66","--el-switch-off-color":"#ff4949","min-width":"130px"},onChange:ce},null,8,["modelValue"])]),_:1}),a(s,null,{default:o(()=>[a(z,{type:"primary",style:{"min-width":"70px"},onClick:Z},{default:o(()=>[O("查询")]),_:1})]),_:1}),a(s,null,{default:o(()=>[a(z,{type:"primary",style:{"min-width":"70px"}},{default:o(()=>[O("导出表格")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),x(U("div",null,[x((P(),Ie(me,{data:T,height:M.value,style:{width:"100%"}},{default:o(()=>[a(D,{prop:"transferName",label:"换热站机组名称",style:{width:"150px"}}),a(D,{prop:"gatherTime",label:"时间"}),a(D,{prop:"temperature",label:"平均温度"})]),_:1},8,["data","height"])),[[he,n.value]])],512),[[F,_.value]]),x(U("div",Me,Ye,512),[[F,!_.value]])])}}},qe=ve(Ae,[["__scopeId","data-v-7f2751b9"]]);export{qe as default};
.contentBlock[data-v-7f2751b9]{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#fff}.el-form--inline .el-form-item[data-v-7f2751b9]{margin-right:10px}.el-form-item[data-v-7f2751b9]{margin:5px 5px 10px!important}.echartsLayer[data-v-7f2751b9]{width:100%;margin:2% auto 0}
import{_ as he,b as f,r as m,o as ge,a as ve,c as d,z as ye,e as z,f as _e,j as a,w as n,m as x,v as D,i as F,h as be,s as P,u as q,p as Q,E as g,H as v,G as Ie,q as Ee,x as xe}from"./index-CfXQRuoZ.js";import{z as O}from"./zh-cn-CHEiFvXs.js";import{p as we,a as Te,b as Le,c as Ve,d as Be,e as ke,f as He,g as De,h as Fe}from"./analysis-JHy_aleX.js";const Ue=b=>(Ee("data-v-9c0f294c"),b=b(),xe(),b),Ce={class:"contentBlock",id:"contentBlock"},Ne={id:"echartsLayerBlock"},Me=Ue(()=>F("div",{class:"echartsLayer",id:"echartsLayer"},null,-1)),Ye=[Me],Ae={__name:"TransferEnergyView",setup(b){const w=f([]),U=m(),R={multiple:!0,emitPath:!1},y=m(!1);m(!1);const C=m(!1),T=f([]),I=f([]),L=f([]),V=f([]),_=f([]),o=m(!1),N=m(500),M=m("1200px"),Y=m("500px"),A=m(null),l=f({supplyId:null,transferId:[],startTime:null,endTime:null,energyType:3,interval:2,type:1});f(0),f(1),f(3);const E=m(!1),j={transferId:[{required:!0,message:"请选择换热机组",trigger:"blur"}],startTime:[{required:!0,message:"请选择开始时间",trigger:"blur"}],endTime:[{required:!0,message:"请选择结束时间",trigger:"blur"}]};function G(){var e=P.getters.getEnterprise();e&&(U.value=e[0].enterpriseId)}function J(){l.transferId.length>10&&g.error("换热机组最多只能选择10个")}function K(){var e=P.getters.getEnterprise();e&&e.forEach(r=>{r.enterpriseId===U.value&&(r.enterpriseId==="9BCA54BC-8F27-4849-8D7D-50C5099E1949".toLowerCase()?r.serviceCenterList.forEach(t=>{let s=[];t.supplyList.forEach(u=>{let p=[];u.transferList.forEach(i=>{p.push({value:i.unitId,label:i.unitName})}),s.push({children:p,label:u.supplyName})}),w.push({children:s,label:t.serviceCenterName})}):r.supplyList.forEach(t=>{let s=[];t.transferList.forEach(u=>{s.push({value:u.unitId,label:u.unitName})}),w.push({children:s,label:t.supplyName})}))})}function X(){A.value.validate(e=>{if(l.transferId.length>10)return g.error("换热机组最多只能选择10个"),!1;if(e)switch(l.type){case 0:$();break;case 1:ee();break;case 2:te();break;case 3:ae();break;case 4:re();break;case 5:le();break;case 6:se();break;case 7:oe();break;case 8:ne();break}else return console.log("验证失败"),!1})}function Z(){console.log(E),l.type==0?E.value=!0:E.value=!1}function $(){o.value=!0,we(l).then(e=>{v(document.getElementById("echartsLayer")),e.success===!0?h(e):(o.value=!1,g.error(e.message))})}function ee(){o.value=!0,Te(l).then(e=>{v(document.getElementById("echartsLayer")),e.success===!0?h(e):(o.value=!1,g.error(e.message))})}function te(){o.value=!0,Le(l).then(e=>{v(document.getElementById("echartsLayer")),e.success===!0?h(e):(o.value=!1,g.error(e.message))})}function ae(){o.value=!0,Ve(l).then(e=>{v(document.getElementById("echartsLayer")),e.success===!0?h(e):(o.value=!1,g.error(e.message))})}function re(){o.value=!0,Be(l).then(e=>{v(document.getElementById("echartsLayer")),e.success===!0?h(e):(o.value=!1,g.error(e.message))})}function le(){o.value=!0,ke(l).then(e=>{v(document.getElementById("echartsLayer")),e.success===!0?h(e):(o.value=!1,g.error(e.message))})}function se(){o.value=!0,He(l).then(e=>{v(document.getElementById("echartsLayer")),e.success===!0?h(e):(o.value=!1,g.error(e.message))})}function oe(){o.value=!0,De(l).then(e=>{v(document.getElementById("echartsLayer")),e.success===!0?h(e):e.status==9&&setInterval(function(){o.value=!1,this.postHeatEffiUcFun()},6e5)})}function ne(){o.value=!0,Fe(l).then(e=>{v(document.getElementById("echartsLayer")),e.success===!0?h(e):e.status==9&&setInterval(function(){o.value=!1,this.postSecAvgTUcFun()},6e5)})}function h(e){T.length=0,e.data.hourWater.forEach(t=>{let s={transferName:t.transferName,gatherTime:t.gatherTime,temperature:t.temperature};T.push(s)}),C.value=!0,o.value=!1,I.length=0,_.length=0,V.length=0,L.length=0,I.value=ue(e.data.hourWater),I.value[0].listInfo.forEach(t=>{t.gatherTime&&L.push(t.gatherTime.split(" 00:00:00")[0])}),I.value.forEach(t=>{let s=[],u=[];t.listInfo.forEach(p=>{s.push(p.temperature),u.push(parseFloat(p.uc).toFixed(2))}),_.push({name:t.transferName+"能耗",type:"bar",yAxisIndex:1,tooltip:{valueFormatter:function(p){return p}},data:u})});let r=[];e.data.temperatureList.forEach(t=>{r.push(t)}),_.push({name:"平均温度",type:"line",tooltip:{valueFormatter:function(t){return t+" ℃"}},data:r}),_.forEach((t,s)=>{V.push(t.name)}),S()}function B(){N.value=window.innerHeight-232}function ue(e){var r=[];return e.forEach(function(t,s){for(var u=0;u<r.length;u++)if(r[u].transferId==t.transferId){r[u].listInfo.push({gatherDay:t.gatherDay,gatherHour:t.gatherHour,gatherMonth:t.gatherMonth,gatherTime:t.gatherTime,gatherYear:t.gatherYear,temperature:t.temperature,transferId:t.transferId,transferName:t.transferName,uc:t.uc});return}r.push({transferId:t.transferId,transferName:t.transferName,listInfo:[{gatherDay:t.gatherDay,gatherHour:t.gatherHour,gatherMonth:t.gatherMonth,gatherTime:t.gatherTime,gatherYear:t.gatherYear,temperature:t.temperature,transferId:t.transferId,uc:t.uc}]})}),r}function S(){var e=document.getElementById("echartsLayer"),r=Ie(e),t;r.resize({width:M.value,height:Y.value});var s="T";t={title:{text:"换热站趋势图",top:0,left:50},tooltip:{trigger:"axis",axisPointer:{type:"cross",crossStyle:{color:"#999"}}},legend:{data:V},xAxis:[{type:"category",data:L,axisPointer:{type:"shadow"},axisLabel:{rotate:45}}],grid:{left:100,right:100,top:70,bottom:100},yAxis:[{type:"value",name:"温度",axisLabel:{formatter:"{value} ℃"}},{type:"value",name:"能耗",position:"right",axisLabel:{formatter:"{value} "+s}}],series:_},t&&r.setOption(t)}function ie(){C.value=!0;var e=document.getElementById("contentBlock").offsetWidth,r=document.getElementById("contentBlock").scrollHeight;M.value=e+"px",Y.value=r*.7+"px",S()}return ge(()=>{G(),K(),B(),window.addEventListener("resize",B),y.value=!0}),ve(()=>{window.removeEventListener("resize",B)}),(e,r)=>{const t=d("el-cascader"),s=d("el-form-item"),u=d("el-date-picker"),p=d("el-config-provider"),i=d("el-option"),k=d("el-select"),ce=d("el-switch"),W=d("el-button"),de=d("el-form"),pe=d("el-card"),H=d("el-table-column"),fe=d("el-table"),me=ye("loading");return z(),_e("div",Ce,[a(pe,{class:"card-contianer"},{default:n(()=>[a(de,{inline:!0,model:l,class:"demo-form-inline",rules:j,ref_key:"formRef",ref:A},{default:n(()=>[a(s,{label:"换热机组:",prop:"transferId"},{default:n(()=>[a(t,{options:w,modelValue:l.transferId,"onUpdate:modelValue":r[0]||(r[0]=c=>l.transferId=c),props:R,"collapse-tags":"",clearable:"","show-all-levels":!1,placeholder:"请选择",style:{width:"220px"},onChange:J},null,8,["options","modelValue"])]),_:1}),a(s,{label:"开始时间:",prop:"startTime"},{default:n(()=>[a(p,{locale:q(O)},{default:n(()=>[a(u,{type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"选择开始时间",style:{width:"180px"},modelValue:l.startTime,"onUpdate:modelValue":r[1]||(r[1]=c=>l.startTime=c)},null,8,["modelValue"])]),_:1},8,["locale"])]),_:1}),a(s,{label:"结束时间:",prop:"endTime"},{default:n(()=>[a(p,{locale:q(O)},{default:n(()=>[a(u,{type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"选择结束时间",style:{width:"180px"},modelValue:l.endTime,"onUpdate:modelValue":r[2]||(r[2]=c=>l.endTime=c)},null,8,["modelValue"])]),_:1},8,["locale"])]),_:1}),a(s,{label:"时间类型"},{default:n(()=>[a(k,{modelValue:l.interval,"onUpdate:modelValue":r[3]||(r[3]=c=>l.interval=c),placeholder:"请选择",style:{"min-width":"80px"}},{default:n(()=>[a(i,{label:"小时",value:0}),a(i,{label:"日",value:1}),a(i,{label:"周",value:2}),a(i,{label:"月",value:3})]),_:1},8,["modelValue"])]),_:1}),a(s,{label:"能耗类型"},{default:n(()=>[a(k,{modelValue:l.type,"onUpdate:modelValue":r[4]||(r[4]=c=>l.type=c),placeholder:"请选择",style:{"min-width":"150px"},onChange:Z},{default:n(()=>[a(i,{label:"用量环比",value:0}),a(i,{label:"热单耗",value:1}),a(i,{label:"电单耗",value:2}),a(i,{label:"水单耗",value:3}),a(i,{label:"度日数热耗",value:4}),a(i,{label:"一网回温",value:5})]),_:1},8,["modelValue"])]),_:1}),x(a(s,{label:"用量环比类型"},{default:n(()=>[a(k,{modelValue:l.energyType,"onUpdate:modelValue":r[5]||(r[5]=c=>l.energyType=c),placeholder:"请选择",style:{"min-width":"80px"}},{default:n(()=>[a(i,{label:"耗水",value:2}),a(i,{label:"耗热",value:3}),a(i,{label:"耗电",value:4})]),_:1},8,["modelValue"])]),_:1},512),[[D,E.value]]),a(s,null,{default:n(()=>[a(ce,{modelValue:y.value,"onUpdate:modelValue":r[6]||(r[6]=c=>y.value=c),"active-text":"表格","inactive-text":"曲线图",style:{"--el-switch-on-color":"#13ce66","--el-switch-off-color":"#ff4949","min-width":"130px"},onChange:ie},null,8,["modelValue"])]),_:1}),a(s,null,{default:n(()=>[a(W,{type:"primary",style:{"min-width":"70px"},onClick:X},{default:n(()=>[Q("查询")]),_:1})]),_:1}),a(s,null,{default:n(()=>[a(W,{type:"primary",style:{"min-width":"70px"}},{default:n(()=>[Q("导出表格")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),x(F("div",null,[x((z(),be(fe,{data:T,height:N.value,style:{width:"100%"}},{default:n(()=>[a(H,{prop:"transferName",label:"换热站机组名称",style:{width:"150px"}}),a(H,{prop:"gatherTime",label:"时间"}),a(H,{prop:"temperature",label:"平均温度"})]),_:1},8,["data","height"])),[[me,o.value]])],512),[[D,y.value]]),x(F("div",Ne,Ye,512),[[D,!y.value]])])}}},Pe=he(Ae,[["__scopeId","data-v-9c0f294c"]]);export{Pe as default};
.contentBlock[data-v-9c0f294c]{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#fff}.el-form--inline .el-form-item[data-v-9c0f294c]{margin-right:10px}.el-form-item[data-v-9c0f294c]{margin:5px 5px 10px!important}.echartsLayer[data-v-9c0f294c]{width:100%;margin:2% auto 0}
import{_ as r}from"./index-CfXQRuoZ.js";const e={};function t(c,n){return" 换热站巡更 "}const a=r(e,[["render",t]]);export{a as default}; import{_ as r}from"./index-B36hnqXR.js";const e={};function t(c,n){return" 换热站巡更 "}const a=r(e,[["render",t]]);export{a as default};
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<link rel="icon" type="image/svg+xml" href="/ams.ico" /> <link rel="icon" type="image/svg+xml" href="/ams.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>爱默森区域供热管控平台V10.0</title> <title>爱默森区域供热管控平台V10.0</title>
<script type="module" crossorigin src="/assets/index-CfXQRuoZ.js"></script> <script type="module" crossorigin src="/assets/index-B36hnqXR.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Bi_ioRxv.css"> <link rel="stylesheet" crossorigin href="/assets/index-Bi_ioRxv.css">
</head> </head>
<body> <body>
......
...@@ -145,10 +145,17 @@ const routes = [ ...@@ -145,10 +145,17 @@ const routes = [
meta: { meta: {
title: '换热站工艺图' title: '换热站工艺图'
} }
},{
path: '/AlarmStatus',
name: 'AlarmStatusPage',
component: () => import('@/views/AlarmPage/AlarmStatusPage.vue'),
meta: {
title: '报警信息'
}
},{ },{
path: '/Alarm', path: '/Alarm',
name: 'AlarmPage', name: 'AlarmInfoPage',
component: () => import('@/views/AlarmPage/AlarmPage.vue'), component: () => import('@/views/AlarmPage/AlarmInfoPage.vue'),
meta: { meta: {
title: '报警信息' title: '报警信息'
} }
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment