Commit adc7e0c4 authored by 王亚晖's avatar 王亚晖

修改换热站远程控制页面

parent 699392e2
import{_ as c,c as e,e as p,f as _,j as t,w as o,p as u}from"./index-DC3jhuX2.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-cRB9LjbJ.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};
.moduleCard[data-v-d032a459]{width:auto;overflow:auto;padding:0}.moduleCard[data-v-d032a459] .el-card__body{padding:0}.pagination[data-v-d032a459]{padding:4px;margin-left:20px;height:30px;vertical-align:middle}[data-v-d032a459] .el-table__body tr:hover>td{background:linear-gradient(to top,#00c6ff,#fff)!important}[data-v-d032a459] .el-table__body tr.current-row>td{background-color:#92cbf1!important}.card-contianer[data-v-d032a459]{width:auto;height:70px}.card-contianer .div-header[data-v-d032a459]{width:100%;display:flex;margin:20px}.el-form-item[data-v-d032a459]{margin-top:-20px;margin-right:30px}.el-tag--mini[data-v-d032a459]{height:21px!important}.el-cascader .el-input .el-input__inner[data-v-d032a459]:focus,.el-cascader .el-input.is-focus .el-input__inner[data-v-d032a459]{height:33px}.el-cascader__tags[data-v-d032a459]{display:inline-flex;margin-right:10px;flex-wrap:nowrap}
.moduleCard[data-v-b19cbb4d]{width:auto;overflow:auto;padding:2px}.moduleCard[data-v-b19cbb4d] .el-card__body{padding:0}.pagination[data-v-b19cbb4d]{padding:4px;margin-left:20px;height:30px;vertical-align:middle}[data-v-b19cbb4d] .el-table__body tr:hover>td{background:linear-gradient(to top,#00c6ff,#fff)!important}[data-v-b19cbb4d] .el-table__body tr.current-row>td{background-color:#92cbf1!important}.card-contianer[data-v-b19cbb4d]{width:auto;height:70px}.card-contianer .div-header[data-v-b19cbb4d]{width:100%;display:flex;margin:20px}.el-form-item[data-v-b19cbb4d]{margin-top:-20px;margin-right:30px}.search-box[data-v-b19cbb4d]{background:#fefefe;margin-top:0;border:1px solid #eae8e8;position:absolute;z-index:999;padding:25px 20px 0;border-top:0;box-shadow:0 7px 18px -12px #bdc0bb;width:100%;height:160px}
import{d as ie,r as f,b as U,s as k,l as G,o as de,a as ue,c as p,z as ce,e as R,f as pe,j as r,w as s,i as fe,u as B,p as j,m as me,h as ge,C as ve,F as he,_ as be}from"./index-cRB9LjbJ.js";import{z as H}from"./zh-cn-CHEiFvXs.js";import{g as _e}from"./utils-D2jWEAG0.js";const Ie={class:"div-header"},xe=ie({__name:"AlarmInfoPage",setup(ye){const D=f(1);var g=f(30);const O=f(!1),q=f(!1),A=f(),d=U([]),L=f("TransExport"),v=f([]),V=f(500),S=f(),h=f(!0),m=U({}),y=f("GetTransAlarmData");J();function J(){var a=k.getters.getEnterprise();a&&(S.value=a[0].enterpriseId)}const K={multiple:!0,emitPath:!1};function z(){V.value=window.innerHeight-232}function W({order:a,prop:e}){!a||m[e]===a?m[e]=null:m[e]=a;let l="",t="",o="";for(const u in m)m[u]=="ascending"?o="ASC":m[u]=="descending"&&(o="DESC"),u==="name"?l="name":u==="alarmDate"&&(l="alarmDate"),t===""?t=t+l+" "+o:t=t+","+l+" "+o,n.sort=t;E()}function X({column:a}){m[a.property]&&(a.order=m[a.property])}for(var b=new Date,P=b.getFullYear(),_=0,i=[b.getMonth()+1,b.getDate(),b.getHours(),b.getMinutes(),b.getSeconds()],I=0;I<i.length;I++)i[I]>=1&&i[I]<=9&&(i[I]="0"+i[I]);_=i[1]-1,_>=1&&_<=9&&(_="0"+_);var C=sessionStorage.getItem("DeviceQueryStart");console.log(!!C),C&&(C=P+"-"+i[0]+"-"+_+" "+i[2]+":"+i[3]+":"+i[4],sessionStorage.setItem("DeviceQueryStart",C));var T=sessionStorage.getItem("DeviceQueryEnd");T&&(T=P+"-"+i[0]+"-"+i[1]+" "+i[2]+":"+i[3]+":"+i[4],sessionStorage.setItem("DeviceQueryEnd",T));const n=U({Id:[],startTime:C,endTime:T,start:0,count:30,sort:" alarmDate"});M(),E();function E(){sessionStorage.setItem("DeviceQueryStart",n.startTime),sessionStorage.setItem("DeviceQueryEnd",n.endTime),Y()}function Z(){y.value==="GetPipeAlarmData"?(ee(),L.value="PipeExport"):y.value==="GetBoilerAlarmData"?($(),L.value="BoilerExport"):(M(),L.value="TransExport"),Y()}function $(){h.value=!0,v.length=0,n.Id.length=0,d.length=0;var a=k.getters.getEnterprise();a&&(a.forEach(e=>{e.enterpriseId===S.value&&(e.enterpriseId==="9BCA54BC-8F27-4849-8D7D-50C5099E1949".toLowerCase()?e.serviceCenterList.forEach(l=>{l.supplyList.forEach(t=>{t.boilerList.forEach(o=>{d.push({value:o.boilerId,label:o.description})})})}):e.supplyList.forEach(l=>{l.boilerList.forEach(t=>{d.push({value:t.boilerId,label:t.description})})}))}),d.forEach(e=>{n.Id.push(e.value)}))}function ee(){h.value=!0,v.value.length=0,n.Id.length=0;var a=k.getters.getEnterprise();a&&(d.length=0,a.forEach(e=>{e.enterpriseId===S.value&&(e.enterpriseId==="9BCA54BC-8F27-4849-8D7D-50C5099E1949".toLowerCase()?e.serviceCenterList.forEach(l=>{l.supplyList.forEach(t=>{d.push({value:t.pipeInfo.pipeId,label:t.pipeInfo.pipeName})})}):e.supplyList.forEach(l=>{d.push({value:l.pipeInfo.pipeId,label:l.pipeInfo.pipeName})}))})),console.log(d),d.forEach(e=>{n.Id.push(e.value)}),console.log(n.Id)}function M(){h.value=!0,v.value.length=0,d.length=0,n.Id.length=0;var a=k.getters.getEnterprise();a&&a.forEach(e=>{e.enterpriseId===S.value&&(e.enterpriseId==="9BCA54BC-8F27-4849-8D7D-50C5099E1949".toLowerCase()?e.serviceCenterList.forEach(l=>{let t=[];l.supplyList.forEach(o=>{let u=[];o.transferList.forEach(w=>{u.push({value:w.unitId,label:w.unitName})}),t.push({children:u,label:o.supplyName})}),d.push({children:t,label:l.serviceCenterName})}):e.supplyList.forEach(l=>{let t=[];l.transferList.forEach(o=>{t.push({value:o.unitId,label:o.unitName})}),d.push({children:t,label:l.supplyName})}))}),n.Id.push(d[0].children[0].children[0].value)}function Y(){h.value=!0,D.value==1?(n.start=0,n.count=g.value):(n.start=(D.value-1)*g.value+1,n.count=g.value-1),G.post("/api/alarm/"+y.value,n).then(a=>{console.log(a.data),a.data!==null&&(v.value=a.data.dataInfoList,A.value=a.data.rowCount),(a.data===null||n.Id.length<1)&&(v.value=null,A.value=0),h.value=!1})}function te({row:a,column:e,rowIndex:l,columnIndex:t}){let o={};return o["padding-left"]="0px",o["padding-right"]="0px",o.borderColor="#97d5fd",o.padding="0px",o}function ae({row:a,column:e,rowIndex:l,columnIndex:t}){let o;var u="d9f1ff";o={"background-color":"#"+u,"padding-left":"0px","padding-right":"0px",borderColor:"#97d5fd",color:"#000","text-align":"center","vertical-align":"top"};var u="d9f1ff";return o={"background-color":"#"+u,"padding-left":"0px","padding-right":"0px",borderColor:"#97d5fd",color:"#000","text-align":"center","vertical-align":"top"},o}async function le(){if(v.value!==null){sessionStorage.setItem("DeviceQueryStart",n.startTime),sessionStorage.setItem("DeviceQueryEnd",n.endTime),n.pageIndex=0,n.pageCount=1e5;var a=_e("报警信息历史数据");await G.post("/api/alarm/"+L.value,n,"正在导出数据....",{responseType:"blob"}).then(e=>{try{const l=new Blob([e]);if("download"in document.createElement("a")){const t=document.createElement("a");t.download=a,t.style.display="none",t.href=URL.createObjectURL(l),document.body.appendChild(t),t.click(),URL.revokeObjectURL(t.href),document.body.removeChild(t)}else navigator.msSaveBlob(l,a)}catch(l){console.log(l)}})}}return de(()=>{z(),window.addEventListener("resize",z)}),ue(()=>{window.removeEventListener("resize",z)}),(a,e)=>{const l=p("el-option"),t=p("el-select"),o=p("el-form-item"),u=p("el-cascader"),w=p("el-date-picker"),N=p("el-config-provider"),F=p("el-button"),Q=p("el-card"),x=p("el-table-column"),oe=p("el-table"),re=p("el-pagination"),ne=p("el-footer"),se=ce("loading");return R(),pe(he,null,[r(Q,{class:"card-contianer"},{default:s(()=>[fe("div",Ie,[r(o,{label:"查询类型:"},{default:s(()=>[r(t,{modelValue:y.value,"onUpdate:modelValue":e[0]||(e[0]=c=>y.value=c),placeholder:"请选择",style:{width:"150px"},onChange:Z},{default:s(()=>[r(l,{label:"换热机组",value:"GetTransAlarmData"}),r(l,{label:"锅炉",value:"GetBoilerAlarmData"}),r(l,{label:"总管",value:"GetPipeAlarmData"})]),_:1},8,["modelValue"])]),_:1}),r(o,{label:"设备:"},{default:s(()=>[r(u,{options:d,modelValue:n.Id,"onUpdate:modelValue":e[1]||(e[1]=c=>n.Id=c),props:K,"collapse-tags":"",clearable:"","show-all-levels":!1,placeholder:"请选择",style:{"min-width":"210px"}},null,8,["options","modelValue"])]),_:1}),r(o,{label:"开始时间:"},{default:s(()=>[r(N,{locale:B(H)},{default:s(()=>[r(w,{modelValue:n.startTime,"onUpdate:modelValue":e[2]||(e[2]=c=>n.startTime=c),type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"选择开始时间",style:{"min-width":"180px"}},null,8,["modelValue"])]),_:1},8,["locale"])]),_:1}),r(o,{label:"结束时间:"},{default:s(()=>[r(N,{locale:B(H)},{default:s(()=>[r(w,{modelValue:n.endTime,"onUpdate:modelValue":e[3]||(e[3]=c=>n.endTime=c),type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"选择结束时间",style:{"min-width":"180px"}},null,8,["modelValue"])]),_:1},8,["locale"])]),_:1}),r(o,null,{default:s(()=>[r(F,{type:"primary",onClick:E,style:{"min-width":"70px"}},{default:s(()=>[j("查询")]),_:1})]),_:1}),r(o,null,{default:s(()=>[r(F,{type:"primary",onClick:le,style:{"min-width":"70px"}},{default:s(()=>[j("导出表格")]),_:1})]),_:1})])]),_:1}),r(Q,{class:"moduleCard",height:V.value},{default:s(()=>[me((R(),ge(oe,{data:v.value,height:V.value,"cell-style":te,id:"out-table",border:"","highlight-current-row":"","header-cell-style":ae,onSortChange:W,"header-cell-class-name":X},{default:s(()=>[r(x,{prop:"index",label:"编号",sortable:!1,width:"80px",fixed:""}),r(x,{prop:"name",label:"设施名称",sortable:!0,width:"200px",fixed:""}),r(x,{prop:"cnName",label:"报警类型",sortable:!1,width:"200px",fixed:""}),r(x,{prop:"alarmDate",label:"报警时间",sortable:!0,width:"200px",fixed:""}),r(x,{prop:"alarmMessage",label:"报警信息",sortable:!1,width:"700px",fixed:""}),r(x,{prop:"alarmPlan",label:"报警预案",sortable:!1,fixed:""})]),_:1},8,["data","height"])),[[se,h.value]])]),_:1},8,["height"]),r(ne,{style:{height:"8px"}},{default:s(()=>[r(N,{locale:B(H)},{default:s(()=>[r(re,{"current-page":D.value,"onUpdate:currentPage":e[4]||(e[4]=c=>D.value=c),"page-size":B(g),"onUpdate:pageSize":e[5]||(e[5]=c=>ve(g)?g.value=c:g=c),"page-sizes":[30,40,50,100,200,300],small:!0,disabled:O.value,background:q.value,layout:"total, sizes, prev, pager, next, jumper",total:A.value,onSizeChange:E,onCurrentChange:E,class:"pagination"},null,8,["current-page","page-size","disabled","background","total"])]),_:1},8,["locale"])]),_:1})],64)}}}),De=be(xe,[["__scopeId","data-v-d032a459"]]);export{De as default};
This diff is collapsed.
import{_ as r}from"./index-DC3jhuX2.js";const t={};function e(c,_){return"报警状态"}const n=r(t,[["render",e]]);export{n as default};
import{d as Z,r as u,b as M,s as L,l as $,o as ee,a as te,c as p,z as ae,e as y,f as le,j as o,w as d,i as C,p as re,m as oe,h as E,B as A,F as se,_ as ne}from"./index-cRB9LjbJ.js";const ie={class:"div-header"},ce={class:"div-form-img"},de={class:"div-form-img"},ue={class:"div-form-img"},pe={class:"div-form-img"},fe=Z({__name:"AlarmStatusPage",setup(he){u(1),u(30),u(!1),u(!1);const i=M([]),m=u([]),B=u(500),I=u(),v=u(!0),T=M({}),w=u("GetTransAlarmStatusData");U();function U(){var e=L.getters.getEnterprise();e&&(I.value=e[0].enterpriseId)}const z={multiple:!0,emitPath:!1};function k(){B.value=window.innerHeight-195}function j({column:e}){T[e.property]&&(e.order=T[e.property])}for(var _=new Date,F=_.getFullYear(),b=0,n=[_.getMonth()+1,_.getDate(),_.getHours(),_.getMinutes(),_.getSeconds()],x=0;x<n.length;x++)n[x]>=1&&n[x]<=9&&(n[x]="0"+n[x]);b=n[1]-1,b>=1&&b<=9&&(b="0"+b);var N=sessionStorage.getItem("DeviceQueryStart");N||(N=F+"-"+n[0]+"-"+b+" "+n[2]+":"+n[3]+":"+n[4],sessionStorage.setItem("DeviceQueryStart",N));var V=sessionStorage.getItem("DeviceQueryEnd");V||(V=F+"-"+n[0]+"-"+n[1]+" "+n[2]+":"+n[3]+":"+n[4],sessionStorage.setItem("DeviceQueryEnd",V));const c=u([]);H(),G();function G(){sessionStorage.setItem("DeviceQueryStart",c.startTime),sessionStorage.setItem("DeviceQueryEnd",c.endTime),P()}function R(){w.value==="GetPipeAlarmStatusData"?q():w.value==="GetBoilerAlarmStatusData"?Y():H(),P()}function Y(){v.value=!0,m.length=0,c.value=[],i.length=0;var e=L.getters.getEnterprise();e&&(e.forEach(t=>{t.enterpriseId===I.value&&(t.enterpriseId==="9BCA54BC-8F27-4849-8D7D-50C5099E1949".toLowerCase()?t.serviceCenterList.forEach(a=>{a.supplyList.forEach(s=>{s.boilerList.forEach(r=>{i.push({value:r.boilerId,label:r.description})})})}):t.supplyList.forEach(a=>{a.boilerList.forEach(s=>{i.push({value:s.boilerId,label:s.description})})}))}),i.forEach(t=>{c.value.push(t.value)}))}function q(){v.value=!0,m.length=0,c.value=[];var e=L.getters.getEnterprise();e&&(i.length=0,e.forEach(t=>{t.enterpriseId===I.value&&(t.enterpriseId==="9BCA54BC-8F27-4849-8D7D-50C5099E1949".toLowerCase()?t.serviceCenterList.forEach(a=>{a.supplyList.forEach(s=>{i.push({value:s.pipeInfo.pipeId,label:s.pipeInfo.pipeName})})}):t.supplyList.forEach(a=>{i.push({value:a.pipeInfo.pipeId,label:a.pipeInfo.pipeName})}))})),i.forEach(t=>{c.push(t.value)}),console.log(c.value)}function H(){v.value=!0,m.length=0,i.length=0,c.length=0;var e=L.getters.getEnterprise();e&&(console.log(e),e.forEach(t=>{t.enterpriseId===I.value&&(t.enterpriseId==="9BCA54BC-8F27-4849-8D7D-50C5099E1949".toLowerCase()?t.serviceCenterList.forEach(a=>{let s=[];a.supplyList.forEach(r=>{let h=[];r.transferList.forEach(D=>{h.push({value:D.unitId,label:D.unitName})}),s.push({children:h,label:r.supplyName})}),i.push({children:s,label:a.serviceCenterName})}):t.supplyList.forEach(a=>{let s=[];a.transferList.forEach(r=>{s.push({value:r.unitId,label:r.unitName})}),i.push({children:s,label:a.supplyName})}))})),c.value.push(i[0].children[0].children[0].value)}function P(){v.value=!0,$.post("/api/alarm/"+w.value,c.value).then(e=>{console.log(e.data),e.data!==null&&(m.value=e.data),e.data===null&&(m.value=null),v.value=!1})}function J({row:e,column:t,rowIndex:a,columnIndex:s}){let r={};return r["padding-left"]="px",r["padding-right"]="0px",r.borderColor="#97d5fd",r.padding="5px",r}function K({row:e,column:t,rowIndex:a,columnIndex:s}){let r;var h="d9f1ff";r={"background-color":"#"+h,"padding-left":"0px","padding-right":"0px",borderColor:"#97d5fd",color:"#000","text-align":"center","vertical-align":"top"};var h="d9f1ff";return r={"background-color":"#"+h,"padding-left":"0px","padding-right":"0px",borderColor:"#97d5fd",color:"#000","text-align":"center","vertical-align":"top"},r}function O(){console.log(c.value)}function f(e,t){var a=null;switch(e.row[t]){case!0:a=new URL("/imgs/status/status_alarm.png",import.meta.url).href;break}return a}return ee(()=>{k(),window.addEventListener("resize",k)}),te(()=>{window.removeEventListener("resize",k)}),(e,t)=>{const a=p("el-option"),s=p("el-select"),r=p("el-form-item"),h=p("el-cascader"),D=p("el-button"),Q=p("el-card"),g=p("el-table-column"),S=p("el-image"),W=p("el-table"),X=ae("loading");return y(),le(se,null,[o(Q,{class:"card-contianer"},{default:d(()=>[C("div",ie,[o(r,{label:"查询类型:"},{default:d(()=>[o(s,{modelValue:w.value,"onUpdate:modelValue":t[0]||(t[0]=l=>w.value=l),placeholder:"请选择",style:{width:"150px"},onChange:R},{default:d(()=>[o(a,{label:"换热机组",value:"GetTransAlarmStatusData"}),o(a,{label:"锅炉",value:"GetBoilerAlarmStatusData"}),o(a,{label:"总管",value:"GetPipeAlarmStatusData"})]),_:1},8,["modelValue"])]),_:1}),o(r,{label:"设备:"},{default:d(()=>[o(h,{options:i,modelValue:c.value,"onUpdate:modelValue":t[1]||(t[1]=l=>c.value=l),props:z,"collapse-tags":"",clearable:"","show-all-levels":!1,placeholder:"请选择",style:{"min-width":"210px"},onChange:O},null,8,["options","modelValue"])]),_:1}),o(r,null,{default:d(()=>[o(D,{type:"primary",onClick:G,style:{"min-width":"70px"}},{default:d(()=>[re("查询")]),_:1})]),_:1})])]),_:1}),o(Q,{class:"moduleCard",height:B.value},{default:d(()=>[oe((y(),E(W,{data:m.value,"row-class-name":e.rowClassName,height:B.value,"cell-style":J,id:"out-table",border:"","highlight-current-row":"","header-cell-style":K,"header-cell-class-name":j},{default:d(()=>[o(g,{prop:"index",label:"编号",sortable:!1,width:"100px",fixed:""}),o(g,{prop:"name",label:"设施名称",sortable:!1,width:"250px",fixed:""}),o(g,{prop:"cnName",label:"报警类型",sortable:!1,fixed:""}),o(g,{prop:"gatherTime",label:"报警时间",sortable:!1,width:"200px",fixed:""}),o(g,{prop:"topMost",label:"上上限",sortable:!1,width:"200px",fixed:""},{default:d(l=>[C("div",ce,[f(l,l.column.property)?(y(),E(S,{key:0,class:"img-center",style:{width:"20px",height:"20px"},src:f(l,l.column.property),fit:"cover"},null,8,["src"])):A("",!0)])]),_:1}),o(g,{prop:"upper",label:"上限",sortable:!1,width:"200px",fixed:""},{default:d(l=>[C("div",de,[f(l,l.column.property)?(y(),E(S,{key:0,class:"img-center",style:{width:"20px",height:"20px"},src:f(l,l.column.property),fit:"cover"},null,8,["src"])):A("",!0)])]),_:1}),o(g,{prop:"lower",label:"下限",sortable:!1,width:"200px",fixed:""},{default:d(l=>[C("div",ue,[f(l,l.column.property)?(y(),E(S,{key:0,class:"img-center",style:{width:"20px",height:"20px"},src:f(l,l.column.property),fit:"cover"},null,8,["src"])):A("",!0)])]),_:1}),o(g,{prop:"downMost",label:"下下限",sortable:!1,width:"200px",fixed:""},{default:d(l=>[C("div",pe,[f(l,l.column.property)?(y(),E(S,{key:0,class:"img-center",style:{width:"20px",height:"20px"},src:f(l,l.column.property),fit:"cover"},null,8,["src"])):A("",!0)])]),_:1})]),_:1},8,["data","row-class-name","height"])),[[X,v.value]])]),_:1},8,["height"])],64)}}}),me=ne(fe,[["__scopeId","data-v-35c57a87"]]);export{me as default};
.moduleCard[data-v-35c57a87]{width:auto;overflow:auto;padding:0}.moduleCard[data-v-35c57a87] .el-card__body{padding:0}.pagination[data-v-35c57a87]{padding:4px;margin-left:20px;height:30px;vertical-align:middle}[data-v-35c57a87] .el-table__body tr:hover>td{background:linear-gradient(to top,#00c6ff,#fff)!important}[data-v-35c57a87] .el-table__body tr.current-row>td{background-color:#92cbf1!important}.card-contianer[data-v-35c57a87]{width:auto;height:70px}.card-contianer .div-header[data-v-35c57a87]{width:100%;display:flex;margin:20px}.el-form-item[data-v-35c57a87]{margin-top:-20px;margin-right:30px}.el-tag--mini[data-v-35c57a87]{height:21px!important}.el-cascader .el-input .el-input__inner[data-v-35c57a87]:focus,.el-cascader .el-input.is-focus .el-input__inner[data-v-35c57a87]{height:33px}.el-cascader__tags[data-v-35c57a87]{display:inline-flex;margin-right:10px;flex-wrap:nowrap}[data-v-35c57a87] .div-form-img{display:flex;align-items:center;justify-content:center}
import{_ as r}from"./index-DC3jhuX2.js";const e={};function t(c,o){return" 锅炉全景工艺图 "}const n=r(e,[["render",t]]);export{n as default};
import{_ as r}from"./index-cRB9LjbJ.js";const e={};function t(c,o){return" 锅炉全景工艺图 "}const n=r(e,[["render",t]]);export{n as default};
import{_ as e}from"./index-DC3jhuX2.js";const r={};function c(n,t){return"面积"}const o=e(r,[["render",c]]);export{o as default};
import{_ as e}from"./index-cRB9LjbJ.js";const r={};function c(n,t){return"面积"}const o=e(r,[["render",c]]);export{o as default};
import{_ as o}from"./BoilerArt.vue_vue_type_style_index_1_lang-9IMjKHAo.js";import"./Pumpx-84eUMtg2.js";import"./index-cRB9LjbJ.js";import"./utils-D2jWEAG0.js";export{o as default};
import{_ as o}from"./BoilerArt.vue_vue_type_style_index_1_lang-CIyNZ-Lj.js";import"./Pumpx-84eUMtg2.js";import"./index-DC3jhuX2.js";import"./utils-D2jWEAG0.js";export{o as default};
import{_ as E}from"./BoilerArt.vue_vue_type_style_index_1_lang-CIyNZ-Lj.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-DC3jhuX2.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-9IMjKHAo.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-cRB9LjbJ.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-DC3jhuX2.js";const e={};function o(t,c){return" 锅炉远程控制 "}const _=r(e,[["render",o]]);export{_ as default};
import{_ as r}from"./index-cRB9LjbJ.js";const e={};function o(t,c){return" 锅炉远程控制 "}const _=r(e,[["render",o]]);export{_ as default};
import{_ as e}from"./index-DC3jhuX2.js";const r={};function t(a,c){return" 能耗分析 "}const s=e(r,[["render",t]]);export{s as default};
import{_ as e}from"./index-cRB9LjbJ.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-DC3jhuX2.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-cRB9LjbJ.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};
table[data-v-3d60c606],th[data-v-3d60c606],td[data-v-3d60c606]{margin:0;padding:0}.contentBlock[data-v-3d60c606]{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#fff}.el-form--inline .el-form-item[data-v-3d60c606]{margin-right:10px}.el-form-item[data-v-3d60c606]{margin:5px 5px 10px!important}.echartsLayer[data-v-3d60c606]{width:100%;margin:2% auto 0}.titBlock div.leftLine[data-v-3d60c606]{border-left:#3e79ed solid 4px;padding:0 0 0 10px;letter-spacing:2px;font-size:130%}.titBlock td img[data-v-3d60c606]{min-height:126px}.titBlock td.img1[data-v-3d60c606]{position:relative;min-width:300px;width:21%;padding-right:1%}.titBlock td.img2[data-v-3d60c606]{position:relative;min-width:233px;width:16%;padding-right:1.4%}.mainBlock[data-v-3d60c606]{width:100%;height:66%;overflow:auto}.mainBlockInn[data-v-3d60c606]{display:flex;justify-content:space-around;flex-wrap:wrap;margin-bottom:50px}.mainBlockInn .cardList[data-v-3d60c606]{width:24%;margin:1% 0 0;padding:0}.titBlock td.img1 .tit[data-v-3d60c606]{position:absolute;top:10%;right:20%;text-align:center;letter-spacing:5px;color:#fff;font-size:150%;font-weight:bolder}.titBlock td.img1 .left span[data-v-3d60c606],.titBlock td.img1 .right span[data-v-3d60c606]{font-size:160%;letter-spacing:2px;font-weight:bolder}.titBlock td.img1 .sub[data-v-3d60c606]{letter-spacing:5px;font-weight:bolder}.titBlock td.img1 .left[data-v-3d60c606]{position:absolute;bottom:20%;left:20%;color:#fff;font-size:90%;font-weight:bolder;text-align:center}.titBlock td.img1 .right[data-v-3d60c606]{position:absolute;bottom:20%;right:12%;color:#fff;font-size:90%;font-weight:bolder;text-align:center}.titBlock td.img2 .tit[data-v-3d60c606]{position:absolute;top:8%;right:12%;text-align:center;letter-spacing:5px;color:#fff;font-size:150%;font-weight:bolder}.titBlock td.img2 .left span[data-v-3d60c606],.titBlock td.img2 .right span[data-v-3d60c606]{font-size:140%;font-weight:bolder}.titBlock td.img2 .sub[data-v-3d60c606]{letter-spacing:5px;font-weight:bolder}.titBlock td.img2 .left[data-v-3d60c606]{position:absolute;bottom:20%;left:6%;color:#fff;font-size:90%;font-weight:bolder;text-align:center}.titBlock td.img2 .right[data-v-3d60c606]{position:absolute;bottom:20%;right:13%;color:#fff;font-size:90%;font-weight:bolder;text-align:center}.cardListTit[data-v-3d60c606]{position:absolute;top:5px;left:35px;color:#fff;letter-spacing:3px;font-weight:bolder}.downExl[data-v-3d60c606]{position:absolute;top:5px;right:10px;color:#3e79ed;font-weight:bolder;cursor:pointer}.cardTable[data-v-3d60c606]{border:none;border-spacing:0;font-size:90%;background-color:#d8f6fe;border-radius:10px}.cardTable th[data-v-3d60c606]{background-color:#56dcff;text-align:center;padding:3px;color:#fff}.cardTable td[data-v-3d60c606]{text-align:center;padding:3px;color:#666}
table[data-v-317417dd],th[data-v-317417dd],td[data-v-317417dd]{margin:0;padding:0}.contentBlock[data-v-317417dd]{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#fff}.el-form--inline .el-form-item[data-v-317417dd]{margin-right:10px}.el-form-item[data-v-317417dd]{margin:5px 5px 10px!important}.echartsLayer[data-v-317417dd]{width:100%;margin:2% auto 0}.titBlock div.leftLine[data-v-317417dd]{border-left:#3e79ed solid 4px;padding:0 0 0 10px;letter-spacing:2px;font-size:130%}.titBlock td img[data-v-317417dd]{min-height:126px}.titBlock td.img1[data-v-317417dd]{position:relative;min-width:300px;width:21%;padding-right:1%}.titBlock td.img2[data-v-317417dd]{position:relative;min-width:233px;width:16%;padding-right:1.4%}.mainBlock[data-v-317417dd]{width:100%;height:66%;overflow:auto}.mainBlockInn[data-v-317417dd]{display:flex;justify-content:space-around;flex-wrap:wrap;margin-bottom:3vh}.mainBlockInn .cardList[data-v-317417dd]{width:24%;margin:1% 0 0;padding:0}.titBlock td.img1 .tit[data-v-317417dd]{position:absolute;top:10%;right:20%;text-align:center;letter-spacing:5px;color:#fff;font-size:150%;font-weight:bolder}.titBlock td.img1 .left span[data-v-317417dd],.titBlock td.img1 .right span[data-v-317417dd]{font-size:160%;letter-spacing:2px;font-weight:bolder}.titBlock td.img1 .sub[data-v-317417dd]{letter-spacing:5px;font-weight:bolder}.titBlock td.img1 .left[data-v-317417dd]{position:absolute;bottom:20%;left:20%;color:#fff;font-size:90%;font-weight:bolder;text-align:center}.titBlock td.img1 .right[data-v-317417dd]{position:absolute;bottom:20%;right:12%;color:#fff;font-size:90%;font-weight:bolder;text-align:center}.titBlock td.img2 .tit[data-v-317417dd]{position:absolute;top:8%;right:12%;text-align:center;letter-spacing:5px;color:#fff;font-size:150%;font-weight:bolder}.titBlock td.img2 .left span[data-v-317417dd],.titBlock td.img2 .right span[data-v-317417dd]{font-size:140%;font-weight:bolder}.titBlock td.img2 .sub[data-v-317417dd]{letter-spacing:5px;font-weight:bolder}.titBlock td.img2 .left[data-v-317417dd]{position:absolute;bottom:20%;left:6%;color:#fff;font-size:90%;font-weight:bolder;text-align:center}.titBlock td.img2 .right[data-v-317417dd]{position:absolute;bottom:20%;right:13%;color:#fff;font-size:90%;font-weight:bolder;text-align:center}.cardListTit[data-v-317417dd]{position:absolute;top:5px;left:35px;color:#fff;letter-spacing:3px;font-weight:bolder}.cardTable[data-v-317417dd]{border:none;border-spacing:0;font-size:90%;background-color:#d8f6fe;border-radius:10px}.cardTable th[data-v-317417dd]{background-color:#56dcff;text-align:center;padding:3px;color:#fff}.cardTable td[data-v-317417dd]{text-align:center;padding:3px;color:#666}
This diff is collapsed.
This diff is collapsed.
.moduleCard[data-v-0bdec403]{width:auto;overflow:auto;padding:0}.moduleCard[data-v-0bdec403] .el-card__body{padding:0}.pagination[data-v-0bdec403]{padding:4px;margin-left:20px;height:30px;vertical-align:middle}[data-v-0bdec403] .el-table__body tr:hover>td{background:linear-gradient(to top,#00c6ff,#fff)!important}[data-v-0bdec403] .el-table__body tr.current-row>td{background-color:#92cbf1!important}.card-contianer[data-v-0bdec403]{width:auto;height:70px}.card-contianer .div-header[data-v-0bdec403]{width:100%;display:flex;margin:20px}.el-form-item[data-v-0bdec403]{margin-top:-20px;margin-right:30px}.el-tag--mini[data-v-0bdec403]{height:21px!important}.el-cascader .el-input .el-input__inner[data-v-0bdec403]:focus,.el-cascader .el-input.is-focus .el-input__inner[data-v-0bdec403]{height:33px}.el-cascader__tags[data-v-0bdec403]{display:inline-flex;margin-right:10px;flex-wrap:nowrap}
import{_ as G,r as v,b as u,s as k,o as O,a as j,l as q,G as J,c as m,e as W,f as K,j as e,w as o,m as R,v as X,F as Z,i as A,u as Y,p as H,q as $,x as ee}from"./index-DC3jhuX2.js";import{z as N}from"./zh-cn-CHEiFvXs.js";const te=b=>($("data-v-0bdec403"),b=b(),ee(),b),ae={class:"div-header"},le=te(()=>A("div",{id:"h-chart",style:{width:"99%",background:"white",flex:"1","padding-top":"15px",height:"670px"}},null,-1)),oe={__name:"EnergyViewPage",setup(b){v([]);const E=v(!1),w=u([]),C=v(1e3),M=k.getters.getEnterpriseId(),Q=v(!0);u([]),u([]);const U={multiple:!0,emitPath:!1};v("换热站耗热量环比(GJ)");const z=u([]),B=v([]);u([]),O(()=>{T(),window.addEventListener("resize",T)}),j(()=>{window.removeEventListener("resize",T)});function T(){C.value=window.innerHeight-232,console.log(C.value)}for(var g=new Date,S=g.getFullYear(),y=0,s=[g.getMonth()+1,g.getDate(),g.getHours(),g.getMinutes(),g.getSeconds()],_=0;_<s.length;_++)s[_]>=1&&s[_]<=9&&(s[_]="0"+s[_]);y=s[1]-1,y>=1&&y<=9&&(y="0"+y);var L=sessionStorage.getItem("DeviceQueryStart");L||(L=S+"-"+s[0]+"-"+y+" "+s[2]+":"+s[3]+":"+s[4],sessionStorage.setItem("DeviceQueryStart",L));var V=sessionStorage.getItem("DeviceQueryEnd");V||(V=S+"-"+s[0]+"-"+s[1]+" "+s[2]+":"+s[3]+":"+s[4],sessionStorage.setItem("DeviceQueryEnd",V));const l=u({supplyIdList:[],energyType:3,idList:[],startTime:L,endTime:V,interval:0});F(),D();function D(){Q.value=!0,sessionStorage.setItem("DeviceQueryStart",l.startTime),sessionStorage.setItem("DeviceQueryEnd",l.endTime),E.value===!1&&P()}function F(){var c=k.getters.getEnterprise();c&&c.forEach(t=>{t.enterpriseId.toLowerCase()===M.toLowerCase()&&(t.enterpriseId==="9BCA54BC-8F27-4849-8D7D-50C5099E1949".toLowerCase()?t.serviceCenterList.forEach(p=>{let a=[];p.supplyList.forEach(i=>{let h=[];i.transferList.forEach(f=>{h.push({value:f.unitId,label:f.unitName})}),a.push({children:h,label:i.supplyName})}),w.push({children:a,label:p.serviceCenterName})}):t.supplyList.forEach(p=>{let a=[];p.transferList.forEach(i=>{a.push({value:i.unitId,label:i.unitName})}),w.push({children:a,label:p.supplyName})}))}),l.idList.push(w[0].children[0].children[0].value)}function P(){try{const c=u([]),t=u([]),p=u([]),a=u([]),i=v([]),h=v();let f="";console.log(l),q.post("/api/analysis/external/QOQ",l).then(d=>{console.log(d),d.data.forEach(r=>{z.push(r.transferName),B.value.push(r.gatherTime),c.push(r.record),t.push(r.temperature),a.push(r.gatherYear+"-"+r.gatherMon+"-"+r.gatherDay+" "+r.gatherHour)}),f=l.idList[0],w.forEach(r=>{r.children.forEach(I=>{I.children.forEach(n=>{n.value===f&&(h.value=n.label)})})}),i.value={title:{text:h.value},tooltip:{trigger:"axis",axisPointer:{type:"cross"}},legend:{data:p},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},toolbox:{feature:{dataView:{show:!0,readOnly:!1},saveAsImage:{show:!0}}},legend:{data:["热单耗","温度"]},xAxis:{type:"category",axisTick:{alignWithLabel:!0},boundaryGap:!1,data:a},yAxis:[{type:"value",name:"热单耗",position:"left",alignTicks:!0,axisLine:{show:!0,lineStyle:{color:"#5470C6"}},axisLabel:{formatter:"{value} ml"}},{type:"value",name:"温度",position:"right",alignTicks:!0,axisLine:{show:!0,lineStyle:{color:"#91CC75"}},axisLabel:{formatter:"{value} ml"}}],series:[{name:"热单耗",type:"line",data:c},{name:"温度",type:"line",yAxisIndex:1,data:t}]},console.log(i.value);var x=J(document.getElementById("h-chart"));x.setOption(i.value),window.addEventListener("resize",()=>{x.resize()})})}catch(c){console.log(c.message)}}return(c,t)=>{const p=m("el-switch"),a=m("el-form-item"),i=m("el-cascader"),h=m("el-date-picker"),f=m("el-config-provider"),d=m("el-option"),x=m("el-select"),r=m("el-button"),I=m("el-card");return W(),K(Z,null,[e(I,{class:"card-contianer"},{default:o(()=>[A("div",ae,[e(a,null,{default:o(()=>[e(p,{modelValue:E.value,"onUpdate:modelValue":t[0]||(t[0]=n=>E.value=n),"active-text":"表格","inactive-text":"曲线图",style:{"--el-switch-on-color":"#13ce66","--el-switch-off-color":"#ff4949","min-width":"130px"},onChange:D},null,8,["modelValue"])]),_:1}),e(a,{label:"换热机组:"},{default:o(()=>[e(i,{options:w,modelValue:l.idList,"onUpdate:modelValue":t[1]||(t[1]=n=>l.idList=n),props:U,"collapse-tags":"",clearable:"","show-all-levels":!1,placeholder:"请选择",style:{width:"220px"}},null,8,["options","modelValue"])]),_:1}),e(a,{label:"开始时间:"},{default:o(()=>[e(f,{locale:Y(N)},{default:o(()=>[e(h,{modelValue:l.startTime,"onUpdate:modelValue":t[2]||(t[2]=n=>l.startTime=n),type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"选择开始时间",style:{"min-width":"180px"}},null,8,["modelValue"])]),_:1},8,["locale"])]),_:1}),e(a,{label:"结束时间:"},{default:o(()=>[e(f,{locale:Y(N)},{default:o(()=>[e(h,{modelValue:l.endTime,"onUpdate:modelValue":t[3]||(t[3]=n=>l.endTime=n),type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"选择结束时间",style:{"min-width":"180px"}},null,8,["modelValue"])]),_:1},8,["locale"])]),_:1}),e(a,{label:"时间类型:"},{default:o(()=>[e(x,{modelValue:l.interval,"onUpdate:modelValue":t[4]||(t[4]=n=>l.interval=n),placeholder:"小时",style:{"min-width":"80px"},clearable:""},{default:o(()=>[e(d,{label:"小时",value:0}),e(d,{label:"日",value:1}),e(d,{label:"周",value:2}),e(d,{label:"月",value:3}),e(d,{label:"年",value:4})]),_:1},8,["modelValue"])]),_:1}),e(a,{label:"能耗类型:"},{default:o(()=>[e(x,{modelValue:l.energyType,"onUpdate:modelValue":t[5]||(t[5]=n=>l.energyType=n),placeholder:"热",style:{"min-width":"80px"},clearable:""},{default:o(()=>[e(d,{label:"热",value:3}),e(d,{label:"水",value:2}),e(d,{label:"电",value:4})]),_:1},8,["modelValue"])]),_:1}),e(a,null,{default:o(()=>[e(r,{type:"primary",onClick:D,style:{"min-width":"70px"}},{default:o(()=>[H("查询")]),_:1})]),_:1}),e(a,null,{default:o(()=>[e(r,{type:"primary",onClick:c.exportExcel,style:{"min-width":"70px"}},{default:o(()=>[H("导出")]),_:1},8,["onClick"])]),_:1})])]),_:1}),R(e(I,{height:C.value},{default:o(()=>[le]),_:1},8,["height"]),[[X,E.value===!1]])],64)}}},re=G(oe,[["__scopeId","data-v-0bdec403"]]);export{re as default};
import{_ as e}from"./index-cRB9LjbJ.js";const r={};function n(c,t){return" 企业能耗 "}const s=e(r,[["render",n]]);export{s as default};
import{_ as e}from"./index-DC3jhuX2.js";const r={};function c(t,_){return" 明日预测 "}const o=e(r,[["render",c]]);export{o as default};
import{_ as Y,r as f,b as H,o as M,a as q,c as y,e as k,f as x,i as l,j as s,w as r,E as b,u as C,p as c,t as e,F as B,g as E,q as I,x as S}from"./index-cRB9LjbJ.js";import{z as F}from"./zh-cn-CHEiFvXs.js";import"./xlsx.min-C0tk-KRW.js";import{a as L,b as N}from"./report-Czou9bLp.js";const d=g=>(I("data-v-979bf230"),g=g(),S(),g),U={class:"contentBlock"},z={class:"contentBlockInn"},Q={cellpadding:"0",cellspacing:"1",style:{"background-color":"#99bbe8"}},j=d(()=>l("th",{width:"25%"},[l("span",null,"记录时间")],-1)),A={style:{"text-align":"left","background-color":"#ffffff"}},G={width:"25%"},J=d(()=>l("th",null,[l("span",null,"打印时间")],-1)),K={style:{"text-align":"left","background-color":"#ffffff"}},O={cellpadding:"0",cellspacing:"1",style:{"background-color":"#99bbe8","margin-top":"5px"}},R=d(()=>l("th",{style:{width:"25%"}},"天气状况",-1)),W={style:{width:"25%","background-color":"#a6ffa6"}},X=d(()=>l("th",{style:{width:"25%"}},"风力",-1)),Z={style:{width:"25%","background-color":"#a6ffa6"}},$={cellpadding:"0",cellspacing:"1",style:{"margin-top":"5px","background-color":"#99bbe8"}},ll=d(()=>l("tr",null,[l("th",{rowspan:"8"},[c("00:00-24:00"),l("br"),c("数据分析")]),l("th",null,"白天"),l("th",null,"01:00"),l("th",null,"02:00"),l("th",null,"03:00"),l("th",null,"04:00"),l("th",null,"05:00"),l("th",null,"06:00"),l("th",null,"07:00"),l("th",null,"08:00"),l("th",null,"09:00"),l("th",null,"10:00"),l("th",null,"11:00"),l("th",null,"12:00"),l("th",null,"制表编号")],-1)),el={class:"gc"},tl=d(()=>l("td",null,"室外预测值(℃)",-1)),al=d(()=>l("td",null,"-",-1)),ul={class:"gc"},nl=d(()=>l("td",null,"室外体感预测值(℃)",-1)),ol=d(()=>l("td",null,"-",-1)),dl=d(()=>l("tr",null,[l("th",null,"夜间"),l("th",null,"13:00"),l("th",null,"14:00"),l("th",null,"15:00"),l("th",null,"16:00"),l("th",null,"17:00"),l("th",null,"18:00"),l("th",null,"19:00"),l("th",null,"20:00"),l("th",null,"21:00"),l("th",null,"22:00"),l("th",null,"23:00"),l("th",null,"24:00"),l("th",null,[l("div",null,"预测室外"),l("div",null,"平均温度")])],-1)),pl={class:"gc"},sl=d(()=>l("td",null,"室外预测值(℃)",-1)),rl={style:{"background-color":"#ffffff"}},ml={class:"gc"},il=d(()=>l("td",null,"室外体感预测值(℃)",-1)),cl={style:{"background-color":"#ffffff"}},vl={cellpadding:"0",cellspacing:"1",style:{"margin-top":"5px","background-color":"#99bbe8"}},hl=d(()=>l("tr",null,[l("th",{colspan:"8"},"后一天热量(万吉焦)")],-1)),_l=d(()=>l("tr",null,[l("th",null,"地点"),l("th",null,"00:00-04:00"),l("th",null,"04:00-08:00"),l("th",null,"08:00-12:00"),l("th",null,"12:00-16:00"),l("th",null,"16:00-20:00"),l("th",null,"20:00-24:00"),l("th",null,"小计")],-1)),fl=d(()=>l("th",null,"时间",-1)),gl={colspan:"5"},yl=d(()=>l("table",{cellpadding:"0",cellspacing:"0",style:{"margin-top":"5px","background-color":"#99bbe8"},class:"botList"},[l("tr",null,[l("td",null,"制表:"),l("td",null,"确认:"),l("td",null,"领导:")])],-1)),bl={class:"btngrounp"},Tl={__name:"ForecastPage",setup(g){const t=f([]),_=f([]),a=f([]),T=f([]),v=f([]),m=H({printTime:null,queryTime:"2024-1-1 09:00:00"});function D(){var o=new Date,u=o.getFullYear(),n=[o.getMonth()+1,o.getDate(),o.getHours(),o.getMinutes(),o.getSeconds()],h=parseInt(n[2]-1);h<10&&(h="0"+h),n[0]<10&&(n[0]="0"+n[0]),n[1]<10&&(n[1]="0"+n[1]),n[2]<10&&(n[2]="0"+n[2]),n[3]<10&&(n[3]="0"+n[3]),n[4]<10&&(n[4]="0"+n[4]);let i=u+"-"+n[0]+"-"+n[1]+" "+h+":00:00";m.queryTime=i}function w(){if(m.queryTime==null)return b.error("请选择记录时间"),!1;let o={QueryTime:m.queryTime};L(o).then(u=>{u.success===!0?(t.value=u.data.temp,a.value=u.data.predTemp,_.value=u.data.weather,T.value=u.data.list,v.value=u.data.time):b.error(u.message)})}function P(){if(m.printTime==null)return b.error("请选择打印时间"),!1;let o={QueryTime:m.printTime};N(o).then(u=>{u.success===!0?(t.value=u.data.temp,a.value=u.data.predTemp,_.value=u.data.weather,T.value=u.data.list,v.value=u.data.time):b.error(u.message)})}return M(()=>{D(),w()}),q(()=>{}),(o,u)=>{const n=y("el-date-picker"),h=y("el-config-provider"),i=y("el-button"),V=y("el-card");return k(),x("div",U,[l("div",z,[s(V,{class:"card-contianer"},{default:r(()=>[l("table",Q,[l("tr",null,[j,l("th",A,[s(h,{locale:C(F)},{default:r(()=>[s(n,{type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"选择查询时间",style:{width:"180px"},modelValue:m.queryTime,"onUpdate:modelValue":u[0]||(u[0]=p=>m.queryTime=p)},null,8,["modelValue"])]),_:1},8,["locale"])]),l("th",G,[s(i,{type:"primary",style:{"min-width":"70px"},onClick:w},{default:r(()=>[c("历史查询")]),_:1})])]),l("tr",null,[J,l("th",K,[s(h,{locale:C(F)},{default:r(()=>[s(n,{type:"date","value-format":"YYYY-MM-DD",placeholder:"选择查询时间",style:{width:"180px"},modelValue:m.printTime,"onUpdate:modelValue":u[1]||(u[1]=p=>m.printTime=p)},null,8,["modelValue"])]),_:1},8,["locale"])]),l("th",null,[s(i,{type:"primary",style:{"min-width":"70px"},onClick:P},{default:r(()=>[c("打印查询")]),_:1})])])]),l("table",O,[l("tr",null,[R,l("th",W,e(_.value.weatherCondition?_.value.weatherCondition:"-"),1),X,l("th",Z,e(_.value.wind?_.value.wind:"-"),1)])]),l("table",$,[ll,l("tr",el,[tl,l("td",null,e(t.value.temp1?t.value.temp1:"-"),1),l("td",null,e(t.value.temp2?t.value.temp2:"-"),1),l("td",null,e(t.value.temp3?t.value.temp3:"-"),1),l("td",null,e(t.value.temp4?t.value.temp4:"-"),1),l("td",null,e(t.value.temp5?t.value.temp5:"-"),1),l("td",null,e(t.value.temp6?t.value.temp6:"-"),1),l("td",null,e(t.value.temp7?t.value.temp7:"-"),1),l("td",null,e(t.value.temp8?t.value.temp8:"-"),1),l("td",null,e(t.value.temp9?t.value.temp9:"-"),1),l("td",null,e(t.value.temp10?t.value.temp10:"-"),1),l("td",null,e(t.value.temp11?t.value.temp11:"-"),1),l("td",null,e(t.value.temp12?t.value.temp12:"-"),1),al]),l("tr",ul,[nl,l("td",null,e(a.value.temp1?a.value.temp1:"-"),1),l("td",null,e(a.value.temp2?a.value.temp2:"-"),1),l("td",null,e(a.value.temp3?a.value.temp3:"-"),1),l("td",null,e(a.value.temp4?a.value.temp4:"-"),1),l("td",null,e(a.value.temp5?a.value.temp5:"-"),1),l("td",null,e(a.value.temp6?a.value.temp6:"-"),1),l("td",null,e(a.value.temp7?a.value.temp7:"-"),1),l("td",null,e(a.value.temp8?a.value.temp8:"-"),1),l("td",null,e(a.value.temp9?a.value.temp9:"-"),1),l("td",null,e(a.value.temp10?a.value.temp10:"-"),1),l("td",null,e(a.value.temp11?a.value.temp11:"-"),1),l("td",null,e(a.value.temp12?a.value.temp12:"-"),1),ol]),dl,l("tr",pl,[sl,l("td",null,e(t.value.temp13?t.value.temp13:"-"),1),l("td",null,e(t.value.temp14?t.value.temp14:"-"),1),l("td",null,e(t.value.temp15?t.value.temp15:"-"),1),l("td",null,e(t.value.temp16?t.value.temp16:"-"),1),l("td",null,e(t.value.temp17?t.value.temp17:"-"),1),l("td",null,e(t.value.temp18?t.value.temp18:"-"),1),l("td",null,e(t.value.temp19?t.value.temp19:"-"),1),l("td",null,e(t.value.temp20?t.value.temp20:"-"),1),l("td",null,e(t.value.temp21?t.value.temp21:"-"),1),l("td",null,e(t.value.temp22?t.value.temp22:"-"),1),l("td",null,e(t.value.temp23?t.value.temp23:"-"),1),l("td",null,e(t.value.temp24?t.value.temp24:"-"),1),l("td",rl,e(t.value.avgTemp?t.value.avgTemp:"-"),1)]),l("tr",ml,[il,l("td",null,e(a.value.temp13?a.value.temp13:"-"),1),l("td",null,e(a.value.temp14?a.value.temp14:"-"),1),l("td",null,e(a.value.temp15?a.value.temp15:"-"),1),l("td",null,e(a.value.temp16?a.value.temp16:"-"),1),l("td",null,e(a.value.temp17?a.value.temp17:"-"),1),l("td",null,e(a.value.temp18?a.value.temp18:"-"),1),l("td",null,e(a.value.temp19?a.value.temp19:"-"),1),l("td",null,e(a.value.temp20?a.value.temp20:"-"),1),l("td",null,e(a.value.temp21?a.value.temp21:"-"),1),l("td",null,e(a.value.temp22?a.value.temp22:"-"),1),l("td",null,e(a.value.temp23?a.value.temp23:"-"),1),l("td",null,e(a.value.temp24?a.value.temp24:"-"),1),l("td",cl,e(a.value.avgTemp?a.value.avgTemp:"-"),1)])]),l("table",vl,[hl,_l,(k(!0),x(B,null,E(T.value,p=>(k(),x("tr",{key:p},[l("th",null,e(p.name),1),l("td",null,e(p.part1),1),l("td",null,e(p.part2),1),l("td",null,e(p.part3),1),l("td",null,e(p.part4),1),l("td",null,e(p.part5),1),l("td",null,e(p.part6),1),l("td",null,e(p.total),1)]))),128)),l("tr",null,[fl,l("td",gl,e(v.value.createBillTime?v.value.createBillTime:"-"),1),l("td",null,e(v.value.datePrediction?v.value.datePrediction:"-"),1),l("td",null,e(v.value.degreeDatePrediction?v.value.degreeDatePrediction:"-"),1)])]),yl,l("div",null,[l("div",bl,[s(i,{type:"primary",onClick:o.sendClick,style:{margin:"15px 0 0 0"}},{default:r(()=>[c("打印")]),_:1},8,["onClick"]),s(i,{type:"primary",onClick:o.exportTableToExcel,style:{margin:"15px 0 0 10px"}},{default:r(()=>[c("打印预览")]),_:1},8,["onClick"]),s(i,{type:"primary",onClick:o.exportTableToExcel,style:{margin:"15px 0 0 10px"}},{default:r(()=>[c("导出")]),_:1},8,["onClick"]),s(i,{type:"primary",onClick:o.exportTableToExcel,style:{margin:"15px 0 0 10px"}},{default:r(()=>[c("导出PDF")]),_:1},8,["onClick"]),s(i,{type:"primary",onClick:o.exportTableToExcel,style:{margin:"15px 0 0 10px"}},{default:r(()=>[c("实时分析")]),_:1},8,["onClick"])])])]),_:1})])])}}},Fl=Y(Tl,[["__scopeId","data-v-979bf230"]]);export{Fl as default};
.contentBlock[data-v-979bf230]{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#fff;overflow:auto}table[data-v-979bf230],tr[data-v-979bf230],th[data-v-979bf230],td[data-v-979bf230]{font-size:14px;margin:0;padding:0}table[data-v-979bf230]{width:100%}table th[data-v-979bf230]{background-color:#dfe8f6;text-align:center;padding:5px 10px}table td[data-v-979bf230]{text-align:center;background-color:#fff;padding:5px 10px}.btngrounp[data-v-979bf230]{width:500px;margin:0 auto;text-align:center}.gc td[data-v-979bf230]{background-color:#a6ffa6}.gc td[data-v-979bf230]:first-child{background-color:#fff}table.botList td[data-v-979bf230]{width:33%;text-align:left;font-weight:bolder}
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-DC3jhuX2.js";const C=s=>(Y("data-v-917395da"),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-917395da"]]);export{I as default};
This diff is collapsed.
.contentBlock[data-v-b818e89e]{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#fff;overflow:auto}table[data-v-b818e89e],tr[data-v-b818e89e],th[data-v-b818e89e],td[data-v-b818e89e]{font-size:14px;margin:0;padding:0}table[data-v-b818e89e]{width:100%}table th[data-v-b818e89e]{background-color:#dfe8f6;text-align:center;padding:5px 10px}table td[data-v-b818e89e]{text-align:center;background-color:#fff;padding:5px 10px}.btngrounp[data-v-b818e89e]{width:300px;margin:0 auto;text-align:center}
.card-contianer[data-v-917395da]{width:auto;height:70px}.card-contianer .div-header[data-v-917395da]{width:100%;display:flex;margin:20px}.el-form-item[data-v-917395da]{margin-top:-20px;margin-right:30px}.el-tag--mini[data-v-917395da]{height:21px!important}.el-cascader .el-input .el-input__inner[data-v-917395da]:focus,.el-cascader .el-input.is-focus .el-input__inner[data-v-917395da]{height:33px}.el-cascader__tags[data-v-917395da]{display:inline-flex;margin-right:10px;flex-wrap:nowrap}
.moduleCard[data-v-ac1f4091]{width:auto;overflow:auto;padding:0}.moduleCard[data-v-ac1f4091] .el-card__body{padding:0}.pagination[data-v-ac1f4091]{padding:4px;margin-left:20px;height:30px;vertical-align:middle}[data-v-ac1f4091] .el-table__body tr:hover>td{background:linear-gradient(to top,#00c6ff,#fff)!important}[data-v-ac1f4091] .el-table__body tr.current-row>td{background-color:#92cbf1!important}.card-contianer[data-v-ac1f4091]{width:calc(100%-1px);font-size:medium;height:60px;overflow:hidden}.card-contianer .div-header[data-v-ac1f4091]{width:100%;margin:5px;height:80px}.card-contianer .div-list[data-v-ac1f4091]{padding-top:10px;widows:100%}.card-contianer .div-list .span-time[data-v-ac1f4091]{font-family:simhei;font-weight:700;font-size:medium}.card-contianer .div-button[data-v-ac1f4091]{text-align:right;padding-top:2px;padding-left:15px;padding-right:0;height:80px}.card-contianer .div-button .el-button-button[data-v-ac1f4091]{margin-top:5px;width:80px}.card-contianer .div-button .div-autoRefresh[data-v-ac1f4091]{background-color:#fff;color:#409eff;display:flex;margin-top:5px;border-radius:var(--el-border-radius-base);padding:6px 15px;font-size:14px;height:20px;overflow:hidden}.card-contianer .div-button .switch-autoRefresh[data-v-ac1f4091]{margin-left:0;margin-top:-6px}.card-form[data-v-ac1f4091]{width:100%;height:300px}.div-dropdown[data-v-ac1f4091]{padding-top:7px;height:50px;padding-left:10px}.div-dropdown .el-dropdown-link[data-v-ac1f4091]{margin-top:5px;color:#fff}.text-center[data-v-ac1f4091]{text-align:center}[data-v-ac1f4091] .div-form-img,[data-v-ac1f4091] .col-center{display:flex;align-items:center;justify-content:center}
.moduleCard[data-v-aad49b13]{width:auto;overflow:auto;padding:0}.moduleCard[data-v-aad49b13] .el-card__body{padding:0}.pagination[data-v-aad49b13]{padding:4px;margin-left:20px;height:30px;vertical-align:middle}[data-v-aad49b13] .el-table__body tr:hover>td{background:linear-gradient(to top,#00c6ff,#fff)!important}[data-v-aad49b13] .el-table__body tr.current-row>td{background-color:#92cbf1!important}.div-time-picker[data-v-aad49b13]{padding-top:6px;display:flex}.card-contianer[data-v-aad49b13]{width:calc(100%-1px);font-size:medium;height:60px;overflow:hidden}.card-contianer .div-header[data-v-aad49b13]{width:100%;margin:5px;height:80px}.card-contianer .div-list[data-v-aad49b13]{padding-top:10px;widows:100%}.card-contianer .div-list .span-time[data-v-aad49b13]{font-family:simhei;font-weight:700;font-size:medium}.card-contianer .div-button[data-v-aad49b13]{text-align:right;padding-top:2px;padding-left:15px;padding-right:0;height:80px}.card-contianer .div-button .el-button-button[data-v-aad49b13]{margin-top:5px;width:80px}.card-contianer .div-button .div-autoRefresh[data-v-aad49b13]{background-color:#fff;color:#409eff;display:flex;margin-top:5px;border-radius:var(--el-border-radius-base);padding:6px 15px;font-size:14px;height:20px;overflow:hidden}.card-contianer .div-button .switch-autoRefresh[data-v-aad49b13]{margin-left:0;margin-top:-6px}.card-form[data-v-aad49b13]{width:100%;height:300px}.div-dropdown[data-v-aad49b13]{padding-top:7px;height:50px;padding-left:10px}.div-dropdown .el-dropdown-link[data-v-aad49b13]{margin-top:5px;color:#fff}.text-center[data-v-aad49b13]{text-align:center}[data-v-aad49b13] .div-form-img,[data-v-aad49b13] .col-center{display:flex;align-items:center;justify-content:center}
import{_ as ze,r as f,s as Le,b as O,c as g,z as ke,e as _,f as L,j as n,w as d,u as p,F as k,l as Y,i as F,C as P,m as q,v as G,p as Ve,h as I,g as M,q as Ue,x as Ee}from"./index-cRB9LjbJ.js";/* empty css */import{z as J}from"./zh-cn-CHEiFvXs.js";/* empty css */const Ne=V=>(Ue("data-v-aad49b13"),V=V(),Ee(),V),Re={class:"div-header"},Ye={class:"div-button",style:{display:"flex"}},Pe={class:"div-autoRefresh"},Me={class:"div-dropdown text-center"},Qe=Ne(()=>F("span",null,"小区名称 : ",-1)),Be={class:"div-time-picker"},Ae={class:"div-button"},je={__name:"HeatUserPage",setup(V){const K=f(null);K.value=Le.getters.getEnterpriseId();const y=O({});var h=f(!1);f(60);for(var b=f(""),v=f(""),C=new Date,W=C.getFullYear(),c=[C.getMonth()+1,C.getDate()-1,C.getHours(),C.getMinutes(),C.getSeconds(),C.getDate()],H=0;H<c.length;H++)c[H]>=1&&c[H]<=9&&(c[H]="0"+c[H]);c[1]-1;var U=sessionStorage.getItem("DeviceQueryStart");U||(U=W+"-"+c[0]+"-"+c[1]+" "+c[2]+":"+c[3]+":"+c[4],sessionStorage.setItem("DeviceQueryStart",U));var E=sessionStorage.getItem("DeviceQueryEnd");E||(E=W+"-"+c[0]+"-"+c[5]+" "+c[2]+":"+c[3]+":"+c[4],sessionStorage.setItem("DeviceQueryEnd",E)),b.value=U,v.value=E,console.log(v);function ie(){sessionStorage.setItem("DeviceQueryStart",b.value)}function ue(){sessionStorage.setItem("DeviceQueryEnd",v.value)}const de={multiple:!0,emitPath:!1},i=O({enterpriseId:K.value,tree:[],name:[],interval:2,sort:"",pageIndex:0,pageCount:30}),x=f(1);var w=f(30);const T=f(100),ce=f(!1),pe=f(!1);var fe=window.innerHeight-230;const Q=f(fe);var a=O({tableData:[],realData:[],hisData:[],title:{frozenList:[],otherList:[]}});const D=f(!1);f(!0);var z=h.value?"/api/tiger/TigerHeatUser/His":"/api/tiger/TigerHeatUser/Real";function he(){a.title.frozenList.length=0,N("gatherTime","采集时间",!0,180,!0),N("supplyName","供热站",!1,180,!0),N("name","小区",!0,180,!0),N("append","设备名称",!0,180,!0),a.title.otherList.length=0,S("building","楼栋"),S("unit","单元"),S("household","户"),S("tempTar","目标室温"),S("tempTar","实际室温"),S("houseType","户型"),S("toward","安装朝向"),S("position","安装位置")}function N(t,e,r,o,s){var u={field:t,title:e,sortable:r,width:o,color:"b5e6ff",isVisible:s};a.title.frozenList.push(u)}function S(t,e,r){var o={alias:e,backColor:"FFFFFF",enName:t,width:r};a.title.otherList.push(o)}function X(){he(),h.value?me():ve()}async function ge(){X(),we()}async function ve(){z="/api/tiger/TigerHeatUser/Real",a.tableData.length=0,a.realData.length=0,await _e(),T.value=a.realData.length}async function me(){z="/api/tiger/TigerHeatUser/His",a.tableData.length=0,a.hisData.length=0,await be()}async function _e(){D.value=!0,await Y.post(z).then(t=>{t.status===0?(a.realData=t.data,A()):a.tableData.length=0}),D.value=!1}async function be(){D.value=!0,await Y.post(z,{name:[],startTime:b.value,endTime:v.value,start:x.value-1,count:w.value,sort:""}).then(t=>{t.status===0?(a.hisData=t.data.dataInfoList,T.value=t.data.rowCount,A()):a.tableData.length=0}),D.value=!1}async function we(){D.value=!0,await Y.post("/api/tiger/TigerHeatUser/GetName").then(t=>{if(t.status===0){var e=[];t.data.forEach(o=>{e.push(o.name)});var r=[...new Set(e)];De(r)}}),D.value=!1}async function B(t,e,r,o,s,u){D.value=!0,await Y.post(z,{name:t,startTime:e,endTime:r,start:o,count:s,sort:u}).then(m=>{m.status===0?(a.hisData=m.data.dataInfoList,T.value=m.data.rowCount,A()):a.tableData.length=0}),D.value=!1,T.value=a.tableData.length}function A(){h.value?a.tableData=a.hisData:a.tableData=a.realData}function Z(t){a.tableData=t}function De(t){i.tree.length=0,i.name.length=0,t.forEach(e=>{i.tree.push({value:e,label:e})}),i.tree.length>0&&i.name.push(i.tree[0].value)}function ye(){h.value?Se():xe()}function xe(){var t=a.realData.filter((e,r)=>!!(i.name.length==0||i.name.includes(e.name)));console.log(i),Z(t)}function Se(){B(i.name,b.value,v.value,x.value-1,w.value,i.sort)}function $(){h.value?Fe():Ce()}function Ce(){var t=a.realData.filter((e,r)=>r<x.value*w.value&&r>=(x.value-1)*w.value);Z(t)}function Fe(){B(i.name,b.value,v.value,x.value-1,w.value,i.sort)}function ee({row:t,column:e,rowIndex:r,columnIndex:o}){let s;return a.title.frozenList.forEach(u=>{if(u.field===e.property){var m=u.color=="FFFFFF"?"d9f1ff":u.color;s={"background-color":"#"+m,"padding-left":"0px","padding-right":"0px",borderColor:"#97d5fd",color:"#000","text-align":"center","vertical-align":"top"}}}),a.title.otherList.forEach(u=>{if(u.enName===e.property){var m=u.backColor=="FFFFFF"?"d9f1ff":u.backColor;s={"background-color":"#"+m,"padding-left":"0px","padding-right":"0px",borderColor:"#97d5fd",color:"#000","text-align":"center","vertical-align":"top"}}}),s}function te({row:t,column:e,rowIndex:r,columnIndex:o}){let s={};return s["padding-left"]="0px",s["padding-right"]="0px",s.borderColor="#97d5fd",s.padding="0px",a.title.frozenList.forEach(u=>{u.field===e.property&&(s["background-color"]="#"+u.color)}),a.title.otherList.forEach(u=>{u.enName===e.property&&(s["background-color"]="#"+u.backColor)}),s}function ae({column:t}){y[t.property]&&(t.order=y[t.property])}function He({order:t,prop:e}){!t||y[e]===t?y[e]=null:y[e]=t;let r="",o="";for(const s in y)y[s]=="ascending"?o="ASC":y[s]=="descending"&&(o="DESC"),r===""?r=r+s+" "+o:r=r+","+s+" "+o,i.sort=r;console.log(i.sort),B(i.name,b.value,v.value,x.value-1,w.value,i.sort)}return X(),(t,e)=>{const r=g("el-switch"),o=g("el-col"),s=g("el-cascader"),u=g("el-date-picker"),m=g("el-config-provider"),le=g("el-form-item"),Ie=g("el-button"),oe=g("el-row"),ne=g("el-card"),R=g("el-table-column"),re=g("el-table"),Te=g("el-pagination"),se=ke("loading");return _(),L(k,null,[n(ne,{class:"card-contianer","body-style":{padding:"0px 0px 0px 0px",height:"110px"}},{default:d(()=>[F("div",Re,[n(oe,null,{default:d(()=>[n(o,{span:4},{default:d(()=>[F("div",Ye,[F("div",Pe,[n(r,{modelValue:p(h),"onUpdate:modelValue":e[0]||(e[0]=l=>P(h)?h.value=l:h=l),class:"switch-autoRefresh","active-text":"历史数据","inactive-text":"实时数据",style:{"--el-switch-on-color":"#13ce66","--el-switch-off-color":"rgb(64, 158, 255)"},onChange:ge},null,8,["modelValue"])])])]),_:1}),n(o,{span:7},{default:d(()=>[F("div",Me,[Qe,n(s,{options:i.tree,modelValue:i.name,"onUpdate:modelValue":e[1]||(e[1]=l=>i.name=l),props:de,"collapse-tags":"",clearable:"","show-all-levels":!1,filterable:"",placeholder:"请选择",style:{"min-width":"280px"}},null,8,["options","modelValue"])])]),_:1}),n(o,{span:11},{default:d(()=>[q(F("div",Be,[n(le,{label:"开始时间:",style:{"margin-right":"20px"}},{default:d(()=>[n(m,{locale:p(J)},{default:d(()=>[n(u,{modelValue:p(b),"onUpdate:modelValue":e[2]||(e[2]=l=>P(b)?b.value=l:b=l),type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"选择开始时间",onChange:ie,style:{"min-width":"180px"}},null,8,["modelValue"])]),_:1},8,["locale"])]),_:1}),n(le,{label:"结束时间:"},{default:d(()=>[n(m,{locale:p(J)},{default:d(()=>[n(u,{modelValue:p(v),"onUpdate:modelValue":e[3]||(e[3]=l=>P(v)?v.value=l:v=l),type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"选择结束时间",onChange:ue,style:{"min-width":"180px"}},null,8,["modelValue"])]),_:1},8,["locale"])]),_:1})],512),[[G,p(h)]])]),_:1}),n(o,{span:2},{default:d(()=>[F("div",Ae,[n(oe,{gutter:10},{default:d(()=>[n(o,{span:15},{default:d(()=>[n(Ie,{class:"el-button-button",type:"primary",span:6,onClick:ye,icon:"Search"},{default:d(()=>[Ve(" 搜  索")]),_:1})]),_:1}),n(o,{span:3}),n(o,{span:3}),n(o,{span:3})]),_:1})])]),_:1})]),_:1})])]),_:1}),n(ne,{class:"moduleCard",height:Q.value},{default:d(()=>[q((_(),I(re,{data:p(a).tableData,height:Q.value,"cell-style":te,border:"","highlight-current-row":"","header-cell-style":ee,"header-cell-class-name":ae},{default:d(()=>[(_(!0),L(k,null,M(p(a).title.frozenList,(l,j)=>(_(),I(R,{prop:l.field,label:l.title,width:l.width,sortable:"",fixed:""},null,8,["prop","label","width"]))),256)),(_(!0),L(k,null,M(p(a).title.otherList,(l,j)=>(_(),I(R,{prop:l.enName,label:l.alias,width:l.width,sortable:""},null,8,["prop","label","width"]))),256))]),_:1},8,["data","height"])),[[G,!p(h)],[se,D.value]]),q((_(),I(re,{data:p(a).tableData,height:Q.value,"cell-style":te,border:"","highlight-current-row":"","header-cell-style":ee,"header-cell-class-name":ae,onSortChange:He},{default:d(()=>[(_(!0),L(k,null,M(p(a).title.frozenList,(l,j)=>(_(),I(R,{prop:l.field,label:l.title,width:l.width,fixed:"",sortable:""},null,8,["prop","label","width"]))),256)),(_(!0),L(k,null,M(p(a).title.otherList,(l,j)=>(_(),I(R,{prop:l.enName,label:l.alias,width:l.width},null,8,["prop","label","width"]))),256))]),_:1},8,["data","height"])),[[G,p(h)],[se,D.value]])]),_:1},8,["height"]),n(m,{locale:p(J)},{default:d(()=>[n(Te,{"current-page":x.value,"onUpdate:currentPage":e[4]||(e[4]=l=>x.value=l),"page-size":p(w),"onUpdate:pageSize":e[5]||(e[5]=l=>P(w)?w.value=l:w=l),"page-sizes":[30,40,50,100,200,300],small:!0,disabled:ce.value,background:pe.value,layout:"total, sizes, prev, pager, next, jumper",total:T.value,onSizeChange:$,onCurrentChange:$,class:"pagination"},null,8,["current-page","page-size","disabled","background","total"])]),_:1},8,["locale"])],64)}}},Ke=ze(je,[["__scopeId","data-v-aad49b13"]]);export{Ke as default};
/* empty css */import{_ as q,r as a,s as A,b as _,c as o,z as G,e as i,f as m,j as t,w as l,u as p,F as v,i as d,p as J,C as k,m as K,h as b,g as x,q as O,x as Q}from"./index-DC3jhuX2.js";import{z as W}from"./zh-cn-CHEiFvXs.js";/* empty css */const X=c=>(O("data-v-ac1f4091"),c=c(),Q(),c),Z={class:"div-header"},$={class:"div-button"},ee={class:"div-dropdown text-center"},te=X(()=>d("span",null,"小区名称 : ",-1)),ae={class:"div-button"},le={style:{display:"flex"}},oe={class:"div-autoRefresh"},se={__name:"HeatUserPage",setup(c){const w=a(null);w.value=A.getters.getEnterpriseId(),a([]),a([]),a([]),a([!1]),_({supplyList:[],dropdownList:[],pipeInfo:{}}),_({tableData:[],alarm:[],forms:[],title:[]});var u=a(!1);a(60);const S={multiple:!0,emitPath:!1},f=_({enterpriseId:w.value,tree:[],supplyId:[],deviceType:3,id:[],name:[],interval:2,sort:"",pageIndex:0,pageCount:30}),y=a(1);var h=a(30);const D=a(100),L=a(!1),U=a(!1);var H=window.innerHeight-230;const C=a(H);var g=_({tableData:[],title:{frozenList:[],otherList:[]}});const P=a(!1);return a(!0),(n,s)=>{const R=o("el-button"),r=o("el-col"),B=o("el-cascader"),N=o("el-date-picker"),T=o("el-switch"),z=o("el-row"),I=o("el-card"),V=o("el-table-column"),Y=o("el-table"),j=o("el-pagination"),E=o("el-config-provider"),F=G("loading");return i(),m(v,null,[t(I,{class:"card-contianer","body-style":{padding:"0px 0px 0px 0px",height:"110px"}},{default:l(()=>[d("div",Z,[t(z,null,{default:l(()=>[t(r,{span:2},{default:l(()=>[d("div",$,[t(R,{class:"el-button-button",type:"primary",span:6,onClick:n.refresh,icon:"Search"},{default:l(()=>[J(" 搜  索")]),_:1},8,["onClick"])])]),_:1}),t(r,{span:7},{default:l(()=>[d("div",ee,[te,t(B,{options:f.tree,modelValue:f.id,"onUpdate:modelValue":s[0]||(s[0]=e=>f.id=e),props:S,"collapse-tags":"",clearable:"","show-all-levels":!1,filterable:"",placeholder:"请选择",style:{"min-width":"200px"}},null,8,["options","modelValue"])])]),_:1}),t(r,{span:4},{default:l(()=>[d("div",null,[t(N,{modelValue:n.value1,"onUpdate:modelValue":s[1]||(s[1]=e=>n.value1=e),type:"datetime",placeholder:"Pick a Date",format:"YYYY/MM/DD hh:mm:ss"},null,8,["modelValue"])])]),_:1}),t(r,{span:11},{default:l(()=>[d("div",ae,[t(z,{gutter:10},{default:l(()=>[t(r,{span:3}),t(r,{span:3}),t(r,{span:3}),t(r,{span:5}),t(r,{span:10},{default:l(()=>[d("div",le,[d("div",oe,[t(T,{modelValue:p(u),"onUpdate:modelValue":s[2]||(s[2]=e=>k(u)?u.value=e:u=e),class:"switch-autoRefresh","active-text":"历史数据","inactive-text":"实时数据",style:{"--el-switch-on-color":"#13ce66","--el-switch-off-color":"rgb(64, 158, 255)"},onChange:n.changeRefresh},null,8,["modelValue","onChange"])])])]),_:1})]),_:1})])]),_:1})]),_:1})])]),_:1}),t(I,{class:"moduleCard",height:C.value},{default:l(()=>[K((i(),b(Y,{data:p(g).tableData,height:C.value,"cell-style":n.setCellStyle,border:"","highlight-current-row":"","header-cell-style":n.setHeaderCellStyle,"header-cell-class-name":n.handleHeadAddClass},{default:l(()=>[(i(!0),m(v,null,x(p(g).title.frozenList,(e,M)=>(i(),b(V,{prop:e.field,label:e.title,width:e.width,sortable:e.field==="name"||e.field==="gatherTime",fixed:""},null,8,["prop","label","width","sortable"]))),256)),(i(!0),m(v,null,x(p(g).title.otherList,(e,M)=>(i(),b(V,{prop:e.enName,label:e.alias,width:e.width},null,8,["prop","label","width"]))),256))]),_:1},8,["data","height","cell-style","header-cell-style","header-cell-class-name"])),[[F,P.value]])]),_:1},8,["height"]),t(E,{locale:p(W)},{default:l(()=>[t(j,{"current-page":y.value,"onUpdate:currentPage":s[3]||(s[3]=e=>y.value=e),"page-size":p(h),"onUpdate:pageSize":s[4]||(s[4]=e=>k(h)?h.value=e:h=e),"page-sizes":[30,40,50,100,200,300],small:!0,disabled:L.value,background:U.value,layout:"total, sizes, prev, pager, next, jumper",total:D.value,onSizeChange:n.getdata,onCurrentChange:n.getdata,class:"pagination"},null,8,["current-page","page-size","disabled","background","total","onSizeChange","onCurrentChange"])]),_:1},8,["locale"])],64)}}},pe=q(se,[["__scopeId","data-v-ac1f4091"]]);export{pe as default};
import{_ as m}from"./MeasurementArt.vue_vue_type_style_index_1_lang-sdhHxV8S.js";import"./index-DC3jhuX2.js";export{m as default};
import{_ as m}from"./MeasurementArt.vue_vue_type_style_index_1_lang-BCzFpOuS.js";import"./index-cRB9LjbJ.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-DC3jhuX2.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-cRB9LjbJ.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-sdhHxV8S.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-DC3jhuX2.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-BCzFpOuS.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-cRB9LjbJ.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-DC3jhuX2.js";import{p as B}from"./analysis-DtgpFKWg.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,H 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-cRB9LjbJ.js";import{p as B}from"./analysis-D9E3UEPZ.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)}}}),P=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])}}}),H=w(P,[["__scopeId","data-v-77ceeff5"]]);export{H as default};
import{_ as e}from"./index-cRB9LjbJ.js";const r={};function c(n,s){return" 实时热量分析 "}const _=e(r,[["render",c]]);export{_ as default};
import{D as R}from"./DataForm-CzLlntMI.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-DC3jhuX2.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-C88b2RUB.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-cRB9LjbJ.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};
.moduleCard[data-v-baf6ddee]{width:auto;overflow:auto;padding:0}.moduleCard[data-v-baf6ddee] .el-card__body{padding:0}.pagination[data-v-baf6ddee]{padding:4px;margin-left:20px;height:30px;vertical-align:middle}[data-v-baf6ddee] .el-table__body tr:hover>td{background:linear-gradient(to top,#00c6ff,#fff)!important}[data-v-baf6ddee] .el-table__body tr.current-row>td{background-color:#92cbf1!important}.card-contianer[data-v-baf6ddee]{width:calc(100%-1px);font-size:medium;height:60px;overflow:hidden}.card-contianer .div-header[data-v-baf6ddee]{width:100%;margin:5px;height:80px}.card-contianer .div-list[data-v-baf6ddee]{padding-top:10px;widows:100%}.card-contianer .div-list .span-time[data-v-baf6ddee]{font-family:simhei;font-weight:700;font-size:medium}.card-contianer .div-button[data-v-baf6ddee]{text-align:right;padding-top:2px;padding-left:15px;padding-right:0;height:80px}.card-contianer .div-button .el-button-button[data-v-baf6ddee]{margin-top:5px;width:80px}.card-contianer .div-button .div-autoRefresh[data-v-baf6ddee]{background-color:#fff;color:#409eff;display:flex;margin-top:5px;border-radius:var(--el-border-radius-base);padding:6px 15px;font-size:14px;height:20px;overflow:hidden}.card-contianer .div-button .switch-autoRefresh[data-v-baf6ddee]{margin-left:0;margin-top:-6px}.card-form[data-v-baf6ddee]{width:100%;height:300px}.div-dropdown[data-v-baf6ddee]{padding-top:7px;height:50px;padding-left:10px}.div-dropdown .el-dropdown-link[data-v-baf6ddee]{margin-top:5px;color:#fff}.text-center[data-v-baf6ddee]{text-align:center}[data-v-baf6ddee] .div-form-img,[data-v-baf6ddee] .col-center{display:flex;align-items:center;justify-content:center}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
import{_ as r}from"./index-DC3jhuX2.js";const e={};function n(t,c){return" 换热站远程控制 "}const _=r(e,[["render",n]]);export{_ as default};
This diff is collapsed.
.card-contianer[data-v-c0d3fb2b]{display:flex;width:auto;height:50px;align-items:center;vertical-align:middle;margin:0;padding:0}.demo-tabs>.el-tabs__content[data-v-c0d3fb2b]{padding:32px;color:#6b778c;font-size:32px;font-weight:600}.el-tabs--right .el-tabs__content[data-v-c0d3fb2b],.el-tabs--left .el-tabs__content[data-v-c0d3fb2b]{height:100%}
import{_ as m}from"./TransferArt.vue_vue_type_style_index_1_lang-eovE4KmG.js";import"./index-DC3jhuX2.js";export{m as default};
import{_ as m}from"./TransferArt.vue_vue_type_style_index_1_lang-DvIeOs-e.js";import"./index-cRB9LjbJ.js";export{m as default};
.contentBlock[data-v-a49c1c8e]{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#fff;overflow:auto}table[data-v-a49c1c8e],tr[data-v-a49c1c8e],th[data-v-a49c1c8e],td[data-v-a49c1c8e]{font-size:14px;margin:0;padding:0}table[data-v-a49c1c8e]{width:100%}table th[data-v-a49c1c8e]{background-color:#dfe8f6;text-align:center;padding:5px 10px}table td[data-v-a49c1c8e]{text-align:center;background-color:#fff;padding:5px 10px}.btngrounp[data-v-a49c1c8e]{width:300px}.gc td[data-v-a49c1c8e]{background-color:#a6ffa6}.gc td[data-v-a49c1c8e]:first-child{background-color:#fff}table.botList td[data-v-a49c1c8e]{width:33%;text-align:left;font-weight:bolder}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
.videoPlayer[data-v-96ba2eac]{margin:20px 0 0;height:700px}.el-button-button[data-v-96ba2eac]{width:80px}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
import{_ as r}from"./index-cRB9LjbJ.js";const c={};function e(t,_){return"用量同比"}const o=r(c,[["render",e]]);export{o as default};
This diff is collapsed.
This diff is collapsed.
import{l as s}from"./index-cRB9LjbJ.js";const n=o=>s.post("/api/analysis/report/HeatAnalysis",o).then(t=>t).catch(function(t){console.log(t)}),e=o=>s.post("/api/analysis/report/HeatForecast",o).then(t=>t).catch(function(t){console.log(t)}),r=o=>s.post("/api/analysis/report/PrintHeatForecast",o).then(t=>t).catch(function(t){console.log(t)});export{e as a,r as b,n as p};
This diff is collapsed.
This diff is collapsed.
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