123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780 |
- <template>
- <div class="map">
- <HeaderNav
- ref="header"
- :wpId="wpId"
- :currents="currents"
- @firstRender="firstRender"
- @typeFlag="typeFlag"
- :isShows="false"
- />
- <!-- 山西左侧信息 -->
- <div
- v-if="currentTitle != '全国'"
- class="sx-left-box"
- :style="{ zIndex: dialogShow ? 6 : 5 }"
- >
- <div class="security-days safe_power" :data-type="$store.state.moreSty">
- <div class="text">安全天数:</div>
- <div class="num">
- <span class="font-num">{{
- StationinformationData?.qt?.aqts
- ? StationinformationData.qt?.aqts
- : "0"
- }}</span>
- <span class="unit">天</span>
- </div>
- <div class="security">
- <div v-if="wpId.includes('FDC') || wpId.includes('GDC')" class="text">
- {{ currentTitle }}资产统计:
- </div>
- <div v-else-if="tabShow == 0" class="text">资产统计:</div>
- <div v-else-if="tabShow == -1" class="text">风电资产统计:</div>
- <div v-else-if="tabShow == -2" class="text">光伏资产统计:</div>
- <div class="num">
- <span class="font-num">
- {{
- wpId.includes("FDC") || wpId.includes("GDC")
- ? (
- StationinformationData?.station[wpId]?.zjrl / 1000
- ).toFixed(2)
- : activeTab == 0
- ? StationinformationData?.qt?.zzjrl
- : activeTab == -1
- ? StationinformationData?.qt?.fdzzjrl
- : StationinformationData?.qt?.gfzzjrl
- }}
- </span>
- <span class="unit">MW</span>
- </div>
- <div class="lineBox">
- <div class="fd-rl" v-if="tabShow == 0">
- <span class="text">风电</span>
- <span class="num font-num">
- {{
- wpId.includes("FDC")
- ? (
- StationinformationData?.station[wpId]?.zjrl / 1000
- ).toFixed(2)
- : StationinformationData?.qt?.fdzzjrl
- }}
- </span>
- <span class="unit">MW</span>
- </div>
- <div class="gf-rl" v-if="tabShow == 0">
- <span class="text">光伏</span>
- <span class="font-num">{{
- wpId.includes("GDC")
- ? (
- StationinformationData?.station[wpId]?.zjrl / 1000
- ).toFixed(2)
- : StationinformationData?.qt?.gfzzjrl
- }}</span>
- <span class="unit">MW</span>
- </div>
- </div>
- </div>
- </div>
- <div
- class="qjny-info safe_power"
- :data-type="$store.state.moreSty"
- @mouseenter="switchShow = true"
- @mouseleave="switchShow = false"
- :style="{ width: tabShow == 0 ? '406px' : 'calc(170px + 20px)' }"
- >
- <ul>
- <li v-show="tabShow == -1 || tabShow == 0">
- <div class="imgs">
- <img
- src="@/assets/home/fc_1.png"
- alt=""
- v-if="$store.state.moreSty === 'greenSty'"
- />
- <img src="@/assets/home/fc_b_1.png" alt="" v-else />
- </div>
- <p class="qty_tit">
- 风场数量
- <sapn class="qty_value">
- {{
- wpId.includes("FDC")
- ? 1
- : StationinformationData?.cblpoint.qjny_fcts
- }}</sapn
- >
- <span class="qty_u">个</span>
- </p>
- <div class="qty_content">
- <p class="qty_imag">
- 风机台数
- <span class="qty_val">
- {{
- wpId.includes("FDC")
- ? StationinformationData?.station[wpId]?.zjts
- : StationinformationData?.cblpoint.qjny_fj_ts
- }} </span
- ><span class="qty_unit">台</span>
- </p>
- <p class="qty_imag">
- 陆地风机
- <span class="qty_val">
- {{
- wpId.includes("FDC")
- ? StationinformationData?.station[wpId]?.zjts
- : StationinformationData?.cblpoint.qjny_fj_ts
- }} </span
- ><span class="qty_unit">台</span>
- </p>
- <p class="qty_imag">
- 海上风机
- <span class="qty_val">
- {{
- wpId.includes("FDC")
- ? StationinformationData?.station[wpId]?.hszjts
- : StationinformationData?.cblpoint.qjny_hsfj_ts
- }} </span
- ><span class="qty_unit">台</span>
- </p>
- </div>
- </li>
- <li class="line" v-show="tabShow == 0"></li>
- <li v-show="tabShow == 0 || tabShow == -2">
- <div class="imgs">
- <!-- <img src="@/assets/home/gf_1.png" alt="" /> -->
- <img
- src="@/assets/home/gf_1.png"
- alt=""
- v-if="$store.state.moreSty === 'greenSty'"
- />
- <img src="@/assets/home/gf_b_1.png" alt="" v-else />
- </div>
- <p class="qty_tit">
- 光伏数量
- <sapn class="qty_value" id="pv">{{
- wpId.includes("GDC")
- ? 1
- : StationinformationData?.cblpoint.qjny_gfts
- }}</sapn>
- <span class="qty_u">个</span>
- </p>
- <div class="qty_content">
- <p class="qty_imag">
- 逆变器
- <span class="qty_val">
- {{
- wpId.includes("GDC")
- ? StationinformationData?.station[wpId]?.jzzjts +
- StationinformationData?.station[wpId]?.zczjts
- : StationinformationData?.cblpoint.qjny_gf_jzts +
- StationinformationData?.cblpoint.qjny_gf_zcts
- }}
- </span>
- <span class="qty_unit">台</span>
- </p>
- <p class="qty_imag">
- 集中式<span class="qty_val">
- {{
- wpId.includes("GDC")
- ? StationinformationData?.station[wpId]?.jzzjts
- : StationinformationData?.cblpoint.qjny_gf_jzts
- }} </span
- ><span class="qty_unit">台</span>
- </p>
- <p class="qty_imag">
- 组串式<span class="qty_val">
- {{
- wpId.includes("GDC")
- ? StationinformationData?.station[wpId]?.zczjts
- : StationinformationData?.cblpoint.qjny_gf_zcts
- }} </span
- ><span class="qty_unit">台</span>
- </p>
- </div>
- </li>
- </ul>
- <div
- class="switch-jrqk"
- v-show="switchShow"
- :data-type="$store.state.moreSty"
- >
- <div>
- <img
- src="@/assets/imgs/arrows.png"
- v-if="$store.state.moreSty === 'greenSty'"
- />
- <img src="@/assets/imgs/arrows_b.png" v-else />
- 接入情况
- </div>
- <ul>
- <li v-show="tabShow == -1 || tabShow == 0">
- <div class="imgs">
- <!-- <img src="@/assets/home/fc_1.png" alt="" /> -->
- <img
- src="@/assets/home/fc_1.png"
- alt=""
- v-if="$store.state.moreSty === 'greenSty'"
- />
- <img src="@/assets/home/fc_b_1.png" alt="" v-else />
- </div>
- <p class="qty_tit">
- 风场数量
- <sapn class="qty_value">
- {{
- wpId.includes("FDC")
- ? 1
- : StationinformationData?.cblpoint?.jr_fcts
- }}</sapn
- >
- <span class="qty_u">个</span>
- </p>
- <div class="qty_content">
- <p class="qty_imag">
- 风机台数<span class="qty_val">
- {{
- wpId.includes("FDC")
- ? StationinformationData?.station[wpId]?.zjts
- : StationinformationData?.cblpoint?.jr_fj_ts
- }} </span
- ><span class="qty_unit">台</span>
- </p>
- <p class="qty_imag">
- 陆地风机<span class="qty_val">
- {{
- wpId.includes("FDC")
- ? StationinformationData?.station[wpId]?.zjts
- : StationinformationData?.cblpoint?.jr_fj_ts
- }} </span
- ><span class="qty_unit">台</span>
- </p>
- <p class="qty_imag">
- 海上风机<span class="qty_val">
- {{
- wpId.includes("FDC")
- ? StationinformationData?.station[wpId]?.hszjts
- : StationinformationData?.cblpoint?.qjny_hsfj_ts
- }} </span
- ><span class="qty_unit">台</span>
- </p>
- </div>
- </li>
- <li class="line" v-if="tabShow == 0"></li>
- <li v-show="tabShow == 0 || tabShow == -2">
- <div class="imgs">
- <!-- <img src="@/assets/home/gf_1.png" alt="" /> -->
- <img
- src="@/assets/home/gf_1.png"
- alt=""
- v-if="$store.state.moreSty === 'greenSty'"
- />
- <img src="@/assets/home/gf_b_1.png" alt="" v-else />
- </div>
- <p class="qty_tit">
- 光伏数量
- <sapn class="qty_value" id="pv">
- {{
- wpId.includes("GDC")
- ? 1
- : StationinformationData?.cblpoint?.jr_gfts
- }}</sapn
- >
- <span class="qty_u">个</span>
- </p>
- <div class="qty_content">
- <p class="qty_imag">
- 逆变器<span class="qty_val">
- {{
- wpId.includes("GDC")
- ? StationinformationData?.station[wpId]?.jzzjts +
- StationinformationData?.station[wpId]?.zczjts
- : StationinformationData?.cblpoint.jr_gf_jzts +
- StationinformationData?.cblpoint.jr_gf_zcts
- }}
- </span>
- <span class="qty_unit">台</span>
- </p>
- <p class="qty_imag">
- 集中式<span class="qty_val">
- {{
- wpId.includes("GDC")
- ? StationinformationData?.station[wpId]?.jzzjts
- : StationinformationData?.cblpoint?.jr_gf_jzts
- }} </span
- ><span class="qty_unit">台</span>
- </p>
- <p class="qty_imag">
- 组串式<span class="qty_val">
- {{
- wpId.includes("GDC")
- ? StationinformationData?.station[wpId]?.zczjts
- : StationinformationData?.cblpoint?.jr_gf_zcts
- }} </span
- ><span class="qty_unit">台</span>
- </p>
- </div>
- </li>
- </ul>
- </div>
- </div>
- <div class="ecoName safe_power">
- <p class="ecoTitle">社会贡献<span>万吨/月</span></p>
- <ul>
- <li class="eco_count">
- <div class="svg-icon svg-icon-green">
- <svg-icon class="" svgid="svg-煤" />
- </div>
- <p class="eco_val text-ellipsis">
- {{ (StationinformationData?.qt.jym).toFixed(2) }}
- </p>
- <p class="eco_name">煤</p>
- </li>
- <li class="eco_count">
- <div class="svg-icon svg-icon-green">
- <svg-icon class="" svgid="svg-水" />
- </div>
- <p class="eco_val text-ellipsis">
- {{ (StationinformationData?.qt.jys).toFixed(2) }}
- </p>
- <p class="eco_name">水</p>
- </li>
- <li class="eco_count">
- <div class="kind">
- <div class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-co2" />
- </div>
- </div>
- <p class="eco_val text-ellipsis">
- {{ (StationinformationData?.qt.co2).toFixed(2) }}
- </p>
- <p class="eco_name">二氧化碳</p>
- </li>
- <li class="eco_count">
- <div class="kind">
- <div class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-so2" />
- </div>
- </div>
- <p class="eco_val text-ellipsis">
- {{ (StationinformationData?.qt.so2).toFixed(2) }}
- </p>
- <p class="eco_name">二氧化硫</p>
- </li>
- </ul>
- </div>
- <div
- class="my_echarts safe_power"
- v-if="penetrateType == 3"
- @dblclick="handleShowCharts(currentTitle)"
- >
- <power-echarts
- :CurveValues="CurveValues"
- width="680px"
- height="220px"
- :unit="'MW'"
- :ratio="1000"
- :id="'cut-power'"
- :orient="'horizontal'"
- />
- </div>
- </div>
- <el-dialog
- class="dialogs"
- width="80%"
- top="100px"
- v-model="dialogShow"
- :show-close="true"
- destroy-on-close
- >
- <template #title>
- <div class="dialog-title">
- <div class="title">{{ showName }}</div>
- </div>
- </template>
- <div class="dialog-body" style="height: 600px">
- <img class="dialog-img" src="@assets/imgs/dialog.png" />
- <power-echarts
- :id="'show-chart'"
- :showTitle="false"
- :CurveValues="showCharts"
- width="100%"
- height="560px"
- :unit="'MW'"
- :orient="'horizontal'"
- />
- </div>
- </el-dialog>
- <!-- 全国左侧信息 -->
- <div class="leftBox" v-if="currentTitle == '全国'">
- <div
- :class="
- $store.state.themeName === 'light' ? 'new-home-light' : 'new-home'
- "
- >
- <div class="security-day" :data-type="$store.state.moreSty">
- <div v-if="activeTab == 0" class="text">清洁能源产业总装机容量:</div>
- <div v-if="activeTab == -1" class="text">
- 清洁能源产业风电总装机容量:
- </div>
- <div v-if="activeTab == -2" class="text">
- 清洁能源产业光伏总装机容量:
- </div>
- <div class="num">
- <span class="font-num" v-if="activeTab == 0">{{
- StationinformationData?.qt?.zzjrl
- }}</span>
- <span class="font-num" v-if="activeTab == -1">{{
- StationinformationData?.qt?.fdzzjrl
- }}</span>
- <span class="font-num" v-if="activeTab == -2">{{
- StationinformationData?.qt?.gfzzjrl
- }}</span>
- <span class="unit">MW</span>
- </div>
- <div class="security">
- <div class="lineBox">
- <div v-if="activeTab == 0">
- <span>风电</span>
- <span class="num font-num">{{
- StationinformationData?.qt?.fdzzjrl
- }}</span>
- <span class="unit">MW</span>
- </div>
- <div v-if="activeTab == 0">
- <span>光伏</span>
- <span class="num font-num">{{
- StationinformationData?.qt?.gfzzjrl
- }}</span>
- <span class="unit">MW</span>
- </div>
- </div>
- <div class="text">安全天数:</div>
- <div class="num">
- <span class="font-num">{{
- StationinformationData?.qt?.aqts || 0
- }}</span>
- <span class="unit-t">天</span>
- </div>
- </div>
- </div>
- <template v-if="true">
- <div
- class="energy-system-box box1"
- :class="activeTab == -1 || activeTab == -2 ? 'piggy-tab-width' : ''"
- v-if="false"
- >
- <div
- class="energy-system-content clearfix"
- :data-type="$store.state.moreSty"
- >
- <div class="title">
- <span class="title-name">清洁能源公司</span>
- <span class="title-all-title">总装机容量 :</span>
- <span class="title-all-content" v-if="activeTab == 0">{{
- Number(StationinformationData?.cblpoint?.qjny_zzjrl) || 0
- }}</span>
- <span class="title-all-content" v-if="activeTab == -1">{{
- StationinformationData?.cblpoint?.qjny_fd_zjrl || 0
- }}</span>
- <span class="title-all-content" v-if="activeTab == -2">{{
- StationinformationData?.cblpoint?.qjny_gf_zjrl || 0
- }}</span>
- <span class="title-all-unit">MW</span>
- </div>
- <div
- class="left-content float-left"
- :class="activeTab == -1 ? 'piggy-bank' : ''"
- v-if="activeTab == -1 || activeTab == 0"
- >
- <div class="img-num clearfix">
- <div class="img float-left">
- <img
- src="@/assets/home/fc_1.png"
- alt=""
- v-if="$store.state.moreSty === 'greenSty'"
- />
- <img src="@/assets/home/fc_b_1.png" alt="" v-else />
- </div>
- <div class="num float-left">
- <span>风电场数量</span> <br />
- <span>{{
- StationinformationData?.cblpoint?.qjny_fcts
- }}</span>
- <span>个</span>
- </div>
- </div>
- <div class="capacity">
- <div class="item">
- <el-row align="middle">
- <el-col :span="8"><span>装机容量</span></el-col>
- <el-col :span="9"
- ><span>{{
- StationinformationData?.cblpoint?.qjny_fd_zjrl
- }}</span></el-col
- >
- <el-col :span="7"><span>MW</span></el-col>
- </el-row>
- </div>
- <!-- <div class="item">
- <el-row>
- <el-col :span="8"><span>风机台数</span></el-col>
- <el-col :span="9"
- ><span>{{
- StationinformationData?.cblpoint?.qjny_fj_ts
- }}</span></el-col
- >
- <el-col :span="7"><span>台</span></el-col>
- </el-row>
- </div> -->
- </div>
- </div>
- <div
- class="right-content float-left"
- :class="activeTab == -2 ? 'piggy-bank' : ''"
- v-if="activeTab == -2 || activeTab == 0"
- >
- <div class="img-num clearfix">
- <div class="img float-left">
- <img
- src="@/assets/home/gf_1.png"
- alt=""
- v-if="$store.state.moreSty === 'greenSty'"
- />
- <img src="@/assets/home/gf_b_1.png" alt="" v-else />
- </div>
- <div class="num float-left">
- <span>光伏电站数量</span> <br />
- <span>{{
- StationinformationData?.cblpoint?.qjny_gfts
- }}</span>
- <span>个</span>
- </div>
- </div>
- <div class="capacity">
- <div class="item">
- <el-row>
- <el-col :span="8"><span>装机容量</span></el-col>
- <el-col :span="9"
- ><span>{{
- StationinformationData?.cblpoint?.qjny_gf_zjrl
- }}</span></el-col
- >
- <el-col :span="7"><span>MW</span></el-col>
- </el-row>
- </div>
- <!-- <div class="item">
- <el-row>
- <el-col :span="8"><span>集中式</span></el-col>
- <el-col :span="9"
- ><span>{{
- StationinformationData?.cblpoint?.qjny_gf_jzts
- }}</span></el-col
- >
- <el-col :span="7"><span>台</span></el-col>
- </el-row>
- </div>
- <div class="item">
- <el-row>
- <el-col :span="8"><span>组串式</span></el-col>
- <el-col :span="9"
- ><span>{{
- StationinformationData?.cblpoint?.qjny_gf_zcts
- }}</span></el-col
- >
- <el-col :span="7"><span>台</span></el-col>
- </el-row>
- </div> -->
- </div>
- </div>
- </div>
- </div>
- <div
- class="energy-system-box box2"
- :class="activeTab == -1 || activeTab == -2 ? 'piggy-tab-width' : ''"
- v-if="false"
- >
- <div
- class="energy-system-content clearfix"
- :data-type="$store.state.moreSty"
- >
- <div class="title">
- <span class="title-name">系统接入情况</span>
- <span class="title-all-title">总装机容量 :</span>
- <span class="title-all-content" v-if="activeTab == 0">{{
- Number(StationinformationData?.cblpoint?.jr_zzjrl) || 0
- }}</span>
- <span class="title-all-content" v-if="activeTab == -1">{{
- StationinformationData?.cblpoint?.jr_fd_zjrl || 0
- }}</span>
- <span class="title-all-content" v-if="activeTab == -2">{{
- StationinformationData?.cblpoint?.jr_gf_zjrl || 0
- }}</span>
- <span class="title-all-unit">MW</span>
- </div>
- <div
- class="left-content float-left"
- :class="activeTab == -1 ? 'piggy-bank' : ''"
- v-if="activeTab == -1 || activeTab == 0"
- >
- <div class="img-num clearfix">
- <div>
- <div class="img float-left">
- <img
- src="@/assets/home/fc_1.png"
- alt=""
- v-if="$store.state.moreSty === 'greenSty'"
- />
- <img src="@/assets/home/fc_b_1.png" alt="" v-else />
- </div>
- <div class="num float-left">
- <span>风电场数量</span> <br />
- <span>{{
- StationinformationData?.cblpoint?.jr_fcts
- }}</span>
- <span>个</span>
- </div>
- </div>
- </div>
- <div class="capacity">
- <div class="item">
- <el-row>
- <el-col :span="8"><span>装机容量</span></el-col>
- <el-col :span="9"
- ><span>{{
- StationinformationData?.cblpoint?.jr_fd_zjrl
- }}</span></el-col
- >
- <el-col :span="7"><span>MW</span></el-col>
- </el-row>
- </div>
- <div class="item">
- <el-row>
- <el-col :span="8"><span>风机台数</span></el-col>
- <el-col :span="9"
- ><span>{{
- StationinformationData?.cblpoint?.jr_fj_ts
- }}</span></el-col
- >
- <el-col :span="7"><span>台</span></el-col>
- </el-row>
- </div>
- </div>
- </div>
- <div
- class="right-content float-left"
- :class="activeTab == -2 ? 'piggy-bank' : ''"
- v-if="activeTab == -2 || activeTab == 0"
- >
- <div class="img-num clearfix">
- <div class="img float-left">
- <img
- src="@/assets/home/gf_1.png"
- alt=""
- v-if="$store.state.moreSty === 'greenSty'"
- />
- <img src="@/assets/home/gf_b_1.png" alt="" v-else />
- </div>
- <div class="num float-left">
- <span>光伏电站数量</span> <br />
- <span>{{ StationinformationData?.cblpoint?.jr_gfts }}</span>
- <span>个</span>
- </div>
- </div>
- <div class="capacity">
- <div class="item">
- <el-row>
- <el-col :span="8"><span>装机容量</span></el-col>
- <el-col :span="9"
- ><span>{{
- StationinformationData?.cblpoint?.jr_gf_zjrl || 0
- }}</span></el-col
- >
- <el-col :span="7"><span>MW</span></el-col>
- </el-row>
- </div>
- <div class="item">
- <el-row>
- <el-col :span="8"><span>集中式</span></el-col>
- <el-col :span="9"
- ><span>{{
- StationinformationData?.cblpoint?.jr_gf_jzts || 0
- }}</span></el-col
- >
- <el-col :span="7"><span>台</span></el-col>
- </el-row>
- </div>
- <div class="item">
- <el-row>
- <el-col :span="8"><span>组串式</span></el-col>
- <el-col :span="9"
- ><span>{{
- StationinformationData?.cblpoint?.jr_gf_zcts || 0
- }}</span></el-col
- >
- <el-col :span="7"><span>台</span></el-col>
- </el-row>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="energy-system-box box3" v-if="false">
- <div class="model-bg">
- <div class="titles">
- <div class="name">节能减排</div>
- <div class="unit">(单位: 万吨)</div>
- </div>
- <div class="save">
- <div class="save-item">
- <div
- class="jnjp-icon svg-icon svg-icon-green"
- style="width:20px,height:20px"
- >
- <svg-icon class="" svgid="svg-煤" />
- </div>
- <div class="save-value">
- {{
- Number(Number(StationinformationData?.qt?.jym)).toFixed(2)
- }}
- </div>
- <div class="save-name">煤</div>
- </div>
- <div class="save-item">
- <div class="jnjp-icon svg-icon svg-icon-green">
- <svg-icon class="" svgid="svg-水" />
- </div>
- <div class="save-value">
- {{
- Number(Number(StationinformationData?.qt?.jys)).toFixed(2)
- }}
- </div>
- <div class="save-name">水</div>
- </div>
- <div class="save-item">
- <div class="kind">
- <div class="svg-icon svg-icon-green co2">
- <svg-icon class="" svgid="svg-co2" />
- </div>
- </div>
- <div class="save-value">
- {{
- Number(Number(StationinformationData?.qt?.co2)).toFixed(2)
- }}
- </div>
- <div class="save-name">二氧化碳</div>
- </div>
- <div class="save-item">
- <div class="kind">
- <div class="svg-icon svg-icon-green so2">
- <svg-icon class="" svgid="svg-so2" />
- </div>
- </div>
- <div class="save-value">
- {{
- Number(Number(StationinformationData?.qt?.so2)).toFixed(2)
- }}
- </div>
- <div class="save-name">二氧化硫</div>
- </div>
- </div>
- </div>
- </div>
- <div class="leftZbBox">
- <span class="zbTitle">清洁能源公司发电指标</span>
- <div class="fTitle">
- <span class="name">总装机容量:</span>
- <span class="num">{{ zbMap.zjrl }}</span>
- <span class="unit">MW</span>
- </div>
- <div class="tb">
- <div class="zbDetailBox">
- <div class="item">
- <p class="name">月利用小时</p>
- <p class="num">{{ zbMap.yllxs }}</p>
- <p class="unit">小时</p>
- </div>
- <div class="item">
- <p class="name">年利用小时</p>
- <p class="num">{{ zbMap.nllxs }}</p>
- <p class="unit">小时</p>
- </div>
- <div class="item">
- <p class="name">日35KV发电量</p>
- <p class="num">{{ zbMap.r35kv }}</p>
- <p class="unit">万kWh</p>
- </div>
- <div class="item">
- <p class="name">月35KV发电量</p>
- <p class="num">{{ zbMap.y35kv }}</p>
- <p class="unit">万kWh</p>
- </div>
- </div>
- </div>
- <div class="tb">
- <div class="zbDetailBox">
- <div class="item">
- <p class="name">年35KV发电量</p>
- <p class="num">{{ zbMap.n35kv }}</p>
- <p class="unit">万kWh</p>
- </div>
- <div class="item">
- <p class="name">日上网电量</p>
- <p class="num">{{ zbMap.rswdl }}</p>
- <p class="unit">万KWh</p>
- </div>
- <div class="item">
- <p class="name">月上网电量</p>
- <p class="num">{{ zbMap.yswdl }}</p>
- <p class="unit">万KWh</p>
- </div>
- <div class="item">
- <p class="name">年上网电量</p>
- <p class="num">{{ zbMap.nswdl }}</p>
- <p class="unit">万KWh</p>
- </div>
- </div>
- </div>
- </div>
- <div class="leftZbBox">
- <span class="zbTitle">清洁能源公司损失电量指标</span>
- <!-- <div class="fTitle">
- <span class="name">总装机容量:</span>
- <span class="num">{{ zbMap.zjrl }}</span>
- <span class="unit">MW</span>
- </div> -->
- <div class="tb">
- <div class="zbDetailBox">
- <div class="item">
- <p class="name">日维护损失</p>
- <p class="num">{{ zbMap.rwhssdl }}</p>
- <p class="unit">万KWh</p>
- </div>
- <div class="item">
- <p class="name">日故障损失</p>
- <p class="num">{{ zbMap.rgzssdl }}</p>
- <p class="unit">万KWh</p>
- </div>
- <div class="item">
- <p class="name">日性能损失</p>
- <p class="num">{{ zbMap.rxnssdl }}</p>
- <p class="unit">万KWh</p>
- </div>
- <div class="item">
- <p class="name">月维护损失</p>
- <p class="num">{{ zbMap.ywhssdl }}</p>
- <p class="unit">万KWh</p>
- </div>
- <div class="item">
- <p class="name">月故障损失</p>
- <p class="num">{{ zbMap.ygzssdl }}</p>
- <p class="unit">万KWh</p>
- </div>
- </div>
- </div>
- <div class="tb">
- <div class="zbDetailBox">
- <div class="item">
- <p class="name">月性能损失</p>
- <p class="num">{{ zbMap.yxnssdl }}</p>
- <p class="unit">万KWh</p>
- </div>
- <div class="item">
- <p class="name">年维护损失</p>
- <p class="num">{{ zbMap.nwhssdl }}</p>
- <p class="unit">万KWh</p>
- </div>
- <div class="item">
- <p class="name">年故障损失</p>
- <p class="num">{{ zbMap.ngzssdl }}</p>
- <p class="unit">万KWh</p>
- </div>
- <div class="item">
- <p class="name">年性能损失</p>
- <p class="num">{{ zbMap.nxnssdl }}</p>
- <p class="unit">万KWh</p>
- </div>
- </div>
- </div>
- </div>
- <div class="hover72Power">
- <div
- id="hover72Powers"
- style="width: 100%; height: 100%"
- ></div>
- </div>
- </template>
- </div>
- </div>
- <!-- 展示当前场站名称 -->
- <div
- class="name-box"
- :style="{ zIndex: dialogShow || dialogVisible || dialogElectric ? 2 : 7 }"
- v-if="currentTitle != '全国'"
- >
- <div class="name-box-title">
- {{ currentTitle }}
- </div>
- </div>
- <!-- 返回按钮 -->
- <div
- class="return"
- :data-type="$store.state.moreSty"
- :style="{ zIndex: dialogShow || dialogVisible || dialogElectric ? 2 : 7 }"
- @click="
- backMap(
- stationList[currents - 1]?.wpId,
- stationList[currents - 1]?.name
- )
- "
- v-show="currents != 0"
- >
- <span class="svg-icon svg-icon-sm">
- <svg-icon :svgid="'svg-arrow-dpwn-1'" />
- </span>
- 返回
- </div>
- <!-- 地图 -->
- <div class="map-img">
- <!-- 全国 -->
- <SvgMapNX
- v-if="currentTitle == '全国'"
- :homeSuspensionWindowsData="homeSuspensionWindowsData"
- :mapList="mapList"
- :show="showType"
- :data="StationinformationData"
- @clickLabel="clickLabel"
- >
- </SvgMapNX>
- <!-- 山西 -->
- <SX
- v-if="currentTitle != '全国'"
- :showType="showType"
- :companyid="companyid"
- :data="StationinformationData"
- @clickLabel="clickLabel"
- >
- </SX>
- </div>
- <!-- 全国右侧信息 -->
- <div
- class="right"
- v-if="currentTitle == '全国'"
- :class="activeTab == -1 || activeTab == -2 ? 'top-distance' : ''"
- >
- <el-dialog
- class="dialogs"
- width="80%"
- top="100px"
- v-model="dialogElectric"
- :show-close="true"
- >
- <template #title>
- <div class="dialog-title">
- <!-- <div class="title">{{ showName }}</div> -->
- <div class="title">发电量详情</div>
- </div>
- </template>
- <div class="dialog-body" style="height: 500px">
- <img class="dialog-img" src="@assets/imgs/dialog.png" />
- <div class="date">
- <div
- class="day"
- :class="electronType === 'day' ? 'active' : ''"
- @click="handleElectricDetail('day', '日发电量', type)"
- >
- 日
- </div>
- <div
- class="mouth"
- :class="electronType === 'month' ? 'active' : ''"
- @click="handleElectricDetail('month', '月发电量', type)"
- >
- 月
- </div>
- <div
- class="year"
- :class="electronType === 'year' ? 'active' : ''"
- @click="handleElectricDetail('year', '年发电量', type)"
- >
- 年
- </div>
- </div>
- <BarCharts
- :list="barList"
- width="100%"
- height="500px"
- :ratio="10000"
- :showLegend="true"
- :top="30"
- :units="units"
- :interval="electronType === 'day' ? 1 : 0"
- :showkey="showkey"
- :showName="showName"
- :color="colors"
- >
- </BarCharts>
- </div>
- </el-dialog>
- <Row type="flex" style="margin-bottom: 30px">
- <Col :span="24">
- <div class="model-bg-new">
- <div class="titles">
- <div class="name">
- {{ activeTab == 0 ? "风电负荷" : "关键指标" }}
- </div>
- <!-- <div class="unit">(单位: MW)</div> -->
- </div>
- <power-review-home
- :data="powerDataHome"
- :id="wpIds"
- :type="activeTab"
- @chartClick="showPowerChart"
- />
- </div>
- <!-- @chartClick="showPowerChart" -->
- </Col>
- </Row>
- <!-- 风电场 -->
- <Row
- type="flex"
- style="margin-bottom: 30px"
- v-if="activeTab == -1 || activeTab == 0"
- >
- <Col :span="24">
- <div class="model-bg-new-right">
- <div class="infos">
- <div class="titles">
- <div class="amount">
- <div
- class="icon fengji-icon svg-icon svg-icon-white"
- :class="
- $store.state.moreSty === 'greenSty'
- ? 'fengji-icon-box-green'
- : 'fengji-icon-box-blue'
- "
- ></div>
- <img
- class="amount-image"
- src="@/assets/png/wind.png"
- alt=""
- />
- <div class="amount-nums">
- <text class="num-item">{{
- StationinformationData?.cblpoint?.jr_fj_ts
- }}</text>
- 台
- </div>
- </div>
- <div
- v-if="
- !(
- wpId.includes('FDC') ||
- wpId.includes('GC') ||
- wpId.includes('GDC')
- )
- "
- class="info-nums"
- >
- 风电场<text class="nums">{{
- StationinformationData?.cblpoint?.jr_fcts
- }}</text>
- 个
- </div>
- </div>
- <div class="types">
- <div class="type-model">
- <div class="type-name" style="color: #1d99ff">待机</div>
- <div class="type-num">
- {{ StationinformationData?.mxztmap?.fd_djnum || 0 }}
- </div>
- </div>
- <div class="type-model">
- <div class="type-name" style="color: #05bb4c">运行</div>
- <div class="type-num">
- {{ StationinformationData?.mxztmap?.fd_yxnum || 0 }}
- </div>
- </div>
- <div class="type-model">
- <div class="type-name" style="color: #ba3237">故障</div>
- <div class="type-num">
- {{ StationinformationData?.mxztmap?.fd_gznum || 0 }}
- </div>
- </div>
- <div class="type-model">
- <div class="type-name" style="color: #e17e23">检修</div>
- <div class="type-num">
- {{ StationinformationData?.mxztmap?.fd_jxnum || 0 }}
- </div>
- </div>
- <div class="type-model">
- <div class="type-name" style="color: #c531c7">限电</div>
- <div class="type-num">
- {{ StationinformationData?.mxztmap?.fd_xdnum || 0 }}
- </div>
- </div>
- <div class="type-model">
- <div class="type-name" style="color: #fff">受累</div>
- <div class="type-num">
- {{ StationinformationData?.mxztmap?.fd_slnum || 0 }}
- </div>
- </div>
- <div class="type-model">
- <div class="type-name" style="color: #606769">离线</div>
- <div class="type-num">
- {{ StationinformationData?.mxztmap?.fd_lxnum || 0 }}
- </div>
- </div>
- </div>
- <div class="tabSwitchover">
- <div class="unit"><span>(单位: 万kWh)</span></div>
- </div>
- <div
- v-for="(item, index) in ForecastPowerNewHome_fc"
- :key="index"
- >
- <div class="power-charts">
- <div class="power-name">{{ item[0].name }}</div>
- <div class="power-item">
- <div class="power-value">
- <span
- :style="
- item[0].color === 1
- ? 'background-color:#4B55AE'
- : 'background-color:#05BB4C'
- "
- ></span>
- <span>{{ item[0].total }}</span>
- </div>
- <list-bar-chart-2-home
- :list="item"
- height="55px"
- width="250px"
- @click="
- handleElectricDetail(item[0].id, item[0].name, 'fc')
- "
- />
- </div>
- </div>
- </div>
- </div>
- </div>
- </Col>
- </Row>
- <!-- 光电站 -->
- <Row type="flex" v-if="activeTab == -2 || activeTab == 0">
- <Col :span="24">
- <div class="model-bg-new-right">
- <div class="infos">
- <div class="titles">
- <div class="amount">
- <div
- class="icon fengji-icon svg-icon svg-icon-white"
- :class="
- $store.state.moreSty === 'greenSty'
- ? 'fengji-icon-box-green'
- : 'fengji-icon-box-blue'
- "
- ></div>
- <img
- class="amount-image"
- src="@/assets/png/sy-sun.png"
- alt=""
- />
- <div class="amount-nums">
- <text class="num-item">{{
- Number(
- StationinformationData?.cblpoint?.jr_gf_jzts +
- StationinformationData?.cblpoint?.jr_gf_zcts
- ) || 0
- }}</text>
- 台
- </div>
- </div>
- <div class="info-nums">
- 电站<text class="nums">{{
- StationinformationData?.cblpoint?.jr_gfts
- }}</text>
- 个
- </div>
- </div>
- <div class="types">
- <div class="type-model">
- <div class="type-name" style="color: #1d99ff">待机</div>
- <div class="type-num">
- {{ StationinformationData?.mxztmap?.gf_djnum || 0 }}
- </div>
- </div>
- <div class="type-model">
- <div class="type-name" style="color: #05bb4c">运行</div>
- <div class="type-num">
- {{ StationinformationData?.mxztmap?.gf_yxnum || 0 }}
- </div>
- </div>
- <div class="type-model">
- <div class="type-name" style="color: #ba3237">故障</div>
- <div class="type-num">
- {{ StationinformationData?.mxztmap?.gf_gznum || 0 }}
- </div>
- </div>
- <div class="type-model">
- <div class="type-name" style="color: #e17e23">检修</div>
- <div class="type-num">
- {{ StationinformationData?.mxztmap?.gf_jxnum || 0 }}
- </div>
- </div>
- <div class="type-model">
- <div class="type-name" style="color: #c531c7">限电</div>
- <div class="type-num">
- {{ StationinformationData?.mxztmap?.gf_xdnum || 0 }}
- </div>
- </div>
- <div class="type-model">
- <div class="type-name" style="color: #fff">受累</div>
- <div class="type-num">
- {{ StationinformationData?.mxztmap?.gf_slnum || 0 }}
- </div>
- </div>
- <div class="type-model">
- <div class="type-name" style="color: #606769">离线</div>
- <div class="type-num">
- {{ StationinformationData?.mxztmap?.gf_lxnum || 0 }}
- </div>
- </div>
- </div>
- <div class="tabSwitchover">
- <div class="unit"><span>(单位: 万kWh)</span></div>
- </div>
- <div
- v-for="(item, index) in ForecastPowerNewHome_gf"
- :key="index"
- >
- <div class="power-charts">
- <div class="power-name">{{ item[0].name }}</div>
- <div class="power-item">
- <div class="power-value">
- <span
- :style="
- index % 2 === 0
- ? 'background-color:#4B55AE'
- : 'background-color:#05BB4C'
- "
- ></span>
- <span>{{ item[0].total }}</span>
- </div>
- <list-bar-chart-2-home
- :list="item"
- height="55px"
- width="250px"
- @click="
- handleElectricDetail(item[0].id, item[0].name, 'gf')
- "
- />
- </div>
- </div>
- </div>
- </div>
- </div>
- </Col>
- </Row>
- </div>
- <!-- 全国实时负荷/关键指标弹窗 -->
- <el-dialog
- class="dialogs"
- width="80%"
- top="120px"
- v-model="dialogGroupRealname"
- :show-close="true"
- destroy-on-close
- >
- <template #title>
- <div class="dialog-title">
- <div class="title">
- {{ currentTitle != "全国" ? currentTitle : "" }}{{ showName }}
- </div>
- </div>
- </template>
- <div class="dialog-body" style="height: 500px">
- <img class="dialog-img" src="@assets/imgs/dialog.png" />
- <windChartCom
- :windCurveValues="groupList"
- :unit="unit"
- :CurveTitle="chartName"
- width="100%"
- height="480px"
- chartId="windChar"
- />
- </div>
- </el-dialog>
- <div class="sx-right-box" v-if="currentTitle != '全国'">
- <!-- 山西右侧信息 -->
- <div class="card wind_card bluecard">
- <power-review-home
- :data="powerDataHome"
- :id="wpIds"
- @chartClick="showPowerChart"
- />
- </div>
- <div class="card electric_card bluecard">
- <el-header>
- <span class="title"></span>
- <soan class="unit">(单位:万kWh)</soan>
- </el-header>
- <el-row class="fdl-wrapper">
- <div
- class="power-div"
- v-for="(item, index) in tabShow == 0
- ? ForecastPowerNewHome_qy
- : tabShow == -1
- ? ForecastPowerNewHome_fc
- : ForecastPowerNewHome_gf"
- :key="index"
- >
- <div class="power-charts">
- <div class="power-name">{{ item[0].name }}</div>
- <div class="power-item">
- <div class="power-value">
- <span
- :style="
- item[0].color === 1
- ? 'background-color:#4B55AE'
- : 'background-color:#05BB4C'
- "
- ></span>
- <span>{{ item[0].total }}</span>
- </div>
- <list-bar-chart-2-home
- :list="item"
- height="55px"
- width="250px"
- @click="handleElectricDetail(item[0].id, item[0].name)"
- />
- </div>
- </div>
- </div>
- </el-row>
- <el-row class="summarize">
- <div
- class="summarize-left"
- @click="handleUsingDetail('month', '月利用小时')"
- >
- <p>月利用小时</p>
- <p>
- <span>
- {{ StationinformationData?.qt?.ylyxs?.toFixed(2) }}
- </span>
- <span>小时</span>
- </p>
- </div>
- <div class="line"></div>
- <div
- class="summarize-right"
- @click="handleUsingDetail('year', '年利用小时')"
- >
- <p>年利用小时</p>
- <p>
- <span>{{ StationinformationData?.qt?.nlyxs?.toFixed(2) }}</span>
- <span>小时</span>
- </p>
- </div>
- </el-row>
- </div>
- <div class="card station_card bluecard">
- <el-row class="card_header" v-if="tabShow == 0 || tabShow == -1">
- <el-col :span="12">
- <img
- src="@/assets/imgs/windmill.png"
- style="display: inline-block"
- />
- <span>{{
- wpId.includes("FDC")
- ? StationinformationData?.station[wpId]?.zjts
- : StationinformationData?.cblpoint?.jr_fj_ts
- }}</span
- >台
- </el-col>
- <el-col :span="12">
- 场站<span>{{
- wpId.includes("FDC")
- ? 1
- : StationinformationData?.cblpoint?.jr_fcts
- }}</span
- >个
- </el-col>
- </el-row>
- <windLightDetial
- v-if="tabShow == -1"
- :dataDetial="StationinformationData?.sbztmap?.fd"
- ></windLightDetial>
- <windlightSimple
- v-if="tabShow == 0"
- :dataSimple="StationinformationData?.sbztmap?.fd"
- />
- <el-row class="card_header" v-if="tabShow == 0 || tabShow == -2">
- <el-col :span="12">
- <img src="@/assets/imgs/gfmill.png" style="display: inline-block" />
- <span>{{
- wpId.includes("GDC")
- ? StationinformationData?.station[wpId]?.jzzjts +
- StationinformationData?.station[wpId]?.zczjts
- : StationinformationData?.cblpoint?.jr_gf_zcts +
- StationinformationData?.cblpoint?.jr_gf_jzts
- }}</span
- >台
- </el-col>
- <el-col :span="12">
- 场站<span>{{
- wpId.includes("GDC")
- ? 1
- : StationinformationData?.cblpoint?.jr_gfts
- }}</span
- >个
- </el-col>
- </el-row>
- <windLightDetial
- v-if="tabShow == -2"
- :dataDetial="StationinformationData?.sbztmap?.gf"
- ></windLightDetial>
- <windlightSimple
- v-if="tabShow == 0"
- :dataSimple="StationinformationData?.sbztmap?.gf"
- />
- </div>
- <!-- 发电量,利用小时弹窗 -->
- <el-dialog
- class="dialogs"
- width="80%"
- top="120px"
- v-model="dialogElectric"
- :show-close="true"
- destroy-on-close
- >
- <template #title>
- <div class="dialog-title">
- <div class="title">{{ currentTitle }}{{ showName }}</div>
- </div>
- </template>
- <div class="dialog-body" style="height: 500px">
- <img class="dialog-img" src="@assets/imgs/dialog.png" />
- <div class="date" v-if="showkey === 'electric'">
- <div
- class="day"
- :class="electronType === 'day' ? 'active' : ''"
- @click="handleElectricDetail('day', '日发电量')"
- >
- 日
- </div>
- <div
- class="mouth"
- :class="electronType === 'month' ? 'active' : ''"
- @click="handleElectricDetail('month', '月发电量')"
- >
- 月
- </div>
- <div
- class="year"
- :class="electronType === 'year' ? 'active' : ''"
- @click="handleElectricDetail('year', '年发电量')"
- >
- 年
- </div>
- </div>
- <div class="date" v-if="showkey === 'using'">
- <div
- class="day"
- :class="electronType === 'month' ? 'active' : ''"
- @click="handleUsingDetail('month', '月利用小时')"
- >
- 月
- </div>
- <div
- class="year"
- :class="electronType === 'year' ? 'active' : ''"
- @click="handleUsingDetail('year', '年利用小时')"
- >
- 年
- </div>
- </div>
- <BarCharts
- :list="barList"
- height="500px"
- :ratio="10000"
- :showLegend="true"
- :top="30"
- :units="showkey === 'electric' ? '万kWh' : '小时'"
- :interval="electronType === 'day' ? 1 : 0"
- :showkey="showkey"
- :showName="showName"
- :color="colors"
- >
- </BarCharts>
- </div>
- </el-dialog>
- </div>
- <!-- 地图下方表格 -->
- <div class="bTable" v-if="false">
- <table class="table-card">
- <tr>
- <td class="text">装机容量</td>
- <td class="value">{{ zbMap.zjrl }}</td>
- <td class="unit">MW</td>
- </tr>
- <tr>
- <td class="text">月利用小时</td>
- <td class="value">{{ zbMap.yllxs }}</td>
- <td class="unit">小时</td>
- </tr>
- <tr>
- <td class="text">年利用小时</td>
- <td class="value">{{ zbMap.nllxs }}</td>
- <td class="unit">小时</td>
- </tr>
- <tr>
- <td class="text">日35KV发电量</td>
- <td class="value">{{ zbMap.r35kv }}</td>
- <td class="unit">万kWh</td>
- </tr>
- <tr>
- <td class="text">月35KV发电量</td>
- <td class="value">{{ zbMap.y35kv }}</td>
- <td class="unit">万kWh</td>
- </tr>
- <tr>
- <td class="text">年35KV发电量</td>
- <td class="value">{{ zbMap.n35kv }}</td>
- <td class="unit">万kWh</td>
- </tr>
- </table>
- <table class="table-card">
- <tr>
- <td class="text">日上网电量</td>
- <td class="value">{{ zbMap.rswdl }}</td>
- <td class="unit">万kWh</td>
- </tr>
- <tr>
- <td class="text">月上网电量</td>
- <td class="value">{{ zbMap.yswdl }}</td>
- <td class="unit">万kWh</td>
- </tr>
- <tr>
- <td class="text">年上网电量</td>
- <td class="value">{{ zbMap.nswdl }}</td>
- <td class="unit">万kWh</td>
- </tr>
- <tr>
- <td class="text">日维护损失电量</td>
- <td class="value">{{ zbMap.rwhssdl }}</td>
- <td class="unit">万kWh</td>
- </tr>
- <tr>
- <td class="text">日故障损失电量</td>
- <td class="value">{{ zbMap.rgzssdl }}</td>
- <td class="unit">万kWh</td>
- </tr>
- <tr>
- <td class="text">日性能损失电量</td>
- <td class="value">{{ zbMap.rxnssdl }}</td>
- <td class="unit">万kWh</td>
- </tr>
- </table>
- <table class="table-card">
- <tr>
- <td class="text">月维护损失电量</td>
- <td class="value">{{ zbMap.ywhssdl }}</td>
- <td class="unit">万kWh</td>
- </tr>
- <tr>
- <td class="text">月故障损失电量</td>
- <td class="value">{{ zbMap.ygzssdl }}</td>
- <td class="unit">万kWh</td>
- </tr>
- <tr>
- <td class="text">月性能损失电量</td>
- <td class="value">{{ zbMap.yxnssdl }}</td>
- <td class="unit">万kWh</td>
- </tr>
- <tr>
- <td class="text">年维护损失电量</td>
- <td class="value">{{ zbMap.nwhssdl }}</td>
- <td class="unit">万kWh</td>
- </tr>
- <tr>
- <td class="text">年故障损失电量</td>
- <td class="value">{{ zbMap.ngzssdl }}</td>
- <td class="unit">万kWh</td>
- </tr>
- <tr>
- <td class="text">年性能损失电量</td>
- <td class="value">{{ zbMap.nxnssdl }}</td>
- <td class="unit">万kWh</td>
- </tr>
- </table>
- </div>
- </div>
- </template>
- <script>
- import Row from "@/components/coms/grid/row.vue";
- import Col from "@/components/coms/grid/col.vue";
- import PowerReviewHome from "./power-review-home.vue";
- import ListBarChart2Home from "@/components/chart/bar/list-bar-chart2-home.vue";
- //全国地图总览
- import SvgMapNX from "./map/svg-map-nx.vue";
- // 山西
- import SX from "./map/SX.vue";
- import PowerEcharts from "@/components/chart/powerEcharts.vue";
- import HeaderNav from "@/components/headerNav/index.vue";
- import SvgIcon from "../../../components/coms/icon/svg-icon.vue";
- import windLightDetial from "./windLightDetial.vue";
- import windlightSimple from "./windlightSimple.vue";
- import {
- FindRealtimeInfo,
- FindUtilizationhours,
- FindPlanproject,
- FindBasicDataInfo,
- FindPowerInfo,
- FindProjectplan,
- } from "@/api/home/home.js";
- import dayjs from "dayjs";
- import windChartCom from "./windChartCom.vue";
- import BarCharts from "@/views/Home/components/barCharts.vue";
- import dataJson from "./mapdataJson.json";
- import datasvgJson from "./map/svgMapNxJson.json";
- export default {
- // 名称
- name: "Map",
- // 使用组件
- components: {
- SvgMapNX,
- SX,
- Row,
- Col,
- PowerReviewHome,
- ListBarChart2Home,
- SvgIcon,
- HeaderNav,
- PowerEcharts,
- windLightDetial,
- windlightSimple,
- windChartCom,
- BarCharts,
- },
- // 数据
- data() {
- return {
- activeTab: 0, //当前tab
- barList: [
- {
- name: "",
- value: [],
- },
- ], //发电量利用小时柱状图
- currentTitle: "全国", //当前地图名称
- currents: 0, //当前层级
- CurveValues: {
- value: [
- {
- title: "",
- value: [],
- },
- ],
- }, //24小时功率曲线
- companyid: "",
- companyname: "",
- chartsData: [], //实时负荷曲线
- colors: ["#1c99ff", "#05BB4C"],
- dialogVisible: false, //实时负荷弹窗开关
- dialogElectric: false, //发电量、利用小时弹窗开关
- electronType: "day", //日月年切换值
- flag: false, //判断场站id
- ForecastPowerNewHome_fc: [], //全国的风电发电量列表
- ForecastPowerNewHome_gf: [], //全国的光伏发电量列表
- ForecastPowerNewHome_qy: [], //区域发电量列表
- fdlList: [], //山西区域实时负荷列表
- homeSuspensionWindowsData: [], //全国区域所有地区数据
- historyWpId: "", //历史场站id
- mapList: [
- { text: "山西", code: "sxqyxx" },
- { text: "内蒙", code: "nmqyxx" },
- { text: "新疆", code: "xjqyxx" },
- { text: "河北", code: "hbqyxx" },
- { text: "陕西", code: "xsqyxx" },
- { text: "山东", code: "sdqyxx" },
- { text: "西藏", code: "xzqyxx" },
- ],
- penetrateType: 0, //24小时功率曲线开关
- powerDataHome: {},
- qyPower: {},
- ratio: 1,
- showType: "all",
- stationList: [
- {
- name: "全部",
- wpId: "KGDL_FGS",
- },
- {
- name: "山西",
- wpId: "SXJ_RGN",
- },
- ],
- switchShow: false, //接入情况弹窗
- showName: "",
- chartName: "",
- StationinformationData: [],
- showkey: "",
- dialogGroupRealname: false, //全国实时负荷弹窗开关
- groupList: [], //全国实时负荷弹窗数据
- type: "fc", //发电量展示类型
- tabShow: 0,
- timmer: null, // 计时器
- timmer2: null,
- units: ["万kWh"],
- unit: "", //实时负荷弹窗单位
- wpId: "KGDL_FGS",
- wpIds: "KGDL_FGS0",
- dialogShow: false,
- showCharts: {
- value: [
- {
- title: "",
- value: [],
- },
- ],
- },
- zbMap: {
- zjrl: 1204.1,
- yllxs: 200.52,
- nllxs: 755.32,
- r35kv: 540.68,
- y35kv: 24144.83,
- n35kv: 100948.37,
- rswdl: 534.91,
- yswdl: 23733.96,
- nswdl: 89330.55,
- rwhssdl: 10.57,
- rgzssdl: 1.25,
- rxnssdl: 105.72,
- ywhssdl: 375.94,
- ygzssdl: 265.72,
- yxnssdl: 3519.21,
- nwhssdl: 609.71,
- ngzssdl: 406.73,
- nxnssdl: 5499.68,
- },
- };
- },
- emits: {
- onEnter: null,
- onBack: null,
- },
- mounted() {
- this.StationinformationData = dataJson.StationinformationData;
- this.powerDataHome = dataJson.powerDataHome;
- this.CurveValues = dataJson.Powertrend.value;
- this.barList = [
- {
- name: "时间",
- value: [
- {
- dateTime: "09-09 02:00:00",
- },
- {
- dateTime: "09-10 02:00:00",
- },
- {
- dateTime: "09-11 02:00:00",
- },
- {
- dateTime: "09-12 02:00:00",
- },
- {
- dateTime: "09-13 02:00:00",
- },
- {
- dateTime: "09-14 02:00:00",
- },
- {
- dateTime: "09-15 02:00:00",
- },
- {
- dateTime: "09-16 02:00:00",
- },
- ],
- },
- {
- name: "测试1",
- value: [147, 258, 369, 123, 456, 789, 159, 357],
- },
- {
- name: "测试2",
- value: [47, 28, 69, 23, 46, 79, 59, 57],
- },
- ];
- this.$nextTick(() => {
- this.initPageData({
- data: {
- "72time": dataJson["72time"],
- },
- });
- });
- },
- // 函数
- methods: {
- initPageData(res) {
- let that = this;
- const theme = sessionStorage.getItem("theme") === "true" ? true : false;
- if (res && res.data) {
- // 72小时功率曲线
- if (res.data["72time"] && res.data["72time"].length > 0) {
- let xAxis = [];
- let seriesSpeed = [];
- let seriesGl = [];
- let seriesSJ = [];
- let seriesYc = [];
- res.data["72time"].forEach((it) => {
- xAxis.push(dayjs(it.time).format("MM-DD HH:mm"));
- seriesSpeed.push(it.speed);
- seriesGl.push(it.expectedpower);
- seriesSJ.push(it.power);
- seriesYc.push(it.predictedpower);
- });
- let series = [
- {
- name: "平均风速",
- data: seriesSpeed,
- yAxisIndex: 1,
- type: "line",
- symbol: "none",
- },
- {
- name: "理论功率",
- data: seriesGl,
- type: "line",
- symbol: "none",
- yAxisIndex: 0,
- },
- {
- name: "实际功率",
- data: seriesSJ,
- type: "line",
- symbol: "none",
- yAxisIndex: 0,
- },
- {
- name: "预测功率",
- data: seriesYc,
- type: "line",
- symbol: "none",
- yAxisIndex: 0,
- },
- ];
- const allPowerData = seriesGl.concat(seriesSJ, seriesYc);
- const powerMin = Math.min(...allPowerData);
- const powerMax = Math.max(...allPowerData);
- const windSpeedMin = Math.min(...seriesSpeed);
- const windSpeedMax = Math.max(...seriesSpeed);
- const splitNumber = 4;
- that.getPowerLine(
- xAxis,
- series,
- powerMin,
- powerMax,
- windSpeedMin,
- windSpeedMax,
- splitNumber
- );
- }
- }
- },
- getPowerLine(
- xAxis,
- series,
- powerMin,
- powerMax,
- windSpeedMin,
- windSpeedMax,
- splitNumber
- ) {
- const theme = this.$store.state.themeName === "dark" ? true : false;
- let myChart;
- let legendState = {};
- if (this.chart72Options?.getOption) {
- legendState = this.chart72Options.getOption().legend[0].selected;
- }
- let option = {
- animation: true,
- backgroundColor: "rgba(3, 5, 9, 0.75)",
- title: {
- text: "风速功率曲线",
- left: "5px",
- top: "5px",
- textStyle: {
- fontSize: "16",
- fontWeight: 400,
- color: "#fff",
- },
- },
- tooltip: {
- trigger: "axis",
- },
- color: ["#7981AF", "#1C99FF", "#E57F25", "#f25656"],
- legend: {
- right: "5",
- top: "5",
- itemWidth: 5,
- itemHeight: 5,
- data: ["平均风速", "理论功率", "实际功率", "预测功率"],
- textStyle: {
- color: "#fff",
- },
- selected: legendState,
- },
- grid: {
- left: "2%",
- right: "2%",
- bottom: "5%",
- height: "110px",
- containLabel: true,
- },
- xAxis: {
- type: "category",
- boundaryGap: false,
- data: xAxis,
- axisLine: {
- lineStyle: {
- color: "#fff",
- },
- },
- },
- yAxis: [
- {
- type: "value",
- splitLine: {
- lineStyle: {
- color: "#fff",
- type: "dashed", // 修改为虚线
- opacity: 0,
- },
- },
- name: "单位:MW",
- axisLine: {
- lineStyle: {
- color: "#fff",
- },
- },
- min: powerMin,
- max: powerMax, // 动态设置最大值
- interval: parseFloat(
- ((powerMax - powerMin) / splitNumber).toFixed(4)
- ),
- splitNumber,
- axisLabel: {
- formatter(value) {
- return parseInt(value);
- },
- },
- },
- {
- type: "value",
- splitLine: {
- lineStyle: {
- color: "#fff",
- type: "dashed", // 修改为虚线
- opacity: 0.2,
- },
- },
- name: "单位:m/s",
- axisLine: {
- lineStyle: {
- color: "#fff",
- },
- },
- min: windSpeedMin,
- max: windSpeedMax, // 动态设置最大值
- splitNumber,
- interval: parseFloat(
- ((windSpeedMax - windSpeedMin) / splitNumber).toFixed(4)
- ),
- axisLabel: {
- formatter(value) {
- return parseFloat(value.toFixed(1));
- },
- },
- },
- ],
- series: series,
- };
- // 基于准备好的dom,初始化echarts实例
- let dom = document.getElementById("hover72Powers");
- dom && dom.removeAttribute("_echarts_instance_");
- myChart = this.$echarts.init(dom);
- this.chart72Options = myChart;
- myChart.setOption(option);
- window.addEventListener("resize", () => {
- myChart.resize();
- });
- },
- //放大24小时功率曲线
- handleShowCharts(title) {
- // console.log(title);
- this.showCharts = this.CurveValues;
- this.showName = `${title}24小时功率预测曲线`;
- this.dialogShow = true;
- },
- // 点击地图展示类型
- mapClick(wpId, activeTab) {
- clearInterval(this.timmer);
- clearInterval(this.timmer2);
- this.timmer = null;
- this.timmer2 = null;
- this.activeTab = activeTab;
- this.wpId = wpId;
- this.wpIds =
- wpId.includes("FDC") || wpId.includes("GDC") ? wpId : wpId + activeTab;
- // this.requestData();
- this.requestMockData();
- this.findProjectPlan();
- this.timmer2 = setInterval(() => {
- this.findProjectPlan(); //发电量
- if (this.penetrateType == 3) {
- this.getData(this.wpIds); //24小时功率曲线
- }
- }, 15 * 60 * 1000);
- },
- mapClicks(wpId, activeTab) {
- this.historyWpId = wpId;
- this.mapClick(wpId, activeTab);
- },
- mapClickBack(wpId, activeTab) {
- this.historyWpId = wpId;
- this.activeTab = activeTab;
- this.mapClick(this.historyWpId, activeTab);
- },
- currentActiveTab(penetrateType) {
- this.penetrateType = penetrateType;
- if (penetrateType === 3) {
- this.getData(this.wpIds);
- }
- },
- // 请求服务
- requestMockData() {
- this.homeSuspensionWindowsData = datasvgJson.homeSuspensionWindowsData;
- },
- requestData() {
- FindBasicDataInfo({ wpId: this.wpIds }).then(({ data }) => {
- this.StationinformationData = data;
- if (Object.keys(data).length) {
- let mapInfos = [];
- this.mapList.forEach((item) => {
- for (var key in data.sytc) {
- if (item.code == key) {
- data.sytc[key].name = item.text;
- mapInfos.push({ ...data.sytc[key] });
- }
- }
- });
- mapInfos.forEach((element) => {
- element.industryState = true;
- element.companyState = true;
- if (element.name == "山西") {
- if (!Object.hasOwn(element, "sxgszzjrl")) {
- element.companyState = false;
- }
- if (!Object.hasOwn(element, "sxcyzzjrl")) {
- element.industryState = false;
- }
- this.homeSuspensionWindowsData.sxqyxx = { ...element };
- } else if (element.name == "新疆") {
- if (!Object.hasOwn(element, "xjgszzjrl")) {
- element.companyState = false;
- }
- if (!Object.hasOwn(element, "xjcyzzjrl")) {
- element.industryState = false;
- }
- this.homeSuspensionWindowsData.xjqyxx = { ...element };
- } else if (element.name == "内蒙") {
- if (!Object.hasOwn(element, "nmgszzjrl")) {
- element.companyState = false;
- }
- if (!Object.hasOwn(element, "nmcyzzjrl")) {
- element.industryState = false;
- }
- this.homeSuspensionWindowsData.nmqyxx = { ...element };
- } else if (element.name == "西藏") {
- if (!Object.hasOwn(element, "xzgszzjrl")) {
- element.companyState = false;
- }
- if (!Object.hasOwn(element, "xzcyzzjrl")) {
- element.industryState = false;
- }
- this.homeSuspensionWindowsData.xzqyxx = { ...element };
- } else if (element.name == "山东") {
- if (!Object.hasOwn(element, "sdgszzjrl")) {
- element.companyState = false;
- }
- if (!Object.hasOwn(element, "sdcyzzjrl")) {
- element.industryState = false;
- }
- this.homeSuspensionWindowsData.sdqyxx = { ...element };
- } else if (element.name == "陕西") {
- if (!Object.hasOwn(element, "xsgszzjrl")) {
- element.companyState = false;
- }
- if (!Object.hasOwn(element, "xscyzzjrl")) {
- element.industryState = false;
- }
- this.homeSuspensionWindowsData.xsqyxx = { ...element };
- } else if (element.name == "河北") {
- if (!Object.hasOwn(element, "hbgszzjrl")) {
- element.companyState = false;
- }
- if (!Object.hasOwn(element, "hbcyzzjrl")) {
- element.industryState = false;
- }
- this.homeSuspensionWindowsData.hbqyxx = { ...element };
- }
- });
- if (this.tabShow == -1) {
- this.powerDataHome = [
- {
- title: "实时风速",
- value: (data?.qt?.ssfs).toFixed(2),
- dialogTitle: "实时风速",
- max: 3000,
- unit: "m/s",
- },
- {
- title: "实际功率",
- value: (data?.qt?.fdsjgl).toFixed(2),
- dialogTitle: "实际功率",
- max: 3000,
- unit: "MW",
- },
- {
- title: "风能利用率",
- value: (data?.qt?.fnlyl).toFixed(2),
- dialogTitle: "风能利用率",
- max: 100,
- unit: "%",
- },
- ];
- } else if (this.tabShow == 0) {
- if (this.currentTitle != "全国") {
- if (this.currentTitle.includes("风电场")) {
- this.powerDataHome = [
- {
- title: "实时风速",
- value: (data?.qt?.ssfs).toFixed(2),
- dialogTitle: "实时风速",
- max: 3000,
- unit: "m/s",
- },
- {
- title: "实际功率",
- value: (data?.qt?.fdsjgl).toFixed(2),
- dialogTitle: "实际功率",
- max: 3000,
- unit: "MW",
- },
- {
- title: "风能利用率",
- value: (data?.qt?.fnlyl).toFixed(2),
- dialogTitle: "风能利用率",
- max: 100,
- unit: "%",
- },
- ];
- } else if (this.currentTitle.includes("电站")) {
- this.powerDataHome = [
- {
- title: "光照强度",
- value: (data?.qt?.gzzs).toFixed(2),
- dialogTitle: "光照强度",
- max: 3000,
- unit: "W/m²",
- },
- {
- title: "实际功率",
- value: (data?.qt?.sjgl).toFixed(2),
- dialogTitle: "实际功率",
- max: 3000,
- unit: "MW",
- },
- {
- title: "光能利用率",
- value: (data?.qt?.fnlyl).toFixed(2),
- dialogTitle: "光能利用率",
- max: 100,
- unit: "%",
- },
- ];
- } else {
- this.powerDataHome = [
- {
- title: "实时风速",
- value: (data?.qt?.ssfs).toFixed(2),
- dialogTitle: "实时风速",
- max: 3000,
- unit: "m/s",
- },
- {
- title: "光照强度",
- value: (data?.qt?.gzzs).toFixed(2),
- dialogTitle: "光照强度",
- max: 3000,
- unit: "W/m²",
- },
- {
- title: "实际功率",
- value: (data?.qt?.sjgl).toFixed(2),
- dialogTitle: "实际功率",
- max: 3000,
- unit: "MW",
- },
- ];
- }
- } else {
- this.powerDataHome = [
- {
- title: "清洁能源",
- value: (data?.qt?.sjgl).toFixed(2),
- dialogTitle: "清洁能源实时功率详情",
- max: 3000,
- unit: "MW",
- },
- {
- title: "风电",
- value: (data?.qt?.fdsjgl).toFixed(2),
- dialogTitle: "风电实时功率详情",
- max: 3000,
- unit: "MW",
- },
- {
- title: "光伏",
- value: (data?.qt?.gfsjgl).toFixed(2),
- dialogTitle: "光伏实时功率详情",
- max: 3000,
- unit: "MW",
- },
- ];
- }
- } else if (this.tabShow == -2) {
- this.powerDataHome = [
- {
- title: "光照强度",
- value: (data?.qt?.gzzs).toFixed(2),
- dialogTitle: "光照强度",
- max: 3000,
- unit: "W/m²",
- },
- {
- title: "实际功率",
- value: (data?.qt?.sjgl).toFixed(2),
- dialogTitle: "实际功率",
- max: 3000,
- unit: "MW",
- },
- {
- title: "光能利用率",
- value: (data?.qt?.fnlyl).toFixed(2),
- dialogTitle: "光能利用率",
- max: 100,
- unit: "%",
- },
- ];
- }
- let sbztmap = {
- fd: {},
- gf: {},
- };
- for (var key in data.mxztmap) {
- let a = key.substring(3, key.length);
- if (key.includes("gf_")) {
- sbztmap.gf[a] = data.mxztmap[key];
- } else if (key.includes("fd_")) {
- sbztmap.fd[a] = data.mxztmap[key];
- }
- }
- this.StationinformationData.sbztmap = sbztmap;
- }
- });
- },
- // 发电量
- findProjectPlan() {
- // FindProjectplan({ wpId: this.wpIds }).then(({ data }) => {
- // this.qyPower = data.proplanmap;
- let data = dataJson.FindProjectplanData;
- this.qyPower = data.proplanmap;
- this.ForecastPowerNewHome_fc = [
- [
- {
- name: "日发电量",
- id: "day",
- value: data?.proplanmap
- ? data?.proplanmap?.fd_r_sjdl < 0
- ? 0
- : (data?.proplanmap?.fd_r_sjdl / 10000).toFixed(2)
- : 0,
- color: this.$store.state.moreSty === "greenSty" ? 0 : 1,
- total: data?.proplanmap
- ? data?.proplanmap?.fd_r_jhdl < 0
- ? 0
- : data?.proplanmap?.fd_r_jhdl
- : 0,
- },
- ],
- [
- {
- name: "月发电量",
- id: "month",
- value: data?.proplanmap
- ? data?.proplanmap?.fd_y_sjdl < 0
- ? 0
- : (data?.proplanmap?.fd_y_sjdl / 10000).toFixed(2)
- : 0,
- color: this.$store.state.moreSty === "greenSty" ? 0 : 1,
- total: data?.proplanmap
- ? data?.proplanmap?.fd_y_jhdl < 0
- ? 0
- : data?.proplanmap?.fd_y_jhdl
- : 0,
- },
- ],
- [
- {
- name: "年发电量",
- id: "year",
- value: data?.proplanmap
- ? data?.proplanmap?.fd_n_sjdl < 0
- ? 0
- : (data?.proplanmap?.fd_n_sjdl / 10000).toFixed(2)
- : 0,
- color: this.$store.state.moreSty === "greenSty" ? 0 : 1,
- total: data?.proplanmap
- ? data?.proplanmap?.fd_n_jhdl < 0
- ? 0
- : data?.proplanmap?.fd_n_jhdl
- : 0,
- },
- ],
- ];
- this.ForecastPowerNewHome_gf = [
- [
- {
- name: "日发电量",
- id: "day",
- value: data?.proplanmap
- ? data?.proplanmap?.gf_r_sjdl < 0
- ? 0
- : (data?.proplanmap?.gf_r_sjdl / 10000).toFixed(2)
- : 0,
- color: this.$store.state.moreSty === "greenSty" ? 0 : 1,
- total: data?.proplanmap
- ? data?.proplanmap?.gf_r_jhdl < 0
- ? 0
- : data?.proplanmap?.gf_r_jhdl
- : 0,
- },
- ],
- [
- {
- name: "月发电量",
- id: "month",
- value: data?.proplanmap
- ? data?.proplanmap?.gf_y_sjdl < 0
- ? 0
- : (data?.proplanmap?.gf_y_sjdl / 10000).toFixed(2)
- : 0,
- color: this.$store.state.moreSty === "greenSty" ? 0 : 1,
- total: data?.proplanmap
- ? data?.proplanmap?.gf_y_jhdl < 0
- ? 0
- : data?.proplanmap?.gf_y_jhdl
- : 0,
- },
- ],
- [
- {
- name: "年发电量",
- id: "year",
- value: data?.proplanmap
- ? data?.proplanmap?.gf_n_sjdl < 0
- ? 0
- : (data?.proplanmap?.gf_n_sjdl / 10000).toFixed(2)
- : 0,
- color: this.$store.state.moreSty === "greenSty" ? 0 : 1,
- total: data?.proplanmap
- ? data?.proplanmap?.gf_n_jhdl < 0
- ? 0
- : data?.proplanmap?.gf_n_jhdl
- : 0,
- },
- ],
- ];
- this.ForecastPowerNewHome_qy = [
- [
- {
- name: "日发电量",
- id: "day",
- value: data?.proplanmap
- ? data?.proplanmap?.qy_r_sjdl < 0
- ? 0
- : (data?.proplanmap?.qy_r_sjdl / 10000).toFixed(2)
- : 0,
- color: this.$store.state.moreSty === "greenSty" ? 0 : 1,
- total: data?.proplanmap
- ? data?.proplanmap?.qy_r_jhdl < 0
- ? 0
- : data?.proplanmap?.qy_r_jhdl
- : 0,
- },
- ],
- [
- {
- name: "月发电量",
- id: "month",
- value: data?.proplanmap
- ? data?.proplanmap?.qy_y_sjdl < 0
- ? 0
- : (data?.proplanmap?.qy_y_sjdl / 10000).toFixed(2)
- : 0,
- color: this.$store.state.moreSty === "greenSty" ? 0 : 1,
- total: data?.proplanmap
- ? data?.proplanmap?.qy_y_jhdl < 0
- ? 0
- : data?.proplanmap?.qy_y_jhdl
- : 0,
- },
- ],
- [
- {
- name: "年发电量",
- id: "year",
- value: data?.proplanmap
- ? data?.proplanmap?.qy_n_sjdl < 0
- ? 0
- : (data?.proplanmap?.qy_n_sjdl / 10000).toFixed(2)
- : 0,
- color: this.$store.state.moreSty === "greenSty" ? 0 : 1,
- total: data?.proplanmap
- ? data?.proplanmap?.qy_n_jhdl < 0
- ? 0
- : data?.proplanmap?.qy_n_jhdl
- : 0,
- },
- ],
- ];
- // });
- },
- // 获取场站24小时功率图
- getData(wpId) {
- FindPowerInfo({ id: wpId }).then((res) => {
- if (res.data) {
- let Powertrend = {
- // 图表所用单位
- units: ["(万KWh)", ""],
- value: [
- {
- title: "预测功率",
- smooth: true, // 使用单位
- value: [],
- },
- {
- title: "理论功率",
- smooth: true, // 使用单位
- value: [],
- },
- {
- title: "实际功率",
- smooth: true, // 使用单位
- value: [],
- },
- ],
- };
- Powertrend.value[0].value = res.data.map((item) => {
- return {
- dateTime: dayjs()
- .startOf("date")
- .add(item.hours, "hour")
- .format("YYYY-MM-DD HH:mm:ss"),
- value: item.bzgl,
- };
- });
- Powertrend.value[1].value = res.data.map((item) => {
- return {
- dateTime: dayjs()
- .startOf("date")
- .add(item.hours, "hour")
- .format("YYYY-MM-DD HH:mm:ss"),
- value: item.llgl,
- };
- });
- Powertrend.value[2].value = res.data.map((item) => {
- return {
- dateTime: dayjs()
- .startOf("date")
- .add(item.hours, "hour")
- .format("YYYY-MM-DD HH:mm:ss"),
- value: item.sjgl,
- };
- });
- this.CurveValues = Powertrend.value;
- }
- });
- },
- firstRender(activeTab, showType, wpId, name) {
- this.activeTab = activeTab;
- this.tabShow = activeTab;
- this.showType = showType;
- //当wpId是FDC/GDC时,此时点击全部、风电、光伏按钮,展示山西地图及对应的公司信息
- let fcId = wpId;
- if ((wpId.includes("FDC") || wpId.includes("GDC")) && this.flag) {
- if (name != "山西") {
- fcId = this.historyWpId;
- } else {
- fcId = "SXJ_RGN";
- }
- this.flag = true;
- this.penetrateType = 3;
- this.currents = 1;
- }
- this.companyid = fcId;
- this.companyname = name;
- this.currentTitle = name || "全国";
- this.mapClicks(fcId, activeTab);
- this.currentActiveTab(this.penetrateType);
- },
- backMap(wpId, planBtnName) {
- this.penetrateType = this.currents == 0 ? 0 : 3;
- this.currents--;
- this.currentTitle =
- this.currents == 0
- ? "全国"
- : this.companyname
- ? this.companyname
- : planBtnName;
- let wpIds =
- this.currents == 0
- ? "KGDL_FGS"
- : this.companyname
- ? this.companyid
- : wpId;
- this.tabShow = this.activeTab;
- this.mapClickBack(wpIds, this.activeTab);
- this.currentActiveTab(this.penetrateType);
- },
- clickLabel(wpId, planBtnName, penetrateType) {
- this.penetrateType = penetrateType;
- this.currents++;
- if (this.currents > 1) {
- this.currents = 2;
- }
- this.wpId =
- wpId.includes("FDC") || wpId.includes("GDC")
- ? wpId
- : this.companyname
- ? this.companyid
- : wpId;
- this.currentTitle =
- wpId.includes("FDC") || wpId.includes("GDC")
- ? planBtnName
- : this.companyname
- ? this.companyname
- : planBtnName;
- this.mapClick(this.wpId, this.activeTab);
- if (wpId.includes("FDC") || wpId.includes("GDC")) {
- this.tabShow = wpId.includes("FDC")
- ? -1
- : wpId.includes("GDC")
- ? -2
- : 0;
- } else {
- this.tabShow = this.activeTab;
- }
- this.flag = wpId.includes("FDC") || wpId.includes("GDC") ? true : false;
- this.currentActiveTab(penetrateType);
- },
- // 全国实时负荷点击弹窗
- showPowerChart({ dialogTitle, data, chartName = "", unit }) {
- this.dialogGroupRealname = true;
- this.unit = unit;
- this.showName = dialogTitle;
- this.chartName = chartName ? chartName : dialogTitle;
- this.groupList = data;
- },
- // 区域实时负荷点击弹窗
- handleClick(uniformCode, title, unit) {
- let key = "";
- switch (uniformCode) {
- case "SSPJFS":
- key = "ssfs";
- break;
- case "SSZLLGL":
- key = "llgl";
- break;
- case "SSZGL":
- key = "sjgl";
- break;
- case "FNLYL":
- key = "fnlyl";
- break;
- case "RPJGZD":
- key = "gzzs";
- break;
- }
- FindRealtimeInfo({
- uniformCode,
- wpId:
- this.wpId +
- (this.wpId.includes("FDC") || this.wpId.includes("GDC")
- ? ""
- : this.activeTab),
- }).then(({ data }) => {
- this.dialogVisible = true;
- this.chartsData = data.map((item) => {
- return {
- dateTime: dayjs()
- .startOf("date")
- .add(item.hours, "hour")
- .format("MM-DD HH:mm"),
- value: item[key],
- };
- });
- this.unit = unit;
- this.showName = title;
- });
- },
- handleUsingDetail(timetype, title) {
- let format = timetype == "month" ? "YYYY-MM" : "YYYY";
- this.showkey = "using";
- this.electronType = timetype;
- FindPlanproject({
- wpId:
- this.wpId +
- (this.wpId.includes("FDC") || this.wpId.includes("GDC")
- ? ""
- : this.activeTab),
- timetype,
- }).then(({ data }) => {
- this.dialogElectric = true;
- let barList = data.map((item) => {
- if (timetype == "month") {
- return {
- dateTime: dayjs()
- .startOf("year")
- .add(item.hours - 1, "month")
- .format("YYYY-MM"),
- value: item["lyxs"],
- };
- } else {
- return {
- dateTime: dayjs()
- .startOf(timetype)
- .subtract(item.hours, timetype)
- .format(format),
- value: item["lyxs"],
- };
- }
- });
- if (timetype == "month") {
- this.barList = [
- {
- name: title,
- yAxisIndex: 0,
- value: barList,
- },
- ];
- } else {
- this.barList = [
- {
- name: title,
- yAxisIndex: 0,
- value: barList.reverse(),
- },
- ];
- }
- this.barList = [
- {
- name: title,
- yAxisIndex: 0,
- value: barList,
- },
- ];
- this.showName = title;
- });
- },
- handleElectricDetail(timetype, title, type) {
- let wpId = "";
- if (type) {
- this.type = type;
- type == "fc" ? (wpId = this.wpId + "-1") : (wpId = this.wpId + "-2");
- } else {
- wpId =
- this.wpId +
- (this.wpId.includes("FDC") || this.wpId.includes("GDC")
- ? ""
- : this.activeTab);
- }
- this.dialogElectric = true;
- let format =
- timetype == "day" ? "MM-DD" : timetype == "month" ? "YYYY-MM" : "YYYY";
- this.showkey = "electric";
- this.electronType = timetype;
- FindPlanproject({
- wpId,
- timetype,
- }).then(({ data }) => {
- // this.dialogElectric = true;
- let sjdlList = data.map((item) => {
- if (timetype == "month") {
- return {
- dateTime: dayjs()
- .startOf("year")
- .add(item.hours - 1, "month")
- .format("YYYY-MM"),
- value: item.sjdl.toFixed(2),
- };
- } else if (timetype == "year") {
- return {
- dateTime: dayjs()
- .startOf(timetype)
- .subtract(item.hours, timetype)
- .format(format),
- value: item.sjdl.toFixed(2),
- };
- } else {
- return {
- dateTime: dayjs()
- .startOf("month")
- .add(item.hours - 1, "day")
- .format("MM-DD"),
- value: item.sjdl.toFixed(2),
- };
- }
- });
- let jhdlList = data.map((item) => {
- if (timetype == "month") {
- return {
- dateTime: dayjs()
- .startOf("year")
- .add(item.hours - 1, "month")
- .format("YYYY-MM"),
- value: item.jhdl.toFixed(2),
- };
- } else if (timetype == "year") {
- return {
- dateTime: dayjs()
- .startOf(timetype)
- .subtract(item.hours, timetype)
- .format(format),
- value: item.jhdl.toFixed(2),
- };
- } else {
- return {
- dateTime: dayjs()
- .startOf("month")
- .add(item.hours - 1, "day")
- .format("MM-DD"),
- value: item.jhdl.toFixed(2),
- };
- }
- });
- this.barList = [
- {
- name: "实际电量",
- value:
- timetype == "day" || timetype == "month"
- ? sjdlList
- : sjdlList.reverse(),
- },
- {
- name: "计划电量",
- value:
- timetype == "day" || timetype == "month"
- ? jhdlList
- : jhdlList.reverse(),
- },
- ];
- this.showName = title;
- });
- },
- },
- unmounted() {
- clearInterval(this.timmer);
- clearInterval(this.timmer2);
- this.timmer = null;
- this.timmer2 = null;
- },
- watch: {
- qyPower(val) {
- if (Object.keys(val).length) {
- let data = val;
- this.fdlList = [
- [
- {
- title: "日发电量",
- id: "day",
- value:
- this.tabShow == 0
- ? data.qy_r_sjdl
- : this.tabShow == -1
- ? data.fd_r_sjdl
- : data.gf_r_sjdl,
- color: 1,
- total:
- this.tabShow == 0
- ? data.qy_r_jhdl
- : this.tabShow == -1
- ? data.fd_r_jhdl
- : data.gf_r_jhdl,
- },
- ],
- [
- {
- title: "月发电量",
- id: "month",
- value:
- this.tabShow == 0
- ? data.qy_y_sjdl
- : this.tabShow == -1
- ? data.fd_y_sjdl
- : data.gf_y_sjdl,
- color: 1,
- total:
- this.tabShow == 0
- ? data.qy_y_jhdl
- : this.tabShow == -1
- ? data.fd_y_jhdl
- : data.gf_y_jhdl,
- },
- ],
- [
- {
- title: "年发电量",
- id: "year",
- value:
- this.tabShow == 0
- ? data.qy_n_sjdl
- : this.tabShow == -1
- ? data.fd_n_sjdl
- : data.gf_n_sjdl,
- color: 0,
- total:
- this.tabShow == 0
- ? data.qy_n_jhdl
- : this.tabShow == -1
- ? data.fd_n_jhdl
- : data.gf_n_jhdl,
- },
- ],
- ];
- }
- },
- },
- computed: {
- // 实时风速
- windSpeedRota() {
- let count = this.StationinformationData?.qt?.ssfs / 25;
- let result = Number((310 * count + 50).toFixed(0));
- if (result) {
- if (result > 310) {
- return "rotateZ(310deg)";
- } else {
- return "rotateZ(" + Number((310 * count + 50).toFixed(0)) + "deg)";
- }
- } else {
- return "rotateZ(50deg)";
- }
- },
- // 理论功率
- ideaPowerRota() {
- let zctj =
- this.wpId.includes("FDC") || this.wpId.includes("GDC")
- ? (
- this.StationinformationData?.station[this.wpId]?.zjrl / 1000
- ).toFixed(2)
- : this.StationinformationData?.qt?.zzjrl;
- let count = this.StationinformationData?.qt?.llgl / 1000 / zctj;
- let result = Number((310 * count + 50).toFixed(0));
- if (result) {
- if (result > 310) {
- return "rotateZ(310deg)";
- } else {
- return "rotateZ(" + Number((310 * count + 50).toFixed(0)) + "deg)";
- }
- } else {
- return "rotateZ(50deg)";
- }
- },
- // 光照指数
- illuminationRota() {
- let count = this.StationinformationData?.qt?.gzzs / 1200;
- let result = Number((310 * count + 50).toFixed(0));
- if (result) {
- if (result > 310) {
- return "rotateZ(310deg)";
- } else {
- return "rotateZ(" + Number((310 * count + 50).toFixed(0)) + "deg)";
- }
- } else {
- return "rotateZ(50deg)";
- }
- },
- //总保证功率
- guarantee() {
- let count = Number(this.StationinformationData?.qt?.fnlyl) / 100;
- let result = Number((310 * count + 50).toFixed(0));
- if (result) {
- if (result > 310) {
- return "rotateZ(310deg)";
- } else {
- return "rotateZ(" + Number((310 * count + 50).toFixed(0)) + "deg)";
- }
- } else {
- return "rotateZ(50deg)";
- }
- },
- // 实际功率
- actualPowerRota() {
- let zctj =
- this.wpId.includes("FDC") || this.wpId.includes("GDC")
- ? (
- this.StationinformationData?.station[this.wpId]?.zjrl / 1000
- ).toFixed(2)
- : this.StationinformationData?.qt?.zzjrl;
- let count = this.StationinformationData?.qt?.sjgl / 1000 / zctj;
- let result = Number((310 * count + 50).toFixed(0));
- if (result) {
- if (result > 310) {
- return "rotateZ(310deg)";
- } else {
- return "rotateZ(" + Number((310 * count + 50).toFixed(0)) + "deg)";
- }
- } else {
- return "rotateZ(50deg)";
- }
- },
- },
- };
- </script>
- <style lang="less" scoped>
- .map {
- position: relative;
- .bTable {
- width: 800px;
- position: absolute;
- bottom: 20px;
- left: calc(50% - 200px);
- display: flex;
- justify-content: center;
- align-items: center;
- z-index: 50;
- .table-card {
- background: rgba(3, 5, 9, 0.75);
- border-collapse: collapse;
- outline: 1px solid @gray;
- margin-right: 6px;
- .curP {
- cursor: pointer;
- }
- tr {
- font-size: 14px;
- td {
- border: 0.093vh solid fade(@gray, 20);
- line-height: 27px;
- padding: 0 3px;
- &.text {
- color: #999;
- width: 110px;
- }
- &.value {
- text-align: right;
- font-family: @font-family-num;
- width: 80px;
- }
- &.unit {
- color: #999;
- width: 60px;
- }
- }
- }
- &:last-child {
- margin-right: 0;
- }
- }
- }
- }
- </style>
- <style lang="less">
- ul,
- ul li,
- p {
- margin: 0;
- padding: 0;
- list-style: none;
- }
- .map {
- padding-top: 16px;
- .heeaderNav {
- margin-top: 0;
- }
- }
- .airForceStation {
- position: relative;
- background-color: rgba(3, 5, 9, 0.5);
- padding: 20px;
- // width: 320px;
- margin-bottom: 15px;
- span {
- color: #b1b1b1;
- }
- .title {
- font-size: 18px;
- line-height: 28px;
- margin: 15px 0;
- display: flex;
- align-items: center;
- justify-content: left;
- span {
- color: #fff;
- }
- }
- .collectInstall {
- display: flex;
- margin-bottom: 10px;
- }
- .listItem {
- display: flex;
- margin-bottom: 10px;
- }
- .line {
- display: flex;
- margin-bottom: 10px;
- }
- .name {
- flex: 4;
- }
- .num {
- flex: 3;
- color: #fff;
- font-weight: bold;
- font-size: 19px;
- // text-align: center;
- }
- .unit {
- flex: 1;
- font-size: 14px;
- font-weight: 400;
- color: #999999;
- }
- }
- .piggy-bank {
- width: 100% !important;
- border: 0 !important;
- }
- .float-left {
- float: left;
- }
- .float-right {
- float: right;
- }
- .map {
- position: relative;
- width: 100%;
- height: 100%;
- .light {
- position: fixed;
- z-index: -1;
- width: 100vw;
- height: 100vh;
- top: 0;
- left: 0;
- }
- .back {
- position: fixed;
- z-index: -1;
- width: 100vw;
- height: 100vh;
- top: 0;
- left: 0;
- background: url(../../../assets/background-home.png) no-repeat;
- background-size: 100% 100%;
- }
- .leftBox {
- margin-top: 20px;
- margin-left: 30px;
- .model-bg {
- width: 100%;
- min-height: 135px;
- // background-color: rgba(3, 5, 9, 0.5);
- border-radius: 6px;
- display: flex;
- flex-direction: column;
- padding: 1% 5%;
- .titles {
- height: 45px;
- border-bottom: 1px solid #333333;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- .name {
- font-size: 16px;
- color: #ffffff;
- }
- .unit {
- font-size: 12px;
- color: #b1b1b1;
- }
- }
- .save {
- display: flex;
- flex-direction: row;
- align-items: center;
- width: 100%;
- margin: 17px 0;
- .save-item {
- width: 25%;
- display: flex;
- flex-direction: column;
- align-items: center;
- .kind {
- width: 20px;
- height: 22px;
- .co2,
- .so2 {
- svg {
- width: 24px;
- height: 24px;
- }
- }
- .jnjp-icon1 {
- margin-left: -8px;
- }
- .kind-img {
- width: 100%;
- height: 100%;
- }
- }
- .save-value {
- font-size: 16px;
- color: #ffffff;
- margin: 10px 0;
- }
- .save-name {
- font-size: 12px;
- color: #b3b3b3;
- }
- }
- }
- }
- .new-home {
- .energy-system-box {
- // position: absolute;
- // left: 20px;
- margin-bottom: 30px;
- // margin-left: 15px;
- width: 400px;
- box-sizing: border-box;
- background-color: rgba(3, 5, 9, 0.5);
- &.box1 {
- // top: 270px;
- margin-top: 20px;
- }
- &.box2 {
- // top: 450px;
- }
- &.box3 {
- // top: 690px;
- }
- .energy-system-content[data-type~="greenSty"] {
- .title-all-content {
- color: @green;
- }
- .right-content,
- .left-content {
- .img-num {
- .num {
- span:nth-child(3) {
- color: @green;
- }
- }
- }
- }
- }
- .energy-system-content[data-type~="blueSty"] {
- .title-all-content {
- color: @darkBlue;
- }
- .right-content,
- .left-content {
- .img-num {
- .num {
- span:nth-child(3) {
- color: @darkBlue;
- }
- }
- }
- }
- }
- .energy-system-content {
- padding: 5px 5px 15px 5px;
- .title-all {
- margin-left: 5px;
- margin-bottom: 8px;
- }
- .title-all-content {
- font-weight: bold;
- font-size: 19px;
- }
- .title-all-title {
- font-size: 13px;
- }
- .title-all-unit {
- font-size: 12px;
- color: #b1b1b1;
- margin-left: 5px;
- }
- .title {
- color: #fff;
- font-size: 18px;
- line-height: 28px;
- margin: 10px 0.5vh;
- text-align: right;
- .title-name {
- float: left;
- }
- }
- .right-content,
- .left-content {
- width: 50%;
- .img-num {
- display: flex;
- justify-content: left;
- align-items: center;
- padding-left: 10px;
- .img {
- margin-right: 10px;
- }
- .num {
- span {
- font-size: 14px;
- font-weight: 400;
- color: #999999;
- }
- span:nth-child(3) {
- font-size: 19px;
- font-weight: bold;
- line-height: 27px;
- }
- span:nth-child(4) {
- margin-left: 15px;
- }
- }
- }
- .capacity {
- .item {
- margin-top: 9px;
- .el-row {
- text-align: center;
- .el-col:nth-child(1) {
- font-size: 14px;
- font-weight: 400;
- color: #999999;
- }
- .el-col:nth-child(2) {
- font-size: 16px;
- font-weight: bold;
- color: #ffffff;
- }
- .el-col:nth-child(3) {
- font-size: 14px;
- font-weight: 400;
- color: #999999;
- }
- }
- }
- }
- }
- .left-content {
- }
- .right-content {
- border-left: 1px dashed #4e4040;
- padding-left: 10px;
- }
- }
- }
- .leftZbBox {
- width: 520px;
- background-color: rgba(3, 5, 9, 0.75);
- box-sizing: border-box;
- padding: 0 10px;
- display: flex;
- justify-content: flex-start;
- align-items: flex-start;
- flex-wrap: wrap;
- position: relative;
- margin-top: 30px;
- z-index: 50;
- .zbTitle {
- display: flex;
- justify-content: flex-start;
- align-items: center;
- width: 100%;
- font-size: 18px;
- padding: 10px 0;
- color: #fff;
- }
- .fTitle {
- font-size: 13px;
- position: absolute;
- right: 10px;
- top: 12px;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- .name {
- }
- .num {
- font-size: 19px;
- color: @green;
- font-family: "Bicubik";
- font-weight: 700;
- margin: 0 5px;
- }
- .unit {
- font-size: 12px;
- color: #b1b1b1;
- }
- }
- .tb {
- border: 1px solid #606769;
- width: 49%;
- margin-right: 5px;
- margin-bottom: 10px;
- .zbDetailBox {
- display: flex;
- justify-content: flex-start;
- align-items: center;
- flex-wrap: wrap;
- width: 100%;
- .item {
- width: 100%;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- border-bottom: 1px solid #606769;
- font-size: 14px;
- .name {
- font-size: 14px;
- color: #999;
- width: 110px;
- border-right: 1px solid #606769;
- padding: 0 2px;
- }
- .num {
- text-align: right;
- font-family: "Bicubik";
- width: 100px;
- color: @green;
- border-right: 1px solid #606769;
- padding: 0 2px;
- }
- .unit {
- font-size: 14px;
- color: #999;
- width: 60px;
- padding: 0 2px;
- }
- &:last-child {
- border-bottom: 0;
- }
- }
- }
- &:last-child {
- margin-right: 0;
- }
- }
- }
- .hover72Power {
- width: 520px;
- height: 180px;
- // background-color: rgba(3, 5, 9, 0.75);
- margin-top: 30px;
- }
- .security-day[data-type~="greenSty"] {
- .lineBox {
- .num {
- color: @green;
- }
- }
- .num {
- color: @green;
- }
- .num1 {
- color: @green;
- }
- }
- .security-day[data-type~="blueSty"] {
- .lineBox {
- .num {
- color: @darkBlue;
- }
- }
- .num {
- color: @darkBlue;
- }
- .num1 {
- color: @darkBlue;
- }
- }
- .security-day {
- .lineBox {
- display: flex;
- & > div {
- margin-right: 20px;
- }
- margin: 12px 0 15px;
- .num {
- font-size: 16px;
- margin-bottom: 15px;
- margin: 0 7px;
- }
- .unit {
- font-size: 12px;
- color: #5e6269;
- }
- }
- .text {
- font-size: 28px;
- color: @write;
- }
- .num {
- font-size: 35px;
- margin-top: 12px;
- .unit {
- font-size: 24px;
- position: relative;
- margin-left: 0.556vh;
- top: -0.185vh;
- }
- .unit-t {
- font-size: 12px;
- margin-left: 10px;
- }
- }
- .text1 {
- font-size: 14px;
- color: @write;
- }
- .num1 {
- font-size: 24px;
- margin-bottom: 15px;
- .unit {
- font-size: 12px;
- position: relative;
- margin-left: 0.556vh;
- color: #5e6269;
- }
- }
- }
- }
- }
- .security-day[data-type~="greenSty"] {
- .num {
- color: @green;
- }
- .num1 {
- color: @green;
- }
- }
- .security-day[data-type~="blueSty"] {
- .num {
- color: @darkBlue;
- }
- .num1 {
- color: @darkBlue;
- }
- }
- .security-day {
- .text {
- font-size: 24px;
- color: @write;
- }
- .num {
- font-size: 50px;
- .unit {
- font-size: 24px;
- position: relative;
- margin-left: 0.556vh;
- top: -0.185vh;
- }
- }
- .text1 {
- font-size: 14px;
- color: @write;
- }
- .num1 {
- font-size: 24px;
- margin-bottom: 15px;
- .unit {
- font-size: 12px;
- position: relative;
- margin-left: 0.556vh;
- color: #5e6269;
- }
- }
- }
- .name-box {
- margin: 1.852vh;
- display: inline-block;
- z-index: 2;
- position: absolute;
- display: flex;
- flex-direction: column;
- top: 200px;
- left: 445px;
- width: 200px;
- .name-box-title {
- font-size: 25px;
- font-weight: 400;
- color: #ffffff;
- // line-height: 1;
- cursor: pointer;
- }
- .name-box-period {
- margin-top: 2.222vh;
- .name-box-period-label,
- .name-box-period-value {
- font-size: 1.481vh;
- font-weight: 400;
- line-height: 1;
- }
- .name-box-period-label {
- color: #fefefe;
- }
- .name-box-period-value {
- color: #05bb4c;
- }
- }
- }
- .return[data-type~="greenSty"] {
- color: @green;
- border: 1px solid @green;
- .svg-icon {
- svg {
- use {
- fill: @green;
- }
- }
- }
- &:hover {
- color: @green;
- border: 1px solid @green;
- .svg-icon {
- svg {
- use {
- fill: @green;
- }
- }
- }
- }
- }
- .return[data-type~="blueSty"] {
- color: @darkBlue;
- border: 1px solid @darkBlue;
- .svg-icon {
- svg {
- use {
- fill: @darkBlue;
- }
- }
- }
- &:hover {
- color: @darkBlue;
- border: 1px solid @darkBlue;
- .svg-icon {
- svg {
- use {
- fill: @darkBlue;
- }
- }
- }
- }
- }
- .return {
- position: absolute;
- display: flex;
- z-index: 2;
- align-items: center;
- top: 150px;
- left: 460px;
- width: 110px;
- font-size: @fontsize-l;
- color: fade(@white, 80);
- cursor: pointer;
- border: 1px solid transparent;
- padding: 6px 16px;
- font-size: 22px;
- .svg-icon {
- margin-right: 0.7407vh;
- svg {
- transform: rotate(90deg);
- use {
- transition: all 0.3s;
- }
- }
- }
- transition: all 0.3s;
- }
- .compass {
- position: absolute;
- right: 16px;
- bottom: 32px;
- border-radius: 50%;
- &::after {
- content: "";
- position: absolute;
- top: 4px;
- left: 4px;
- border-radius: 50%;
- width: 36px;
- height: 36px;
- box-shadow: inset 0px -5px 10px 0px @green;
- }
- svg {
- height: 45px;
- width: 45px;
- }
- }
- .map-img {
- // width: calc(100% - 14.815vh);
- width: 100%;
- // height: calc(100% - 14.815vh);
- height: 100%;
- // margin: 7.407vh 0;
- position: absolute;
- z-index: 1;
- top: 0;
- left: 0;
- @keyframes rotate {
- from {
- transform: rotateX(70deg);
- }
- to {
- transform: rotateX(0deg);
- }
- }
- img {
- width: 100%;
- animation: rotate 3s;
- animation-direction: alternate;
- animation-iteration-count: infinite;
- }
- }
- }
- .island {
- position: absolute;
- right: 20vw;
- bottom: 0px;
- }
- .island_light {
- position: absolute;
- right: 21vw;
- bottom: 4vh;
- }
- .clearfix::after {
- content: "";
- clear: both;
- height: 0;
- line-height: 0;
- visibility: hidden;
- display: block;
- }
- .clearfix {
- zoom: 1;
- }
- </style>
|