map.vue 89 KB

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