index.vue 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779
  1. <template>
  2. <div class="body">
  3. <div class="title-bar">
  4. <headerNav :remove="false" @firstRender="firstRender" />
  5. <div class="right-bar">
  6. <div
  7. :class="currentDay === 'r' ? 'type-button-on' : 'day-button'"
  8. @click="handleChangeDay('r')"
  9. >
  10. <div class="day-name">日</div>
  11. </div>
  12. <div
  13. :class="currentDay === 'y' ? 'type-button-on' : 'day-button'"
  14. @click="handleChangeDay('y')"
  15. >
  16. <div class="day-name">月</div>
  17. </div>
  18. <div
  19. :class="currentDay === 'n' ? 'type-button-on' : 'day-button'"
  20. @click="handleChangeDay('n')"
  21. >
  22. <div class="day-name">年</div>
  23. </div>
  24. </div>
  25. </div>
  26. <div class="indicator">
  27. <div class="balance">
  28. <div class="indicator-title">
  29. <div class="point point-left top"></div>
  30. <div class="point point-left top"></div>
  31. <div class="point point-left bottom"></div>
  32. <div class="point point-right bottom"></div>
  33. <div>
  34. <i class="active_icon icon-balance"></i>
  35. 理论电量平衡分析法
  36. </div>
  37. </div>
  38. <div class="indicator-content">
  39. <div class="content-item">
  40. <div class="item-title">故障损失率</div>
  41. <div class="percent" style="color: #ffffff">
  42. {{ allData?.zbl?.currGzsll.toFixed(2) }}
  43. </div>
  44. <div class="compare">
  45. <div class="compare-item">
  46. <div
  47. :class="
  48. allData?.zbl?.withGzslzzl < 0
  49. ? 'compare-lift-down'
  50. : 'compare-lift-up'
  51. "
  52. >
  53. <i
  54. v-if="allData?.zbl?.withGzslzzl < 0"
  55. class="active_icon icon-arrow-dpwn"
  56. ></i>
  57. <i v-else class="active_icon icon-arrow-up"></i>
  58. {{ allData?.zbl?.withGzslzzl }}%
  59. </div>
  60. </div>
  61. <div class="compare-item">
  62. <div
  63. :class="
  64. allData.zbl?.ringGzslzzl < 0
  65. ? 'compare-lift-down'
  66. : 'compare-lift-up'
  67. "
  68. >
  69. <i
  70. v-if="allData.zbl?.ringGzslzzl < 0"
  71. class="active_icon icon-arrow-dpwn"
  72. ></i>
  73. <i v-else class="active_icon icon-arrow-up"></i>
  74. {{ allData?.zbl?.ringGzslzzl }}%
  75. </div>
  76. </div>
  77. </div>
  78. <progress-item
  79. :value="allData?.zbl?.currGzsll"
  80. totle="100"
  81. ></progress-item>
  82. </div>
  83. <div class="content-dashe"></div>
  84. <div class="content-item">
  85. <div class="item-title">检修损失率</div>
  86. <div class="percent" style="color: #ffffff">
  87. {{ allData.zbl?.currJxsll.toFixed(2) }}
  88. </div>
  89. <div class="compare">
  90. <div class="compare-item">
  91. <div
  92. :class="
  93. allData.zbl?.withJxslzzl < 0
  94. ? 'compare-lift-down'
  95. : 'compare-lift-up'
  96. "
  97. >
  98. <i
  99. v-if="allData.zbl?.withJxslzzl < 0"
  100. class="active_icon icon-arrow-dpwn"
  101. ></i>
  102. <i v-else class="active_icon icon-arrow-up"></i>
  103. {{ allData?.zbl?.withJxslzzl }}%
  104. </div>
  105. </div>
  106. <div class="compare-item">
  107. <div
  108. :class="
  109. allData.zbl?.ringJxslzzl < 0
  110. ? 'compare-lift-down'
  111. : 'compare-lift-up'
  112. "
  113. >
  114. <i
  115. v-if="allData.zbl?.ringJxslzzl < 0"
  116. class="active_icon icon-arrow-dpwn"
  117. ></i>
  118. <i v-else class="active_icon icon-arrow-up"></i>
  119. {{ allData?.zbl?.ringJxslzzl }}%
  120. </div>
  121. </div>
  122. </div>
  123. <progress-item
  124. :value="allData?.zbl?.currJxsll"
  125. totle="100"
  126. ></progress-item>
  127. </div>
  128. <div class="content-dashe"></div>
  129. <div class="content-item">
  130. <div class="item-title">限电损失率</div>
  131. <div class="percent" style="color: #ffffff">
  132. {{ allData.zbl?.currXdsll.toFixed(2) }}
  133. </div>
  134. <div class="compare">
  135. <div class="compare-item">
  136. <div
  137. :class="
  138. allData.zbl?.withXdslzzl < 0
  139. ? 'compare-lift-down'
  140. : 'compare-lift-up'
  141. "
  142. >
  143. <i
  144. v-if="allData.zbl?.withXdslzzl < 0"
  145. class="active_icon icon-arrow-dpwn"
  146. ></i>
  147. <i v-else class="active_icon icon-arrow-up"></i>
  148. {{ allData?.zbl?.withXdslzzl }}%
  149. </div>
  150. </div>
  151. <div class="compare-item">
  152. <div
  153. :class="
  154. allData.zbl?.ringXdslzzl < 0
  155. ? 'compare-lift-down'
  156. : 'compare-lift-up'
  157. "
  158. >
  159. <i
  160. v-if="allData.zbl?.ringXdslzzl < 0"
  161. class="active_icon icon-arrow-dpwn"
  162. ></i>
  163. <i v-else class="active_icon icon-arrow-up"></i>
  164. {{ allData?.zbl?.ringXdslzzl }}%
  165. </div>
  166. </div>
  167. </div>
  168. <progress-item
  169. :value="allData?.zbl?.currXdsll"
  170. totle="100"
  171. ></progress-item>
  172. </div>
  173. <div class="content-dashe"></div>
  174. <div class="content-item">
  175. <div class="item-title">受累损失率</div>
  176. <div class="percent" style="color: #ffffff">
  177. {{ allData.zbl?.currSlsll.toFixed(2) }}
  178. </div>
  179. <div class="compare">
  180. <div class="compare-item">
  181. <div
  182. :class="
  183. allData.zbl?.withSlslzzl < 0
  184. ? 'compare-lift-down'
  185. : 'compare-lift-up'
  186. "
  187. >
  188. <i
  189. v-if="allData.zbl?.withSlslzzl < 0"
  190. class="active_icon icon-arrow-dpwn"
  191. ></i>
  192. <i v-else class="active_icon icon-arrow-up"></i>
  193. {{ allData?.zbl?.withSlslzzl }}%
  194. </div>
  195. </div>
  196. <div class="compare-item">
  197. <div
  198. :class="
  199. allData.zbl?.ringSlslzzl < 0
  200. ? 'compare-lift-down'
  201. : 'compare-lift-up'
  202. "
  203. >
  204. <i
  205. v-if="allData.zbl?.ringSlslzzl < 0"
  206. class="active_icon icon-arrow-dpwn"
  207. ></i>
  208. <i v-else class="active_icon icon-arrow-up"></i>
  209. {{ allData?.zbl?.ringSlslzzl }}%
  210. </div>
  211. </div>
  212. </div>
  213. <progress-item
  214. :value="allData?.zbl?.currSlsll"
  215. totle="100"
  216. ></progress-item>
  217. </div>
  218. <div class="content-dashe"></div>
  219. <div class="content-item">
  220. <div class="item-title">性能损失率</div>
  221. <div class="percent" style="color: #ffffff">
  222. {{ allData.zbl?.currXNsll.toFixed(2) }}
  223. </div>
  224. <div class="compare">
  225. <div class="compare-item">
  226. <div
  227. :class="
  228. allData.zbl?.withXnslzzl < 0
  229. ? 'compare-lift-down'
  230. : 'compare-lift-up'
  231. "
  232. >
  233. <i
  234. v-if="allData.zbl?.withXnslzzl < 0"
  235. class="active_icon icon-arrow-dpwn"
  236. ></i>
  237. <i v-else class="active_icon icon-arrow-up"></i>
  238. {{ allData?.zbl?.withXnslzzl }}%
  239. </div>
  240. </div>
  241. <div class="compare-item">
  242. <div
  243. :class="
  244. allData.zbl?.ringXnslzzl < 0
  245. ? 'compare-lift-down'
  246. : 'compare-lift-up'
  247. "
  248. >
  249. <i
  250. v-if="allData.zbl?.ringXnslzzl < 0"
  251. class="active_icon icon-arrow-dpwn"
  252. ></i>
  253. <i v-else class="active_icon icon-arrow-up"></i>
  254. {{ allData?.zbl?.ringXnslzzl }}%
  255. </div>
  256. </div>
  257. </div>
  258. <progress-item
  259. :value="allData?.zbl?.currXNsll"
  260. totle="100"
  261. ></progress-item>
  262. </div>
  263. </div>
  264. </div>
  265. <div class="dashes"></div>
  266. <div class="dashes1"></div>
  267. <div class="efficiency">
  268. <div class="point point-left top"></div>
  269. <div class="indicator-title">
  270. <div class="point point-left top"></div>
  271. <div class="point point-left top"></div>
  272. <div class="point point-left bottom"></div>
  273. <div class="point point-right bottom"></div>
  274. <div>
  275. <i class="active_icon icon-manage"></i>
  276. 管理效率指标
  277. </div>
  278. </div>
  279. <div class="indicator-content">
  280. <div class="content-item1">
  281. <div class="item-title">
  282. {{ staType == -2 ? "系统效率" : "复位及时率" }}
  283. </div>
  284. <div class="percent" style="color: #ffffff">
  285. {{ allData.zbl?.currFwjsl.toFixed(2) }}
  286. </div>
  287. <div class="compare">
  288. <div class="compare-item">
  289. <div
  290. :class="
  291. allData.zbl?.withFwjszzl < 0
  292. ? 'compare-lift-down'
  293. : 'compare-lift-up'
  294. "
  295. >
  296. <i
  297. v-if="allData.zbl?.withFwjszzl < 0"
  298. class="active_icon icon-arrow-dpwn"
  299. ></i>
  300. <i v-else class="active_icon icon-arrow-up"></i>
  301. {{ allData?.zbl?.withFwjszzl }}%
  302. </div>
  303. </div>
  304. <div class="compare-item">
  305. <div
  306. :class="
  307. allData.zbl?.ringFwjszzl < 0
  308. ? 'compare-lift-down'
  309. : 'compare-lift-up'
  310. "
  311. >
  312. <i
  313. v-if="allData.zbl?.ringFwjszzl < 0"
  314. class="active_icon icon-arrow-dpwn"
  315. ></i>
  316. <i v-else class="active_icon icon-arrow-up"></i>
  317. {{ allData?.zbl?.ringFwjszzl }}%
  318. </div>
  319. </div>
  320. </div>
  321. <progress-item
  322. :value="allData?.zbl?.currFwjsl"
  323. totle="100"
  324. ></progress-item>
  325. </div>
  326. <div class="content-dashe"></div>
  327. <div class="content-item1">
  328. <div class="item-title">
  329. {{ staType == -2 ? "离散率" : "状态转换率" }}
  330. </div>
  331. <div class="percent" style="color: #ffffff">
  332. {{ allData.zbl?.currZtzhl.toFixed(2) }}
  333. </div>
  334. <div class="compare">
  335. <div class="compare-item">
  336. <div
  337. :class="
  338. allData.zbl?.withZtzhzzl < 0
  339. ? 'compare-lift-down'
  340. : 'compare-lift-up'
  341. "
  342. >
  343. <i
  344. v-if="allData.zbl?.withZtzhzzl < 0"
  345. class="active_icon icon-arrow-dpwn"
  346. ></i>
  347. <i v-else class="active_icon icon-arrow-up"></i>
  348. {{ allData?.zbl?.withZtzhzzl }}%
  349. </div>
  350. </div>
  351. <div class="compare-item">
  352. <div
  353. :class="
  354. allData.zbl?.ringZtzhzzl < 0
  355. ? 'compare-lift-down'
  356. : 'compare-lift-up'
  357. "
  358. >
  359. <i
  360. v-if="allData.zbl?.ringZtzhzzl < 0"
  361. class="active_icon icon-arrow-dpwn"
  362. ></i>
  363. <i v-else class="active_icon icon-arrow-up"></i>
  364. {{ allData?.zbl?.ringZtzhzzl }}%
  365. </div>
  366. </div>
  367. </div>
  368. <progress-item
  369. :value="allData?.zbl?.currZtzhl"
  370. totle="100"
  371. ></progress-item>
  372. </div>
  373. <div class="content-dashe"></div>
  374. <div class="content-item1">
  375. <div class="item-title">
  376. {{ staType == -2 ? "转换效率" : "消缺及时率" }}
  377. </div>
  378. <div class="percent" style="color: #ffffff">
  379. {{ allData.zbl?.currXqjsl.toFixed(2) }}
  380. </div>
  381. <div class="compare">
  382. <div class="compare-item">
  383. <div
  384. :class="
  385. allData.zbl?.withXqjszzl < 0
  386. ? 'compare-lift-down'
  387. : 'compare-lift-up'
  388. "
  389. >
  390. <i
  391. v-if="allData.zbl?.withXqjszzl < 0"
  392. class="active_icon icon-arrow-dpwn"
  393. ></i>
  394. <i v-else class="active_icon icon-arrow-up"></i>
  395. {{ allData?.zbl?.withXqjszzl }}%
  396. </div>
  397. </div>
  398. <div class="compare-item">
  399. <div
  400. :class="
  401. allData.zbl?.ringXqjszzl < 0
  402. ? 'compare-lift-down'
  403. : 'compare-lift-up'
  404. "
  405. >
  406. <i
  407. v-if="allData.zbl?.ringXqjszzl < 0"
  408. class="active_icon icon-arrow-dpwn"
  409. ></i>
  410. <i v-else class="active_icon icon-arrow-up"></i>
  411. {{ allData?.zbl?.ringXqjszzl }}%
  412. </div>
  413. </div>
  414. </div>
  415. <progress-item
  416. :value="allData?.zbl?.currXqjsl"
  417. totle="100"
  418. ></progress-item>
  419. </div>
  420. </div>
  421. </div>
  422. <div class="dashes"></div>
  423. <div class="dashes1"></div>
  424. <div class="others">
  425. <div class="indicator-title">
  426. <div class="point point-left top"></div>
  427. <div class="point point-left top"></div>
  428. <div class="point point-left bottom"></div>
  429. <div class="point point-right bottom"></div>
  430. <div>
  431. <i class="active_icon icon-economic"></i>
  432. 其他经济性指标
  433. </div>
  434. </div>
  435. <div class="indicator-content">
  436. <div class="content-item1">
  437. <div class="item-title">综合厂用电率</div>
  438. <div class="percent" style="color: #ffffff">
  439. {{ allData.zbl?.currZhcydl.toFixed(2) }}
  440. </div>
  441. <div class="compare">
  442. <div class="compare-item">
  443. <div
  444. :class="
  445. allData.zbl?.withZhcydzzl < 0
  446. ? 'compare-lift-down'
  447. : 'compare-lift-up'
  448. "
  449. >
  450. <i
  451. v-if="allData.zbl?.withZhcydzzl < 0"
  452. class="active_icon icon-arrow-dpwn"
  453. ></i>
  454. <i v-else class="active_icon icon-arrow-up"></i>
  455. {{ allData?.zbl?.withZhcydzzl }}%
  456. </div>
  457. </div>
  458. <div class="compare-item">
  459. <div
  460. :class="
  461. allData.zbl?.ringZhcydzzl < 0
  462. ? 'compare-lift-down'
  463. : 'compare-lift-up'
  464. "
  465. >
  466. <i
  467. v-if="allData.zbl?.ringZhcydzzl < 0"
  468. class="active_icon icon-arrow-dpwn"
  469. ></i>
  470. <i v-else class="active_icon icon-arrow-up"></i>
  471. {{ allData?.zbl?.ringZhcydzzl }}%
  472. </div>
  473. </div>
  474. </div>
  475. <progress-item
  476. :value="allData?.zbl?.currZhcydl"
  477. totle="100"
  478. ></progress-item>
  479. </div>
  480. <div class="content-dashe"></div>
  481. <div class="content-item1">
  482. <div class="item-title">负荷率</div>
  483. <div class="percent" style="color: #ffffff">
  484. {{ allData.zbl?.currGlqxfhl.toFixed(2) }}
  485. </div>
  486. <div class="compare">
  487. <div class="compare-item">
  488. <div
  489. :class="
  490. allData.zbl?.withGlqxfhzzl < 0
  491. ? 'compare-lift-down'
  492. : 'compare-lift-up'
  493. "
  494. >
  495. <i
  496. v-if="allData.zbl?.withGlqxfhzzl < 0"
  497. class="active_icon icon-arrow-dpwn"
  498. ></i>
  499. <i v-else class="active_icon icon-arrow-up"></i>
  500. {{ allData?.zbl?.withGlqxfhzzl }}%
  501. </div>
  502. </div>
  503. <div class="compare-item">
  504. <div
  505. :class="
  506. allData.zbl?.ringGlqxfhzzl < 0
  507. ? 'compare-lift-down'
  508. : 'compare-lift-up'
  509. "
  510. >
  511. <i
  512. v-if="allData.zbl?.ringGlqxfhzzl < 0"
  513. class="active_icon icon-arrow-dpwn"
  514. ></i>
  515. <i v-else class="active_icon icon-arrow-up"></i>
  516. {{ allData?.zbl?.ringGlqxfhzzl }}%
  517. </div>
  518. </div>
  519. </div>
  520. <progress-item
  521. :value="allData?.zbl?.currGlqxfhl"
  522. totle="100"
  523. ></progress-item>
  524. </div>
  525. <div class="content-dashe"></div>
  526. <div class="content-item1">
  527. <div class="item-title">设备可利用率</div>
  528. <div class="percent" style="color: #ffffff">
  529. {{ allData.zbl?.currSbklyl.toFixed(2) }}
  530. </div>
  531. <div class="compare">
  532. <div class="compare-item">
  533. <div
  534. :class="
  535. allData.zbl?.withSbklyzzl < 0
  536. ? 'compare-lift-down'
  537. : 'compare-lift-up'
  538. "
  539. >
  540. <i
  541. v-if="allData.zbl?.withSbklyzzl < 0"
  542. class="active_icon icon-arrow-dpwn"
  543. ></i>
  544. <i v-else class="active_icon icon-arrow-up"></i>
  545. {{ allData?.zbl?.withSbklyzzl }}%
  546. </div>
  547. </div>
  548. <div class="compare-item">
  549. <div
  550. :class="
  551. allData.zbl?.ringSbklyzzl < 0
  552. ? 'compare-lift-down'
  553. : 'compare-lift-up'
  554. "
  555. >
  556. <i
  557. v-if="allData.zbl?.ringSbklyzzl < 0"
  558. class="active_icon icon-arrow-dpwn"
  559. ></i>
  560. <i v-else class="active_icon icon-arrow-up"></i>
  561. {{ allData?.zbl?.ringSbklyzzl }}%
  562. </div>
  563. </div>
  564. </div>
  565. <progress-item
  566. :value="allData?.zbl?.currSbklyl"
  567. totle="100"
  568. ></progress-item>
  569. </div>
  570. </div>
  571. </div>
  572. </div>
  573. <div class="analysis">
  574. <div class="left-analysis">
  575. <div class="analysis-item">
  576. <div class="progess">
  577. <div class="wind-rate">
  578. {{ staType == -2 ? "光能利用率" : "风能利用率" }}
  579. </div>
  580. <div class="rate-value">
  581. {{ allData?.fdlinfo?.fnlyl === 0 ? 0 : allData?.fdlinfo?.fnlyl }}%
  582. </div>
  583. <img class="beam" src="./components/images/beam.png" alt="" />
  584. <img class="base" src="./components/images/base.png" alt="" />
  585. </div>
  586. <div class="progess-item">
  587. <div class="progess-unit">万kWh</div>
  588. <div class="progess-name">
  589. 发电量
  590. <div class="progess-bar">
  591. <div
  592. class="progess-content"
  593. :style="{
  594. width:
  595. allData?.fdlinfo?.fdl == 0 && allData?.fdlinfo?.qfdl == 0
  596. ? '0px'
  597. : (allData?.fdlinfo?.fdl /
  598. (allData?.fdlinfo?.fdl + allData?.fdlinfo?.qfdl)) *
  599. 100 +
  600. '%',
  601. }"
  602. ></div>
  603. </div>
  604. <div class="effect">
  605. <div
  606. class="effect-value"
  607. :style="{
  608. 'margin-left':
  609. allData?.fdlinfo?.fdl == 0 && allData?.fdlinfo?.qfdl == 0
  610. ? '30%'
  611. : ((allData?.fdlinfo?.fdl /
  612. (allData?.fdlinfo?.fdl + allData?.fdlinfo?.qfdl)) *
  613. 100 >
  614. 80
  615. ? 80
  616. : (allData?.fdlinfo?.fdl /
  617. (allData?.fdlinfo?.fdl +
  618. allData?.fdlinfo?.qfdl)) *
  619. 100 <
  620. 25
  621. ? 25
  622. : (allData?.fdlinfo?.fdl /
  623. (allData?.fdlinfo?.fdl +
  624. allData?.fdlinfo?.qfdl)) *
  625. 100) + '%',
  626. }"
  627. >
  628. {{ allData?.fdlinfo?.fdl }}
  629. </div>
  630. <img
  631. :style="{
  632. 'margin-left':
  633. allData?.fdlinfo?.fdl == 0 && allData?.fdlinfo?.qfdl == 0
  634. ? '-10%'
  635. : (allData?.fdlinfo?.fdl /
  636. (allData?.fdlinfo?.fdl + allData?.fdlinfo?.qfdl)) *
  637. 100 -
  638. 15 +
  639. '%',
  640. }"
  641. class="effect-img"
  642. src="../../../assets/imgs/generatingCapacityMonth.png"
  643. alt=""
  644. />
  645. </div>
  646. </div>
  647. <div class="progess-name" style="margin-top: 15px">
  648. 欠发电量
  649. <div class="progess-bar">
  650. <div
  651. class="progess-content1"
  652. :style="{
  653. width:
  654. allData?.fdlinfo?.fdl == 0 && allData?.fdlinfo?.qfdl == 0
  655. ? '0px'
  656. : (allData?.fdlinfo?.qfdl /
  657. (allData?.fdlinfo?.fdl + allData?.fdlinfo?.qfdl)) *
  658. 100 +
  659. '%',
  660. }"
  661. ></div>
  662. </div>
  663. <div class="effect">
  664. <div
  665. class="effect-value"
  666. :style="{
  667. 'margin-left':
  668. allData?.fdlinfo?.fdl == 0 && allData?.fdlinfo?.qfdl == 0
  669. ? '30%'
  670. : ((allData?.fdlinfo?.qfdl /
  671. (allData?.fdlinfo?.fdl + allData?.fdlinfo?.qfdl)) *
  672. 100 >
  673. 80
  674. ? 80
  675. : (allData?.fdlinfo?.qfdl /
  676. (allData?.fdlinfo?.fdl +
  677. allData?.fdlinfo?.qfdl)) *
  678. 100 <
  679. 30
  680. ? 30
  681. : (allData?.fdlinfo?.qfdl /
  682. (allData?.fdlinfo?.fdl +
  683. allData?.fdlinfo?.qfdl)) *
  684. 100) + '%',
  685. }"
  686. style="color: #ff8300"
  687. >
  688. {{ allData?.fdlinfo?.qfdl }}
  689. </div>
  690. <img
  691. :style="{
  692. 'margin-left':
  693. allData?.fdlinfo?.fdl == 0 && allData?.fdlinfo?.qfdl == 0
  694. ? '-10%'
  695. : (allData?.fdlinfo?.qfdl /
  696. (allData?.fdlinfo?.fdl + allData?.fdlinfo?.qfdl)) *
  697. 100 -
  698. 10 +
  699. '%',
  700. }"
  701. class="effect-img"
  702. src="../../../assets/imgs/generatingCapacityDay.png"
  703. alt=""
  704. />
  705. </div>
  706. </div>
  707. </div>
  708. </div>
  709. <div class="analysis-item-right">
  710. <div class="chart-name">
  711. <div class="point point-left bottom"></div>
  712. <div class="point point-right bottom"></div>
  713. 综合厂用电率
  714. </div>
  715. <LineCharts
  716. class="charts-item"
  717. :list="zhcydl"
  718. width="95%"
  719. height="210px"
  720. :units="Powertrend.units"
  721. :showLegend="true"
  722. >
  723. </LineCharts>
  724. </div>
  725. <div class="analysis-item1">
  726. <div class="chart-name">
  727. <div class="point point-left bottom"></div>
  728. <div class="point point-right bottom"></div>
  729. 三率曲线
  730. </div>
  731. <LineCharts
  732. class="charts-item"
  733. :list="slqx"
  734. width="95%"
  735. height="260px"
  736. :units="Powertrend.units"
  737. :showLegend="true"
  738. >
  739. </LineCharts>
  740. </div>
  741. <div class="analysis-item1-right">
  742. <div class="chart-name">
  743. <div class="point point-left bottom"></div>
  744. <div class="point point-right bottom"></div>
  745. 损失电量分析
  746. </div>
  747. <div class="circle"></div>
  748. <PieChart
  749. :lossPower="lossPower"
  750. width="95%"
  751. height="210px"
  752. ></PieChart>
  753. </div>
  754. </div>
  755. <div class="right-analysis">
  756. <div class="stagger">
  757. <StBack></StBack>
  758. <div class="sd-svg">
  759. <SdSvg
  760. :stationinfo="stationinfo"
  761. :foreignKeyId="svgImg"
  762. @handleMapClick="handleMapClick"
  763. ></SdSvg>
  764. </div>
  765. </div>
  766. </div>
  767. </div>
  768. <div
  769. class="statistics"
  770. :style="screenHeight > 1000 ? 'height: 270px' : 'height: 220px'"
  771. >
  772. <div class="statistics-left">
  773. <div class="chart-name">
  774. <div class="point point-left bottom"></div>
  775. <div class="point point-right bottom"></div>
  776. 电量统计分析
  777. </div>
  778. <div v-if="showFlag" style="margin-top: -30px">
  779. <BarCharts
  780. :list="barList"
  781. width="97%"
  782. :height="barHeights"
  783. :showLegend="true"
  784. :padding="[10, 10]"
  785. :top="70"
  786. >
  787. </BarCharts>
  788. </div>
  789. </div>
  790. <div class="statistics-right">
  791. <div class="chart-name">
  792. <div class="point point-left bottom"></div>
  793. <div class="point point-right bottom"></div>
  794. <div class="title-list">
  795. <img class="select-back" src="@assets/imgs/select-back.png" />
  796. 排行榜
  797. <div class="title-select">
  798. <el-select
  799. v-model="pointValue"
  800. placeholder="请选择"
  801. @change="getPointRanking(false)"
  802. clearable
  803. >
  804. <el-option
  805. v-for="item in pointList"
  806. :key="item.nemCode"
  807. :label="item.description"
  808. :value="item.nemCode"
  809. >
  810. </el-option>
  811. </el-select>
  812. </div>
  813. </div>
  814. </div>
  815. <div v-if="showFlag">
  816. <OnlyBarCharts
  817. @dblclick="handleClick()"
  818. width="95%"
  819. :list="zbphl"
  820. :height="barHeight"
  821. :showLegend="false"
  822. >
  823. </OnlyBarCharts>
  824. </div>
  825. </div>
  826. </div>
  827. <el-dialog
  828. class="dialogs"
  829. width="80%"
  830. v-model="displayPhb"
  831. :show-close="true"
  832. >
  833. <template #title>
  834. <div class="dialog-title">
  835. <div class="title">{{ allZbphl[0]?.name }}排行榜</div>
  836. </div>
  837. </template>
  838. <div class="dialog-body" style="height: 51vh; overflow-x: scroll">
  839. <!-- <img class="dialog-img" src="@assets/img/images/dialog.png" /> -->
  840. <OnlyBarCharts
  841. :width="onlyBarChartsWidth"
  842. :list="allZbphl"
  843. height="49vh"
  844. :units="['', '']"
  845. :showLegend="false"
  846. >
  847. </OnlyBarCharts>
  848. </div>
  849. </el-dialog>
  850. </div>
  851. </template>
  852. <script>
  853. import headerNav from "@/components/headerNav";
  854. import progressItem from "./components/progress.vue";
  855. import LineCharts from "./components/lineCharts.vue";
  856. import PieChart from "./components/pieChart.vue";
  857. import BarCharts from "./components/barCharts.vue";
  858. import OnlyBarCharts from "./components/onlyBarCharts.vue";
  859. import StBack from "./components/st-back.vue";
  860. import SdSvg from "./components/sdSvg.vue";
  861. // import ProgressCustom from './components/progess.vue'
  862. import api from "@api/economy";
  863. export default {
  864. name: "homePage", //首页
  865. components: {
  866. headerNav,
  867. progressItem,
  868. LineCharts,
  869. PieChart,
  870. BarCharts,
  871. OnlyBarCharts,
  872. StBack,
  873. SdSvg,
  874. // ProgressCustom,
  875. },
  876. data() {
  877. return {
  878. current: 0,
  879. currentGroup: 0,
  880. currentDay: "r",
  881. screenHeight: window.innerHeight,
  882. barHeight: "110px",
  883. barHeights: "220px",
  884. showFlag: true,
  885. Powertrend: {
  886. value: [
  887. {
  888. title: "",
  889. value: [],
  890. },
  891. ],
  892. },
  893. allData: {},
  894. zhcydl: [],
  895. slqx: [],
  896. lossPower: [],
  897. barList: [],
  898. zbphl: [],
  899. allZbphl: [],
  900. stationinfo: [],
  901. // zhcydl: [],
  902. pointList: [],
  903. pointValue: "fnlyl",
  904. headerIndex: 0,
  905. foreignKeyId: "",
  906. svgImg: "",
  907. displayPhb: false,
  908. };
  909. },
  910. computed: {
  911. onlyBarChartsWidth() {
  912. return this.allZbphl[0].children.length * 120 + "px";
  913. },
  914. },
  915. mounted() {
  916. if (this.screenHeight > 1000) {
  917. this.barHeight = "230px";
  918. this.barHeights = "340px";
  919. this.showFlag = false;
  920. setTimeout(() => {
  921. this.showFlag = true;
  922. }, 100);
  923. } else {
  924. this.barHeight = "110px";
  925. this.barHeights = "220px";
  926. }
  927. this.pointCodeList();
  928. window.onresize = () => {
  929. return (() => {
  930. window.screenHeight = window.innerHeight;
  931. this.screenHeight = window.screenHeight;
  932. })();
  933. };
  934. },
  935. methods: {
  936. handleClick() {
  937. this.getPointRanking(true);
  938. },
  939. handleMapClick() {
  940. this.getPointRanking(true, "fnlyl");
  941. },
  942. pointCodeList() {
  943. api.pointCodeList().then(({ data: res }) => {
  944. if (res.data) {
  945. res.data = res.data.map((item) => {
  946. if (this.staType == -2) {
  947. if (item.nemCode == "fnlyl") {
  948. item.description = "光能利用率";
  949. }
  950. } else {
  951. if (item.nemCode == "fnlyl") {
  952. item.description = "风能利用率";
  953. }
  954. }
  955. return item;
  956. });
  957. this.pointList = res.data;
  958. this.getHomePageData();
  959. this.getPointRanking(false);
  960. }
  961. });
  962. },
  963. getPointRanking(popup, pointValue) {
  964. api
  965. .pointRanking({
  966. foreignKeyId: this.foreignKeyId || "SD_RGN",
  967. pointCode: pointValue ? "fnlyl" : this.pointValue,
  968. dateType: this.currentDay || "r",
  969. popup: popup,
  970. staType: this.staType || 0,
  971. })
  972. .then(({ data: res }) => {
  973. if (res) {
  974. let zbphl = [
  975. {
  976. name: "发电量",
  977. children: [],
  978. date: [],
  979. },
  980. ];
  981. res.data.forEach((item) => {
  982. zbphl[0].name = item.description;
  983. zbphl[0].date.push(item.stationname);
  984. zbphl[0].children.push(item.value);
  985. });
  986. if (popup) {
  987. this.allZbphl = zbphl;
  988. this.displayPhb = true;
  989. } else {
  990. this.zbphl = zbphl;
  991. }
  992. }
  993. });
  994. },
  995. firstRender(headerIndex, nodeCode, a, b, c, d) {
  996. if (d) {
  997. this.svgImg = d;
  998. }
  999. this.staType = headerIndex;
  1000. this.foreignKeyId = nodeCode;
  1001. this.pointCodeList();
  1002. },
  1003. getHomePageData() {
  1004. api
  1005. .homePage({
  1006. regionId: "",
  1007. staType: this.staType || 0,
  1008. dateType: this.currentDay || "f",
  1009. pointCode: this.pointValue,
  1010. foreignKeyId: this.foreignKeyId || "SD_RGN",
  1011. companyId: "",
  1012. })
  1013. .then(({ data: res }) => {
  1014. if (res) {
  1015. this.allData = res.data;
  1016. let arr = [];
  1017. if (this.staType != -2) {
  1018. arr = [
  1019. {
  1020. name: "复位及时率",
  1021. children: [],
  1022. date: [],
  1023. },
  1024. {
  1025. name: "故障消缺及时率",
  1026. children: [],
  1027. },
  1028. {
  1029. name: "状态转换及时率",
  1030. children: [],
  1031. },
  1032. ];
  1033. } else {
  1034. arr = [
  1035. {
  1036. name: "系统效率",
  1037. children: [],
  1038. date: [],
  1039. },
  1040. {
  1041. name: "离散率",
  1042. children: [],
  1043. },
  1044. {
  1045. name: "转换效率",
  1046. children: [],
  1047. },
  1048. ];
  1049. }
  1050. res.data.slqx.forEach((item) => {
  1051. arr[0].date.push(item.date);
  1052. arr[0].children.push(item.fwjsl);
  1053. arr[1].children.push(item.gzxqjsl);
  1054. arr[2].children.push(item.ztzhjsl);
  1055. });
  1056. this.slqx = arr;
  1057. let lossPower = [
  1058. {
  1059. name: "实发电量",
  1060. value: res.data.sldlfx.fdl,
  1061. },
  1062. {
  1063. name: "性能损失",
  1064. value: res.data.sldlfx.xndl,
  1065. },
  1066. {
  1067. name: "检修损失",
  1068. value: res.data.sldlfx.jxdl,
  1069. },
  1070. {
  1071. name: "故障损失",
  1072. value: res.data.sldlfx.gzdl,
  1073. },
  1074. {
  1075. name: "限电损失",
  1076. value: res.data.sldlfx.xddl,
  1077. },
  1078. {
  1079. name: "受累损失",
  1080. value: res.data.sldlfx.sldl,
  1081. },
  1082. ];
  1083. this.lossPower = lossPower;
  1084. let barList = [
  1085. {
  1086. name: "发电量",
  1087. children: [],
  1088. date: [],
  1089. },
  1090. {
  1091. name: "性能损失电量",
  1092. children: [],
  1093. },
  1094. {
  1095. name: "检修",
  1096. children: [],
  1097. },
  1098. {
  1099. name: "故障",
  1100. children: [],
  1101. },
  1102. {
  1103. name: "限电",
  1104. children: [],
  1105. },
  1106. {
  1107. name: "受累",
  1108. children: [],
  1109. },
  1110. ];
  1111. res.data.dltjfx.forEach((item) => {
  1112. barList[0].date.push(item.date);
  1113. barList[0].children.push(item.fdl);
  1114. barList[1].children.push(item.gzdl);
  1115. barList[2].children.push(item.jxdl);
  1116. barList[3].children.push(item.sldl);
  1117. barList[4].children.push(item.xddl);
  1118. barList[5].children.push(item.xndl);
  1119. });
  1120. this.barList = barList;
  1121. let zhcydl = [
  1122. {
  1123. name: "综合厂用电率",
  1124. children: [],
  1125. date: [],
  1126. },
  1127. ];
  1128. res.data.zhcydl.forEach((item) => {
  1129. zhcydl[0].date.push(item.key);
  1130. zhcydl[0].children.push(item.value);
  1131. });
  1132. this.zhcydl = zhcydl;
  1133. let stationinfo = [];
  1134. res.data.stainfo.forEach((item) => {
  1135. let obj = {};
  1136. obj.name = item.aname;
  1137. obj.value = item.fnlyl;
  1138. obj.id = item.nemCode;
  1139. obj.xPoint = Number(item.xPoint);
  1140. obj.yPoint = Number(item.yPoint);
  1141. stationinfo.push(obj);
  1142. });
  1143. this.stationinfo = stationinfo;
  1144. }
  1145. });
  1146. },
  1147. handleChangeType(val) {
  1148. this.current = val;
  1149. this.getHomePageData();
  1150. },
  1151. handleChangeGroup(val) {
  1152. this.currentGroup = val;
  1153. this.getHomePageData();
  1154. },
  1155. handleChangeDay(val) {
  1156. this.currentDay = val;
  1157. this.getHomePageData();
  1158. },
  1159. },
  1160. watch: {
  1161. screenHeight(val) {
  1162. this.screenHeight = val;
  1163. if (val > 1000) {
  1164. this.barHeight = "230px";
  1165. this.barHeights = "340px";
  1166. } else {
  1167. this.barHeight = "110px";
  1168. this.barHeights = "220px";
  1169. }
  1170. this.showFlag = false;
  1171. setTimeout(() => {
  1172. this.showFlag = true;
  1173. }, 100);
  1174. },
  1175. },
  1176. };
  1177. </script>
  1178. <style lang="less" scoped>
  1179. .body {
  1180. width: 100%;
  1181. height: 100%;
  1182. // background: url("../../../../assets/img/images/background02.png") no-repeat;
  1183. // background-size: cover;
  1184. }
  1185. .chart-name {
  1186. display: flex;
  1187. align-items: center;
  1188. padding-left: 20px;
  1189. position: relative;
  1190. height: 39px;
  1191. width: 98%;
  1192. margin-left: 1%;
  1193. border-bottom: 1px solid rgba(153, 153, 153, 0.5);
  1194. font-size: 16px;
  1195. font-family: Microsoft YaHei;
  1196. font-weight: 400;
  1197. color: #ffffff;
  1198. .title-list {
  1199. width: 100%;
  1200. display: flex;
  1201. flex-direction: row;
  1202. align-items: center;
  1203. justify-content: space-between;
  1204. position: relative;
  1205. z-index: 2;
  1206. .title-select {
  1207. z-index: 2;
  1208. }
  1209. .select-back {
  1210. position: absolute;
  1211. right: 5px;
  1212. top: 0px;
  1213. z-index: 1;
  1214. }
  1215. }
  1216. }
  1217. .point {
  1218. width: 6px;
  1219. height: 1px;
  1220. background-color: #ffffff;
  1221. position: absolute;
  1222. &.point-left {
  1223. left: 0;
  1224. }
  1225. &.point-right {
  1226. top: 0;
  1227. right: 0;
  1228. }
  1229. &.top {
  1230. top: -1px;
  1231. }
  1232. &.bottom {
  1233. bottom: -1px;
  1234. }
  1235. }
  1236. .title-bar {
  1237. display: flex;
  1238. flex-direction: row;
  1239. align-items: center;
  1240. justify-content: space-between;
  1241. padding: 9px 22px 10px 20px;
  1242. .left-bar {
  1243. display: flex;
  1244. flex-direction: row;
  1245. align-items: center;
  1246. .type-bar {
  1247. display: flex;
  1248. flex-direction: row;
  1249. align-items: center;
  1250. }
  1251. .group-bar {
  1252. display: flex;
  1253. flex-direction: row;
  1254. align-items: center;
  1255. margin-left: 52px;
  1256. }
  1257. }
  1258. .right-bar {
  1259. display: flex;
  1260. flex-direction: row;
  1261. align-items: center;
  1262. }
  1263. .day-button {
  1264. display: flex;
  1265. flex-direction: row;
  1266. align-items: center;
  1267. justify-content: center;
  1268. border: 1px solid #5e6778;
  1269. border-radius: 16px;
  1270. text-align: center;
  1271. margin-right: 20px;
  1272. cursor: pointer;
  1273. color: #b3b3b3;
  1274. font-size: 16px;
  1275. height: 32px;
  1276. min-width: 54px;
  1277. .type-name {
  1278. font-size: 14px;
  1279. font-family: Microsoft YaHei;
  1280. font-weight: 400;
  1281. line-height: 32px;
  1282. }
  1283. }
  1284. .type-button {
  1285. display: flex;
  1286. flex-direction: row;
  1287. align-items: center;
  1288. justify-content: center;
  1289. padding: 0 14px;
  1290. background: rgba(0, 70, 199, 0.2);
  1291. border-radius: 16px;
  1292. text-align: center;
  1293. margin-right: 20px;
  1294. cursor: pointer;
  1295. color: #b3b3b3;
  1296. font-size: 16px;
  1297. height: 32px;
  1298. min-width: 54px;
  1299. .type-name {
  1300. margin-left: 9px;
  1301. font-size: 14px;
  1302. font-family: Microsoft YaHei;
  1303. font-weight: 400;
  1304. line-height: 32px;
  1305. }
  1306. }
  1307. .type-button-on {
  1308. display: flex;
  1309. flex-direction: row;
  1310. align-items: center;
  1311. justify-content: center;
  1312. padding: 0 14px;
  1313. background: rgba(0, 70, 199, 0.5);
  1314. border-radius: 16px;
  1315. text-align: center;
  1316. margin-right: 20px;
  1317. cursor: pointer;
  1318. color: #1c99ff;
  1319. font-size: 16px;
  1320. height: 32px;
  1321. min-width: 54px;
  1322. .type-name {
  1323. margin-left: 9px;
  1324. color: #ffffff;
  1325. font-size: 14px;
  1326. font-family: Microsoft YaHei;
  1327. font-weight: 400;
  1328. line-height: 32px;
  1329. }
  1330. .day-name {
  1331. color: #ffffff;
  1332. font-size: 14px;
  1333. font-family: Microsoft YaHei;
  1334. font-weight: 400;
  1335. line-height: 32px;
  1336. }
  1337. }
  1338. }
  1339. .indicator {
  1340. display: flex;
  1341. flex-direction: row;
  1342. align-items: center;
  1343. width: 98%;
  1344. height: 169px;
  1345. margin-left: 20px;
  1346. background-color: rgba(0, 0, 0, 0.3);
  1347. border-top: 1px solid rgba(153, 153, 153, 0.5);
  1348. .balance {
  1349. width: 45%;
  1350. height: 100%;
  1351. }
  1352. .efficiency {
  1353. width: 27%;
  1354. height: 100%;
  1355. }
  1356. .others {
  1357. width: 27%;
  1358. height: 100%;
  1359. }
  1360. .dashes {
  1361. width: 1px;
  1362. height: 100%;
  1363. background-image: linear-gradient(
  1364. rgba(153, 153, 153, 0.5) 0%,
  1365. rgba(153, 153, 153, 0.5) 40%,
  1366. transparent 50%
  1367. );
  1368. background-size: 1px 13px;
  1369. background-repeat: repeat-y;
  1370. }
  1371. .dashes1 {
  1372. width: 1px;
  1373. height: 100%;
  1374. background-image: linear-gradient(
  1375. rgba(153, 153, 153, 0.5) 0%,
  1376. rgba(153, 153, 153, 0.5) 40%,
  1377. transparent 50%
  1378. );
  1379. background-size: 1px 13px;
  1380. background-repeat: repeat-y;
  1381. margin-left: 12px;
  1382. }
  1383. .indicator-title {
  1384. display: flex;
  1385. flex-direction: row;
  1386. align-items: center;
  1387. justify-content: center;
  1388. position: relative;
  1389. width: 100%;
  1390. height: 38px;
  1391. border-bottom: 1px solid rgba(153, 153, 153, 0.5);
  1392. font-size: 14px;
  1393. font-family: Microsoft YaHei;
  1394. font-weight: 400;
  1395. color: #1c99ff;
  1396. }
  1397. .indicator-content {
  1398. display: flex;
  1399. flex-direction: row;
  1400. align-items: center;
  1401. width: 100%;
  1402. height: 130px;
  1403. .content-item {
  1404. width: 25%;
  1405. height: 100%;
  1406. display: flex;
  1407. flex-direction: column;
  1408. align-items: center;
  1409. }
  1410. .content-item1 {
  1411. width: 33%;
  1412. height: 100%;
  1413. display: flex;
  1414. flex-direction: column;
  1415. align-items: center;
  1416. }
  1417. .item-title {
  1418. font-size: 14px;
  1419. font-family: Microsoft YaHei;
  1420. font-weight: 400;
  1421. color: #b3b3b3;
  1422. margin-top: 12px;
  1423. }
  1424. .percent {
  1425. font-size: 18px;
  1426. font-family: Arial;
  1427. font-weight: 400;
  1428. color: #1c99ff;
  1429. margin-top: 12px;
  1430. }
  1431. .compare {
  1432. display: flex;
  1433. flex-direction: row;
  1434. align-items: center;
  1435. width: 100%;
  1436. margin-bottom: 10px;
  1437. .compare-item {
  1438. width: 50%;
  1439. display: flex;
  1440. flex-direction: row;
  1441. align-items: center;
  1442. justify-content: center;
  1443. font-size: 14px;
  1444. font-family: Microsoft YaHei;
  1445. font-weight: 400;
  1446. color: #ffffff;
  1447. .compare-lift-down {
  1448. margin-left: 7px;
  1449. font-size: 14px;
  1450. font-family: Arial;
  1451. font-weight: 400;
  1452. color: #ff8300;
  1453. display: flex;
  1454. flex-direction: row;
  1455. align-items: center;
  1456. margin-top: 1px;
  1457. }
  1458. .compare-lift-up {
  1459. margin-left: 7px;
  1460. font-size: 14px;
  1461. font-family: Arial;
  1462. font-weight: 400;
  1463. color: #1c99ff;
  1464. display: flex;
  1465. flex-direction: row;
  1466. align-items: center;
  1467. margin-top: 1px;
  1468. }
  1469. }
  1470. }
  1471. .content-dashe {
  1472. width: 1px;
  1473. height: 85%;
  1474. background-image: linear-gradient(
  1475. rgba(153, 153, 153, 0.5) 0%,
  1476. rgba(153, 153, 153, 0.5) 40%,
  1477. transparent 50%
  1478. );
  1479. background-size: 1px 13px;
  1480. background-repeat: repeat-y;
  1481. }
  1482. }
  1483. }
  1484. .analysis {
  1485. display: flex;
  1486. flex-direction: row;
  1487. align-items: center;
  1488. justify-content: space-between;
  1489. width: 98%;
  1490. margin-left: 20px;
  1491. height: 495px;
  1492. margin-top: 10px;
  1493. .left-analysis {
  1494. width: 50%;
  1495. height: 101%;
  1496. display: flex;
  1497. flex-direction: row;
  1498. align-items: center;
  1499. flex-wrap: wrap;
  1500. .analysis-item {
  1501. display: flex;
  1502. flex-direction: row;
  1503. width: 49%;
  1504. height: 215px;
  1505. margin-right: 1%;
  1506. background-color: rgba(0, 0, 0, 0.3);
  1507. }
  1508. .analysis-item-right {
  1509. width: 50%;
  1510. height: 215px;
  1511. background-color: rgba(0, 0, 0, 0.3);
  1512. }
  1513. .analysis-item1 {
  1514. width: 49%;
  1515. height: 272px;
  1516. margin-right: 1%;
  1517. background-color: rgba(0, 0, 0, 0.3);
  1518. }
  1519. .analysis-item1-right {
  1520. width: 50%;
  1521. height: 272px;
  1522. background-color: rgba(0, 0, 0, 0.3);
  1523. position: relative;
  1524. }
  1525. .circle {
  1526. position: absolute;
  1527. width: 160px;
  1528. height: 160px;
  1529. border-radius: 50%;
  1530. border: 2px solid #157cec;
  1531. left: 98px;
  1532. top: 63px;
  1533. box-shadow: 0px 0px 12px 0px #157cec inset;
  1534. }
  1535. .charts-item {
  1536. margin-top: -30px;
  1537. }
  1538. .progess {
  1539. height: 100%;
  1540. width: 50%;
  1541. display: flex;
  1542. flex-direction: column;
  1543. align-items: center;
  1544. position: relative;
  1545. .wind-rate {
  1546. font-size: 14px;
  1547. font-family: Microsoft YaHei;
  1548. font-weight: 400;
  1549. color: #ffffff;
  1550. margin-top: 53px;
  1551. z-index: 4;
  1552. }
  1553. .rate-value {
  1554. font-size: 29px;
  1555. font-family: Arial;
  1556. font-weight: 400;
  1557. color: #ffffff;
  1558. margin-top: 26px;
  1559. z-index: 3;
  1560. }
  1561. .beam {
  1562. width: 108px;
  1563. // margin-top: -121px;
  1564. z-index: 2;
  1565. animation: rotate 2.5s linear infinite;
  1566. }
  1567. @keyframes rotate {
  1568. 0% {
  1569. margin-top: -113px;
  1570. }
  1571. 50% {
  1572. margin-top: -125px;
  1573. }
  1574. 100% {
  1575. margin-top: -113px;
  1576. }
  1577. }
  1578. .base {
  1579. position: absolute;
  1580. width: 173px;
  1581. z-index: 1;
  1582. top: 119px;
  1583. }
  1584. // .progess-value {
  1585. // transform: rotate(88deg);
  1586. // .rotating {
  1587. // transform: rotateY(50deg);
  1588. // }
  1589. // }
  1590. }
  1591. .progess-item {
  1592. width: 50%;
  1593. padding-left: 15px;
  1594. .progess-unit {
  1595. display: flex;
  1596. flex-direction: row-reverse;
  1597. font-size: 12px;
  1598. font-family: Microsoft YaHei;
  1599. font-weight: 400;
  1600. color: #9b9b9d;
  1601. margin-top: 18px;
  1602. margin-right: 15px;
  1603. }
  1604. .progess-name {
  1605. font-size: 14px;
  1606. font-family: Microsoft YaHei;
  1607. font-weight: 400;
  1608. color: #ffffff;
  1609. margin-top: 30px;
  1610. .progess-bar {
  1611. width: 202px;
  1612. height: 5px;
  1613. background: rgba(142, 176, 255, 0.2);
  1614. margin-top: 10px;
  1615. .progess-content {
  1616. height: 100%;
  1617. max-width: 100%;
  1618. background: linear-gradient(90deg, #001442, #1c99ff);
  1619. }
  1620. .progess-content1 {
  1621. height: 100%;
  1622. max-width: 100%;
  1623. background: linear-gradient(90deg, #561f00, #853000, #f78712);
  1624. }
  1625. }
  1626. .effect {
  1627. margin-top: -21px;
  1628. line-height: 0px;
  1629. .effect-value {
  1630. font-size: 14px;
  1631. font-family: Arial;
  1632. font-weight: 400;
  1633. color: #2b99ff;
  1634. }
  1635. }
  1636. }
  1637. }
  1638. }
  1639. .right-analysis {
  1640. width: 50%;
  1641. height: 100%;
  1642. background-color: rgba(0, 0, 0, 0.3);
  1643. margin-left: 10px;
  1644. .stagger {
  1645. display: flex;
  1646. width: 100%;
  1647. height: 100%;
  1648. background: url("./components/images/stagger.png");
  1649. position: relative;
  1650. top: 0;
  1651. left: 0;
  1652. .sd-svg {
  1653. width: 90%;
  1654. height: 90%;
  1655. display: flex;
  1656. position: absolute;
  1657. left: 85px;
  1658. }
  1659. }
  1660. }
  1661. }
  1662. .statistics {
  1663. width: 98%;
  1664. margin-left: 20px;
  1665. display: flex;
  1666. flex-direction: row;
  1667. align-items: center;
  1668. margin-top: 10px;
  1669. .statistics-left {
  1670. width: 50%;
  1671. height: 100%;
  1672. background-color: rgba(0, 0, 0, 0.3);
  1673. }
  1674. .statistics-right {
  1675. width: 50%;
  1676. height: 100%;
  1677. margin-left: 10px;
  1678. background-color: rgba(0, 0, 0, 0.3);
  1679. }
  1680. }
  1681. </style>