map.vue 92 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103
  1. <template>
  2. <div class="map">
  3. <HeaderNav
  4. ref="header"
  5. :wpId="wpId"
  6. :currents="currents"
  7. @firstRender="firstRender"
  8. @typeFlag="typeFlag"
  9. :isShows="false"
  10. />
  11. <!-- 山西左侧信息 -->
  12. <div v-if="currentTitle != '全国'">
  13. <div class="security-days safe_power">
  14. <div class="text">安全天数:</div>
  15. <div class="num">
  16. <span class="font-num">{{
  17. StationinformationData?.qt?.aqts
  18. ? StationinformationData.qt?.aqts
  19. : "0"
  20. }}</span>
  21. <span class="unit">天</span>
  22. </div>
  23. <div class="security">
  24. <div v-if="wpId.includes('FDC') || wpId.includes('GDC')" class="text">
  25. {{ currentTitle }}资产统计:
  26. </div>
  27. <div v-else-if="tabShow == 0" class="text">资产统计:</div>
  28. <div v-else-if="tabShow == -1" class="text">风电资产统计:</div>
  29. <div v-else-if="tabShow == -2" class="text">光伏资产统计:</div>
  30. <div class="num">
  31. <span class="font-num">
  32. {{
  33. wpId.includes("FDC") || wpId.includes("GDC")
  34. ? (
  35. StationinformationData?.station[wpId]?.zjrl / 1000
  36. ).toFixed(2)
  37. : StationinformationData?.qt?.zzjrl
  38. }}
  39. </span>
  40. <span class="unit-t">MW</span>
  41. </div>
  42. <div class="lineBox">
  43. <div class="fd-rl" v-if="tabShow == 0">
  44. <span class="text">风电</span>
  45. <span class="font-num">
  46. {{
  47. wpId.includes("FDC")
  48. ? (
  49. StationinformationData?.station[wpId]?.zjrl / 1000
  50. ).toFixed(2)
  51. : StationinformationData?.qt?.fdzzjrl
  52. }}
  53. </span>
  54. <span class="unit">MW</span>
  55. </div>
  56. <div class="gf-rl" v-if="tabShow == 0">
  57. <span class="text">光伏</span>
  58. <span class="font-num">{{
  59. wpId.includes("GDC")
  60. ? (
  61. StationinformationData?.station[wpId]?.zjrl / 1000
  62. ).toFixed(2)
  63. : StationinformationData?.qt?.gfzzjrl
  64. }}</span>
  65. <span class="unit">MW</span>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. <div
  71. class="qjny-info safe_power"
  72. @mouseenter="switchShow = true"
  73. @mouseleave="switchShow = false"
  74. >
  75. <ul>
  76. <li v-show="tabShow == -1 || tabShow == 0">
  77. <div class="imgs">
  78. <img src="@assets/imgs/downF.png" />
  79. <img src="@assets/imgs/windup.png" class="qty_img" />
  80. </div>
  81. <p class="qty_tit">
  82. 风场数量
  83. <sapn class="qty_value">
  84. {{
  85. wpId.includes("FDC")
  86. ? 1
  87. : StationinformationData?.cblpoint.qjny_fcts
  88. }}</sapn
  89. >
  90. <span class="qty_u">个</span>
  91. </p>
  92. <div class="qty_content">
  93. <p class="qty_imag">
  94. 风机台数
  95. <span class="qty_val">
  96. {{
  97. wpId.includes("FDC")
  98. ? StationinformationData?.station[wpId]?.zjts
  99. : StationinformationData?.cblpoint.qjny_fj_ts
  100. }} </span
  101. ><span class="qty_unit">台</span>
  102. </p>
  103. <p class="qty_imag">
  104. 陆地风机
  105. <span class="qty_val">
  106. {{
  107. wpId.includes("FDC")
  108. ? StationinformationData?.station[wpId]?.zjts
  109. : StationinformationData?.cblpoint.qjny_fj_ts
  110. }} </span
  111. ><span class="qty_unit">台</span>
  112. </p>
  113. <p class="qty_imag">
  114. 海上风机
  115. <span class="qty_val">
  116. {{
  117. wpId.includes("FDC")
  118. ? StationinformationData?.station[wpId]?.hszjts
  119. : StationinformationData?.cblpoint.qjny_hsfj_ts
  120. }} </span
  121. ><span class="qty_unit">台</span>
  122. </p>
  123. </div>
  124. </li>
  125. <li class="line" v-show="tabShow == 0"></li>
  126. <li v-show="tabShow == 0 || tabShow == -2">
  127. <div class="imgs">
  128. <img src="@assets/imgs/downg.png" />
  129. <img src="@assets/imgs/ptyup.png" class="qty_img" />
  130. </div>
  131. <p class="qty_tit">
  132. 光伏数量
  133. <sapn class="qty_value" id="pv">{{
  134. wpId.includes("GDC")
  135. ? 1
  136. : StationinformationData?.cblpoint.qjny_gfts
  137. }}</sapn>
  138. <span class="qty_u">个</span>
  139. </p>
  140. <div class="qty_content">
  141. <p class="qty_imag">
  142. 逆变器
  143. <span class="qty_val">
  144. {{
  145. wpId.includes("GDC")
  146. ? StationinformationData?.station[wpId]?.jzzjts +
  147. StationinformationData?.station[wpId]?.zczjts
  148. : StationinformationData?.cblpoint.qjny_gf_jzts +
  149. StationinformationData?.cblpoint.qjny_gf_zcts
  150. }}
  151. </span>
  152. <span class="qty_unit">台</span>
  153. </p>
  154. <p class="qty_imag">
  155. 集中式<span class="qty_val">
  156. {{
  157. wpId.includes("GDC")
  158. ? StationinformationData?.station[wpId]?.jzzjts
  159. : StationinformationData?.cblpoint.qjny_gf_jzts
  160. }} </span
  161. ><span class="qty_unit">台</span>
  162. </p>
  163. <p class="qty_imag">
  164. 组串式<span class="qty_val">
  165. {{
  166. wpId.includes("GDC")
  167. ? StationinformationData?.station[wpId]?.zczjts
  168. : StationinformationData?.cblpoint.qjny_gf_zcts
  169. }} </span
  170. ><span class="qty_unit">台</span>
  171. </p>
  172. </div>
  173. </li>
  174. </ul>
  175. <div class="switch-jrqk" v-show="switchShow">
  176. <div><img src="@/assets/imgs/arrows.png" /> 接入情况</div>
  177. <ul>
  178. <li v-show="tabShow == -1 || tabShow == 0">
  179. <div class="imgs">
  180. <img src="@assets/imgs/downF.png" />
  181. <img src="@assets/imgs/windup.png" class="qty_img" />
  182. </div>
  183. <p class="qty_tit">
  184. 风场数量
  185. <sapn class="qty_value">
  186. {{
  187. wpId.includes("FDC")
  188. ? 1
  189. : StationinformationData?.cblpoint?.jr_fcts
  190. }}</sapn
  191. >
  192. <span class="qty_u">个</span>
  193. </p>
  194. <div class="qty_content">
  195. <p class="qty_imag">
  196. 风机台数<span class="qty_val">
  197. {{
  198. wpId.includes("FDC")
  199. ? StationinformationData?.station[wpId]?.zjts
  200. : StationinformationData?.cblpoint?.jr_fj_ts
  201. }} </span
  202. ><span class="qty_unit">台</span>
  203. </p>
  204. <p class="qty_imag">
  205. 陆地风机<span class="qty_val">
  206. {{
  207. wpId.includes("FDC")
  208. ? StationinformationData?.station[wpId]?.zjts
  209. : StationinformationData?.cblpoint?.jr_fj_ts
  210. }} </span
  211. ><span class="qty_unit">台</span>
  212. </p>
  213. <p class="qty_imag">
  214. 海上风机<span class="qty_val">
  215. {{
  216. wpId.includes("FDC")
  217. ? StationinformationData?.station[wpId]?.hszjts
  218. : StationinformationData?.cblpoint?.qjny_hsfj_ts
  219. }} </span
  220. ><span class="qty_unit">台</span>
  221. </p>
  222. </div>
  223. </li>
  224. <li class="line" v-if="tabShow == 0"></li>
  225. <li v-show="tabShow == 0 || tabShow == -2">
  226. <div class="imgs">
  227. <img src="@assets/imgs/downg.png" />
  228. <img src="@assets/imgs/ptyup.png" class="qty_img" />
  229. </div>
  230. <p class="qty_tit">
  231. 光伏数量
  232. <sapn class="qty_value" id="pv">
  233. {{
  234. wpId.includes("GDC")
  235. ? 1
  236. : StationinformationData?.cblpoint?.jr_gfts
  237. }}</sapn
  238. >
  239. <span class="qty_u">个</span>
  240. </p>
  241. <div class="qty_content">
  242. <p class="qty_imag">
  243. 逆变器<span class="qty_val">
  244. {{
  245. wpId.includes("GDC")
  246. ? StationinformationData?.station[wpId]?.jzzjts +
  247. StationinformationData?.station[wpId]?.zczjts
  248. : StationinformationData?.cblpoint.jr_gf_jzts +
  249. StationinformationData?.cblpoint.jr_gf_zcts
  250. }}
  251. </span>
  252. <span class="qty_unit">台</span>
  253. </p>
  254. <p class="qty_imag">
  255. 集中式<span class="qty_val">
  256. {{
  257. wpId.includes("GDC")
  258. ? StationinformationData?.station[wpId]?.jzzjts
  259. : StationinformationData?.cblpoint?.jr_gf_jzts
  260. }} </span
  261. ><span class="qty_unit">台</span>
  262. </p>
  263. <p class="qty_imag">
  264. 组串式<span class="qty_val">
  265. {{
  266. wpId.includes("GDC")
  267. ? StationinformationData?.station[wpId]?.zczjts
  268. : StationinformationData?.cblpoint?.jr_gf_zcts
  269. }} </span
  270. ><span class="qty_unit">台</span>
  271. </p>
  272. </div>
  273. </li>
  274. </ul>
  275. </div>
  276. </div>
  277. <div class="ecoName safe_power">
  278. <p class="ecoTitle">社会贡献<span>万吨/月</span></p>
  279. <ul>
  280. <li class="eco_count">
  281. <div class="svg-icon svg-icon-green">
  282. <svg-icon class="" svgid="svg-煤" />
  283. </div>
  284. <p class="eco_val text-ellipsis">
  285. {{ (StationinformationData?.qt.jym / 10000).toFixed(2) }}
  286. </p>
  287. <p class="eco_name">煤</p>
  288. </li>
  289. <li class="eco_count">
  290. <div class="svg-icon svg-icon-green">
  291. <svg-icon class="" svgid="svg-水" />
  292. </div>
  293. <p class="eco_val text-ellipsis">
  294. {{ (StationinformationData?.qt.jys / 10000).toFixed(2) }}
  295. </p>
  296. <p class="eco_name">水</p>
  297. </li>
  298. <li class="eco_count">
  299. <div class="kind">
  300. <div class="svg-icon svg-icon-green">
  301. <svg-icon svgid="svg-co2" />
  302. </div>
  303. </div>
  304. <p class="eco_val text-ellipsis">
  305. {{ (StationinformationData?.qt.co2 / 10000).toFixed(2) }}
  306. </p>
  307. <p class="eco_name">二氧化碳</p>
  308. </li>
  309. <li class="eco_count">
  310. <div class="kind">
  311. <div class="svg-icon svg-icon-green">
  312. <svg-icon svgid="svg-so2" />
  313. </div>
  314. </div>
  315. <p class="eco_val text-ellipsis">
  316. {{ (StationinformationData?.qt.so2 / 10000).toFixed(2) }}
  317. </p>
  318. <p class="eco_name">二氧化硫</p>
  319. </li>
  320. </ul>
  321. </div>
  322. <div class="my_echarts safe_power" v-if="penetrateType == 3">
  323. <power-echarts
  324. :CurveValues="CurveValues"
  325. width="680px"
  326. :unit="'MW'"
  327. :ratio="1000"
  328. />
  329. </div>
  330. </div>
  331. <!-- 全国左侧信息 -->
  332. <div class="leftBox" v-if="currentTitle == '全国'">
  333. <div
  334. :class="
  335. $store.state.themeName === 'light' ? 'new-home-light' : 'new-home'
  336. "
  337. >
  338. <div class="security-day">
  339. <div v-if="activeTab == 0" class="text">清洁能源产业总装机容量:</div>
  340. <div v-if="activeTab == -1" class="text">
  341. 清洁能源产业风电总装机容量:
  342. </div>
  343. <div v-if="activeTab == -2" class="text">
  344. 清洁能源产业光伏总装机容量:
  345. </div>
  346. <div class="num">
  347. <span class="font-num" v-if="activeTab == 0">{{
  348. StationinformationData?.qt?.zzjrl
  349. }}</span>
  350. <span class="font-num" v-if="activeTab == -1">{{
  351. StationinformationData?.qt?.fdzzjrl
  352. }}</span>
  353. <span class="font-num" v-if="activeTab == -2">{{
  354. StationinformationData?.qt?.gfzzjrl
  355. }}</span>
  356. <span class="unit">MW</span>
  357. </div>
  358. <div class="security">
  359. <div class="lineBox">
  360. <div v-if="activeTab == 0">
  361. <span>风电</span>
  362. <span class="num font-num">{{
  363. StationinformationData?.qt?.fdzzjrl
  364. }}</span>
  365. <span class="unit">MW</span>
  366. </div>
  367. <div v-if="activeTab == 0">
  368. <span>光伏</span>
  369. <span class="num font-num">{{
  370. StationinformationData?.qt?.gfzzjrl
  371. }}</span>
  372. <span class="unit">MW</span>
  373. </div>
  374. </div>
  375. <div class="text">安全天数:</div>
  376. <div class="num">
  377. <span class="font-num">{{
  378. StationinformationData?.qt?.aqts || 0
  379. }}</span>
  380. <span class="unit-t">天</span>
  381. </div>
  382. </div>
  383. </div>
  384. <div
  385. class="energy-system-box box1"
  386. :class="activeTab == -1 || activeTab == -2 ? 'piggy-tab-width' : ''"
  387. >
  388. <div class="energy-system-content clearfix">
  389. <div class="title">
  390. <span class="title-name">清洁能源公司</span>
  391. <span class="title-all-title">总装机容量 :</span>
  392. <span class="title-all-content" v-if="activeTab == 0">{{
  393. Number(StationinformationData?.cblpoint?.qjny_zzjrl) || 0
  394. }}</span>
  395. <span class="title-all-content" v-if="activeTab == -1">{{
  396. StationinformationData?.cblpoint?.qjny_fd_zjrl || 0
  397. }}</span>
  398. <span class="title-all-content" v-if="activeTab == -2">{{
  399. StationinformationData?.cblpoint?.qjny_gf_zjrl || 0
  400. }}</span>
  401. <span class="title-all-unit">MW</span>
  402. </div>
  403. <div
  404. class="left-content float-left"
  405. :class="activeTab == -1 ? 'piggy-bank' : ''"
  406. v-if="activeTab == -1 || activeTab == 0"
  407. >
  408. <div class="img-num clearfix">
  409. <div class="img float-left">
  410. <img src="../../../assets/home/fc_1.png" alt="" />
  411. </div>
  412. <div class="num float-left">
  413. <span>风电场数量</span> <br />
  414. <span>{{ StationinformationData?.cblpoint?.qjny_fcts }}</span>
  415. <span>个</span>
  416. </div>
  417. </div>
  418. <div class="capacity">
  419. <div class="item">
  420. <el-row>
  421. <el-col :span="8"><span>装机容量</span></el-col>
  422. <el-col :span="9"
  423. ><span>{{
  424. StationinformationData?.cblpoint?.qjny_fd_zjrl
  425. }}</span></el-col
  426. >
  427. <el-col :span="7"><span>MW</span></el-col>
  428. </el-row>
  429. </div>
  430. <!-- <div class="item">
  431. <el-row>
  432. <el-col :span="8"><span>风机台数</span></el-col>
  433. <el-col :span="9"
  434. ><span>{{
  435. StationinformationData?.cblpoint?.qjny_fj_ts
  436. }}</span></el-col
  437. >
  438. <el-col :span="7"><span>台</span></el-col>
  439. </el-row>
  440. </div> -->
  441. </div>
  442. </div>
  443. <div
  444. class="right-content float-left"
  445. :class="activeTab == -2 ? 'piggy-bank' : ''"
  446. v-if="activeTab == -2 || activeTab == 0"
  447. >
  448. <div class="img-num clearfix">
  449. <div class="img float-left">
  450. <img src="../../../assets/home/gf_1.png" alt="" />
  451. </div>
  452. <div class="num float-left">
  453. <span>光伏电站数量</span> <br />
  454. <span>{{ StationinformationData?.cblpoint?.qjny_gfts }}</span>
  455. <span>个</span>
  456. </div>
  457. </div>
  458. <div class="capacity">
  459. <div class="item">
  460. <el-row>
  461. <el-col :span="8"><span>装机容量</span></el-col>
  462. <el-col :span="9"
  463. ><span>{{
  464. StationinformationData?.cblpoint?.qjny_gf_zjrl
  465. }}</span></el-col
  466. >
  467. <el-col :span="7"><span>MW</span></el-col>
  468. </el-row>
  469. </div>
  470. <!-- <div class="item">
  471. <el-row>
  472. <el-col :span="8"><span>集中式</span></el-col>
  473. <el-col :span="9"
  474. ><span>{{
  475. StationinformationData?.cblpoint?.qjny_gf_jzts
  476. }}</span></el-col
  477. >
  478. <el-col :span="7"><span>台</span></el-col>
  479. </el-row>
  480. </div>
  481. <div class="item">
  482. <el-row>
  483. <el-col :span="8"><span>组串式</span></el-col>
  484. <el-col :span="9"
  485. ><span>{{
  486. StationinformationData?.cblpoint?.qjny_gf_zcts
  487. }}</span></el-col
  488. >
  489. <el-col :span="7"><span>台</span></el-col>
  490. </el-row>
  491. </div> -->
  492. </div>
  493. </div>
  494. </div>
  495. </div>
  496. <div
  497. class="energy-system-box box2"
  498. :class="activeTab == -1 || activeTab == -2 ? 'piggy-tab-width' : ''"
  499. >
  500. <div class="energy-system-content clearfix">
  501. <div class="title">
  502. <span class="title-name">系统接入情况</span>
  503. <span class="title-all-title">总装机容量 :</span>
  504. <span class="title-all-content" v-if="activeTab == 0">{{
  505. Number(StationinformationData?.cblpoint?.jr_zzjrl) || 0
  506. }}</span>
  507. <span class="title-all-content" v-if="activeTab == -1">{{
  508. StationinformationData?.cblpoint?.jr_fd_zjrl || 0
  509. }}</span>
  510. <span class="title-all-content" v-if="activeTab == -2">{{
  511. StationinformationData?.cblpoint?.jr_gf_zjrl || 0
  512. }}</span>
  513. <span class="title-all-unit">MW</span>
  514. </div>
  515. <div
  516. class="left-content float-left"
  517. :class="activeTab == -1 ? 'piggy-bank' : ''"
  518. v-if="activeTab == -1 || activeTab == 0"
  519. >
  520. <div class="img-num clearfix">
  521. <div>
  522. <div class="img float-left">
  523. <img src="../../../assets/home/fc_1.png" alt="" />
  524. </div>
  525. <div class="num float-left">
  526. <span>风电场数量</span> <br />
  527. <span>{{ StationinformationData?.cblpoint?.jr_fcts }}</span>
  528. <span>个</span>
  529. </div>
  530. </div>
  531. </div>
  532. <div class="capacity">
  533. <div class="item">
  534. <el-row>
  535. <el-col :span="8"><span>装机容量</span></el-col>
  536. <el-col :span="9"
  537. ><span>{{
  538. StationinformationData?.cblpoint?.jr_fd_zjrl
  539. }}</span></el-col
  540. >
  541. <el-col :span="7"><span>MW</span></el-col>
  542. </el-row>
  543. </div>
  544. <div class="item">
  545. <el-row>
  546. <el-col :span="8"><span>风机台数</span></el-col>
  547. <el-col :span="9"
  548. ><span>{{
  549. StationinformationData?.cblpoint?.jr_fj_ts
  550. }}</span></el-col
  551. >
  552. <el-col :span="7"><span>台</span></el-col>
  553. </el-row>
  554. </div>
  555. </div>
  556. </div>
  557. <div
  558. class="right-content float-left"
  559. :class="activeTab == -2 ? 'piggy-bank' : ''"
  560. v-if="activeTab == -2 || activeTab == 0"
  561. >
  562. <div class="img-num clearfix">
  563. <div class="img float-left">
  564. <img src="../../../assets/home/gf_1.png" alt="" />
  565. </div>
  566. <div class="num float-left">
  567. <span>光伏电站数量</span> <br />
  568. <span>{{ StationinformationData?.cblpoint?.jr_gfts }}</span>
  569. <span>个</span>
  570. </div>
  571. </div>
  572. <div class="capacity">
  573. <div class="item">
  574. <el-row>
  575. <el-col :span="8"><span>装机容量</span></el-col>
  576. <el-col :span="9"
  577. ><span>{{
  578. StationinformationData?.cblpoint?.jr_gf_zjrl || 0
  579. }}</span></el-col
  580. >
  581. <el-col :span="7"><span>MW</span></el-col>
  582. </el-row>
  583. </div>
  584. <div class="item">
  585. <el-row>
  586. <el-col :span="8"><span>集中式</span></el-col>
  587. <el-col :span="9"
  588. ><span>{{
  589. StationinformationData?.cblpoint?.jr_gf_jzts || 0
  590. }}</span></el-col
  591. >
  592. <el-col :span="7"><span>台</span></el-col>
  593. </el-row>
  594. </div>
  595. <div class="item">
  596. <el-row>
  597. <el-col :span="8"><span>组串式</span></el-col>
  598. <el-col :span="9"
  599. ><span>{{
  600. StationinformationData?.cblpoint?.jr_gf_zcts || 0
  601. }}</span></el-col
  602. >
  603. <el-col :span="7"><span>台</span></el-col>
  604. </el-row>
  605. </div>
  606. </div>
  607. </div>
  608. </div>
  609. </div>
  610. <div class="energy-system-box box3">
  611. <div class="model-bg">
  612. <div class="titles">
  613. <div class="name">节能减排</div>
  614. <div class="unit">(单位: 万吨)</div>
  615. </div>
  616. <div class="save">
  617. <div class="save-item">
  618. <div
  619. class="jnjp-icon svg-icon svg-icon-green"
  620. style="width:5.5vh,height:5.5vh"
  621. >
  622. <svg-icon class="" svgid="svg-煤" />
  623. </div>
  624. <div class="save-value">
  625. {{
  626. Number(
  627. Number(StationinformationData?.qt?.jym) / 10000
  628. ).toFixed(2)
  629. }}
  630. </div>
  631. <div class="save-name">煤</div>
  632. </div>
  633. <div class="save-item">
  634. <div class="jnjp-icon svg-icon svg-icon-green">
  635. <svg-icon class="" svgid="svg-水" />
  636. </div>
  637. <div class="save-value">
  638. {{
  639. Number(
  640. Number(StationinformationData?.qt?.jys) / 10000
  641. ).toFixed(2)
  642. }}
  643. </div>
  644. <div class="save-name">水</div>
  645. </div>
  646. <div class="save-item">
  647. <div class="kind">
  648. <div class="jnjp-icon1 svg-icon svg-icon-green">
  649. <svg-icon class="" svgid="svg-co2" />
  650. </div>
  651. </div>
  652. <div class="save-value">
  653. {{
  654. Number(
  655. Number(StationinformationData?.qt?.co2) / 10000
  656. ).toFixed(2)
  657. }}
  658. </div>
  659. <div class="save-name">二氧化碳</div>
  660. </div>
  661. <div class="save-item">
  662. <div class="kind">
  663. <div class="jnjp-icon1 svg-icon svg-icon-green">
  664. <svg-icon class="" svgid="svg-so2" />
  665. </div>
  666. </div>
  667. <div class="save-value">
  668. {{
  669. Number(
  670. Number(StationinformationData?.qt?.so2) / 10000
  671. ).toFixed(2)
  672. }}
  673. </div>
  674. <div class="save-name">二氧化硫</div>
  675. </div>
  676. </div>
  677. </div>
  678. </div>
  679. </div>
  680. </div>
  681. <!-- 展示当前场站名称 -->
  682. <div class="name-box" v-if="currentTitle != '全国'">
  683. <div class="name-box-title">
  684. {{ currentTitle }}
  685. </div>
  686. </div>
  687. <!-- 返回按钮 -->
  688. <div
  689. class="return"
  690. @click="
  691. backMap(
  692. stationList[currents - 1]?.wpId,
  693. stationList[currents - 1]?.name
  694. )
  695. "
  696. v-show="currents != 0"
  697. >
  698. <span class="svg-icon svg-icon-sm">
  699. <svg-icon :svgid="'svg-arrow-dpwn-1'" />
  700. </span>
  701. 返回
  702. </div>
  703. <!-- 地图 -->
  704. <div class="map-img">
  705. <!-- 全国 -->
  706. <SvgMapNX
  707. v-if="currentTitle == '全国'"
  708. :homeSuspensionWindowsData="homeSuspensionWindowsData"
  709. :mapList="mapList"
  710. :show="showType"
  711. :data="StationinformationData"
  712. @clickLabel="clickLabel"
  713. >
  714. </SvgMapNX>
  715. <!-- 山西 -->
  716. <SX
  717. v-if="currentTitle != '全国'"
  718. :showType="showType"
  719. :companyid="companyid"
  720. :data="StationinformationData"
  721. @clickLabel="clickLabel"
  722. >
  723. </SX>
  724. </div>
  725. <!-- 全国右侧信息 -->
  726. <div
  727. class="right"
  728. v-if="currentTitle == '全国'"
  729. :class="activeTab == -1 || activeTab == -2 ? 'top-distance' : ''"
  730. >
  731. <el-dialog
  732. class="dialogs"
  733. width="80%"
  734. v-model="dialogElectric"
  735. :show-close="true"
  736. >
  737. <template #title>
  738. <div class="dialog-title">
  739. <img class="dialog-title-img" src="@assets/imgs/dialog-title.png" />
  740. <div class="title">{{ showName }}</div>
  741. </div>
  742. </template>
  743. <div class="dialog-body" style="height: 40vh">
  744. <img class="dialog-img" src="@assets/imgs/dialog.png" />
  745. <div class="date">
  746. <div
  747. class="day"
  748. :class="electronType === 'day' ? 'active' : ''"
  749. @click="handleElectricDetail('day', '日发电量', type)"
  750. >
  751. </div>
  752. <div
  753. class="mouth"
  754. :class="electronType === 'month' ? 'active' : ''"
  755. @click="handleElectricDetail('month', '月发电量', type)"
  756. >
  757. </div>
  758. <div
  759. class="year"
  760. :class="electronType === 'year' ? 'active' : ''"
  761. @click="handleElectricDetail('year', '年发电量', type)"
  762. >
  763. </div>
  764. </div>
  765. <BarCharts
  766. :list="barList"
  767. width="100%"
  768. height="45vh"
  769. :ratio="10000"
  770. :showLegend="true"
  771. :top="30"
  772. :units="units"
  773. :interval="electronType === 'day' ? 1 : 0"
  774. :showkey="showkey"
  775. :showName="showName"
  776. :color="colors"
  777. >
  778. </BarCharts>
  779. </div>
  780. </el-dialog>
  781. <Row type="flex" style="margin-bottom: 20px">
  782. <Col :span="24">
  783. <div class="model-bg-new">
  784. <div class="titles">
  785. <div class="name">
  786. {{ activeTab == 0 ? "实时负荷" : "关键指标" }}
  787. </div>
  788. <!-- <div class="unit">(单位: MW)</div> -->
  789. </div>
  790. <power-review-home
  791. :data="powerDataHome"
  792. :id="wpIds"
  793. @chartClick="showPowerChart"
  794. />
  795. </div>
  796. <!-- @chartClick="showPowerChart" -->
  797. </Col>
  798. </Row>
  799. <!-- 风电场 -->
  800. <Row
  801. type="flex"
  802. style="margin-bottom: 20px"
  803. v-if="activeTab == -1 || activeTab == 0"
  804. >
  805. <Col :span="24">
  806. <div class="model-bg-new-right">
  807. <div class="infos">
  808. <div class="titles">
  809. <div class="amount">
  810. <div class="icon fengji-icon svg-icon svg-icon-white"></div>
  811. <img
  812. class="amount-image"
  813. src="@/assets/png/wind.png"
  814. alt=""
  815. />
  816. <div class="amount-nums">
  817. <text class="num-item">{{
  818. StationinformationData?.cblpoint?.jr_fj_ts
  819. }}</text>
  820. </div>
  821. </div>
  822. <div
  823. v-if="
  824. !(
  825. wpId.includes('FDC') ||
  826. wpId.includes('GC') ||
  827. wpId.includes('GDC')
  828. )
  829. "
  830. class="info-nums"
  831. >
  832. 风电场<text class="nums">{{
  833. StationinformationData?.cblpoint?.jr_fcts
  834. }}</text>
  835. </div>
  836. </div>
  837. <div class="types">
  838. <div class="type-model">
  839. <div class="type-name" style="color: #1d99ff">待机</div>
  840. <div class="type-num">
  841. {{ StationinformationData?.mxztmap?.fd_djnum || 0 }}
  842. </div>
  843. </div>
  844. <div class="type-model">
  845. <div class="type-name" style="color: #05bb4c">运行</div>
  846. <div class="type-num">
  847. {{ StationinformationData?.mxztmap?.fd_yxnum || 0 }}
  848. </div>
  849. </div>
  850. <div class="type-model">
  851. <div class="type-name" style="color: #ba3237">故障</div>
  852. <div class="type-num">
  853. {{ StationinformationData?.mxztmap?.fd_gznum || 0 }}
  854. </div>
  855. </div>
  856. <div class="type-model">
  857. <div class="type-name" style="color: #e17e23">检修</div>
  858. <div class="type-num">
  859. {{ StationinformationData?.mxztmap?.fd_jxnum || 0 }}
  860. </div>
  861. </div>
  862. <div class="type-model">
  863. <div class="type-name" style="color: #c531c7">限电</div>
  864. <div class="type-num">
  865. {{ StationinformationData?.mxztmap?.fd_xdnum || 0 }}
  866. </div>
  867. </div>
  868. <div class="type-model">
  869. <div class="type-name" style="color: #fff">受累</div>
  870. <div class="type-num">
  871. {{ StationinformationData?.mxztmap?.fd_slnum || 0 }}
  872. </div>
  873. </div>
  874. <div class="type-model">
  875. <div class="type-name" style="color: #606769">离线</div>
  876. <div class="type-num">
  877. {{ StationinformationData?.mxztmap?.fd_lxnum || 0 }}
  878. </div>
  879. </div>
  880. </div>
  881. <div class="tabSwitchover">
  882. <div class="unit"><span>(单位: 万kWh)</span></div>
  883. </div>
  884. <div
  885. v-for="(item, index) in ForecastPowerNewHome_fc"
  886. :key="index"
  887. >
  888. <div class="power-charts">
  889. <div class="power-name">{{ item[0].name }}</div>
  890. <div class="power-item">
  891. <div class="power-value">
  892. <span
  893. :style="
  894. item[0].color === 1
  895. ? 'background-color:#4B55AE'
  896. : 'background-color:#05BB4C'
  897. "
  898. ></span>
  899. <span>{{ item[0].total }}</span>
  900. </div>
  901. <list-bar-chart-2-home
  902. :list="item"
  903. height="55px"
  904. width="250px"
  905. @click="
  906. handleElectricDetail(item[0].id, item[0].name, 'fc')
  907. "
  908. />
  909. </div>
  910. </div>
  911. </div>
  912. </div>
  913. </div>
  914. </Col>
  915. </Row>
  916. <!-- 光电站 -->
  917. <Row
  918. type="flex"
  919. style="margin-bottom: 20px"
  920. v-if="activeTab == -2 || activeTab == 0"
  921. >
  922. <Col :span="24">
  923. <div class="model-bg-new-right">
  924. <div class="infos">
  925. <div class="titles">
  926. <div class="amount">
  927. <div class="icon fengji-icon svg-icon svg-icon-white"></div>
  928. <img class="amount-image" src="@/assets/png/sun.png" alt="" />
  929. <div class="amount-nums">
  930. <text class="num-item">{{
  931. Number(
  932. StationinformationData?.cblpoint?.jr_gf_jzts +
  933. StationinformationData?.cblpoint?.jr_gf_zcts
  934. ) || 0
  935. }}</text>
  936. </div>
  937. </div>
  938. <div class="info-nums">
  939. 电站<text class="nums">{{
  940. StationinformationData?.cblpoint?.jr_gfts
  941. }}</text>
  942. </div>
  943. </div>
  944. <div class="types">
  945. <div class="type-model">
  946. <div class="type-name" style="color: #1d99ff">待机</div>
  947. <div class="type-num">
  948. {{ StationinformationData?.mxztmap?.gf_djnum || 0 }}
  949. </div>
  950. </div>
  951. <div class="type-model">
  952. <div class="type-name" style="color: #05bb4c">运行</div>
  953. <div class="type-num">
  954. {{ StationinformationData?.mxztmap?.gf_yxnum || 0 }}
  955. </div>
  956. </div>
  957. <div class="type-model">
  958. <div class="type-name" style="color: #ba3237">故障</div>
  959. <div class="type-num">
  960. {{ StationinformationData?.mxztmap?.gf_gznum || 0 }}
  961. </div>
  962. </div>
  963. <div class="type-model">
  964. <div class="type-name" style="color: #e17e23">检修</div>
  965. <div class="type-num">
  966. {{ StationinformationData?.mxztmap?.gf_jxnum || 0 }}
  967. </div>
  968. </div>
  969. <div class="type-model">
  970. <div class="type-name" style="color: #c531c7">限电</div>
  971. <div class="type-num">
  972. {{ StationinformationData?.mxztmap?.gf_xdnum || 0 }}
  973. </div>
  974. </div>
  975. <div class="type-model">
  976. <div class="type-name" style="color: #fff">受累</div>
  977. <div class="type-num">
  978. {{ StationinformationData?.mxztmap?.gf_slnum || 0 }}
  979. </div>
  980. </div>
  981. <div class="type-model">
  982. <div class="type-name" style="color: #606769">离线</div>
  983. <div class="type-num">
  984. {{ StationinformationData?.mxztmap?.gf_lxnum || 0 }}
  985. </div>
  986. </div>
  987. </div>
  988. <div class="tabSwitchover">
  989. <div class="unit"><span>(单位: 万kWh)</span></div>
  990. </div>
  991. <div
  992. v-for="(item, index) in ForecastPowerNewHome_gf"
  993. :key="index"
  994. >
  995. <div class="power-charts">
  996. <div class="power-name">{{ item[0].name }}</div>
  997. <div class="power-item">
  998. <div class="power-value">
  999. <span
  1000. :style="
  1001. index % 2 === 0
  1002. ? 'background-color:#4B55AE'
  1003. : 'background-color:#05BB4C'
  1004. "
  1005. ></span>
  1006. <span>{{ item[0].total }}</span>
  1007. </div>
  1008. <list-bar-chart-2-home
  1009. :list="item"
  1010. height="55px"
  1011. width="250px"
  1012. @click="
  1013. handleElectricDetail(item[0].id, item[0].name, 'gf')
  1014. "
  1015. />
  1016. </div>
  1017. </div>
  1018. </div>
  1019. </div>
  1020. </div>
  1021. </Col>
  1022. </Row>
  1023. </div>
  1024. <!-- 全国实时负荷/关键指标弹窗 -->
  1025. <el-dialog
  1026. class="dialogs"
  1027. width="80%"
  1028. v-model="dialogGroupRealname"
  1029. :show-close="true"
  1030. destroy-on-close
  1031. >
  1032. <template #title>
  1033. <div class="dialog-title">
  1034. <img class="dialog-title-img" src="@assets/imgs/dialog-title.png" />
  1035. <div class="title">{{ showName }}</div>
  1036. </div>
  1037. </template>
  1038. <div class="dialog-body" style="height: 40vh">
  1039. <img class="dialog-img" src="@assets/imgs/dialog.png" />
  1040. <windChartCom
  1041. :windCurveValues="groupList"
  1042. :unit="'MW'"
  1043. :CurveTitle="chartName"
  1044. width="100%"
  1045. height="38vh"
  1046. chartId="windChar"
  1047. />
  1048. </div>
  1049. </el-dialog>
  1050. <div v-if="currentTitle != '全国'">
  1051. <!-- 山西右侧信息 -->
  1052. <div class="card wind_card">
  1053. <el-row>
  1054. <el-col v-show="tabShow == 0 || tabShow == -1">
  1055. <div class="grid-content">
  1056. <div
  1057. class="img"
  1058. @click="handleClick('SSPJFS', '实时风速', 'm/s')"
  1059. >
  1060. <img
  1061. src="@/assets/imgs/pointer.png"
  1062. :style="{ transform: windSpeedRota }"
  1063. />
  1064. <div class="information">
  1065. {{ (StationinformationData?.qt?.ssfs).toFixed(2) }}
  1066. </div>
  1067. <div class="unit">m/s</div>
  1068. <p>实时风速</p>
  1069. </div>
  1070. </div>
  1071. </el-col>
  1072. <el-col v-show="tabShow == 0 || tabShow == -2">
  1073. <div
  1074. class="grid-content"
  1075. @click="handleClick('RPJGZD', '光照强度', 'W/m²')"
  1076. >
  1077. <div class="img">
  1078. <img
  1079. src="@/assets/imgs/pointer.png"
  1080. :style="{ transform: illuminationRota }"
  1081. />
  1082. <div class="information">
  1083. {{ (StationinformationData?.qt?.gzzs / 1000).toFixed(2) }}
  1084. </div>
  1085. <div class="unit">W/m²</div>
  1086. <p>光照强度</p>
  1087. </div>
  1088. </div>
  1089. </el-col>
  1090. <el-col>
  1091. <div
  1092. class="grid-content"
  1093. @click="handleClick('SSZGL', '实际功率', 'MW')"
  1094. >
  1095. <div class="img">
  1096. <img
  1097. src="@/assets/imgs/pointer.png"
  1098. :style="{ transform: actualPowerRota }"
  1099. />
  1100. <div class="information">
  1101. {{ (StationinformationData?.qt?.sjgl / 1000).toFixed(2) }}
  1102. </div>
  1103. <div class="unit">MW</div>
  1104. <p>实际功率</p>
  1105. </div>
  1106. </div>
  1107. </el-col>
  1108. <!-- <el-col>
  1109. <div
  1110. class="grid-content"
  1111. @click="handleClick('SSZLLGL', '理论功率', 'MW')"
  1112. >
  1113. <div class="img">
  1114. <img
  1115. src="@/assets/imgs/pointer.png"
  1116. :style="{ transform: ideaPowerRota }"
  1117. />
  1118. <div class="information">
  1119. {{ (StationinformationData?.qt?.llgl / 1000).toFixed(2) }}
  1120. </div>
  1121. <div class="unit">MW</div>
  1122. <p>理论功率</p>
  1123. </div>
  1124. </div>
  1125. </el-col> -->
  1126. <el-col v-show="tabShow == -1 || tabShow == -2">
  1127. <div
  1128. class="grid-content"
  1129. @click="
  1130. handleClick(
  1131. 'FNLYL',
  1132. tabShow == -1 ? '风能利用率' : '光能利用率',
  1133. '%'
  1134. )
  1135. "
  1136. >
  1137. <div class="img">
  1138. <img
  1139. src="@/assets/imgs/pointer.png"
  1140. :style="{ transform: guarantee }"
  1141. />
  1142. <div class="information">
  1143. {{ (StationinformationData?.qt?.fnlyl).toFixed(2) }}
  1144. </div>
  1145. <div class="unit">%</div>
  1146. <p>{{ tabShow == -1 ? "风能利用率" : "光能利用率" }}</p>
  1147. </div>
  1148. </div>
  1149. </el-col>
  1150. </el-row>
  1151. </div>
  1152. <div class="card electric_card">
  1153. <el-header>
  1154. <span class="title"></span>
  1155. <soan class="unit">(单位:万kWh)</soan>
  1156. </el-header>
  1157. <el-row
  1158. style="cursor: pointer"
  1159. v-for="(item, index) in fdlList"
  1160. :key="index"
  1161. @click="handleElectricDetail(item.id, item.title)"
  1162. >
  1163. <el-col :span="4">{{ item.title }}</el-col>
  1164. <el-col :span="14">
  1165. <div class="electric">
  1166. <div
  1167. class="progress_bar"
  1168. :style="{
  1169. width:
  1170. item.value && item.value1
  1171. ? (item.value / 10000 / item.value1) * 100 + '%'
  1172. : '0',
  1173. }"
  1174. >
  1175. <span class="count">{{ (item.value / 10000).toFixed(2) }}</span>
  1176. <span class="img"></span>
  1177. </div>
  1178. </div>
  1179. </el-col>
  1180. <el-col :span="4">{{ item.value1 }}</el-col>
  1181. </el-row>
  1182. <el-row class="summarize">
  1183. <div
  1184. class="summarize-left"
  1185. @click="handleUsingDetail('month', 'yfdl', '月利用小时')"
  1186. >
  1187. <p>月利用小时</p>
  1188. <p>
  1189. <span>
  1190. {{ StationinformationData?.qt?.ylyxs?.toFixed(2) }}
  1191. </span>
  1192. <span>小时</span>
  1193. </p>
  1194. </div>
  1195. <div class="line"></div>
  1196. <div
  1197. class="summarize-right"
  1198. @click="handleUsingDetail('year', 'nfdl', '年利用小时')"
  1199. >
  1200. <p>年利用小时</p>
  1201. <p>
  1202. <span>{{ StationinformationData?.qt?.nlyxs?.toFixed(2) }}</span>
  1203. <span>小时</span>
  1204. </p>
  1205. </div>
  1206. </el-row>
  1207. </div>
  1208. <div class="card station_card">
  1209. <el-row class="card_header" v-if="tabShow == 0 || tabShow == -1">
  1210. <el-col :span="12">
  1211. <img
  1212. src="@/assets/imgs/windmill.png"
  1213. style="display: inline-block"
  1214. />
  1215. <span>{{
  1216. wpId.includes("FDC")
  1217. ? StationinformationData?.station[wpId]?.zjts
  1218. : StationinformationData?.cblpoint?.jr_fj_ts
  1219. }}</span
  1220. >台
  1221. </el-col>
  1222. <el-col :span="12">
  1223. 场站<span>{{
  1224. wpId.includes("FDC")
  1225. ? 1
  1226. : StationinformationData?.cblpoint?.jr_fcts
  1227. }}</span
  1228. >个
  1229. </el-col>
  1230. </el-row>
  1231. <windLightDetial
  1232. v-if="tabShow == -1"
  1233. :dataDetial="StationinformationData?.sbztmap?.fd"
  1234. ></windLightDetial>
  1235. <windlightSimple
  1236. v-if="tabShow == 0"
  1237. :dataSimple="StationinformationData?.sbztmap?.fd"
  1238. />
  1239. <el-row class="card_header" v-if="tabShow == 0 || tabShow == -2">
  1240. <el-col :span="12">
  1241. <img src="@/assets/imgs/gfmill.png" style="display: inline-block" />
  1242. <span>{{
  1243. wpId.includes("GDC")
  1244. ? StationinformationData?.station[wpId]?.jzzjts +
  1245. StationinformationData?.station[wpId]?.zczjts
  1246. : StationinformationData?.cblpoint?.jr_gf_zcts +
  1247. StationinformationData?.cblpoint?.jr_gf_jzts
  1248. }}</span
  1249. >台
  1250. </el-col>
  1251. <el-col :span="12">
  1252. 场站<span>{{
  1253. wpId.includes("GDC")
  1254. ? 1
  1255. : StationinformationData?.cblpoint?.jr_gfts
  1256. }}</span
  1257. >个
  1258. </el-col>
  1259. </el-row>
  1260. <windLightDetial
  1261. v-if="tabShow == -2"
  1262. :dataDetial="StationinformationData?.sbztmap?.gf"
  1263. ></windLightDetial>
  1264. <windlightSimple
  1265. v-if="tabShow == 0"
  1266. :dataSimple="StationinformationData?.sbztmap?.gf"
  1267. />
  1268. </div>
  1269. <!-- 实时负荷弹窗 -->
  1270. <el-dialog
  1271. class="dialogs"
  1272. width="70%"
  1273. v-model="dialogVisible"
  1274. :show-close="true"
  1275. destroy-on-close
  1276. >
  1277. <template #title>
  1278. <div class="dialog-title">
  1279. <img class="dialog-title-img" src="@assets/imgs/dialog-title.png" />
  1280. <div class="title">{{ showName }}</div>
  1281. </div>
  1282. </template>
  1283. <div class="dialog-body" style="height: 40vh">
  1284. <img class="dialog-img" src="@assets/imgs/dialog.png" />
  1285. <windChartCom
  1286. :windCurveValues="chartsData"
  1287. :CurveTitle="showName"
  1288. :unit="unit"
  1289. height="38vh"
  1290. chartId="windChar"
  1291. />
  1292. </div>
  1293. </el-dialog>
  1294. <!-- 发电量,利用小时弹窗 -->
  1295. <el-dialog
  1296. class="dialogs"
  1297. width="80%"
  1298. v-model="dialogElectric"
  1299. :show-close="true"
  1300. >
  1301. <template #title>
  1302. <div class="dialog-title">
  1303. <img class="dialog-title-img" src="@assets/imgs/dialog-title.png" />
  1304. <div class="title">{{ showName }}</div>
  1305. </div>
  1306. </template>
  1307. <div class="dialog-body" style="height: 40vh">
  1308. <img class="dialog-img" src="@assets/imgs/dialog.png" />
  1309. <div class="date" v-if="showkey === 'electric'">
  1310. <div
  1311. class="day"
  1312. :class="electronType === 'day' ? 'active' : ''"
  1313. @click="handleElectricDetail('day', '日发电量')"
  1314. >
  1315. </div>
  1316. <div
  1317. class="mouth"
  1318. :class="electronType === 'month' ? 'active' : ''"
  1319. @click="handleElectricDetail('month', '月发电量')"
  1320. >
  1321. </div>
  1322. <div
  1323. class="year"
  1324. :class="electronType === 'year' ? 'active' : ''"
  1325. @click="handleElectricDetail('year', '年发电量')"
  1326. >
  1327. </div>
  1328. </div>
  1329. <div class="date" v-if="showkey === 'using'">
  1330. <div
  1331. class="day"
  1332. :class="electronType === 'month' ? 'active' : ''"
  1333. @click="handleUsingDetail('month', 'yfdl', '月利用小时')"
  1334. >
  1335. </div>
  1336. <div
  1337. class="year"
  1338. :class="electronType === 'year' ? 'active' : ''"
  1339. @click="handleUsingDetail('year', 'nfdl', '年利用小时')"
  1340. >
  1341. </div>
  1342. </div>
  1343. <BarCharts
  1344. :list="barList"
  1345. height="45vh"
  1346. :ratio="10000"
  1347. :showLegend="true"
  1348. :top="30"
  1349. :units="showkey === 'electric' ? '万kWh' : '小时'"
  1350. :interval="electronType === 'day' ? 1 : 0"
  1351. :showkey="showkey"
  1352. :showName="showName"
  1353. :color="colors"
  1354. >
  1355. </BarCharts>
  1356. </div>
  1357. </el-dialog>
  1358. </div>
  1359. </div>
  1360. </template>
  1361. <script>
  1362. import Row from "@/components/coms/grid/row.vue";
  1363. import Col from "@/components/coms/grid/col.vue";
  1364. import PowerReviewHome from "./power-review-home.vue";
  1365. import ListBarChart2Home from "@/components/chart/bar/list-bar-chart2-home.vue";
  1366. //全国地图总览
  1367. import SvgMapNX from "./map/svg-map-nx.vue";
  1368. // 山西
  1369. import SX from "./map/SX.vue";
  1370. import PowerEcharts from "@/components/chart/powerEcharts.vue";
  1371. import HeaderNav from "@/components//headerNav/index.vue";
  1372. import SvgIcon from "../../../components/coms/icon/svg-icon.vue";
  1373. import windLightDetial from "./windLightDetial.vue";
  1374. import windlightSimple from "./windlightSimple.vue";
  1375. import {
  1376. FindRealtimeInfo,
  1377. FindUtilizationhours,
  1378. FindPlanproject,
  1379. FindBasicDataInfo,
  1380. FindPowerInfo,
  1381. FindProjectplan,
  1382. } from "@/api/home/home.js";
  1383. import dayjs from "dayjs";
  1384. import windChartCom from "./windChartCom.vue";
  1385. import BarCharts from "@/views/Home/components/barCharts.vue";
  1386. export default {
  1387. // 名称
  1388. name: "Map",
  1389. // 使用组件
  1390. components: {
  1391. SvgMapNX,
  1392. SX,
  1393. Row,
  1394. Col,
  1395. PowerReviewHome,
  1396. ListBarChart2Home,
  1397. SvgIcon,
  1398. HeaderNav,
  1399. PowerEcharts,
  1400. windLightDetial,
  1401. windlightSimple,
  1402. windChartCom,
  1403. BarCharts,
  1404. },
  1405. mounted() {},
  1406. // 数据
  1407. data() {
  1408. return {
  1409. activeTab: 0, //当前tab
  1410. barList: [
  1411. {
  1412. name: "",
  1413. value: [],
  1414. },
  1415. ], //发电量利用小时柱状图
  1416. currentTitle: "全国", //当前地图名称
  1417. currents: 0, //当前层级
  1418. CurveValues: {
  1419. value: [
  1420. {
  1421. title: "",
  1422. value: [],
  1423. },
  1424. ],
  1425. }, //24小时功率曲线
  1426. companyid: "",
  1427. companyname: "",
  1428. chartsData: [], //实时负荷曲线
  1429. colors: ["#1c99ff", "#05BB4C"],
  1430. dialogVisible: false, //实时负荷弹窗开关
  1431. dialogElectric: false, //发电量、利用小时弹窗开关
  1432. electronType: "day", //日月年切换值
  1433. flag: false, //判断场站id
  1434. ForecastPowerNewHome_fc: [], //全国的风电发电量列表
  1435. ForecastPowerNewHome_gf: [], //全国的光伏发电量列表
  1436. fdlList: [], //山西区域实时负荷列表
  1437. homeSuspensionWindowsData: [], //全国区域所有地区数据
  1438. historyWpId: "", //历史场站id
  1439. mapList: [
  1440. { text: "山西", code: "sxqyxx" },
  1441. { text: "内蒙", code: "nmqyxx" },
  1442. { text: "新疆", code: "xjqyxx" },
  1443. { text: "河北", code: "hbqyxx" },
  1444. { text: "陕西", code: "xsqyxx" },
  1445. { text: "山东", code: "sdqyxx" },
  1446. { text: "西藏", code: "xzqyxx" },
  1447. ],
  1448. penetrateType: 0, //24小时功率曲线开关
  1449. powerDataHome: {},
  1450. qyPower: {},
  1451. ratio: 1,
  1452. showType: "all",
  1453. stationList: [
  1454. {
  1455. name: "全部",
  1456. wpId: "KGDL_FGS",
  1457. },
  1458. {
  1459. name: "山西",
  1460. wpId: "SXJ_RGN",
  1461. },
  1462. ],
  1463. switchShow: false, //接入情况弹窗
  1464. showName: "",
  1465. chartName: "",
  1466. StationinformationData: [],
  1467. showkey: "",
  1468. dialogGroupRealname: false, //全国实时负荷弹窗开关
  1469. groupList: [], //全国实时负荷弹窗数据
  1470. type: "fc", //发电量展示类型
  1471. tabShow: 0,
  1472. timmer: null, // 计时器
  1473. timmer2: null,
  1474. units: ["万kWh"],
  1475. unit: "", //实时负荷弹窗单位
  1476. wpId: "KGDL_FGS",
  1477. wpIds: "KGDL_FGS0",
  1478. };
  1479. },
  1480. emits: {
  1481. onEnter: null,
  1482. onBack: null,
  1483. },
  1484. // 函数
  1485. methods: {
  1486. // 点击地图展示类型
  1487. mapClick(wpId, activeTab) {
  1488. clearInterval(this.timmer);
  1489. clearInterval(this.timmer2);
  1490. this.timmer = null;
  1491. this.timmer2 = null;
  1492. this.activeTab = activeTab;
  1493. this.wpId = wpId;
  1494. this.wpIds =
  1495. wpId.includes("FDC") || wpId.includes("GDC") ? wpId : wpId + activeTab;
  1496. this.requestData();
  1497. this.findProjectPlan();
  1498. this.timmer = setInterval(() => {
  1499. this.requestData();
  1500. }, 5000);
  1501. this.timmer2 = setInterval(() => {
  1502. this.findProjectPlan(); //发电量
  1503. if (this.penetrateType == 3) {
  1504. this.getData(this.wpIds); //24小时功率曲线
  1505. }
  1506. }, 15 * 60 * 1000);
  1507. },
  1508. mapClicks(wpId, activeTab) {
  1509. this.historyWpId = wpId;
  1510. this.mapClick(wpId, activeTab);
  1511. },
  1512. mapClickBack(wpId, activeTab) {
  1513. this.historyWpId = wpId;
  1514. this.activeTab = activeTab;
  1515. this.mapClick(this.historyWpId, activeTab);
  1516. },
  1517. currentActiveTab(penetrateType) {
  1518. this.penetrateType = penetrateType;
  1519. if (penetrateType === 3) {
  1520. this.getData(this.wpIds);
  1521. }
  1522. },
  1523. // 请求服务
  1524. requestData() {
  1525. FindBasicDataInfo({ wpId: this.wpIds }).then(({ data }) => {
  1526. this.StationinformationData = data;
  1527. if (Object.keys(data).length) {
  1528. let mapInfos = [];
  1529. this.mapList.forEach((item) => {
  1530. for (var key in data.sytc) {
  1531. if (item.code == key) {
  1532. data.sytc[key].name = item.text;
  1533. mapInfos.push({ ...data.sytc[key] });
  1534. }
  1535. }
  1536. });
  1537. mapInfos.forEach((element) => {
  1538. element.industryState = true;
  1539. element.companyState = true;
  1540. if (element.name == "山西") {
  1541. if (!Object.hasOwn(element, "sxgszzjrl")) {
  1542. element.companyState = false;
  1543. }
  1544. if (!Object.hasOwn(element, "sxcyzzjrl")) {
  1545. element.industryState = false;
  1546. }
  1547. this.homeSuspensionWindowsData.sxqyxx = { ...element };
  1548. } else if (element.name == "新疆") {
  1549. if (!Object.hasOwn(element, "xjgszzjrl")) {
  1550. element.companyState = false;
  1551. }
  1552. if (!Object.hasOwn(element, "xjcyzzjrl")) {
  1553. element.industryState = false;
  1554. }
  1555. this.homeSuspensionWindowsData.xjqyxx = { ...element };
  1556. } else if (element.name == "内蒙") {
  1557. if (!Object.hasOwn(element, "nmgszzjrl")) {
  1558. element.companyState = false;
  1559. }
  1560. if (!Object.hasOwn(element, "nmcyzzjrl")) {
  1561. element.industryState = false;
  1562. }
  1563. this.homeSuspensionWindowsData.nmqyxx = { ...element };
  1564. } else if (element.name == "西藏") {
  1565. if (!Object.hasOwn(element, "xzgszzjrl")) {
  1566. element.companyState = false;
  1567. }
  1568. if (!Object.hasOwn(element, "xzcyzzjrl")) {
  1569. element.industryState = false;
  1570. }
  1571. this.homeSuspensionWindowsData.xzqyxx = { ...element };
  1572. } else if (element.name == "山东") {
  1573. if (!Object.hasOwn(element, "sdgszzjrl")) {
  1574. element.companyState = false;
  1575. }
  1576. if (!Object.hasOwn(element, "sdcyzzjrl")) {
  1577. element.industryState = false;
  1578. }
  1579. this.homeSuspensionWindowsData.sdqyxx = { ...element };
  1580. } else if (element.name == "陕西") {
  1581. if (!Object.hasOwn(element, "xsgszzjrl")) {
  1582. element.companyState = false;
  1583. }
  1584. if (!Object.hasOwn(element, "xscyzzjrl")) {
  1585. element.industryState = false;
  1586. }
  1587. this.homeSuspensionWindowsData.xsqyxx = { ...element };
  1588. } else if (element.name == "河北") {
  1589. if (!Object.hasOwn(element, "hbgszzjrl")) {
  1590. element.companyState = false;
  1591. }
  1592. if (!Object.hasOwn(element, "hbcyzzjrl")) {
  1593. element.industryState = false;
  1594. }
  1595. this.homeSuspensionWindowsData.hbqyxx = { ...element };
  1596. }
  1597. });
  1598. if (this.tabShow == -1) {
  1599. this.powerDataHome = [
  1600. {
  1601. title: "实时风速",
  1602. value: (data?.qt?.ssfs).toFixed(2),
  1603. dialogTitle: "实时风速",
  1604. max: 3000,
  1605. unit: "m/s",
  1606. },
  1607. {
  1608. title: "实际功率",
  1609. value: (data?.qt?.fdsjgl).toFixed(2),
  1610. dialogTitle: "实际功率",
  1611. max: 3000,
  1612. unit: "MW",
  1613. },
  1614. {
  1615. title: "风能利用率",
  1616. value: (data?.qt?.fnlyl).toFixed(2),
  1617. dialogTitle: "风能利用率",
  1618. max: 100,
  1619. unit: "%",
  1620. },
  1621. ];
  1622. } else if (this.tabShow == 0) {
  1623. this.powerDataHome = [
  1624. {
  1625. title: "清洁能源",
  1626. value: (data?.qt?.sjgl / 1000).toFixed(2),
  1627. dialogTitle: "清洁能源",
  1628. max: 3000,
  1629. unit: "MW",
  1630. },
  1631. {
  1632. title: "风电",
  1633. value: (data?.qt?.fdsjgl / 1000).toFixed(2),
  1634. dialogTitle: "风电功率详情",
  1635. max: 3000,
  1636. unit: "MW",
  1637. },
  1638. {
  1639. title: "光伏",
  1640. value: (data?.qt?.gfsjgl / 1000).toFixed(2),
  1641. dialogTitle: "光伏功率详情",
  1642. max: 3000,
  1643. unit: "MW",
  1644. },
  1645. ];
  1646. } else if (this.tabShow == -2) {
  1647. this.powerDataHome = [
  1648. {
  1649. title: "光照强度",
  1650. value: (data?.qt?.gzzs).toFixed(2),
  1651. dialogTitle: "光照强度",
  1652. max: 3000,
  1653. unit: "W/m²",
  1654. },
  1655. {
  1656. title: "实际功率",
  1657. value: (data?.qt?.sjgl).toFixed(2),
  1658. dialogTitle: "实际功率",
  1659. max: 3000,
  1660. unit: "MW",
  1661. },
  1662. {
  1663. title: "光能利用率",
  1664. value: (data?.qt?.fnlyl).toFixed(2),
  1665. dialogTitle: "光能利用率",
  1666. max: 100,
  1667. unit: "%",
  1668. },
  1669. ];
  1670. }
  1671. let sbztmap = {
  1672. fd: {},
  1673. gf: {},
  1674. };
  1675. for (var key in data.mxztmap) {
  1676. let a = key.substring(3, key.length);
  1677. if (key.includes("gf_")) {
  1678. sbztmap.gf[a] = data.mxztmap[key];
  1679. } else if (key.includes("fd_")) {
  1680. sbztmap.fd[a] = data.mxztmap[key];
  1681. }
  1682. }
  1683. this.StationinformationData.sbztmap = sbztmap;
  1684. }
  1685. });
  1686. },
  1687. // 发电量
  1688. findProjectPlan() {
  1689. FindProjectplan({ wpId: this.wpIds }).then(({ data }) => {
  1690. this.qyPower = data.proplanmap;
  1691. this.ForecastPowerNewHome_fc = [
  1692. [
  1693. {
  1694. name: "日发电量",
  1695. id: "day",
  1696. value: data?.proplanmap
  1697. ? data?.proplanmap?.fd_r_sjdl < 0
  1698. ? 0
  1699. : (data?.proplanmap?.fd_r_sjdl / 10000).toFixed(2)
  1700. : 0,
  1701. color: 1,
  1702. total: data?.proplanmap
  1703. ? data?.proplanmap?.fd_r_jhdl < 0
  1704. ? 0
  1705. : data?.proplanmap?.fd_r_jhdl
  1706. : 0,
  1707. },
  1708. ],
  1709. [
  1710. {
  1711. name: "月发电量",
  1712. id: "month",
  1713. value: data?.proplanmap
  1714. ? data?.proplanmap?.fd_y_sjdl < 0
  1715. ? 0
  1716. : (data?.proplanmap?.fd_y_sjdl / 10000).toFixed(2)
  1717. : 0,
  1718. color: 1,
  1719. total: data?.proplanmap
  1720. ? data?.proplanmap?.fd_y_jhdl < 0
  1721. ? 0
  1722. : data?.proplanmap?.fd_y_jhdl
  1723. : 0,
  1724. },
  1725. ],
  1726. [
  1727. {
  1728. name: "年发电量",
  1729. id: "year",
  1730. value: data?.proplanmap
  1731. ? data?.proplanmap?.fd_n_sjdl < 0
  1732. ? 0
  1733. : (data?.proplanmap?.fd_n_sjdl / 10000).toFixed(2)
  1734. : 0,
  1735. color: 0,
  1736. total: data?.proplanmap
  1737. ? data?.proplanmap?.fd_n_jhdl < 0
  1738. ? 0
  1739. : data?.proplanmap?.fd_n_jhdl
  1740. : 0,
  1741. },
  1742. ],
  1743. ];
  1744. this.ForecastPowerNewHome_gf = [
  1745. [
  1746. {
  1747. name: "日发电量",
  1748. id: "day",
  1749. value: data?.proplanmap
  1750. ? data?.proplanmap?.gf_r_sjdl < 0
  1751. ? 0
  1752. : (data?.proplanmap?.gf_r_sjdl / 10000).toFixed(2)
  1753. : 0,
  1754. color: 1,
  1755. total: data?.proplanmap
  1756. ? data?.proplanmap?.gf_r_jhdl < 0
  1757. ? 0
  1758. : data?.proplanmap?.gf_r_jhdl
  1759. : 0,
  1760. },
  1761. ],
  1762. [
  1763. {
  1764. name: "月发电量",
  1765. id: "month",
  1766. value: data?.proplanmap
  1767. ? data?.proplanmap?.gf_y_sjdl < 0
  1768. ? 0
  1769. : (data?.proplanmap?.gf_y_sjdl / 10000).toFixed(2)
  1770. : 0,
  1771. color: 1,
  1772. total: data?.proplanmap
  1773. ? data?.proplanmap?.gf_y_jhdl < 0
  1774. ? 0
  1775. : data?.proplanmap?.gf_y_jhdl
  1776. : 0,
  1777. },
  1778. ],
  1779. [
  1780. {
  1781. name: "年发电量",
  1782. id: "year",
  1783. value: data?.proplanmap
  1784. ? data?.proplanmap?.gf_n_sjdl < 0
  1785. ? 0
  1786. : (data?.proplanmap?.gf_n_sjdl / 10000).toFixed(2)
  1787. : 0,
  1788. color: 0,
  1789. total: data?.proplanmap
  1790. ? data?.proplanmap?.gf_n_jhdl < 0
  1791. ? 0
  1792. : data?.proplanmap?.gf_n_jhdl
  1793. : 0,
  1794. },
  1795. ],
  1796. ];
  1797. });
  1798. },
  1799. // 获取场站24小时功率图
  1800. getData(wpId) {
  1801. FindPowerInfo({ id: wpId }).then((res) => {
  1802. if (res.data) {
  1803. let Powertrend = {
  1804. // 图表所用单位
  1805. units: ["(万KWh)", "(风速)"],
  1806. value: [
  1807. {
  1808. title: "保证功率",
  1809. smooth: true, // 使用单位
  1810. value: [],
  1811. },
  1812. {
  1813. title: "理论功率",
  1814. smooth: true, // 使用单位
  1815. value: [],
  1816. },
  1817. {
  1818. title: "实际功率",
  1819. smooth: true, // 使用单位
  1820. value: [],
  1821. },
  1822. ],
  1823. };
  1824. Powertrend.value[0].value = res.data.map((item) => {
  1825. return {
  1826. dateTime: dayjs()
  1827. .startOf("date")
  1828. .add(item.hours, "hour")
  1829. .format("YYYY-MM-DD HH:mm:ss"),
  1830. value: item.bzgl,
  1831. };
  1832. });
  1833. Powertrend.value[1].value = res.data.map((item) => {
  1834. return {
  1835. dateTime: dayjs()
  1836. .startOf("date")
  1837. .add(item.hours, "hour")
  1838. .format("YYYY-MM-DD HH:mm:ss"),
  1839. value: item.llgl,
  1840. };
  1841. });
  1842. Powertrend.value[2].value = res.data.map((item) => {
  1843. return {
  1844. dateTime: dayjs()
  1845. .startOf("date")
  1846. .add(item.hours, "hour")
  1847. .format("YYYY-MM-DD HH:mm:ss"),
  1848. value: item.sjgl,
  1849. };
  1850. });
  1851. this.CurveValues = Powertrend.value;
  1852. }
  1853. });
  1854. },
  1855. firstRender(activeTab, showType, wpId, name) {
  1856. this.activeTab = activeTab;
  1857. this.tabShow = activeTab;
  1858. this.showType = showType;
  1859. //当wpId是FDC/GDC时,此时点击全部、风电、光伏按钮,展示山西地图及对应的公司信息
  1860. let fcId = wpId;
  1861. if ((wpId.includes("FDC") || wpId.includes("GDC")) && this.flag) {
  1862. if (name != "山西") {
  1863. fcId = this.historyWpId;
  1864. } else {
  1865. fcId = "SXJ_RGN";
  1866. }
  1867. this.flag = true;
  1868. this.penetrateType = 3;
  1869. this.currents = 1;
  1870. }
  1871. this.companyid = fcId;
  1872. this.companyname = name;
  1873. this.currentTitle = name || "全国";
  1874. this.mapClicks(fcId, activeTab);
  1875. this.currentActiveTab(this.penetrateType);
  1876. },
  1877. backMap(wpId, planBtnName) {
  1878. this.penetrateType = this.currents == 0 ? 0 : 3;
  1879. this.currents--;
  1880. this.currentTitle =
  1881. this.currents == 0
  1882. ? "全国"
  1883. : this.companyname
  1884. ? this.companyname
  1885. : planBtnName;
  1886. let wpIds =
  1887. this.currents == 0
  1888. ? "KGDL_FGS"
  1889. : this.companyname
  1890. ? this.companyid
  1891. : wpId;
  1892. this.tabShow = this.activeTab;
  1893. this.mapClickBack(wpIds, this.activeTab);
  1894. this.currentActiveTab(this.penetrateType);
  1895. },
  1896. clickLabel(wpId, planBtnName, penetrateType) {
  1897. this.penetrateType = penetrateType;
  1898. this.currents++;
  1899. if (this.currents > 1) {
  1900. this.currents = 2;
  1901. }
  1902. this.wpId =
  1903. wpId.includes("FDC") || wpId.includes("GDC")
  1904. ? wpId
  1905. : this.companyname
  1906. ? this.companyid
  1907. : wpId;
  1908. this.currentTitle =
  1909. wpId.includes("FDC") || wpId.includes("GDC")
  1910. ? planBtnName
  1911. : this.companyname
  1912. ? this.companyname
  1913. : planBtnName;
  1914. this.mapClick(this.wpId, this.activeTab);
  1915. if (wpId.includes("FDC") || wpId.includes("GDC")) {
  1916. this.tabShow = wpId.includes("FDC")
  1917. ? -1
  1918. : wpId.includes("GDC")
  1919. ? -2
  1920. : 0;
  1921. } else {
  1922. this.tabShow = this.activeTab;
  1923. }
  1924. this.flag = wpId.includes("FDC") || wpId.includes("GDC") ? true : false;
  1925. this.currentActiveTab(penetrateType);
  1926. },
  1927. // 全国实时负荷点击弹窗
  1928. showPowerChart({ dialogTitle, data, chartName = "" }) {
  1929. this.dialogGroupRealname = true;
  1930. this.showName = dialogTitle;
  1931. this.chartName = chartName ? chartName : dialogTitle;
  1932. this.groupList = data;
  1933. },
  1934. // 区域实时负荷点击弹窗
  1935. handleClick(uniformCode, title, unit) {
  1936. let key = "";
  1937. switch (uniformCode) {
  1938. case "SSPJFS":
  1939. key = "ssfs";
  1940. break;
  1941. case "SSZLLGL":
  1942. key = "llgl";
  1943. break;
  1944. case "SSZGL":
  1945. key = "sjgl";
  1946. break;
  1947. case "FNLYL":
  1948. key = "fnlyl";
  1949. break;
  1950. case "RPJGZD":
  1951. key = "gzzs";
  1952. break;
  1953. }
  1954. FindRealtimeInfo({
  1955. uniformCode,
  1956. wpId:
  1957. this.wpId +
  1958. (this.wpId.includes("FDC") || this.wpId.includes("GDC")
  1959. ? ""
  1960. : this.activeTab),
  1961. }).then(({ data }) => {
  1962. this.dialogVisible = true;
  1963. this.chartsData = data.map((item) => {
  1964. return {
  1965. dateTime: dayjs()
  1966. .startOf("date")
  1967. .add(item.hours, "hour")
  1968. .format("MM-DD HH:mm"),
  1969. value: item[key],
  1970. };
  1971. });
  1972. this.unit = unit;
  1973. this.showName = title;
  1974. });
  1975. },
  1976. handleUsingDetail(timetype, key, title) {
  1977. let format = timetype == "month" ? "YYYY-MM" : "YYYY";
  1978. this.showkey = "using";
  1979. this.electronType = timetype;
  1980. FindUtilizationhours({
  1981. wpId:
  1982. this.wpId +
  1983. (this.wpId.includes("FDC") || this.wpId.includes("GDC")
  1984. ? ""
  1985. : this.activeTab),
  1986. timetype,
  1987. }).then(({ data }) => {
  1988. this.dialogElectric = true;
  1989. let barList = data.map((item) => {
  1990. if (timetype == "month") {
  1991. return {
  1992. dateTime: dayjs()
  1993. .startOf("year")
  1994. .add(item.hours - 1, "month")
  1995. .format("YYYY-MM"),
  1996. value: item[key],
  1997. };
  1998. } else {
  1999. return {
  2000. dateTime: dayjs()
  2001. .startOf(timetype)
  2002. .subtract(item.hours, timetype)
  2003. .format(format),
  2004. value: item[key],
  2005. };
  2006. }
  2007. });
  2008. if (timetype == "month") {
  2009. this.barList = [
  2010. {
  2011. name: title,
  2012. yAxisIndex: 0,
  2013. value: barList,
  2014. },
  2015. ];
  2016. } else {
  2017. this.barList = [
  2018. {
  2019. name: title,
  2020. yAxisIndex: 0,
  2021. value: barList.reverse(),
  2022. },
  2023. ];
  2024. }
  2025. this.barList = [
  2026. {
  2027. name: title,
  2028. yAxisIndex: 0,
  2029. value: barList,
  2030. },
  2031. ];
  2032. this.showName = title;
  2033. });
  2034. },
  2035. handleElectricDetail(timetype, title, type) {
  2036. let wpId = "";
  2037. if (type) {
  2038. this.type = type;
  2039. type == "fc" ? (wpId = this.wpId + "-1") : (wpId = this.wpId + "-2");
  2040. } else {
  2041. wpId =
  2042. this.wpId +
  2043. (this.wpId.includes("FDC") || this.wpId.includes("GDC")
  2044. ? ""
  2045. : this.activeTab);
  2046. }
  2047. this.dialogElectric = true;
  2048. let format =
  2049. timetype == "day" ? "MM-DD" : timetype == "month" ? "YYYY-MM" : "YYYY";
  2050. this.showkey = "electric";
  2051. this.electronType = timetype;
  2052. FindPlanproject({
  2053. wpId,
  2054. timetype,
  2055. }).then(({ data }) => {
  2056. this.dialogElectric = true;
  2057. let sjdlList = data.map((item) => {
  2058. if (timetype == "month") {
  2059. return {
  2060. dateTime: dayjs()
  2061. .startOf("year")
  2062. .add(item.hours - 1, "month")
  2063. .format("YYYY-MM"),
  2064. value: item.sjdl.toFixed(2),
  2065. };
  2066. } else if (timetype == "year") {
  2067. return {
  2068. dateTime: dayjs()
  2069. .startOf(timetype)
  2070. .subtract(item.hours, timetype)
  2071. .format(format),
  2072. value: item.sjdl.toFixed(2),
  2073. };
  2074. } else {
  2075. return {
  2076. dateTime: dayjs()
  2077. .startOf("month")
  2078. .add(item.hours - 1, "day")
  2079. .format("MM-DD"),
  2080. value: item.sjdl.toFixed(2),
  2081. };
  2082. }
  2083. });
  2084. let jhdlList = data.map((item) => {
  2085. if (timetype == "month") {
  2086. return {
  2087. dateTime: dayjs()
  2088. .startOf("year")
  2089. .add(item.hours - 1, "month")
  2090. .format("YYYY-MM"),
  2091. value: item.jhdl.toFixed(2),
  2092. };
  2093. } else if (timetype == "year") {
  2094. return {
  2095. dateTime: dayjs()
  2096. .startOf(timetype)
  2097. .subtract(item.hours, timetype)
  2098. .format(format),
  2099. value: item.jhdl.toFixed(2),
  2100. };
  2101. } else {
  2102. return {
  2103. dateTime: dayjs()
  2104. .startOf("month")
  2105. .add(item.hours - 1, "day")
  2106. .format("MM-DD"),
  2107. value: item.jhdl.toFixed(2),
  2108. };
  2109. }
  2110. });
  2111. this.barList = [
  2112. {
  2113. name: "实际电量",
  2114. value:
  2115. timetype == "day" || timetype == "month"
  2116. ? sjdlList
  2117. : sjdlList.reverse(),
  2118. },
  2119. {
  2120. name: "计划电量",
  2121. value:
  2122. timetype == "day" || timetype == "month"
  2123. ? jhdlList
  2124. : jhdlList.reverse(),
  2125. },
  2126. ];
  2127. this.showName = title;
  2128. });
  2129. },
  2130. },
  2131. unmounted() {
  2132. clearInterval(this.timmer);
  2133. clearInterval(this.timmer2);
  2134. this.timmer = null;
  2135. this.timmer2 = null;
  2136. },
  2137. watch: {
  2138. qyPower(val) {
  2139. if (Object.keys(val).length) {
  2140. let data = val;
  2141. this.fdlList = [
  2142. {
  2143. title: "日发电量",
  2144. id: "day",
  2145. value:
  2146. this.tabShow == 0
  2147. ? data.qy_r_sjdl
  2148. : this.tabShow == -1
  2149. ? data.fd_r_sjdl
  2150. : data.gf_r_sjdl,
  2151. value1:
  2152. this.tabShow == 0
  2153. ? data.qy_r_jhdl
  2154. : this.tabShow == -1
  2155. ? data.fd_r_jhdl
  2156. : data.gf_r_jhdl,
  2157. },
  2158. {
  2159. title: "月发电量",
  2160. id: "month",
  2161. value:
  2162. this.tabShow == 0
  2163. ? data.qy_y_sjdl
  2164. : this.tabShow == -1
  2165. ? data.fd_y_sjdl
  2166. : data.gf_y_sjdl,
  2167. value1:
  2168. this.tabShow == 0
  2169. ? data.qy_y_jhdl
  2170. : this.tabShow == -1
  2171. ? data.fd_y_jhdl
  2172. : data.gf_y_jhdl,
  2173. },
  2174. {
  2175. title: "年发电量",
  2176. id: "year",
  2177. value:
  2178. this.tabShow == 0
  2179. ? data.qy_n_sjdl
  2180. : this.tabShow == -1
  2181. ? data.fd_n_sjdl
  2182. : data.gf_n_sjdl,
  2183. value1:
  2184. this.tabShow == 0
  2185. ? data.qy_n_jhdl
  2186. : this.tabShow == -1
  2187. ? data.fd_n_jhdl
  2188. : data.gf_n_jhdl,
  2189. },
  2190. ];
  2191. }
  2192. },
  2193. },
  2194. computed: {
  2195. // 实时风速
  2196. windSpeedRota() {
  2197. let count = this.StationinformationData?.qt?.ssfs / 25;
  2198. let result = Number((310 * count + 50).toFixed(0));
  2199. if (result) {
  2200. if (result > 310) {
  2201. return "rotateZ(310deg)";
  2202. } else {
  2203. return "rotateZ(" + Number((310 * count + 50).toFixed(0)) + "deg)";
  2204. }
  2205. } else {
  2206. return "rotateZ(50deg)";
  2207. }
  2208. },
  2209. // 理论功率
  2210. ideaPowerRota() {
  2211. let zctj =
  2212. this.wpId.includes("FDC") || this.wpId.includes("GDC")
  2213. ? (
  2214. this.StationinformationData?.station[this.wpId]?.zjrl / 1000
  2215. ).toFixed(2)
  2216. : this.StationinformationData?.qt?.zzjrl;
  2217. let count = this.StationinformationData?.qt?.llgl / 1000 / zctj;
  2218. let result = Number((310 * count + 50).toFixed(0));
  2219. if (result) {
  2220. if (result > 310) {
  2221. return "rotateZ(310deg)";
  2222. } else {
  2223. return "rotateZ(" + Number((310 * count + 50).toFixed(0)) + "deg)";
  2224. }
  2225. } else {
  2226. return "rotateZ(50deg)";
  2227. }
  2228. },
  2229. // 光照指数
  2230. illuminationRota() {
  2231. let count = this.StationinformationData?.qt?.gzzs / 1200;
  2232. let result = Number((310 * count + 50).toFixed(0));
  2233. if (result) {
  2234. if (result > 310) {
  2235. return "rotateZ(310deg)";
  2236. } else {
  2237. return "rotateZ(" + Number((310 * count + 50).toFixed(0)) + "deg)";
  2238. }
  2239. } else {
  2240. return "rotateZ(50deg)";
  2241. }
  2242. },
  2243. //总保证功率
  2244. guarantee() {
  2245. let count = Number(this.StationinformationData?.qt?.fnlyl) / 100;
  2246. let result = Number((310 * count + 50).toFixed(0));
  2247. if (result) {
  2248. if (result > 310) {
  2249. return "rotateZ(310deg)";
  2250. } else {
  2251. return "rotateZ(" + Number((310 * count + 50).toFixed(0)) + "deg)";
  2252. }
  2253. } else {
  2254. return "rotateZ(50deg)";
  2255. }
  2256. },
  2257. // 实际功率
  2258. actualPowerRota() {
  2259. let zctj =
  2260. this.wpId.includes("FDC") || this.wpId.includes("GDC")
  2261. ? (
  2262. this.StationinformationData?.station[this.wpId]?.zjrl / 1000
  2263. ).toFixed(2)
  2264. : this.StationinformationData?.qt?.zzjrl;
  2265. let count = this.StationinformationData?.qt?.sjgl / 1000 / zctj;
  2266. let result = Number((310 * count + 50).toFixed(0));
  2267. if (result) {
  2268. if (result > 310) {
  2269. return "rotateZ(310deg)";
  2270. } else {
  2271. return "rotateZ(" + Number((310 * count + 50).toFixed(0)) + "deg)";
  2272. }
  2273. } else {
  2274. return "rotateZ(50deg)";
  2275. }
  2276. },
  2277. },
  2278. };
  2279. </script>
  2280. <style lang="less">
  2281. ul,
  2282. ul li,
  2283. p {
  2284. margin: 0;
  2285. padding: 0;
  2286. list-style: none;
  2287. }
  2288. .map {
  2289. padding-top: 16px;
  2290. .heeaderNav {
  2291. margin-top: 0;
  2292. }
  2293. }
  2294. .airForceStation {
  2295. position: relative;
  2296. background-color: rgba(3, 5, 9, 0.5);
  2297. padding: 20px;
  2298. // width: 320px;
  2299. margin-bottom: 15px;
  2300. span {
  2301. color: #b1b1b1;
  2302. }
  2303. .title {
  2304. font-size: 18px;
  2305. line-height: 28px;
  2306. margin: 15px 0;
  2307. display: flex;
  2308. align-items: center;
  2309. justify-content: left;
  2310. span {
  2311. color: #fff;
  2312. }
  2313. }
  2314. .collectInstall {
  2315. display: flex;
  2316. margin-bottom: 10px;
  2317. }
  2318. .listItem {
  2319. display: flex;
  2320. margin-bottom: 10px;
  2321. }
  2322. .line {
  2323. display: flex;
  2324. margin-bottom: 10px;
  2325. }
  2326. .name {
  2327. flex: 4;
  2328. }
  2329. .num {
  2330. flex: 3;
  2331. color: #fff;
  2332. font-weight: bold;
  2333. font-size: 19px;
  2334. // text-align: center;
  2335. }
  2336. .unit {
  2337. flex: 1;
  2338. font-size: 14px;
  2339. font-weight: 400;
  2340. color: #999999;
  2341. }
  2342. }
  2343. .piggy-bank {
  2344. width: 100% !important;
  2345. border: 0 !important;
  2346. }
  2347. .float-left {
  2348. float: left;
  2349. }
  2350. .float-right {
  2351. float: right;
  2352. }
  2353. .map {
  2354. position: relative;
  2355. width: 100%;
  2356. height: 100%;
  2357. .light {
  2358. position: fixed;
  2359. z-index: -1;
  2360. width: 100vw;
  2361. height: 100vh;
  2362. top: 0;
  2363. left: 0;
  2364. }
  2365. .back {
  2366. position: fixed;
  2367. z-index: -1;
  2368. width: 100vw;
  2369. height: 100vh;
  2370. top: 0;
  2371. left: 0;
  2372. background: url(../../../assets/background-home.png) no-repeat;
  2373. background-size: 100% 100%;
  2374. }
  2375. .leftBox {
  2376. margin-top: 20px;
  2377. margin-left: 20px;
  2378. .model-bg {
  2379. width: 100%;
  2380. min-height: 135px;
  2381. // background-color: rgba(3, 5, 9, 0.5);
  2382. border-radius: 6px;
  2383. display: flex;
  2384. flex-direction: column;
  2385. padding: 1% 5%;
  2386. .titles {
  2387. height: 45px;
  2388. border-bottom: 1px solid #333333;
  2389. display: flex;
  2390. flex-direction: row;
  2391. align-items: center;
  2392. justify-content: space-between;
  2393. .name {
  2394. font-size: 16px;
  2395. color: #ffffff;
  2396. }
  2397. .unit {
  2398. font-size: 12px;
  2399. color: #b1b1b1;
  2400. }
  2401. }
  2402. .save {
  2403. display: flex;
  2404. flex-direction: row;
  2405. align-items: center;
  2406. width: 100%;
  2407. margin: 17px 0;
  2408. .save-item {
  2409. width: 25%;
  2410. display: flex;
  2411. flex-direction: column;
  2412. align-items: center;
  2413. .kind {
  2414. width: 20px;
  2415. height: 22px;
  2416. .kind-img {
  2417. width: 100%;
  2418. height: 100%;
  2419. }
  2420. }
  2421. .save-value {
  2422. font-size: 16px;
  2423. color: #ffffff;
  2424. margin: 10px 0;
  2425. }
  2426. .save-name {
  2427. font-size: 12px;
  2428. color: #b3b3b3;
  2429. }
  2430. }
  2431. }
  2432. }
  2433. .new-home {
  2434. .energy-system-box {
  2435. position: absolute;
  2436. left: 20px;
  2437. width: 400px;
  2438. box-sizing: border-box;
  2439. background-color: rgba(3, 5, 9, 0.5);
  2440. &.box1 {
  2441. top: 270px;
  2442. }
  2443. &.box2 {
  2444. // top: 500px;
  2445. top: 450px;
  2446. }
  2447. &.box3 {
  2448. // top: 730px;
  2449. top: 690px;
  2450. }
  2451. .energy-system-content {
  2452. padding: 5px 5px 15px 5px;
  2453. .title-all {
  2454. margin-left: 5px;
  2455. margin-bottom: 8px;
  2456. }
  2457. .title-all-content {
  2458. color: #05bb4c;
  2459. font-weight: bold;
  2460. font-size: 19px;
  2461. }
  2462. .title-all-title {
  2463. font-size: 13px;
  2464. }
  2465. .title-all-unit {
  2466. font-size: 12px;
  2467. color: #b1b1b1;
  2468. margin-left: 5px;
  2469. }
  2470. .title {
  2471. color: #fff;
  2472. font-size: 18px;
  2473. line-height: 28px;
  2474. margin: 10px 0.5vh;
  2475. text-align: right;
  2476. .title-name {
  2477. float: left;
  2478. }
  2479. }
  2480. .right-content,
  2481. .left-content {
  2482. width: 50%;
  2483. .img-num {
  2484. display: flex;
  2485. justify-content: left;
  2486. align-items: center;
  2487. padding-left: 10px;
  2488. .img {
  2489. margin-right: 10px;
  2490. }
  2491. .num {
  2492. span {
  2493. font-size: 14px;
  2494. font-weight: 400;
  2495. color: #999999;
  2496. }
  2497. span:nth-child(3) {
  2498. font-size: 19px;
  2499. font-weight: bold;
  2500. color: #05bb4c;
  2501. line-height: 27px;
  2502. }
  2503. span:nth-child(4) {
  2504. margin-left: 15px;
  2505. }
  2506. }
  2507. }
  2508. .capacity {
  2509. .item {
  2510. margin-top: 9px;
  2511. .el-row {
  2512. .el-col:nth-child(1) {
  2513. text-align: left;
  2514. font-size: 14px;
  2515. font-weight: 400;
  2516. color: #999999;
  2517. }
  2518. .el-col:nth-child(2) {
  2519. font-size: 16px;
  2520. font-weight: bold;
  2521. color: #ffffff;
  2522. }
  2523. .el-col:nth-child(3) {
  2524. font-size: 14px;
  2525. font-weight: 400;
  2526. color: #999999;
  2527. }
  2528. }
  2529. }
  2530. }
  2531. }
  2532. .left-content {
  2533. }
  2534. .right-content {
  2535. border-left: 1px dashed #4e4040;
  2536. padding-left: 10px;
  2537. }
  2538. }
  2539. }
  2540. .security-day {
  2541. .lineBox {
  2542. display: flex;
  2543. & > div {
  2544. margin-right: 20px;
  2545. }
  2546. margin: 12px 0 15px;
  2547. .num {
  2548. color: @green;
  2549. font-size: 16px;
  2550. margin-bottom: 15px;
  2551. margin: 0 7px;
  2552. }
  2553. .unit {
  2554. font-size: 12px;
  2555. color: #5e6269;
  2556. }
  2557. }
  2558. .text {
  2559. font-size: 20px;
  2560. color: @write;
  2561. }
  2562. .num {
  2563. color: @green;
  2564. font-size: 35px;
  2565. .unit {
  2566. font-size: 24px;
  2567. position: relative;
  2568. margin-left: 0.556vh;
  2569. top: -0.185vh;
  2570. }
  2571. .unit-t {
  2572. font-size: 12px;
  2573. margin-left: 10px;
  2574. }
  2575. }
  2576. .text1 {
  2577. font-size: 14px;
  2578. color: @write;
  2579. }
  2580. .num1 {
  2581. color: @green;
  2582. font-size: 24px;
  2583. margin-bottom: 15px;
  2584. .unit {
  2585. font-size: 12px;
  2586. position: relative;
  2587. margin-left: 0.556vh;
  2588. color: #5e6269;
  2589. }
  2590. }
  2591. }
  2592. }
  2593. //亮
  2594. .new-home-light {
  2595. margin-top: -50px;
  2596. margin-left: 20px;
  2597. .airForceStation {
  2598. position: relative;
  2599. background-color: #d1d6d9;
  2600. padding: 20px;
  2601. width: 320px;
  2602. margin-bottom: 15px;
  2603. span {
  2604. color: #000;
  2605. }
  2606. .title {
  2607. font-size: 18px;
  2608. line-height: 28px;
  2609. margin: 15px 0;
  2610. display: flex;
  2611. align-items: center;
  2612. justify-content: left;
  2613. span {
  2614. color: #000;
  2615. }
  2616. }
  2617. .collectInstall {
  2618. display: flex;
  2619. margin-bottom: 10px;
  2620. }
  2621. .listItem {
  2622. display: flex;
  2623. margin-bottom: 10px;
  2624. }
  2625. .line {
  2626. display: flex;
  2627. margin-bottom: 10px;
  2628. }
  2629. .name {
  2630. flex: 4;
  2631. }
  2632. .num {
  2633. flex: 3;
  2634. color: #000;
  2635. font-weight: bold;
  2636. font-size: 19px;
  2637. // text-align: center;
  2638. }
  2639. .unit {
  2640. flex: 1;
  2641. font-size: 14px;
  2642. font-weight: 400;
  2643. color: #000;
  2644. }
  2645. }
  2646. .piggy-tab-width {
  2647. width: 350px !important;
  2648. }
  2649. .energy-system-box {
  2650. width: 400px;
  2651. box-sizing: border-box;
  2652. margin-bottom: 21px;
  2653. margin-top: 5px;
  2654. background-color: #d1d6d9;
  2655. .model-bg {
  2656. width: 100%;
  2657. min-height: 135px;
  2658. background-color: #d1d6d9;
  2659. border-radius: 6px;
  2660. display: flex;
  2661. flex-direction: column;
  2662. padding: 1% 5%;
  2663. .titles {
  2664. height: 45px;
  2665. border-bottom: 1px solid #333333;
  2666. display: flex;
  2667. flex-direction: row;
  2668. align-items: center;
  2669. justify-content: space-between;
  2670. .name {
  2671. font-size: 16px;
  2672. color: #000;
  2673. }
  2674. .unit {
  2675. font-size: 12px;
  2676. color: #000;
  2677. }
  2678. }
  2679. .save {
  2680. display: flex;
  2681. flex-direction: row;
  2682. align-items: center;
  2683. width: 100%;
  2684. margin: 17px 0;
  2685. .save-item {
  2686. width: 25%;
  2687. display: flex;
  2688. flex-direction: column;
  2689. align-items: center;
  2690. .kind {
  2691. width: 20px;
  2692. height: 22px;
  2693. .kind-img {
  2694. width: 100%;
  2695. height: 100%;
  2696. }
  2697. }
  2698. .save-value {
  2699. font-size: 16px;
  2700. color: #ffffff;
  2701. margin: 10px 0;
  2702. }
  2703. .save-name {
  2704. font-size: 12px;
  2705. color: #b3b3b3;
  2706. }
  2707. }
  2708. }
  2709. }
  2710. .energy-system-bgc {
  2711. padding: 115px;
  2712. width: 100%;
  2713. opacity: 0.3;
  2714. background-color: rgba(83, 98, 104, 0.2);
  2715. }
  2716. .energy-system-content {
  2717. padding: 5px 5px 15px 5px;
  2718. .title-all {
  2719. margin-left: 5px;
  2720. margin-bottom: 8px;
  2721. }
  2722. .title-all-content {
  2723. color: #05bb4c;
  2724. font-weight: bold;
  2725. font-size: 19px;
  2726. }
  2727. .title-all-title {
  2728. font-size: 13px;
  2729. }
  2730. .title-all-unit {
  2731. font-size: 12px;
  2732. color: #000;
  2733. margin-left: 5px;
  2734. }
  2735. .title {
  2736. color: #000;
  2737. font-size: 16px;
  2738. line-height: 28px;
  2739. margin: 10px 0.5vh;
  2740. text-align: right;
  2741. .title-name {
  2742. float: left;
  2743. }
  2744. }
  2745. .right-content,
  2746. .left-content {
  2747. width: 50%;
  2748. .img-num {
  2749. text-align: center;
  2750. display: flex;
  2751. justify-content: center;
  2752. align-items: center;
  2753. .img {
  2754. margin-right: 10px;
  2755. }
  2756. .num {
  2757. span {
  2758. font-size: 14px;
  2759. font-weight: 400;
  2760. color: #000;
  2761. }
  2762. span:nth-child(3) {
  2763. font-size: 19px;
  2764. font-weight: bold;
  2765. color: #05bb4c;
  2766. line-height: 27px;
  2767. }
  2768. span:nth-child(4) {
  2769. margin-left: 15px;
  2770. }
  2771. }
  2772. }
  2773. .capacity {
  2774. .item {
  2775. margin-top: 9px;
  2776. .el-row {
  2777. .el-col:nth-child(1) {
  2778. text-align: center;
  2779. font-size: 14px;
  2780. font-weight: 400;
  2781. color: #000;
  2782. }
  2783. .el-col:nth-child(2) {
  2784. font-size: 16px;
  2785. font-weight: bold;
  2786. color: #05bb4c;
  2787. }
  2788. .el-col:nth-child(3) {
  2789. font-size: 14px;
  2790. font-weight: 400;
  2791. color: #000;
  2792. }
  2793. }
  2794. }
  2795. }
  2796. }
  2797. .left-content {
  2798. }
  2799. .right-content {
  2800. border-left: 1px dashed #4e4040;
  2801. }
  2802. }
  2803. }
  2804. .security-day {
  2805. .lineBox {
  2806. margin: 12px 0 15px;
  2807. .num {
  2808. color: @green;
  2809. font-size: 16px;
  2810. margin-bottom: 15px;
  2811. margin: 0 7px;
  2812. }
  2813. .unit {
  2814. font-size: 12px;
  2815. color: #5e6269;
  2816. }
  2817. }
  2818. .text {
  2819. font-size: 20px;
  2820. color: @write;
  2821. }
  2822. .num {
  2823. color: @green;
  2824. font-size: 35px;
  2825. .unit {
  2826. font-size: 24px;
  2827. position: relative;
  2828. margin-left: 0.556vh;
  2829. top: -0.185vh;
  2830. }
  2831. .unit-t {
  2832. font-size: 12px;
  2833. margin-left: 10px;
  2834. }
  2835. }
  2836. .text1 {
  2837. font-size: 14px;
  2838. color: @write;
  2839. }
  2840. .num1 {
  2841. color: @green;
  2842. font-size: 24px;
  2843. margin-bottom: 15px;
  2844. .unit {
  2845. font-size: 12px;
  2846. position: relative;
  2847. margin-left: 0.556vh;
  2848. color: #5e6269;
  2849. }
  2850. }
  2851. }
  2852. }
  2853. }
  2854. .security-day {
  2855. .text {
  2856. font-size: 24px;
  2857. color: @write;
  2858. }
  2859. .num {
  2860. color: @green;
  2861. font-size: 50px;
  2862. .unit {
  2863. font-size: 24px;
  2864. position: relative;
  2865. margin-left: 0.556vh;
  2866. top: -0.185vh;
  2867. }
  2868. }
  2869. .text1 {
  2870. font-size: 14px;
  2871. color: @write;
  2872. }
  2873. .num1 {
  2874. color: @green;
  2875. font-size: 24px;
  2876. margin-bottom: 15px;
  2877. .unit {
  2878. font-size: 12px;
  2879. position: relative;
  2880. margin-left: 0.556vh;
  2881. color: #5e6269;
  2882. }
  2883. }
  2884. }
  2885. .name-box {
  2886. margin: 1.852vh;
  2887. display: inline-block;
  2888. z-index: 2;
  2889. position: absolute;
  2890. display: flex;
  2891. flex-direction: column;
  2892. top: 200px;
  2893. left: 445px;
  2894. width: 200px;
  2895. .name-box-title {
  2896. font-size: 2.222vh;
  2897. font-weight: 400;
  2898. color: #ffffff;
  2899. line-height: 1;
  2900. cursor: pointer;
  2901. }
  2902. .name-box-period {
  2903. margin-top: 2.222vh;
  2904. .name-box-period-label,
  2905. .name-box-period-value {
  2906. font-size: 1.481vh;
  2907. font-weight: 400;
  2908. line-height: 1;
  2909. }
  2910. .name-box-period-label {
  2911. color: #fefefe;
  2912. }
  2913. .name-box-period-value {
  2914. color: #05bb4c;
  2915. }
  2916. }
  2917. }
  2918. .return {
  2919. position: absolute;
  2920. display: flex;
  2921. z-index: 2;
  2922. align-items: center;
  2923. top: 150px;
  2924. left: 460px;
  2925. width: 110px;
  2926. font-size: @fontsize-l;
  2927. color: fade(@white, 80);
  2928. cursor: pointer;
  2929. border: 1px solid transparent;
  2930. padding: 6px 16px;
  2931. color: #05bb4c;
  2932. border: 1px solid #05bb4c;
  2933. font-size: 22px;
  2934. .svg-icon {
  2935. margin-right: 0.7407vh;
  2936. svg {
  2937. transform: rotate(90deg);
  2938. use {
  2939. transition: all 0.3s;
  2940. fill: @green;
  2941. }
  2942. }
  2943. }
  2944. transition: all 0.3s;
  2945. &:hover {
  2946. color: @green;
  2947. border: 1px solid @green;
  2948. .svg-icon {
  2949. svg {
  2950. use {
  2951. fill: @green;
  2952. }
  2953. }
  2954. }
  2955. }
  2956. }
  2957. .compass {
  2958. position: absolute;
  2959. right: 16px;
  2960. bottom: 32px;
  2961. border-radius: 50%;
  2962. &::after {
  2963. content: "";
  2964. position: absolute;
  2965. top: 4px;
  2966. left: 4px;
  2967. border-radius: 50%;
  2968. width: 36px;
  2969. height: 36px;
  2970. box-shadow: inset 0px -5px 10px 0px @green;
  2971. }
  2972. svg {
  2973. height: 45px;
  2974. width: 45px;
  2975. }
  2976. }
  2977. .map-img {
  2978. // width: calc(100% - 14.815vh);
  2979. width: 100%;
  2980. // height: calc(100% - 14.815vh);
  2981. height: 100%;
  2982. // margin: 7.407vh 0;
  2983. position: absolute;
  2984. z-index: 1;
  2985. top: 0;
  2986. left: 0;
  2987. @keyframes rotate {
  2988. from {
  2989. transform: rotateX(70deg);
  2990. }
  2991. to {
  2992. transform: rotateX(0deg);
  2993. }
  2994. }
  2995. img {
  2996. width: 100%;
  2997. animation: rotate 3s;
  2998. animation-direction: alternate;
  2999. animation-iteration-count: infinite;
  3000. }
  3001. }
  3002. }
  3003. .island {
  3004. position: absolute;
  3005. right: 20vw;
  3006. bottom: 0px;
  3007. }
  3008. .island_light {
  3009. position: absolute;
  3010. right: 21vw;
  3011. bottom: 4vh;
  3012. }
  3013. .clearfix::after {
  3014. content: "";
  3015. clear: both;
  3016. height: 0;
  3017. line-height: 0;
  3018. visibility: hidden;
  3019. display: block;
  3020. }
  3021. .clearfix {
  3022. zoom: 1;
  3023. }
  3024. </style>