map.vue 94 KB

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