map.vue 93 KB

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