map.vue 95 KB

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