1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791 |
- <template>
- <div class="main-data dialog-area" @click.stop="preventDefault" @mouseleave="leaveFun">
- <div class="dialog-title">
- <img
- src="@/assets/images/main/cont_title_bg.png"
- />
- <div class="title">办公能耗</div>
- </div>
- <div class="dialog-cont">
- <div class="dialog-left">
- <div class="dialog-list">
- <div class="dialog-item wid100">
- <div class="content-title">
- <span class="title">近一月楼宇能耗信息</span>
- </div>
- <div class="content">
- <div class="total-cot">
- <div class="other-cont">
- <img
- src="@/assets/images/building_guarantee/img_1.png"
- class="icon"
- />
- <div class="other-info">
- <div class="desc">用水量</div>
- <div class="num-info">
- <div class="num">{{energyList[0].value}}</div>
- <div class="unit">m³</div>
- </div>
- </div>
- </div>
- <div class="other-cou">
- <img
- src="@/assets/images/building_guarantee/img_1.png"
- class="icon"
- />
- <div class="other-info">
- <div class="desc">用电量</div>
- <div class="num-info">
- <div class="num">{{energyList[1].value}}</div>
- <div class="unit">kWh</div>
- </div>
- </div>
- </div>
- </div>
-
- </div>
- </div>
- </div>
- <div class="dialog-list">
- <div class="dialog-item wid100">
- <div class="content-title">
- <span class="title">空气概况</span>
- </div>
- <div class="leftNav">
- <div
- :class="['model1', 0 == curBodex ? 'cur' : '']"
- @click="chooseBox(0, 'indoor')"
- >
- 室内
- </div>
- <div
- :class="['model1', 1 == curBodex ? 'cur' : '']"
- @click="chooseBox(1, 'outdoor')"
- >
- 室外
- </div>
- </div>
- <!-- 室内 -->
- <div class="rightList1" v-if="showBox === 'indoor'" >
- <div class="left-list" >
- <div class="left-info">
- <div class="airStation"> <img src="@/assets/images/service_new/airStation.png"></div>
- <div >
- <div class="temelper">{{airOverviewList[0].name}}</div>
- <div class="num">{{airOverviewList[0].valueIn}}<span class="unit">°C</span></div>
- </div>
- </div>
- </div>
- <div class="left-list">
- <div class="left-info">
- <div class="airStation">
- <div> <img src="@/assets/images/service_new/airStation.png"></div>
- </div>
- <div >
- <div class="temelper">{{airOverviewList[1].name}}</div>
- <div class="num">{{airOverviewList[1].valueIn}}<span class="unit">%RH</span></div>
- </div>
- </div>
- </div>
- <div class="left-list">
- <div class="left-info">
- <div class="airStation">
- <div> <img src="@/assets/images/service_new/airStation.png"></div>
- </div>
- <div >
- <div class="temelper">{{airOverviewList[2].name}}</div>
- <div class="num">{{airOverviewList[2].valueIn}}<span class="unit">PPM</span></div>
- </div>
- </div>
- </div>
- <div class="left-list">
- <div class="left-info">
- <div class="airStation">
- <div> <img src="@/assets/images/service_new/airStation.png"></div>
- </div>
- <div >
- <div class="temelper">{{airOverviewList[3].name}}</div>
- <div class="num">{{airOverviewList[3].valueIn}}<span class="unit">ug/m³</span></div>
- </div>
- </div>
- </div>
- <div class="left-list">
- <div class="left-info">
- <div class="airStation">
- <div> <img src="@/assets/images/service_new/airStation.png"></div>
- </div>
- <div >
- <div class="temelper">{{airOverviewList[4].name}}</div>
- <div class="num">{{airOverviewList[4].valueIn}}<span class="unit">ug/m³</span></div>
- </div>
- </div>
- </div>
- </div>
- <!-- 室外 -->
- <div class="rightList1" v-else-if="showBox === 'outdoor'">
- <div class="left-list">
- <div class="left-info">
-
- <div class="airStation"> <img src="@/assets/images/service_new/airStation.png"></div>
-
- <div >
- <div class="temelper">{{airOverviewList[0].name}}</div>
- <div class="num">{{airOverviewList[0].valueOut}}<span class="unit">°C</span></div>
- </div>
- </div>
- </div>
- <div class="left-list">
- <div class="left-info">
- <div class="airStation">
- <div> <img src="@/assets/images/service_new/airStation.png"></div>
- </div>
- <div >
- <div class="temelper">{{airOverviewList[1].name}}</div>
- <div class="num">{{airOverviewList[1].valueOut}}<span class="unit">%RH</span></div>
- </div>
- </div>
- </div>
- <div class="left-list">
- <div class="left-info">
- <div class="airStation">
- <div> <img src="@/assets/images/service_new/airStation.png"></div>
- </div>
- <div >
- <div class="temelper">{{airOverviewList[2].name}}</div>
- <div class="num">{{airOverviewList[2].valueOut}}<span class="unit">PPM</span></div>
- </div>
- </div>
- </div>
- <div class="left-list">
- <div class="left-info">
- <div class="airStation">
- <div> <img src="@/assets/images/service_new/airStation.png"></div>
- </div>
- <div >
- <div class="temelper">{{airOverviewList[3].name}}</div>
- <div class="num">{{airOverviewList[3].valueOut}}<span class="unit">ug/m³</span></div>
- </div>
- </div>
- </div>
- <div class="left-list">
- <div class="left-info">
- <div class="airStation">
- <div> <img src="@/assets/images/service_new/airStation.png"></div>
- </div>
- <div >
- <div class="temelper">{{airOverviewList[4].name}}</div>
- <div class="num">{{airOverviewList[4].valueOut}}<span class="unit">ug/m³</span></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- <div class="dialog-list">
- <div class="dialog-item wid100">
- <div class="content-title">
- <span class="title">定额指标</span>
- </div>
- <!-- <div class="content-Image"></div> -->
- <div class="pedestrianBox">
- <div class="docWs">
- <div class="yinBor"></div>
- <div style="margin-left: 8px;">引导值</div>
- </div>
- <div class="docWs1">
- <div class="jiBOX"></div>
- <div style="margin-left: 8px;">基准值</div>
- </div>
- <div class="docWs2">
- <div class="yuBox"></div>
- <div style="margin-left: 8px;">约束值</div>
- </div>
- <div class="docWs3">
- <div class="shiBox"></div>
- <div style="margin-left: 8px;">实际进度</div>
- </div>
- </div>
- <div class="charts-cont">
- <bar-chart
- :chart-data="pedestrianFlowBarData"
- :x-axis="pedestrianFlowBarAxis"
- :y-axis="pedestrianFlowBarYaxis"
- y-color="#FFF"
- l-color="#FFF"
- width="515px"
- height="70px"
- />
- </div>
- <bar-chart
- :chart-data="waterFlowBarData"
- :x-axis="waterFlowBarAxis"
- :y-axis="waterFlowBarYaxis"
- y-color="#FFF"
- l-color="#FFF"
- width="515px"
- height="70px"
- />
- <bar-chart
- :chart-data="comprehensiveFlowBarData"
- :x-axis="comprehensiveFlowBarAxis"
- :y-axis="comprehensiveFlowBarYaxis"
- y-color="#FFF"
- l-color="#FFF"
- width="515px"
- height="70px"
- />
- <bar-chart
- :chart-data="perCapitaFlowBarData"
- :x-axis="perCapitaFlowBarAxis"
- :y-axis="perCapitaFlowBarYaxis"
- y-color="#FFF"
- l-color="#FFF"
- width="515px"
- height="70px"
- />
- <bar-chart
- :chart-data="powerFlowBarData"
- :x-axis="powerFlowBarAxis"
- :y-axis="powerFlowBarYaxis"
- y-color="#FFF"
- l-color="#FFF"
- width="515px"
- height="70px"
- />
- <bar-chart
- :chart-data="exhaustFlowBarData"
- :x-axis="exhaustFlowBarAxis"
- :y-axis="exhaustFlowBarYaxis"
- y-color="#FFF"
- l-color="#FFF"
- width="515px"
- height="70px"
- />
-
-
- </div>
- </div>
-
-
- <div class="dialog-list">
- <div class="dialog-item wid100">
- <div class="content-title">
- <span class="title">办公用电分项 (月)</span>
- </div>
- <div class="charts-cont">
- <bar-chart
- :chart-data="electricityAreaBarData"
- :x-axis="electricityAreaBarAxis"
- :yAxis="electricityAreaBarYaxis"
- y-color="#FFF"
- l-color="#FFF"
- width="565px"
- height="300px"
- />
- </div>
- </div>
- </div>
-
- <div class="dialog-list">
- <div class="dialog-item wid100">
- <div class="content-title">
- <span class="title">绿电比例</span>
- </div>
- <div class="energyBox">
- <StackedPieChart3D :IntionList="greenIntionList"/>
- <div class="routine">
- <div class="routineNavBox">
- <div class="imgBOX"> <img src="@/assets/images/building_guarantee/Path.png"></div>
- <div class="greenName">常规电能</div>
- <div class="greenNum">{{ greenIntionList.publicEnergy }}%</div>
- </div>
- <div class="greenPoxBOX">
- <div class="imgBOX"> <img src="@/assets/images/building_guarantee/Path2.png"></div>
- <div class="greenName" >绿电电能</div>
- <div class="greenNum">{{ greenIntionList.grennEnergy }}%</div>
- </div>
- </div>
- </div>
-
-
- <!-- <div id="wqo" style="width: 600px;height:400px;"></div> -->
- </div>
- </div>
- <!-- <div class="dialog-list">
- <div class="dialog-item wid100">
- <div class="content-title">
- <span class="title">能耗设备</span>
- </div>
- <div class="rightList1">
- <div class="left-list">
- <div class="left-info">
- <div class="airStation"> <img src="@/assets/images/service_new/airStation.png"></div>
- <div >
- <div class="temelper">空气质量监测仪</div>
- <div class="num">46<span class="unit">台</span></div>
- </div>
- </div>
- </div>
- <div class="left-list">
- <div class="left-info">
- <div class="airStation">
- <div> <img src="@/assets/images/service_new/airStation.png"></div>
- </div>
- <div >
- <div class="temelper">智能电表</div>
- <div class="num">78<span class="unit">台</span></div>
- </div>
- </div>
- </div>
- <div class="left-list">
- <div class="left-info">
- <div class="airStation">
- <div> <img src="@/assets/images/service_new/airStation.png"></div>
- </div>
- <div >
- <div class="temelper">液位传感器</div>
- <div class="num">71<span class="unit">台</span></div>
- </div>
- </div>
- </div>
- </div>
- <div class="rightList1">
- <div class="left-list">
- <div class="left-info">
- <div class="airStation"> <img src="@/assets/images/service_new/airStation.png"></div>
- <div >
- <div class="temelper">电梯能量回收设备</div>
- <div class="num">83<span class="unit">台</span></div>
- </div>
- </div>
- </div>
- <div class="left-list">
- <div class="left-info">
- <div class="airStation">
- <div> <img src="@/assets/images/service_new/airStation.png"></div>
- </div>
- <div >
- <div class="temelper">水泵监测仪</div>
- <div class="num">74<span class="unit">台</span></div>
- </div>
- </div>
- </div>
- <div class="left-list">
- <div class="left-info podTan">
- <div class="airStation">
- <div> <img src="@/assets/images/service_new/airStation.png"></div>
- </div>
- <div>
- <div class="temelper">智能水表</div>
- <div class="num">12<span class="unit">台</span></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div> -->
- </div>
-
- <div class="dialog-right">
- <div class="dialog-list">
- <div class="dialog-item wid100">
- <div class="content-title">
- <span class="title">碳排放量月度变化趋势图</span>
- </div>
- <div class="content">
- <line-chart
- :chart-data="lineData"
- :x-axis="lineAxis"
- :yAxis="lineYAxis"
- :legend="lineLegend"
- y-color="#FFF"
- l-color="#FFF"
- width="565px"
- height="240px"
- />
- </div>
- <div class="dialog-list1">
- <div class="dialog-item wid100">
- <div class="content-title">
- <span class="title">年度累计综合能耗</span>
- </div>
- <div class="content">
- <div class="total-cot1">
- <div class="other-cont">
- <img
- src="@/assets/images/building_guarantee/img_1.png"
- class="icon"
- />
- <div class="other-info">
- <div class="desc">年度累计综合能耗</div>
- <div class="num-info">
- <div class="num">{{comprehensiveList.yearTotal}}</div>
- <div class="unit">万吨</div>
- </div>
- </div>
- </div>
- <div class="other-cou1">
- <div class="other-info">
- <div class="num-info">
- <div class="unit">同比减少</div>
- <div class="num">{{comprehensiveList.yearGrowth}}</div>
- <div class="unit">万吨</div>
- </div>
- </div>
- </div>
- </div>
- <line-chart
- :chart-data="comprehensiveData"
- :x-axis="lineAxis"
- :yAxis="lineYAxis"
- :legend="lineLegend"
- y-color="#FFF"
- l-color="#FFF"
- width="565px"
- height="240px"
- />
- </div>
- </div>
- </div>
-
- <div class="dialog-list1">
- <div class="dialog-item wid100">
- <div class="content-title">
- <span class="title">年度累计电耗</span>
- </div>
- <div class="content">
- <div class="total-cot1">
- <div class="other-cont">
- <img
- src="@/assets/images/building_guarantee/img_1.png"
- class="icon"
- />
- <div class="other-info">
- <div class="desc">年度累计电耗</div>
- <div class="num-info">
- <div class="num">{{electricityList.yearTotal}}</div>
- <div class="unit">万吨</div>
- </div>
- </div>
- </div>
- <div class="other-cou1">
- <div class="other-info">
- <div class="num-info">
- <div class="unit">同比减少</div>
- <div class="num">{{electricityList.yearGrowth}}</div>
- <div class="unit">万吨</div>
- </div>
- </div>
- </div>
- </div>
- <line-chart
- :chart-data="electricityData"
- :x-axis="lineAxis"
- :yAxis="lineYAxis"
- :legend="lineLegend"
- y-color="#FFF"
- l-color="#FFF"
- width="565px"
- height="240px"
- />
- </div>
- </div>
- </div>
-
- <div class="dialog-list1">
- <div class="dialog-item wid100">
- <div class="content-title">
- <span class="title">年度累计水耗</span>
- </div>
- <div class="content">
- <div class="total-cot1">
- <div class="other-cont">
- <img
- src="@/assets/images/building_guarantee/img_1.png"
- class="icon"
- />
- <div class="other-info">
- <div class="desc">年度累计水耗</div>
- <div class="num-info">
- <div class="num">{{waterList.yearTotal}}</div>
- <div class="unit">万吨</div>
- </div>
- </div>
- </div>
- <div class="other-cou1">
- <div class="other-info">
- <div class="num-info">
- <div class="unit">同比减少</div>
- <div class="num">{{waterList.yearGrowth}}</div>
- <div class="unit">万吨</div>
- </div>
- </div>
- </div>
- </div>
- <line-chart
- :chart-data="waterData"
- :x-axis="lineAxis"
- :yAxis="lineYAxis"
- :legend="lineLegend"
- y-color="#FFF"
- l-color="#FFF"
- width="565px"
- height="240px"
- />
- </div>
- </div>
- </div>
- </div>
-
-
- </div>
-
-
- </div>
- </div>
- </div>
- </template>
-
- <script>
- import LineChart from "@/components/Echarts/LineChart";
- import PieChart from "@/components/Echarts/PieChart";
- import BarChart from "@/components/Echarts/BarChart.vue";
- import StackedPieChart3D from '@/components/Echarts/StackedPieChart3D.vue';
- import echarts from "echarts";
- import 'echarts-gl';
- import {
- powerAndWaterMonth,airOverview,getTarget,useElectricity,carbon,energyYear,powerYear,waterYear,greenElectricity
- } from "@/api/screen/service";
-
- export default {
- name: "EnergyRateDialog",
- components: {
- BarChart,
- PieChart,
- LineChart,
- StackedPieChart3D
- },
- props: {
- appOrg: {
- type: String,
- default: "0000",
- },
- },
- data() {
- return {
- energyList:[{name: "water", value: 0}, {name: "power", value: 0}],
- airOverviewList:{},
- curBodex:0,
- showBox: "indoor",
- Boxtabs: [
- {
- name: "室内",
- tab: "indoor",
- },
- {
- name: "室外",
- tab: "outdoor",
- },
- ],
- lineLegend: {
- top: 0,
- orient: "horizontal",
- right: 0,
- itemWidth: 17, // 设置图例标记的宽度
- itemHeight: 10, // 设置图例标记的高度
- textStyle: {
- color: "#FFF",
- },
- },
- greenIntionList:{},
- //单位建筑面积电耗
- pedestrianFlowBarData: [],
- pedestrianFlowBarAxis: {},
- pedestrianFlowBarYaxis: {},
- //单位建筑面积水耗
- waterFlowBarData: [],
- waterFlowBarAxis: {},
- waterFlowBarYaxis: {},
- //单位建筑面积综合能耗
- comprehensiveFlowBarData: [],
- comprehensiveFlowBarAxis: {},
- comprehensiveFlowBarYaxis: {},
- //人均水耗
- perCapitaFlowBarData: [],
- perCapitaFlowBarAxis: {},
- perCapitaFlowBarYaxis: {},
- //人均电耗
- powerFlowBarData: [],
- powerFlowBarAxis: {},
- powerFlowBarYaxis: {},
- //人均综合能耗
- exhaustFlowBarData: [],
- exhaustFlowBarAxis: {},
- exhaustFlowBarYaxis: {},
- // 碳排放量月度变化趋势图
- lineData: [],
- // 年度累计综合能耗
- comprehensiveList:{},
- comprehensiveData:[],
- // 年度累计电耗
- electricityList:{},
- electricityData:[],
- // 年度累计水耗
- waterList:{},
- waterData:[],
- lineAxis: {
- type: "category",
- data: ["01月", "02月", "03月", "04月","05月","06月","07月","08月","09月","10月","11月","12月",],
- axisLabel: {
- color: "white", // 设置横坐标轴字体颜色为红色
- },
- axisTick: {
- show: false,
- },
- axisLine: {
- lineStyle: {
- color: "#465A64",
- },
- },
- boundaryGap: false,
- },
- lineYAxis: {
- name: "单位: 吨",
- nameTextStyle: {
- color: "#fff",
- padding: [0, 0, 0, 30],
- },
- axisLabel: {
- color: "#FFF",
- },
- splitLine: {
- show: false,
- },
- axisLine: {
- show: false,
- },
- axisTick: {
- show: false,
- },
- splitArea: false,
- },
-
- //告警事件的历史统计
- giveLineData: [],
- //配电室重要抽屉负荷情况
- barData: [],
- barAxis: {},
- barYAxis: {},
- barLegend: {},
- yearAllWaterChangeData: {
- value: 0
- },
-
- useElectricityBarData: [],
-
- useElectricityBarYaxis: {
- type: "value",
- boundaryGap: [0, 0.01],
- name: "kwh",
- nameTextStyle: {
- color: "#fff",
- },
- axisLine: {
- show:false
- },
- axisLabel: {
- color: "white", // 设置横坐标轴字体颜色为红色
- },
- splitLine: {
- show: false,
- },
- axisTick: {
- show: false,
- },
- splitArea: false,
- },
- useElectricityBarLegend: {
- show: false,
- },
-
- pieData: [
- {
- name: "",
- value: 56,
- },
- {
- name: "",
- value: 44,
- },
- ],
-
- resourceDataList: [],
- //用电分项
- electricityAreaBarData: [],
- electricityAreaBarAxis: {
- type: "category",
- data: [
- "照明用电",
- "电梯用电",
- "办公用电",
- "其他用电",
- ],
- axisLabel: {
- color: "white", // 设置横坐标轴字体颜色为红色
- rotate: 0,
- interval: 0
- },
- axisLine:{
- show:true
- },
- axisTick: {
- show: false,
- },
- splitArea:false
- },
- electricityAreaBarYaxis: {
- type: "value",
- boundaryGap: [0, 0.01],
- name: '单位: kWh',
- nameTextStyle: {
- color: '#fff',
- padding: [0,0,0,30]
- },
- axisLine:{
- lineStyle:{
- color:"#465A64"
- }
- },
- axisLabel: {
- color: "white", // 设置横坐标轴字体颜色为红色
- },
- splitLine: {
- show: false,
- },
- axisTick: {
- show: false,
- },
- splitArea:false
- },
- barGrid: {
- top: 10,
- left: "2%",
- right: "5%",
- containLabel: true,
- bottom: 0,
- },
- };
- },
- created() {
- //绿电比例
- this.greenElectricity();
- // 近一月楼宇能耗信息
- this.powerAndWaterMonth();
- //空气概况
- this.airOverview();
- //单位建筑面积电耗
- this.getTarget();
- //用电分项
- this.useElectricity();
- // 碳排放量月度变化趋势图
- this.carbon();
- //年度累计综合能耗
- this.energyYear();
- //年度累计电耗
- this.powerYear();
- //年度累计水耗
- this.waterYear();
- },
- destroyed() {},
- beforeDestroy() {},
- mounted() {
-
- },
- methods: {
- //近一月楼宇能耗信息
- powerAndWaterMonth() {
- powerAndWaterMonth(this.$props.appOrg).then((res) => {
- if (Number(res.code) === 200) {
- this.energyList=res.data;
- }
- });
- },
-
- //空气概况
- airOverview() {
- airOverview(this.$props.appOrg).then((res) => {
- if (Number(res.code) === 200) {
- this.airOverviewList=res.data;
- }
- });
- },
-
- //单位建筑面积电耗
- getTarget() {
- getTarget(this.$props.appOrg).then((res) => {
- if (Number(res.code) === 200) {
- this.pedestrianFlowBarData = [
- {
- name: '',
- type: "bar",
- stack: "a",
-
- itemStyle: {
- color: '#2C5466',
- borderColor: '#2D82B6', // 边框颜色
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[0].guideValue],
- },
- {
- name: '',
- type: "bar",
- stack: "a",
- itemStyle: {
- color: '#754F38',
- borderColor: '#A54110', // 边框颜色
-
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[0].tieValue],
- },
- {
- name: '',
- type: "bar",
- stack: "a",
- itemStyle: {
- color: '#4B532A',
- borderColor: '#9D8B3A', // 边框颜色
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[0].datumValue],
- },
- {
- name: '',
- type: "bar",
- stack: "b",
- barGap:"-85%",
- itemStyle: {
- color: '#00F0FF',
- },
- barWidth: 2,
- data: [res.data[0].value],
- },
- ];
- this.pedestrianFlowBarYaxis = [
- {
- type: "category",
- data: ["单位建筑面积电耗(kW·h/m²)"],
- axisLabel: {
- show: true,
- inside: true,
- interval: 0,
- splitNumber: 50,
- textStyle: {
- color: '#ffffff',
- verticalAlign: 'bottom',
- fontSize: 16,
- align: 'left',
- padding: [0, 0, 20, -5]
- }
- },
- axisLine: {
- show: false
- },
- // 去除刻度线
- axisTick: {
- show: false
- }
- },
- {
- type: "category",
- data: [res.data[0].value],
- axisLabel: {
- show: true,
- inside: true,
- interval: 0,
- splitNumber: 50,
- textStyle: {
- color: '#00F0FF',
- verticalAlign: 'bottom',
- fontSize: 16,
- align: 'right',
- padding: [0, 0, 20, -5]
- }
- },
- axisLine: {
- show: false
- },
- // 去除刻度线
- axisTick: {
- show: false
- }
- },
- ]
-
- this.pedestrianFlowBarAxis = {
- max: res.data[0].total,// 设置最大值是多少
- splitNumber: 3,// 设置分几段显示
- type: 'value',
- show: false,
-
- minorSplitLine: {
- show: false
- }
- };
- //单位建筑面积水耗
- this.waterFlowBarData = [
- {
- name: '',
- type: "bar",
- stack: "a",
-
- itemStyle: {
- color: '#2C5466',
- borderColor: '#2D82B6', // 边框颜色
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[1].guideValue],
- },
- {
- name: '',
- type: "bar",
- stack: "a",
- itemStyle: {
- color: '#754F38',
- borderColor: '#A54110', // 边框颜色
-
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[1].tieValue],
- },
- {
- name: '',
- type: "bar",
- stack: "a",
- itemStyle: {
- color: '#4B532A',
- borderColor: '#9D8B3A', // 边框颜色
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[1].datumValue],
- },
- {
- name: '',
- type: "bar",
- stack: "b",
- barGap:"-85%",
- itemStyle: {
- color: '#00F0FF',
- },
- barWidth: 2,
- data: [res.data[1].value],
- },
- ];
- this.waterFlowBarYaxis = [
- {
- type: "category",
- data: ["单位建筑面积水耗(kW·h/m²)"],
- axisLabel: {
- show: true,
- inside: true,
- interval: 0,
- splitNumber: 50,
- textStyle: {
- color: '#ffffff',
- verticalAlign: 'bottom',
- fontSize: 16,
- align: 'left',
- padding: [0, 0, 20, -5]
- }
- },
- axisLine: {
- show: false
- },
- // 去除刻度线
- axisTick: {
- show: false
- }
- },
- {
- type: "category",
- data: [res.data[1].value],
- axisLabel: {
- show: true,
- inside: true,
- interval: 0,
- splitNumber: 50,
- textStyle: {
- color: '#00F0FF',
- verticalAlign: 'bottom',
- fontSize: 16,
- align: 'right',
- padding: [0, 0, 20, -5]
- }
- },
- axisLine: {
- show: false
- },
- // 去除刻度线
- axisTick: {
- show: false
- }
- },
- ]
- this.waterFlowBarAxis = {
- max: res.data[1].total,// 设置最大值是多少
- splitNumber: 3,// 设置分几段显示
- type: 'value',
- show: false,
-
- minorSplitLine: {
- show: false
- }
- };
- //单位建筑面积综合能耗
- this.comprehensiveFlowBarData = [
- {
- name: '',
- type: "bar",
- stack: "a",
-
- itemStyle: {
- color: '#2C5466',
- borderColor: '#2D82B6', // 边框颜色
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[2].guideValue],
- },
- {
- name: '',
- type: "bar",
- stack: "a",
- itemStyle: {
- color: '#754F38',
- borderColor: '#A54110', // 边框颜色
-
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[2].tieValue],
- },
- {
- name: '',
- type: "bar",
- stack: "a",
- itemStyle: {
- color: '#4B532A',
- borderColor: '#9D8B3A', // 边框颜色
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[2].datumValue],
- },
- {
- name: '',
- type: "bar",
- stack: "b",
- barGap:"-85%",
- itemStyle: {
- color: '#00F0FF',
- },
- barWidth: 2,
- data: [res.data[2].value],
- },
- ];
- this.comprehensiveFlowBarYaxis = [
- {
- type: "category",
- data: ["单位建筑面积综合能耗(kW·h/m²)"],
- axisLabel: {
- show: true,
- inside: true,
- interval: 0,
- splitNumber: 50,
- textStyle: {
- color: '#ffffff',
- verticalAlign: 'bottom',
- fontSize: 16,
- align: 'left',
- padding: [0, 0, 20, -5]
- }
- },
- axisLine: {
- show: false
- },
- // 去除刻度线
- axisTick: {
- show: false
- }
- },
- {
- type: "category",
- data: [res.data[2].value],
- axisLabel: {
- show: true,
- inside: true,
- interval: 0,
- splitNumber: 50,
- textStyle: {
- color: '#00F0FF',
- verticalAlign: 'bottom',
- fontSize: 16,
- align: 'right',
- padding: [0, 0, 20, -5]
- }
- },
- axisLine: {
- show: false
- },
- // 去除刻度线
- axisTick: {
- show: false
- }
- },
- ]
- this.comprehensiveFlowBarAxis = {
- max: res.data[2].total,// 设置最大值是多少
- splitNumber: 3,// 设置分几段显示
- type: 'value',
- show: false,
-
- minorSplitLine: {
- show: false
- }
- };
- //人均水耗
- this.perCapitaFlowBarData = [
- {
- name: '',
- type: "bar",
- stack: "a",
-
- itemStyle: {
- color: '#2C5466',
- borderColor: '#2D82B6', // 边框颜色
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[4].guideValue],
- },
- {
- name: '',
- type: "bar",
- stack: "a",
- itemStyle: {
- color: '#754F38',
- borderColor: '#A54110', // 边框颜色
-
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[4].tieValue],
- },
- {
- name: '',
- type: "bar",
- stack: "a",
- itemStyle: {
- color: '#4B532A',
- borderColor: '#9D8B3A', // 边框颜色
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[4].datumValue],
- },
- {
- name: '',
- type: "bar",
- stack: "b",
- barGap:"-85%",
- itemStyle: {
- color: '#00F0FF',
- },
- barWidth: 2,
- data: [res.data[4].value],
- },
- ];
- this.perCapitaFlowBarYaxis = [
- {
- type: "category",
- data: ["人均水耗(kW·h/m²)"],
- axisLabel: {
- show: true,
- inside: true,
- interval: 0,
- splitNumber: 50,
- textStyle: {
- color: '#ffffff',
- verticalAlign: 'bottom',
- fontSize: 16,
- align: 'left',
- padding: [0, 0, 20, -5]
- }
- },
- axisLine: {
- show: false
- },
- // 去除刻度线
- axisTick: {
- show: false
- }
- },
- {
- type: "category",
- data: [res.data[4].value],
- axisLabel: {
- show: true,
- inside: true,
- interval: 0,
- splitNumber: 50,
- textStyle: {
- color: '#00F0FF',
- verticalAlign: 'bottom',
- fontSize: 16,
- align: 'right',
- padding: [0, 0, 20, -5]
- }
- },
- axisLine: {
- show: false
- },
- // 去除刻度线
- axisTick: {
- show: false
- }
- },
- ]
- this.perCapitaFlowBarAxis = {
- max: res.data[4].total,// 设置最大值是多少
- splitNumber: 3,// 设置分几段显示
- type: 'value',
- show: false,
-
- minorSplitLine: {
- show: false
- }
- };
- //人均电耗
- this.powerFlowBarData = [
- {
- name: '',
- type: "bar",
- stack: "a",
-
- itemStyle: {
- color: '#2C5466',
- borderColor: '#2D82B6', // 边框颜色
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[3].guideValue],
- },
- {
- name: '',
- type: "bar",
- stack: "a",
- itemStyle: {
- color: '#754F38',
- borderColor: '#A54110', // 边框颜色
-
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[3].tieValue],
- },
- {
- name: '',
- type: "bar",
- stack: "a",
- itemStyle: {
- color: '#4B532A',
- borderColor: '#9D8B3A', // 边框颜色
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[3].datumValue],
- },
- {
- name: '',
- type: "bar",
- stack: "b",
- barGap:"-85%",
- itemStyle: {
- color: '#00F0FF',
- },
- barWidth: 2,
- data: [res.data[3].value],
- },
- ];
- this.powerFlowBarYaxis = [
- {
- type: "category",
- data: ["人均电耗(kW·h/m²)"],
- axisLabel: {
- show: true,
- inside: true,
- interval: 0,
- splitNumber: 50,
- textStyle: {
- color: '#ffffff',
- verticalAlign: 'bottom',
- fontSize: 16,
- align: 'left',
- padding: [0, 0, 20, -5]
- }
- },
- axisLine: {
- show: false
- },
- // 去除刻度线
- axisTick: {
- show: false
- }
- },
- {
- type: "category",
- data: [res.data[3].value],
- axisLabel: {
- show: true,
- inside: true,
- interval: 0,
- splitNumber: 50,
- textStyle: {
- color: '#00F0FF',
- verticalAlign: 'bottom',
- fontSize: 16,
- align: 'right',
- padding: [0, 0, 20, -5]
- }
- },
- axisLine: {
- show: false
- },
- // 去除刻度线
- axisTick: {
- show: false
- }
- },
- ]
- this.powerFlowBarAxis = {
- max: res.data[3].total,// 设置最大值是多少
- splitNumber: 3,// 设置分几段显示
- type: 'value',
- show: false,
-
- minorSplitLine: {
- show: false
- }
- };
- //人均综合能耗
- this.exhaustFlowBarData = [
- {
- name: '',
- type: "bar",
- stack: "a",
-
- itemStyle: {
- color: '#2C5466',
- borderColor: '#2D82B6', // 边框颜色
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[5].guideValue],
- },
- {
- name: '',
- type: "bar",
- stack: "a",
- itemStyle: {
- color: '#754F38',
- borderColor: '#A54110', // 边框颜色
-
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[5].tieValue],
- },
- {
- name: '',
- type: "bar",
- stack: "a",
- itemStyle: {
- color: '#4B532A',
- borderColor: '#9D8B3A', // 边框颜色
- borderWidth: 2,
- borderType: 'solid',
- },
- barWidth: 30,
- data: [res.data[5].datumValue],
- },
- {
- name: '',
- type: "bar",
- stack: "b",
- barGap:"-85%",
- itemStyle: {
- color: '#00F0FF',
- },
- barWidth: 2,
- data: [res.data[5].value],
- },
- ];
- this.exhaustFlowBarYaxis = [
- {
- type: "category",
- data: ["人均综合能耗(kW·h/m²)"],
- axisLabel: {
- show: true,
- inside: true,
- interval: 0,
- splitNumber: 50,
- textStyle: {
- color: '#ffffff',
- verticalAlign: 'bottom',
- fontSize: 16,
- align: 'left',
- padding: [0, 0, 20, -5]
- }
- },
- axisLine: {
- show: false
- },
- // 去除刻度线
- axisTick: {
- show: false
- }
- },
- {
- type: "category",
- data: [res.data[5].value],
- axisLabel: {
- show: true,
- inside: true,
- interval: 0,
- splitNumber: 50,
- textStyle: {
- color: '#00F0FF',
- verticalAlign: 'bottom',
- fontSize: 16,
- align: 'right',
- padding: [0, 0, 20, -5]
- }
- },
- axisLine: {
- show: false
- },
- // 去除刻度线
- axisTick: {
- show: false
- }
- },
- ]
- this.exhaustFlowBarAxis = {
- max: res.data[5].total,// 设置最大值是多少
- splitNumber: 3,// 设置分几段显示
- type: 'value',
- show: false,
-
- minorSplitLine: {
- show: false
- }
- };
- } else {
- }
- });
- },
-
- //办公用电分项
- useElectricity() {
- useElectricity(this.$props.appOrg).then((res) => {
- if (Number(res.code) === 200) {
-
- this.electricityAreaBarData = [
- {
- data: [{
- value: res.data[0].itemValue,
-
- },{
- value: res.data[1].itemValue,
-
- },
- {
- value: res.data[2].itemValue,
-
- },{
- value: res.data[3].itemValue,
-
- }],
- type: "bar",
- barWidth: 30,
- itemStyle: {
- color: {
- type: 'linear',
- x: 0, //右
- y: 0, //下
- x2: 0, //左
- y2: 1, //上
- colorStops: [
- {
- offset: 0,
- color: '#FCE0BB' // 0% 处的颜色
- },
- {
- offset: 1,
- color: '#D47F1C' // 100% 处的颜色
- }
- ]
- }
- },
- },
- ];
- } else {
- //构造默认数据
- }
- });
- },
- //绿电比例
- greenElectricity() {
- greenElectricity(this.$props.appOrg).then((res) => {
- if (Number(res.code) === 200) {
- this.greenIntionList=res.data;
- }
- });
- },
- //切换菜单
- chooseBox(index) {
- this.curBodex = index;
- this.showBox = this.Boxtabs[index].tab;
- },
- // 碳排放量月度变化趋势图
- carbon() {
- carbon(this.$props.appOrg).then((res) => {
- if (Number(res.code) === 200) {
- (this.lineData = [
- {
- name: res.data[0].year,
- type: "line",
-
- areaStyle: {
- opacity: 0.8,
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- {
- offset: 0.40,
- color: "#00FFFF",
- },
- {
- offset: 0.78,
- color: "#17231E",
- },
- ]),
- },
- lineStyle: {
- width: 2, // 设置线宽
- color: "#0AC1BD", // 设置线的颜色
- },
- smooth: true,
- data: res.data[0].monthData,
- },{
- name: res.data[1].year,
- type: "line",
-
-
- areaStyle: {
- opacity: 0.8,
- color: new echarts.graphic.LinearGradient(0, 5, 15, 20, [
- {
- offset: 0.95,
- color: "#645727",
- },
-
- {
- offset: 0.98,
- color: "#17231E",
- },
- ]),
- },
- lineStyle: {
- width: 2, // 设置线宽
- color: "#D67C15", // 设置线的颜色
- },
- smooth: true,
- data: res.data[1].monthData,
- },
- ])
- }
- });
- },
-
- //年度累计综合能耗
- energyYear() {
- energyYear(this.$props.appOrg).then((res) => {
- if (Number(res.code) === 200) {
- this.comprehensiveList=res.data;
- (this.comprehensiveData = [
- {
- name: "今年",
- type: "line",
-
- areaStyle: {
- opacity: 0.8,
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- {
- offset: 0.40,
- color: "#00FFFF",
- },
- {
- offset: 0.78,
- color: "#17231E",
- },
- ]),
- },
- lineStyle: {
- width: 2, // 设置线宽
- color: "#0AC1BD", // 设置线的颜色
- },
- smooth: true,
- data: res.data.year,
- },{
- name: "去年",
- type: "line",
-
-
- areaStyle: {
- opacity: 0.8,
- color: new echarts.graphic.LinearGradient(0, 5, 15, 20, [
- {
- offset: 0.95,
- color: "#645727",
- },
-
- {
- offset: 0.98,
- color: "#17231E",
- },
- ]),
- },
- lineStyle: {
- width: 2, // 设置线宽
- color: "#D67C15", // 设置线的颜色
- },
- smooth: true,
- data: res.data.lastYear,
- },
- ])
- }
- });
- },
- //年度累计电耗
- powerYear() {
- powerYear(this.$props.appOrg).then((res) => {
- if (Number(res.code) === 200) {
- this.electricityList=res.data;
- (this.electricityData = [
- {
- name: "今年",
- type: "line",
- // symbol: "none",
- areaStyle: {
- opacity: 0.8,
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- {
- offset: 0.40,
- color: "#00FFFF",
- },
- {
- offset: 0.78,
- color: "#17231E",
- },
- ]),
- },
- lineStyle: {
- width: 2, // 设置线宽
- color: "#0AC1BD", // 设置线的颜色
- },
- smooth: true,
- data: res.data.year,
- },{
- name: "去年",
- type: "line",
-
- // symbol: "none",
- areaStyle: {
- opacity: 0.8,
- color: new echarts.graphic.LinearGradient(0, 5, 15, 20, [
- {
- offset: 0.95,
- color: "#645727",
- },
-
- {
- offset: 0.98,
- color: "#17231E",
- },
- ]),
- },
- lineStyle: {
- width: 2, // 设置线宽
- color: "#D67C15", // 设置线的颜色
- },
- smooth: true,
- data: res.data.lastYear,
- },
- ])
- }
- });
- },
-
-
- //年度累计水耗
- waterYear() {
- waterYear(this.$props.appOrg).then((res) => {
- if (Number(res.code) === 200) {
- this.waterList=res.data;
- (this.waterData = [
- {
- name: "今年",
- type: "line",
- // symbol: "none",
- areaStyle: {
- opacity: 0.8,
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- {
- offset: 0.40,
- color: "#00FFFF",
- },
- {
- offset: 0.78,
- color: "#17231E",
- },
- ]),
- },
- lineStyle: {
- width: 2, // 设置线宽
- color: "#0AC1BD", // 设置线的颜色
- },
- smooth: true,
- data: res.data.year,
- },{
- name: "去年",
- type: "line",
-
- // symbol: "none",
- areaStyle: {
- opacity: 0.8,
- color: new echarts.graphic.LinearGradient(0, 5, 15, 20, [
- {
- offset: 0.95,
- color: "#645727",
- },
-
- {
- offset: 0.98,
- color: "#17231E",
- },
- ]),
- },
- lineStyle: {
- width: 2, // 设置线宽
- color: "#D67C15", // 设置线的颜色
- },
- smooth: true,
- data: res.data.lastYear,
- },
- ])
- }
- });
- },
-
- // //资源信息
- // resourceInfo() {
- // resourceInfo(this.$props.appOrg).then((res) => {
- // if (Number(res.code) === 200) {
- // let color = ["#00FFFF", "#2F82FE", "#12DB62", "#FFB948", "#FF4848"];
- // let resourceDataList = [];
- // res.data.forEach((item, index)=>{
- // item.color = color[index];
- // resourceDataList.push(item);
- // })
- // this.resourceDataList = resourceDataList;
- // }
- // });
- // },
-
- //鼠标移出
- leaveFun(){
- this.$emit("closeDialog")
- setTimeout(()=>{
- this.$emit("closeDialog")
- },200)
- },
-
- preventDefault() {
-
- },
-
- showContent(percent){
- return percent;
- }
- },
- };
- </script>
-
- <style lang="scss">
- .dialog-area {
- overflow: hidden;
- width: 1225px;
- height:920px;
- background: url("../../../assets/images/main/components_max_bg.png") no-repeat;
- background-size: cover;
- padding: 19px 15px 11px 15px;
- //backdrop-filter: blur(10px);
-
- .dialog-title {
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: center;
- position: relative;
- margin-bottom: 10px;
- img {
- width: 284px;
- height: 32px;
- }
- .title {
- font-size: 20px;
- font-weight: 900;
- font-family: "PingFangSC";
- width: 100%;
- position: absolute;
- display: flex;
- align-items: center;
- justify-content: center;
- top: -5px;
- color: #fff;
- }
- }
-
- .dialog-cont {
- width:100%;
- height: 850px;
- padding: 15px;
- overflow-y: scroll;
- background: url("../../../assets/images/main/components_max_cont.png") no-repeat;
- background-size: cover;
-
- .dialog-left{
- width: 570px;
- float: left;
- }
- .dialog-right{
- width: 570px;
- float: right;
- }
- }
-
- .dialog-list {
- width: 100%;
- display: flex;
- justify-content: space-between;
- margin-bottom: 20px;
-
- .dialog-item{
- width: calc(50% - 20px);
- }
-
- .dialog-item-cont{
- display: flex;
- justify-content: center;
- align-items: center;
- margin-top:40px;
- }
-
- .wid100 {
- width: 100%;
-
- .content-title {
- width: 100%;
- background: url("../../../assets/images/main/title_pro_longer.png") no-repeat;
- }
- }
- }
-
- .dialog-list1 {
- width: 100%;
- display: flex;
- justify-content: space-between;
- margin-bottom: 20px;
- margin-top: 20px;
- .dialog-item{
- width: calc(50% - 20px);
- }
-
- .dialog-item-cont{
- display: flex;
- justify-content: center;
- align-items: center;
- margin-top:40px;
- }
-
- .wid100 {
- width: 100%;
-
- .content-title {
- width: 100%;
- background: url("../../../assets/images/main/title_pro_longer.png") no-repeat;
- }
- }
- }
- .content-title {
- width: 100%;
- height: 26px;
- background: url("../../../assets/images/main/title_pro.png") no-repeat;
- background-size: 100% 100%;
- font-family: "PingFangSC";
- font-size: 16px;
- font-weight: bold;
- color: #00ffff;
- padding-left: 25px;
- .title {
- display: block;
- position: relative;
- top:-5px;
- }
- }
- //左边菜单
- .rightList1{
- display: flex;
- flex-wrap: wrap;
- padding: 10px 0px 0px 0px;
- justify-content: space-between;
- .left-list{
- display: flex;
- align-items: center;
- margin-bottom: 15px;
- img{
- display: block;
- width:42px;
- height:45px;
- margin-right: 5px;
- }
- .left-info{
- display: flex;
- // padding-left:12px;
- .airStation{
- display: flex;
- align-items: center;
- }
- .temelper{
- font-size: 18px;
- color:#FFFFFF;
- font-family: "electronicFont";
- }
-
- .num{
- font-size: 30px;
- color:#00FFFF;
- font-family: "electronicFont";
- display: flex;
- flex-direction: row;
- align-items: baseline;
- .unit{
- font-size: 12px;
- font-family: 'PingFangSC';
- }
- }
- .name{
- display: flex;
- font-size: 14px;
- color:#FFFFFF;
- font-family: 'fashionZh';
- padding-top:4px;
- }
-
- }
- .podTan{
- margin-right: 17px;
- }
- }
- }
- //右边菜单
- .rightList2{
- display: flex;
- flex-wrap: wrap;
- padding: 10px 10px 0px 10px;
- justify-content: space-between;
- .left-list{
- display: flex;
- align-items: center;
- margin-bottom: 15px;
- margin-left: 30px;
- img{
- display: block;
- // width:20px;
- // height:20px;
- margin-right: 5px;
- }
- .left-info{
- // padding-left:12px;
-
- .num{
- font-size: 34px;
- color:#00FFFF;
- font-family: "electronicFont";
- display: flex;
- flex-direction: row;
- align-items: center;
- .unit{
- font-size: 12px;
- font-family: 'PingFangSC';
- font-weight: bold;
- padding-top: 5px;
- }
- }
- .name{
- display: flex;
- font-size: 14px;
- color:#FFFFFF;
- font-family: 'fashionZh';
- padding-top:4px;
- }
-
- }
- }
- .right-Top{
- display: flex;
- .left-list1{
- width: 130px;
- height: 45px;
- display: flex;
- align-items: center;
- margin-bottom: 15px;
- margin-right: 20px;
- margin-top: 5px;
- background: url("../../../assets/images/building_guarantee/normal.png") no-repeat;
- background-size: 100% 100%;
- justify-content: center;
- .nor{
- display: flex;
- font-size: 34px;
- color:#10D95F;
- font-family: "electronicFont";
- padding-top:4px;
- padding-left: 50px;
- }
- }
- .left-list2{
- width: 130px;
- height: 45px;
- display: flex;
- align-items: center;
- margin-bottom: 15px;
- margin-right: 50px;
- margin-top: 5px;
- background: url("../../../assets/images/building_guarantee/danger.png") no-repeat;
- background-size: 100% 100%;
- justify-content: center;
- .dor{
- display: flex;
- font-size: 34px;
- color:#FF003D;
- font-family: "electronicFont";
- padding-top:4px;
- padding-left: 50px;
- }
- }
- }
-
- }
- .content {
- margin-top: 20px;
- .title-format {
- display: flex;
- flex-direction: row;
- align-items: center;
- img {
- width: 6px;
- height: 24px;
- margin-right: 6px;
- }
- .title-info {
- display: flex;
- flex-direction: column;
- font-size: 12px;
- color: #ffffff;
- .title-en {
- font-size: 8px;
- color: #ffffff;
- opacity: 0.4;
- }
- }
- }
- .total-data {
- display: flex;
- align-items: baseline;
- color: #00ffff;
- margin-top: 4px;
- .total {
- font-size: 40px;
- font-family: "electronicFont";
- }
- .unit {
- font-size: 12px;
- }
- }
- .data-content {
- display: flex;
- flex-direction: row;
- align-items: center;
- flex-wrap: wrap;
- .data-item {
- position: relative;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- margin-right: 24px;
- img {
- width: 89px;
- height: 82px;
- }
- .desc {
- font-size: 14px;
- color: #ffffff;
- margin-top: 7px;
- opacity: 0.4;
- }
- .data {
- position: absolute;
- top: 20px;
- left: 0;
- width: 89px;
- font-size: 30px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #00ffff;
- font-family: "electronicFont";
- }
- }
- .data-item:nth-child(2n) {
- margin-right: 0;
- }
- }
- .data-list {
- display: flex;
- flex: 1;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- .data-item {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- flex: 1;
- border-right: 1px solid rgba(25, 252, 222, 0.2);
- .data-detail {
- display: flex;
- flex-direction: row;
- align-items: baseline;
- color: #00ffff;
- margin-top: 11px;
- font-size: 12px;
- .data {
- font-size: 30px;
- font-family: "electronicFont";
- }
- }
- }
- .data-item:last-child {
- border-right: none;
- }
- }
- .rate-area {
- position: relative;
- img {
- width: 198px;
- height: 114px;
- }
- .rate {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- width: 100%;
- position: absolute;
- top: 0;
- left: 0;
- color: #fff;
- .rate-data {
- display: flex;
- flex-direction: row;
- align-items: baseline;
- color: #ffba44;
- .data {
- font-family: "electronicFont";
- font-size: 30px;
- }
- .unit {
- font-size: 12px;
- }
- }
- .desc {
- font-size: 12px;
- width: 58px;
- text-align: center;
- }
- }
- }
- }
- .charts-cont{
- width:100%;
- padding-top:10px;
- }
- .total-cot{
- display: flex;
- .other-cont {
- display: flex;
-
- .icon {
- display: block;
- width: 70px;
- height: auto;
- }
- .other-info {
- padding-left: 2px;
-
- .desc {
- font-size: 12px;
- color: #ffffff;
- font-weight: bold;
- }
- .num-info {
- width: 100%;
- padding-top: 2px;
- display: flex;
- align-items: center;
-
- .num {
- font-size: 30px;
- color: #00ffff;
- font-weight: bold;
- font-family: "electronicFont";
- }
- .unit {
- font-size: 12px;
- color: #00ffff;
- font-weight: 500;
- position: relative;
- top: 4px;
- }
- .mar {
- margin-left: 20px;
- }
- }
- }
- }
- .other-cou{
- display: flex;
- margin-left:60px;
-
- .icon {
- display: block;
- width: 70px;
- height: auto;
- }
- .other-info {
- padding-left: 2px;
- .desc {
- font-size: 12px;
- color: #ffffff;
- font-weight: bold;
- }
- .num-info {
- width: 100%;
- padding-top: 2px;
- display: flex;
- align-items: center;
- .num {
- font-size: 30px;
- color: #00ffff;
- font-weight: bold;
- font-family: "electronicFont";
- }
- .unit {
- font-size: 12px;
- color: #00ffff;
- font-weight: 500;
- position: relative;
- top: 4px;
- }
- .mar {
- margin-left: 20px;
- }
- }
- }
- }
-
-
- }
- //年度累计综合能耗
- .total-cot1{
- display: flex;
- padding-left: 20px;
- .other-cont {
- display: flex;
-
- .icon {
- display: block;
- width: 70px;
- height: auto;
- }
- .other-info {
- padding-left: 2px;
-
- .desc {
- font-size: 12px;
- color: #ffffff;
- font-weight: bold;
- }
- .num-info {
- width: 100%;
- padding-top: 2px;
- display: flex;
- align-items: center;
-
- .num {
- font-size: 30px;
- color: #00ffff;
- font-weight: bold;
- font-family: "electronicFont";
- }
- .unit {
- font-size: 12px;
- color: #00ffff;
- font-weight: 500;
- position: relative;
- top: 4px;
- }
- .mar {
- margin-left: 20px;
- }
- }
- }
- }
- .other-cou1{
- display: flex;
- margin-left:30px;
- align-items: center;
- .icon {
- display: block;
- width: 70px;
- height: auto;
- }
- .other-info {
- padding-left: 2px;
- padding-top: 8px;
- .desc {
- font-size: 12px;
- color: #ffffff;
- font-weight: bold;
- }
- .num-info {
- width: 100%;
- padding-top: 2px;
- display: flex;
- align-items: center;
- .num {
- font-size: 30px;
- color: #00ffff;
- font-weight: bold;
- font-family: "electronicFont";
- }
- .unit {
- font-size: 12px;
- color: #00ffff;
- font-weight: 500;
- position: relative;
- top: 4px;
- }
- .mar {
- margin-left: 20px;
- }
- }
- }
- }
-
-
- }
-
-
- .total-cont{
- width: 100%;
- height: 35px;
- background: url("../../../assets/images/main/lightLone.png") no-repeat;
- background-size: 100% 100%;
- font-family: "PingFangSC";
- font-size: 13px;
- font-weight: bold;
- color: #ffffff;
- padding-left: 25px;
- padding-top: 6px;
- align-items: center;
- display: flex;
- justify-content: space-between;
- margin-top: 10px;
- margin-left: 15px;
- }
- .circle-cont {
- width: 100%;
- display: flex;
- flex-wrap: wrap;
- padding: 0 10px;
-
- .circle-list {
- width: 100px;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- margin-bottom: 10px;
-
- .re-img{
- width: 100px;
- height: auto;
- position: relative;
- }
- .re-value{
- position: absolute;
- width: 100px;
- font-size: 30px;
- font-weight: bold;
- font-family: "electronicFont";
- color: #00FFFF;
- text-align: center;
- top: 5px;
- left: 0px;
- }
-
- .name {
- font-size: 12px;
- color: #ffffff;
- font-weight: 500;
- padding-top: 6px;
- width: 100%;
- overflow: hidden;
- text-align: center;
- white-space: nowrap;
- padding-left: 5px;
- }
- }
-
- .el-progress__text {
- font-size: 12px !important;
- color: #fff !important;
- }
- }
-
- .table-cont {
- width: 100%;
-
- .table-top {
- width: 100%;
- height: 26px;
- background: url("../../../assets/images/building_guarantee/img_11.png")
- no-repeat;
- background-size: 100% 100%;
- padding: 0 25px 0 10px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 12px;
- color: #00ffff;
- }
- .table-bot {
- width: 100%;
-
- .table-list {
- width: 100%;
- height: 38px;
- padding: 0 25px 0 10px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 12px;
- color: #ffffff;
- font-weight: 500;
- }
- }
- }
- .other-cont {
- display: flex;
- .icon {
- display: block;
- width: 70px;
- height: auto;
- }
- .other-info {
- padding-left: 2px;
- .desc {
- font-size: 12px;
- color: #ffffff;
- font-weight: bold;
- }
- .num-info {
- width: 100%;
- padding-top: 2px;
- display: flex;
- align-items: center;
- .num {
- font-size: 30px;
- color: #00ffff;
- font-weight: bold;
- font-family: "electronicFont";
- }
- .unit {
- font-size: 12px;
- color: #00ffff;
- font-weight: 500;
- position: relative;
- top: 4px;
- }
- .mar {
- margin-left: 20px;
- }
- }
- }
- }
- .content-Image{
- width: 100%;
- height: 400px;
- background: url("../../../assets/images/building_guarantee/zhibiao.png")
- no-repeat;
- background-size: 100% 100%;
- margin: 10px 10px 10px 10px;
- }
- .energyBox{
- display: flex;
- .routine{
- display: flex;
- width: 35%;
- align-items: center;
- color: #ffffff;
- flex-wrap: wrap;
- align-content: center;
- .routineNavBox{
- display: flex;
- align-items: center;
- width: 100%;
- height: 60px;
- .imgBOX{
- width: 25px;
- img{
- height: 15px;
- }
- }
- .greenName{
- font-size: 18px;
- }
- .greenNum{
- margin-left: 10px;
- color: #00ffff;
- }
- }
- .greenPoxBOX{
- display: flex;
- align-items: center;
- width: 100%;
- height: 60px;
- .imgBOX{
- width: 25px;
- img{
- height: 15px;
- }
- }
- .greenName{
- font-size: 18px;
- }
- .greenNum{
- margin-left: 10px;
- color: #00ffff;
- }
- }
- }
- }
- //绿电比例
- .greenElectricity{
- height: 100px;
- background: url("../../../assets/images/building_guarantee/greenElectricity.png")
- no-repeat;
- margin: 20px 20px 10px 20px;
- }
- .leftNav{
- display: flex;
- margin: 15px 0px 0px 15px;
- .model1 {
- margin-right: 15px;
- width: 82px;
- height: 45px;
- line-height: 30px;
- text-align: center;
- font-family: "PingFangSc";
- font-size: 14px;
- font-weight: bold;
- background: url("../../../assets/images/main/choose_short_single.png") no-repeat;
- // background-size: 95% 95%;
- color: #CED6D6;
- cursor: pointer;
- }
- .model:last-child {
- margin-right: 0;
- }
- .cur {
- color: #05FEFE;
- // background: url("../../../../assets/images/main/menu_chooe.png") no-repeat;
- }
- }
- .pedestrianBox{
- display: flex;
- color: #ffffff;
- cursor: pointer;
- margin: 15px 0 10px 9px;
- .docWs{
- display: flex;
- align-items: center;
- .yinBor{
- width: 15px;
- height: 15px;
- background: #2C5466;
- border: 2px solid #2D82B6;
- }
- }
- .docWs1{
- display: flex;
- align-items: center;
- margin-left: 25px;
- .jiBOX{
- width: 15px;
- height: 15px;
- background: #754F38;
- border: 2px solid #A54110;
- }
- }
- .docWs2{
- display: flex;
- align-items: center;
- margin-left: 25px;
- .yuBox{
- width: 15px;
- height: 15px;
- background: #4B532A;
- border: 2px solid #9D8B3A;
- }
- }
- .docWs3{
- display: flex;
- align-items: center;
- margin-left: 25px;
- .shiBox{
- width: 15px;
- height: 3px;
- background: #00f0ff;
- }
- }
- }
- .table-cont .fir {
- width: 20%;
- text-align: left;
- }
- .table-cont .snd {
- width: 50%;
- text-align: center;
- }
- .table-cont .thd {
- width: 30%;
- text-align: right;
- }
-
- ::-webkit-scrollbar {
- display: none;
- width: 3px;
- height: 3px;
- }
-
- ::-webkit-scrollbar-thumb {
- //滑块部分
- // border-radius: 5px;
- background-color: #58cbbb;
- }
-
- ::-webkit-scrollbar-track {
- //轨道部分
- // box-shadow: inset 0 0 5px #ddd;
- background: #ddd;
- // border-radius: 5px;
- }
- }
- </style>
-
-
|