ztfx.vue 82 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976
  1. <template>
  2. <div class="ztfx pdfDom" >
  3. <div class="action-bar">
  4. <div class="query mg-b-16">
  5. <div class="query-items">
  6. <div class="query-item">
  7. <div class="lable">日期:</div>
  8. <div class="search-input">
  9. <el-date-picker
  10. v-model="monthValue"
  11. type="month"
  12. placeholder="选择月份"
  13. popper-class="date-select"
  14. :clearable="false"
  15. :picker-options="pickerOptions"
  16. >
  17. </el-date-picker>
  18. </div>
  19. </div>
  20. <div class="query-item">
  21. <div class="search-input select-btn">
  22. <button class="btn green" @click="onClickSearch">搜索</button>
  23. <!-- <el-select
  24. v-model="value2"
  25. multiple
  26. placeholder="计算"
  27. popper-class="select"
  28. >
  29. <el-option
  30. v-for="item in options"
  31. :key="item.value"
  32. :label="item.label"
  33. :value="item.value"
  34. >
  35. </el-option>
  36. </el-select> -->
  37. </div>
  38. <div class="search-input select-btn">
  39. <button class="btn green" @click="exportPDF">导出</button>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. <el-row :gutter="20" class="table-panel">
  46. <el-col :span="12">
  47. <panel :title="'月度'" :showLine="false">
  48. <div class="table">
  49. <table style="width:100%;" border="0" cellspacing="0">
  50. <thead>
  51. <tr>
  52. <th rowspan="2" class="type1" style="width:6vh;"></th>
  53. <th rowspan="2" class="type1">
  54. 理论发电量
  55. </th>
  56. <th rowspan="2" class="type1">
  57. 实际发电量
  58. </th>
  59. <th rowspan="2" class="type1">
  60. 风能利用率
  61. </th>
  62. <th rowspan="2" class="type1">
  63. 维护损失电量
  64. </th>
  65. <th rowspan="2" class="type1">
  66. 维护损失率
  67. </th>
  68. <th rowspan="2" class="type1">
  69. 故障损失电量
  70. </th>
  71. <th rowspan="2" class="type1">
  72. 故障损失率
  73. </th>
  74. <th rowspan="2" class="type1">
  75. 限电损失电量
  76. </th>
  77. <th rowspan="2" class="type1">
  78. 限电损失率
  79. </th>
  80. <th rowspan="2" class="type1">
  81. 性能损失电量
  82. </th>
  83. <th rowspan="2" class="type1">
  84. 性能损失率
  85. </th>
  86. <th rowspan="2" class="type1">
  87. 受累损失电量
  88. </th>
  89. <th rowspan="2" class="type1">
  90. 受累损失率
  91. </th>
  92. </tr>
  93. </thead>
  94. </table>
  95. <el-scrollbar>
  96. <div style=" ">
  97. <table
  98. style="width:100%;text-align:center;"
  99. border="0"
  100. cellspacing="0"
  101. >
  102. <tbody>
  103. <tr>
  104. <td style="width:5vh;">
  105. 本期
  106. </td>
  107. <td class="td-item">
  108. {{ nowCurrents.yllfdl }}
  109. <template v-if="compares.yllfdl === 2">
  110. <span class="svg-icon svg-icon-green">
  111. <svg-icon svgid="svg-arrow-up-1" />
  112. </span>
  113. </template>
  114. <template v-if="compares.yllfdl === 1">
  115. <span class="svg-icon svg-icon-yellow">
  116. <svg-icon svgid="svg-arrow-dpwn-1" />
  117. </span>
  118. </template>
  119. </td>
  120. <td class="td-item">
  121. {{ nowCurrents.ysjfdl }}
  122. <template v-if="compares.ysjfdl === 2">
  123. <span class="svg-icon svg-icon-green">
  124. <svg-icon svgid="svg-arrow-up-1" />
  125. </span>
  126. </template>
  127. <template v-if="compares.ysjfdl === 1">
  128. <span class="svg-icon svg-icon-yellow">
  129. <svg-icon svgid="svg-arrow-dpwn-1" />
  130. </span>
  131. </template>
  132. </td>
  133. <td class="td-item">
  134. {{ nowCurrents.yfnlyl}}
  135. <template v-if="compares.yfnlyl === 2">
  136. <span class="svg-icon svg-icon-green">
  137. <svg-icon svgid="svg-arrow-up-1" />
  138. </span>
  139. </template>
  140. <template v-if="compares.yfnlyl === 1">
  141. <span class="svg-icon svg-icon-yellow">
  142. <svg-icon svgid="svg-arrow-dpwn-1" />
  143. </span>
  144. </template>
  145. </td>
  146. <td class="td-item">
  147. {{ nowCurrents.ywhssdl }}
  148. <template v-if="compares.ywhssdl === 2">
  149. <span class="svg-icon svg-icon-green">
  150. <svg-icon svgid="svg-arrow-up-1" />
  151. </span>
  152. </template>
  153. <template v-if="compares.ywhssdl === 1">
  154. <span class="svg-icon svg-icon-yellow">
  155. <svg-icon svgid="svg-arrow-dpwn-1" />
  156. </span>
  157. </template>
  158. </td>
  159. <td class="td-item">
  160. {{ nowCurrents.ywhssl }}
  161. <template v-if="compares.ywhssl === 2">
  162. <span class="svg-icon svg-icon-green">
  163. <svg-icon svgid="svg-arrow-up-1" />
  164. </span>
  165. </template>
  166. <template v-if="compares.ywhssl === 1">
  167. <span class="svg-icon svg-icon-yellow">
  168. <svg-icon svgid="svg-arrow-dpwn-1" />
  169. </span>
  170. </template>
  171. </td>
  172. <td class="td-item">
  173. {{ nowCurrents.ygzssdl }}
  174. <template v-if="compares.ygzssdl === 2">
  175. <span class="svg-icon svg-icon-green">
  176. <svg-icon svgid="svg-arrow-up-1" />
  177. </span>
  178. </template>
  179. <template v-if="compares.ygzssdl === 1">
  180. <span class="svg-icon svg-icon-yellow">
  181. <svg-icon svgid="svg-arrow-dpwn-1" />
  182. </span>
  183. </template>
  184. </td>
  185. <td class="td-item">
  186. {{ nowCurrents.ygzssl }}
  187. <template v-if="compares.ygzssl === 2">
  188. <span class="svg-icon svg-icon-green">
  189. <svg-icon svgid="svg-arrow-up-1" />
  190. </span>
  191. </template>
  192. <template v-if="compares.ygzssl === 1">
  193. <span class="svg-icon svg-icon-yellow">
  194. <svg-icon svgid="svg-arrow-dpwn-1" />
  195. </span>
  196. </template>
  197. </td>
  198. <td class="td-item">
  199. {{ nowCurrents.yxdssdl }}
  200. <template v-if="compares.yxdssdl === 2">
  201. <span class="svg-icon svg-icon-green">
  202. <svg-icon svgid="svg-arrow-up-1" />
  203. </span>
  204. </template>
  205. <template v-if="compares.yxdssdl === 1">
  206. <span class="svg-icon svg-icon-yellow">
  207. <svg-icon svgid="svg-arrow-dpwn-1" />
  208. </span>
  209. </template>
  210. </td>
  211. <td class="td-item">
  212. {{ nowCurrents.yxdssl }}
  213. <template v-if="compares.yxdssl === 2">
  214. <span class="svg-icon svg-icon-green">
  215. <svg-icon svgid="svg-arrow-up-1" />
  216. </span>
  217. </template>
  218. <template v-if="compares.yxdssl === 1">
  219. <span class="svg-icon svg-icon-yellow">
  220. <svg-icon svgid="svg-arrow-dpwn-1" />
  221. </span>
  222. </template>
  223. </td>
  224. <td class="td-item">
  225. {{ nowCurrents.yxnssdl }}
  226. <template v-if="compares.yxnssdl === 2">
  227. <span class="svg-icon svg-icon-green">
  228. <svg-icon svgid="svg-arrow-up-1" />
  229. </span>
  230. </template>
  231. <template v-if="compares.yxnssdl === 1">
  232. <span class="svg-icon svg-icon-yellow">
  233. <svg-icon svgid="svg-arrow-dpwn-1" />
  234. </span>
  235. </template>
  236. </td>
  237. <td class="td-item">
  238. {{ nowCurrents.yxnssl}}
  239. <template v-if="compares.yxnssl === 2">
  240. <span class="svg-icon svg-icon-green">
  241. <svg-icon svgid="svg-arrow-up-1" />
  242. </span>
  243. </template>
  244. <template v-if="compares.yxnssl === 1">
  245. <span class="svg-icon svg-icon-yellow">
  246. <svg-icon svgid="svg-arrow-dpwn-1" />
  247. </span>
  248. </template>
  249. </td>
  250. <td class="td-item">
  251. {{ nowCurrents.yslssdl }}
  252. <template v-if="compares.yslssdl === 2">
  253. <span class="svg-icon svg-icon-green">
  254. <svg-icon svgid="svg-arrow-up-1" />
  255. </span>
  256. </template>
  257. <template v-if="compares.yslssdl === 1">
  258. <span class="svg-icon svg-icon-yellow">
  259. <svg-icon svgid="svg-arrow-dpwn-1" />
  260. </span>
  261. </template>
  262. </td>
  263. <td class="td-item">
  264. {{ nowCurrents.yslssl }}
  265. <template v-if="compares.yslssl === 2">
  266. <span class="svg-icon svg-icon-green">
  267. <svg-icon svgid="svg-arrow-up-1" />
  268. </span>
  269. </template>
  270. <template v-if="compares.yslssl === 1">
  271. <span class="svg-icon svg-icon-yellow">
  272. <svg-icon svgid="svg-arrow-dpwn-1" />
  273. </span>
  274. </template>
  275. </td>
  276. </tr>
  277. <tr>
  278. <td style="width:5vh;">
  279. 同期
  280. </td>
  281. <td class="td-item">
  282. {{ sameList.yllfdl }}
  283. </td>
  284. <td class="td-item">
  285. {{ sameList.ysjfdl }}
  286. </td>
  287. <td class="td-item">
  288. {{ sameList.yfnlyl}}
  289. </td>
  290. <td class="td-item">
  291. {{ sameList.ywhssdl }}
  292. </td>
  293. <td class="td-item">
  294. {{ sameList.ywhssl }}
  295. </td>
  296. <td class="td-item">
  297. {{ sameList.ygzssdl }}
  298. </td>
  299. <td class="td-item">
  300. {{ sameList.ygzssl }}
  301. </td>
  302. <td class="td-item">
  303. {{ sameList.yxdssdl }}
  304. </td>
  305. <td class="td-item">
  306. {{ sameList.yxdssl }}
  307. </td>
  308. <td class="td-item">
  309. {{ sameList.yxnssdl }}
  310. </td>
  311. <td class="td-item">
  312. {{ sameList.yxnssl}}
  313. </td>
  314. <td class="td-item">
  315. {{ sameList.yslssdl }}
  316. </td>
  317. <td class="td-item">
  318. {{ sameList.yslssl }}
  319. </td>
  320. </tr>
  321. </tbody>
  322. </table>
  323. </div>
  324. </el-scrollbar>
  325. </div>
  326. </panel>
  327. </el-col>
  328. <el-col :span="12">
  329. <panel :title="'年度'" :showLine="false">
  330. <div class="table">
  331. <table style="width:100%;" border="0" cellspacing="0">
  332. <thead>
  333. <tr>
  334. <th rowspan="2" class="type1">
  335. 理论发电量
  336. </th>
  337. <th rowspan="2" class="type1">
  338. 实际电量
  339. </th>
  340. <th rowspan="2" class="type1">
  341. 风能利用率
  342. </th>
  343. <th rowspan="2" class="type1">
  344. 维护损失电量
  345. </th>
  346. <th rowspan="2" class="type1">
  347. 维护损失率
  348. </th>
  349. <th rowspan="2" class="type1">
  350. 故障损失电量
  351. </th>
  352. <th rowspan="2" class="type1">
  353. 故障损失率
  354. </th>
  355. <th rowspan="2" class="type1">
  356. 限电损失电量
  357. </th>
  358. <th rowspan="2" class="type1">
  359. 限电损失率
  360. </th>
  361. <th rowspan="2" class="type1">
  362. 性能损失电量
  363. </th>
  364. <th rowspan="2" class="type1">
  365. 性能损失率
  366. </th>
  367. <th rowspan="2" class="type1">
  368. 受累损失电量
  369. </th>
  370. <th rowspan="2" class="type1">
  371. 受累损失率
  372. </th>
  373. </tr>
  374. </thead>
  375. </table>
  376. <el-scrollbar>
  377. <div style=" ">
  378. <table
  379. style="width:100%;text-align:center;"
  380. border="0"
  381. cellspacing="0"
  382. >
  383. <tbody>
  384. <tr>
  385. <td class="td-item">
  386. {{ nowCurrents.nllfdl }}
  387. <template v-if="compares.nllfdl === 2">
  388. <span class="svg-icon svg-icon-green">
  389. <svg-icon svgid="svg-arrow-up-1" />
  390. </span>
  391. </template>
  392. <template v-if="compares.nllfdl === 1">
  393. <span class="svg-icon svg-icon-yellow">
  394. <svg-icon svgid="svg-arrow-dpwn-1" />
  395. </span>
  396. </template>
  397. </td>
  398. <td class="td-item">
  399. {{ nowCurrents.nsjfdl }}
  400. <template v-if="compares.nsjfdl === 2">
  401. <span class="svg-icon svg-icon-green">
  402. <svg-icon svgid="svg-arrow-up-1" />
  403. </span>
  404. </template>
  405. <template v-if="compares.nsjfdl === 1">
  406. <span class="svg-icon svg-icon-yellow">
  407. <svg-icon svgid="svg-arrow-dpwn-1" />
  408. </span>
  409. </template>
  410. </td>
  411. <td class="td-item">
  412. {{ nowCurrents.nfnlyl}}
  413. <template v-if="compares.nfnlyl === 2">
  414. <span class="svg-icon svg-icon-green">
  415. <svg-icon svgid="svg-arrow-up-1" />
  416. </span>
  417. </template>
  418. <template v-if="compares.nfnlyl === 1">
  419. <span class="svg-icon svg-icon-yellow">
  420. <svg-icon svgid="svg-arrow-dpwn-1" />
  421. </span>
  422. </template>
  423. </td>
  424. <td class="td-item">
  425. {{ nowCurrents.nwhssdl }}
  426. <template v-if="compares.nwhssdl === 2">
  427. <span class="svg-icon svg-icon-green">
  428. <svg-icon svgid="svg-arrow-up-1" />
  429. </span>
  430. </template>
  431. <template v-if="compares.nwhssdl === 1">
  432. <span class="svg-icon svg-icon-yellow">
  433. <svg-icon svgid="svg-arrow-dpwn-1" />
  434. </span>
  435. </template>
  436. </td>
  437. <td class="td-item">
  438. {{ nowCurrents.nwhssl }}
  439. <template v-if="compares.nwhssl === 2">
  440. <span class="svg-icon svg-icon-green">
  441. <svg-icon svgid="svg-arrow-up-1" />
  442. </span>
  443. </template>
  444. <template v-if="compares.nwhssl === 1">
  445. <span class="svg-icon svg-icon-yellow">
  446. <svg-icon svgid="svg-arrow-dpwn-1" />
  447. </span>
  448. </template>
  449. </td>
  450. <td class="td-item">
  451. {{ nowCurrents.ngzssdl }}
  452. <template v-if="compares.ngzssdl === 2">
  453. <span class="svg-icon svg-icon-green">
  454. <svg-icon svgid="svg-arrow-up-1" />
  455. </span>
  456. </template>
  457. <template v-if="compares.ngzssdl === 1">
  458. <span class="svg-icon svg-icon-yellow">
  459. <svg-icon svgid="svg-arrow-dpwn-1" />
  460. </span>
  461. </template>
  462. </td>
  463. <td class="td-item">
  464. {{ nowCurrents.ngzssl }}
  465. <template v-if="compares.ngzssl === 2">
  466. <span class="svg-icon svg-icon-green">
  467. <svg-icon svgid="svg-arrow-up-1" />
  468. </span>
  469. </template>
  470. <template v-if="compares.ngzssl === 1">
  471. <span class="svg-icon svg-icon-yellow">
  472. <svg-icon svgid="svg-arrow-dpwn-1" />
  473. </span>
  474. </template>
  475. </td>
  476. <td class="td-item">
  477. {{ nowCurrents.nxdssdl }}
  478. <template v-if="compares.nxdssdl === 2">
  479. <span class="svg-icon svg-icon-green">
  480. <svg-icon svgid="svg-arrow-up-1" />
  481. </span>
  482. </template>
  483. <template v-if="compares.nxdssdl === 1">
  484. <span class="svg-icon svg-icon-yellow">
  485. <svg-icon svgid="svg-arrow-dpwn-1" />
  486. </span>
  487. </template>
  488. </td>
  489. <td class="td-item">
  490. {{ nowCurrents.nxdssl }}
  491. <template v-if="compares.nxdssl === 2">
  492. <span class="svg-icon svg-icon-green">
  493. <svg-icon svgid="svg-arrow-up-1" />
  494. </span>
  495. </template>
  496. <template v-if="compares.nxdssl === 1">
  497. <span class="svg-icon svg-icon-yellow">
  498. <svg-icon svgid="svg-arrow-dpwn-1" />
  499. </span>
  500. </template>
  501. </td>
  502. <td class="td-item">
  503. {{ nowCurrents.nxnssdl }}
  504. <template v-if="compares.nxnssdl === 2">
  505. <span class="svg-icon svg-icon-green">
  506. <svg-icon svgid="svg-arrow-up-1" />
  507. </span>
  508. </template>
  509. <template v-if="compares.nxnssdl === 1">
  510. <span class="svg-icon svg-icon-yellow">
  511. <svg-icon svgid="svg-arrow-dpwn-1" />
  512. </span>
  513. </template>
  514. </td>
  515. <td class="td-item">
  516. {{ nowCurrents.nxnssl}}
  517. <template v-if="compares.nxnssl === 2">
  518. <span class="svg-icon svg-icon-green">
  519. <svg-icon svgid="svg-arrow-up-1" />
  520. </span>
  521. </template>
  522. <template v-if="compares.nxnssl === 1">
  523. <span class="svg-icon svg-icon-yellow">
  524. <svg-icon svgid="svg-arrow-dpwn-1" />
  525. </span>
  526. </template>
  527. </td>
  528. <td class="td-item">
  529. {{ nowCurrents.nslssdl }}
  530. <template v-if="compares.nslssdl === 2">
  531. <span class="svg-icon svg-icon-green">
  532. <svg-icon svgid="svg-arrow-up-1" />
  533. </span>
  534. </template>
  535. <template v-if="compares.nslssdl === 1">
  536. <span class="svg-icon svg-icon-yellow">
  537. <svg-icon svgid="svg-arrow-dpwn-1" />
  538. </span>
  539. </template>
  540. </td>
  541. <td class="td-item">
  542. {{ nowCurrents.nslssl }}
  543. <template v-if="compares.nslssl === 2">
  544. <span class="svg-icon svg-icon-green">
  545. <svg-icon svgid="svg-arrow-up-1" />
  546. </span>
  547. </template>
  548. <template v-if="compares.nslssl === 1">
  549. <span class="svg-icon svg-icon-yellow">
  550. <svg-icon svgid="svg-arrow-dpwn-1" />
  551. </span>
  552. </template>
  553. </td>
  554. </tr>
  555. <tr>
  556. <td class="td-item">
  557. {{ sameList.nllfdl }}
  558. </td>
  559. <td class="td-item">
  560. {{ sameList.nsjfdl }}
  561. </td>
  562. <td class="td-item">
  563. {{ sameList.nfnlyl}}
  564. </td>
  565. <td class="td-item">
  566. {{ sameList.nwhssdl }}
  567. </td>
  568. <td class="td-item">
  569. {{ sameList.nwhssl }}
  570. </td>
  571. <td class="td-item">
  572. {{ sameList.ngzssdl }}
  573. </td>
  574. <td class="td-item">
  575. {{ sameList.ngzssl }}
  576. </td>
  577. <td class="td-item">
  578. {{ sameList.nxdssdl }}
  579. </td>
  580. <td class="td-item">
  581. {{ sameList.nxdssl }}
  582. </td>
  583. <td class="td-item">
  584. {{ sameList.nxnssdl }}
  585. </td>
  586. <td class="td-item">
  587. {{ sameList.nxnssl}}
  588. </td>
  589. <td class="td-item">
  590. {{ sameList.nslssdl }}
  591. </td>
  592. <td class="td-item">
  593. {{ sameList.nslssl }}
  594. </td>
  595. </tr>
  596. </tbody>
  597. </table>
  598. </div>
  599. </el-scrollbar>
  600. </div>
  601. </panel>
  602. </el-col>
  603. </el-row>
  604. <el-row :gutter="20" class="table-complex">
  605. <el-col :span="12">
  606. <div class="table">
  607. <table style="width:100%;" border="0" cellspacing="0">
  608. <thead>
  609. <tr>
  610. <th rowspan="2" class="type1" style="width:50px;"></th>
  611. <th colspan="2" class="type1" style="width:205px;">麻黄山</th>
  612. <th colspan="2" class="type1" style="width:205px;">牛首山</th>
  613. <th colspan="2" class="type1" style="width:205px;">青山</th>
  614. <th colspan="2" class="type1" style="width:205px;">石板泉</th>
  615. <th colspan="2" class="type1" style="width:205px;">香山</th>
  616. </tr>
  617. <tr>
  618. <th style="width:105px;">当月</th>
  619. <th style="width:105px;">同期</th>
  620. <th style="width:105px;">当月</th>
  621. <th style="width:105px;">同期</th>
  622. <th style="width:105px;">当月</th>
  623. <th style="width:105px;">同期</th>
  624. <th style="width:105px;">当月</th>
  625. <th style="width:105px;">同期</th>
  626. <th style="width:105px;">当月</th>
  627. <th style="width:105px;">同期</th>
  628. </tr>
  629. </thead>
  630. </table>
  631. <el-scrollbar>
  632. <div style=" ">
  633. <table
  634. style="width:100%;text-align:center;"
  635. border="0"
  636. cellspacing="0"
  637. >
  638. <tbody>
  639. <tr>
  640. <td style="width:50px;">
  641. MTBF
  642. </td>
  643. <td style="width:105px;">
  644. {{ currentMonth['麻黄山'].mtbf }}
  645. <template v-if="currentMonth['麻黄山'].mttrCompare === 1">
  646. <span class="svg-icon svg-icon-yellow">
  647. <svg-icon svgid="svg-arrow-dpwn-1" />
  648. </span>
  649. </template>
  650. <template v-if="currentMonth['麻黄山'].mtbfCompare === 2">
  651. <span class="svg-icon svg-icon-green">
  652. <svg-icon svgid="svg-arrow-up-1" />
  653. </span>
  654. </template>
  655. </td>
  656. <td style="width:105px;">
  657. {{ currentMonth['麻黄山'].tqmtbf }}
  658. </td>
  659. <td style="width:105px;">
  660. {{ currentMonth['牛首山'].mtbf }}
  661. <template v-if="currentMonth['牛首山'].mtbfCompare === 1">
  662. <span class="svg-icon svg-icon-yellow">
  663. <svg-icon svgid="svg-arrow-dpwn-1" />
  664. </span>
  665. </template>
  666. <template v-if="currentMonth['牛首山'].mtbfCompare === 2">
  667. <span class="svg-icon svg-icon-green">
  668. <svg-icon svgid="svg-arrow-up-1" />
  669. </span>
  670. </template>
  671. </td>
  672. <td style="width:105px;">
  673. {{ currentMonth['牛首山'].tqmtbf }}
  674. </td>
  675. <td style="width:105px;">
  676. {{ currentMonth['青山'].mtbf }}
  677. <template v-if="currentMonth['青山'].mtbfCompare === 1">
  678. <span class="svg-icon svg-icon-yellow">
  679. <svg-icon svgid="svg-arrow-dpwn-1" />
  680. </span>
  681. </template>
  682. <template v-if="currentMonth['青山'].mtbfCompare === 2">
  683. <span class="svg-icon svg-icon-green">
  684. <svg-icon svgid="svg-arrow-up-1" />
  685. </span>
  686. </template>
  687. </td>
  688. <td style="width:105px;">
  689. {{ currentMonth['青山'].tqmtbf }}
  690. </td>
  691. <td style="width:105px;">
  692. {{ currentMonth['石板泉'].mtbf }}
  693. <template v-if="currentMonth['石板泉'].mtbfCompare === 1">
  694. <span class="svg-icon svg-icon-yellow">
  695. <svg-icon svgid="svg-arrow-dpwn-1" />
  696. </span>
  697. </template>
  698. <template v-if="currentMonth['石板泉'].mtbfCompare === 2">
  699. <span class="svg-icon svg-icon-green">
  700. <svg-icon svgid="svg-arrow-up-1" />
  701. </span>
  702. </template>
  703. </td>
  704. <td style="width:105px;">
  705. {{ currentMonth['石板泉'].tqmtbf }}
  706. </td>
  707. <td style="width:105px;">
  708. {{ currentMonth['香山'].mtbf }}
  709. <template v-if="currentMonth['香山'].mtbfCompare === 1">
  710. <span class="svg-icon svg-icon-yellow">
  711. <svg-icon svgid="svg-arrow-dpwn-1" />
  712. </span>
  713. </template>
  714. <template v-if="currentMonth['香山'].mtbfCompare === 2">
  715. <span class="svg-icon svg-icon-green">
  716. <svg-icon svgid="svg-arrow-up-1" />
  717. </span>
  718. </template>
  719. </td>
  720. <td style="width:105px;">
  721. {{ currentMonth['香山'].tqmtbf }}
  722. </td>
  723. </tr>
  724. <tr>
  725. <td style="width:50px;">
  726. MTTR
  727. </td>
  728. <td style="width:105px;">
  729. {{ currentMonth['麻黄山'].mttr }}
  730. <template v-if="currentMonth['麻黄山'].mttrCompare === 1">
  731. <span class="svg-icon svg-icon-yellow">
  732. <svg-icon svgid="svg-arrow-dpwn-1" />
  733. </span>
  734. </template>
  735. <template v-if="currentMonth['麻黄山'].mttrCompare === 2">
  736. <span class="svg-icon svg-icon-green">
  737. <svg-icon svgid="svg-arrow-up-1" />
  738. </span>
  739. </template>
  740. </td>
  741. <td style="width:105px;">
  742. {{ currentMonth['麻黄山'].tqmttr }}
  743. </td>
  744. <td style="width:105px;">
  745. {{ currentMonth['牛首山'].mttr }}
  746. <template v-if="currentMonth['牛首山'].mttrCompare === 1">
  747. <span class="svg-icon svg-icon-yellow">
  748. <svg-icon svgid="svg-arrow-dpwn-1" />
  749. </span>
  750. </template>
  751. <template v-if="currentMonth['牛首山'].mttrCompare === 2">
  752. <span class="svg-icon svg-icon-green">
  753. <svg-icon svgid="svg-arrow-up-1" />
  754. </span>
  755. </template>
  756. </td>
  757. <td style="width:105px;">
  758. {{ currentMonth['牛首山'].tqmttr }}
  759. </td>
  760. <td style="width:105px;">
  761. {{ currentMonth['青山'].mttr }}
  762. <template v-if="currentMonth['青山'].mttrCompare === 1">
  763. <span class="svg-icon svg-icon-yellow">
  764. <svg-icon svgid="svg-arrow-dpwn-1" />
  765. </span>
  766. </template>
  767. <template v-if="currentMonth['青山'].mttrCompare === 2">
  768. <span class="svg-icon svg-icon-green">
  769. <svg-icon svgid="svg-arrow-up-1" />
  770. </span>
  771. </template>
  772. </td>
  773. <td style="width:105px;">
  774. {{ currentMonth['青山'].tqmttr }}
  775. </td>
  776. <td style="width:105px;">
  777. {{ currentMonth['石板泉'].mttr }}
  778. <template v-if="currentMonth['石板泉'].mttrCompare === 1">
  779. <span class="svg-icon svg-icon-yellow">
  780. <svg-icon svgid="svg-arrow-dpwn-1" />
  781. </span>
  782. </template>
  783. <template v-if="currentMonth['石板泉'].mttrCompare === 2">
  784. <span class="svg-icon svg-icon-green">
  785. <svg-icon svgid="svg-arrow-up-1" />
  786. </span>
  787. </template>
  788. </td>
  789. <td style="width:105px;">
  790. {{ currentMonth['石板泉'].tqmttr }}
  791. </td>
  792. <td style="width:105px;">
  793. {{ currentMonth['香山'].mttr }}
  794. <template v-if="currentMonth['香山'].mttrCompare === 1">
  795. <span class="svg-icon svg-icon-yellow">
  796. <svg-icon svgid="svg-arrow-dpwn-1" />
  797. </span>
  798. </template>
  799. <template v-if="currentMonth['香山'].mttrCompare === 2">
  800. <span class="svg-icon svg-icon-green">
  801. <svg-icon svgid="svg-arrow-up-1" />
  802. </span>
  803. </template>
  804. </td>
  805. <td style="width:105px;">
  806. {{ currentMonth['香山'].tqmttr }}
  807. </td>
  808. </tr>
  809. <tr>
  810. <td style="width:50px;">
  811. 复位
  812. </td>
  813. <td style="width:105px;">
  814. {{ currentMonth['麻黄山'].fwjsl }}
  815. <template v-if="currentMonth['麻黄山'].fwjslCompare === 1">
  816. <span class="svg-icon svg-icon-yellow">
  817. <svg-icon svgid="svg-arrow-dpwn-1" />
  818. </span>
  819. </template>
  820. <template v-if="currentMonth['麻黄山'].fwjslCompare === 2">
  821. <span class="svg-icon svg-icon-green">
  822. <svg-icon svgid="svg-arrow-up-1" />
  823. </span>
  824. </template>
  825. </td>
  826. <td style="width:105px;">
  827. {{ currentMonth['麻黄山'].tqfwjsl }}
  828. </td>
  829. <td style="width:105px;">
  830. {{ currentMonth['牛首山'].mttr }}
  831. <template v-if="currentMonth['牛首山'].fwjslCompare === 1">
  832. <span class="svg-icon svg-icon-yellow">
  833. <svg-icon svgid="svg-arrow-dpwn-1" />
  834. </span>
  835. </template>
  836. <template v-if="currentMonth['牛首山'].fwjslCompare === 2">
  837. <span class="svg-icon svg-icon-green">
  838. <svg-icon svgid="svg-arrow-up-1" />
  839. </span>
  840. </template>
  841. </td>
  842. <td style="width:105px;">
  843. {{ currentMonth['牛首山'].tqfwjsl }}
  844. </td>
  845. <td style="width:105px;">
  846. {{ currentMonth['青山'].fwjsl }}
  847. <template v-if="currentMonth['青山'].fwjslCompare === 1">
  848. <span class="svg-icon svg-icon-yellow">
  849. <svg-icon svgid="svg-arrow-dpwn-1" />
  850. </span>
  851. </template>
  852. <template v-if="currentMonth['青山'].fwjslCompare === 2">
  853. <span class="svg-icon svg-icon-green">
  854. <svg-icon svgid="svg-arrow-up-1" />
  855. </span>
  856. </template>
  857. </td>
  858. <td style="width:105px;">
  859. {{ currentMonth['青山'].tqfwjsl }}
  860. </td>
  861. <td style="width:105px;">
  862. {{ currentMonth['石板泉'].fwjsl }}
  863. <template v-if="currentMonth['石板泉'].fwjslCompare === 1">
  864. <span class="svg-icon svg-icon-yellow">
  865. <svg-icon svgid="svg-arrow-dpwn-1" />
  866. </span>
  867. </template>
  868. <template v-if="currentMonth['石板泉'].fwjslCompare === 2">
  869. <span class="svg-icon svg-icon-green">
  870. <svg-icon svgid="svg-arrow-up-1" />
  871. </span>
  872. </template>
  873. </td>
  874. <td style="width:105px;">
  875. {{ currentMonth['石板泉'].tqfwjsl }}
  876. </td>
  877. <td style="width:105px;">
  878. {{ currentMonth['香山'].fwjsl }}
  879. <template v-if="currentMonth['香山'].fwjslCompare === 1">
  880. <span class="svg-icon svg-icon-yellow">
  881. <svg-icon svgid="svg-arrow-dpwn-1" />
  882. </span>
  883. </template>
  884. <template v-if="currentMonth['香山'].fwjslCompare === 2">
  885. <span class="svg-icon svg-icon-green">
  886. <svg-icon svgid="svg-arrow-up-1" />
  887. </span>
  888. </template>
  889. </td>
  890. <td style="width:105px;">
  891. {{ currentMonth['香山'].tqfwjsl }}
  892. </td>
  893. </tr>
  894. <tr>
  895. <td style="width:50px;">
  896. 转换
  897. </td>
  898. <td style="width:105px;">
  899. {{ currentMonth['麻黄山'].ztzhl }}
  900. <template v-if="currentMonth['麻黄山'].ztzhlCompare === 1">
  901. <span class="svg-icon svg-icon-yellow">
  902. <svg-icon svgid="svg-arrow-dpwn-1" />
  903. </span>
  904. </template>
  905. <template v-if="currentMonth['麻黄山'].ztzhlCompare === 2">
  906. <span class="svg-icon svg-icon-green">
  907. <svg-icon svgid="svg-arrow-up-1" />
  908. </span>
  909. </template>
  910. </td>
  911. <td style="width:105px;">
  912. {{ currentMonth['麻黄山'].tqztzhl }}
  913. </td>
  914. <td style="width:105px;">
  915. {{ currentMonth['牛首山'].ztzhl }}
  916. <template v-if="currentMonth['牛首山'].ztzhlCompare === 1">
  917. <span class="svg-icon svg-icon-yellow">
  918. <svg-icon svgid="svg-arrow-dpwn-1" />
  919. </span>
  920. </template>
  921. <template v-if="currentMonth['牛首山'].ztzhlCompare === 2">
  922. <span class="svg-icon svg-icon-green">
  923. <svg-icon svgid="svg-arrow-up-1" />
  924. </span>
  925. </template>
  926. </td>
  927. <td style="width:105px;">
  928. {{ currentMonth['牛首山'].tqztzhl }}
  929. </td>
  930. <td style="width:105px;">
  931. {{ currentMonth['青山'].ztzhl }}
  932. <template v-if="currentMonth['青山'].ztzhlCompare === 1">
  933. <span class="svg-icon svg-icon-yellow">
  934. <svg-icon svgid="svg-arrow-dpwn-1" />
  935. </span>
  936. </template>
  937. <template v-if="currentMonth['青山'].ztzhlCompare === 2">
  938. <span class="svg-icon svg-icon-green">
  939. <svg-icon svgid="svg-arrow-up-1" />
  940. </span>
  941. </template>
  942. </td>
  943. <td style="width:105px;">
  944. {{ currentMonth['青山'].tqztzhl }}
  945. </td>
  946. <td style="width:105px;">
  947. {{ currentMonth['石板泉'].ztzhl }}
  948. <template v-if="currentMonth['石板泉'].ztzhlCompare === 1">
  949. <span class="svg-icon svg-icon-yellow">
  950. <svg-icon svgid="svg-arrow-dpwn-1" />
  951. </span>
  952. </template>
  953. <template v-if="currentMonth['石板泉'].ztzhlCompare === 2">
  954. <span class="svg-icon svg-icon-green">
  955. <svg-icon svgid="svg-arrow-up-1" />
  956. </span>
  957. </template>
  958. </td>
  959. <td style="width:105px;">
  960. {{ currentMonth['石板泉'].tqztzhl }}
  961. </td>
  962. <td style="width:105px;">
  963. {{ currentMonth['香山'].ztzhl }}
  964. <template v-if="currentMonth['香山'].ztzhlCompare === 1">
  965. <span class="svg-icon svg-icon-yellow">
  966. <svg-icon svgid="svg-arrow-dpwn-1" />
  967. </span>
  968. </template>
  969. <template v-if="currentMonth['香山'].ztzhlCompare === 2">
  970. <span class="svg-icon svg-icon-green">
  971. <svg-icon svgid="svg-arrow-up-1" />
  972. </span>
  973. </template>
  974. </td>
  975. <td style="width:105px;">
  976. {{ currentMonth['香山'].tqztzhl }}
  977. </td>
  978. </tr>
  979. <tr>
  980. <td style="width:50px;">
  981. 消缺
  982. </td>
  983. <td style="width:105px;">
  984. {{ currentMonth['麻黄山'].xqjsl }}
  985. <template v-if="currentMonth['麻黄山'].xqjslCompare === 1">
  986. <span class="svg-icon svg-icon-yellow">
  987. <svg-icon svgid="svg-arrow-dpwn-1" />
  988. </span>
  989. </template>
  990. <template v-if="currentMonth['麻黄山'].xqjslCompare === 2">
  991. <span class="svg-icon svg-icon-green">
  992. <svg-icon svgid="svg-arrow-up-1" />
  993. </span>
  994. </template>
  995. </td>
  996. <td style="width:105px;">
  997. {{ currentMonth['麻黄山'].tqxqjsl }}
  998. </td>
  999. <td style="width:105px;">
  1000. {{ currentMonth['牛首山'].xqjsl }}
  1001. <template v-if="currentMonth['牛首山'].xqjslCompare === 1">
  1002. <span class="svg-icon svg-icon-yellow">
  1003. <svg-icon svgid="svg-arrow-dpwn-1" />
  1004. </span>
  1005. </template>
  1006. <template v-if="currentMonth['牛首山'].xqjslCompare === 2">
  1007. <span class="svg-icon svg-icon-green">
  1008. <svg-icon svgid="svg-arrow-up-1" />
  1009. </span>
  1010. </template>
  1011. </td>
  1012. <td style="width:105px;">
  1013. {{ currentMonth['牛首山'].tqxqjsl }}
  1014. </td>
  1015. <td style="width:105px;">
  1016. {{ currentMonth['青山'].xqjsl }}
  1017. <template v-if="currentMonth['青山'].xqjslCompare === 1">
  1018. <span class="svg-icon svg-icon-yellow">
  1019. <svg-icon svgid="svg-arrow-dpwn-1" />
  1020. </span>
  1021. </template>
  1022. <template v-if="currentMonth['青山'].xqjslCompare === 2">
  1023. <span class="svg-icon svg-icon-green">
  1024. <svg-icon svgid="svg-arrow-up-1" />
  1025. </span>
  1026. </template>
  1027. </td>
  1028. <td style="width:105px;">
  1029. {{ currentMonth['青山'].tqxqjsl }}
  1030. </td>
  1031. <td style="width:105px;">
  1032. {{ currentMonth['石板泉'].xqjsl }}
  1033. <template v-if="currentMonth['石板泉'].xqjslCompare === 1">
  1034. <span class="svg-icon svg-icon-yellow">
  1035. <svg-icon svgid="svg-arrow-dpwn-1" />
  1036. </span>
  1037. </template>
  1038. <template v-if="currentMonth['石板泉'].xqjslCompare === 2">
  1039. <span class="svg-icon svg-icon-green">
  1040. <svg-icon svgid="svg-arrow-up-1" />
  1041. </span>
  1042. </template>
  1043. </td>
  1044. <td style="width:105px;">
  1045. {{ currentMonth['石板泉'].tqxqjsl }}
  1046. </td>
  1047. <td style="width:105px;">
  1048. {{ currentMonth['香山'].xqjsl }}
  1049. <template v-if="currentMonth['香山'].xqjslCompare === 1">
  1050. <span class="svg-icon svg-icon-yellow">
  1051. <svg-icon svgid="svg-arrow-dpwn-1" />
  1052. </span>
  1053. </template>
  1054. <template v-if="currentMonth['香山'].xqjslCompare === 2">
  1055. <span class="svg-icon svg-icon-green">
  1056. <svg-icon svgid="svg-arrow-up-1" />
  1057. </span>
  1058. </template>
  1059. </td>
  1060. <td style="width:105px;">
  1061. {{ currentMonth['香山'].tqxqjsl }}
  1062. </td>
  1063. </tr>
  1064. </tbody>
  1065. </table>
  1066. </div>
  1067. </el-scrollbar>
  1068. </div>
  1069. </el-col>
  1070. <el-col :span="12">
  1071. <div class="table">
  1072. <table style="width:100%;" border="0" cellspacing="0">
  1073. <thead>
  1074. <tr>
  1075. <th rowspan="2" class="type1" style="width:50px;"></th>
  1076. <th colspan="2" class="type1" style="width:205px;">麻黄山</th>
  1077. <th colspan="2" class="type1" style="width:205px;">牛首山</th>
  1078. <th colspan="2" class="type1" style="width:205px;">青山</th>
  1079. <th colspan="2" class="type1" style="width:205px;">石板泉</th>
  1080. <th colspan="2" class="type1" style="width:205px;">香山</th>
  1081. </tr>
  1082. <tr>
  1083. <th style="width:105px;">当年 </th>
  1084. <th style="width:105px;">同期</th>
  1085. <th style="width:105px;">当年</th>
  1086. <th style="width:105px;">同期</th>
  1087. <th style="width:105px;">当年</th>
  1088. <th style="width:105px;">同期</th>
  1089. <th style="width:105px;">当年</th>
  1090. <th style="width:105px;">同期</th>
  1091. <th style="width:105px;">当年</th>
  1092. <th style="width:105px;">同期</th>
  1093. </tr>
  1094. </thead>
  1095. </table>
  1096. <el-scrollbar>
  1097. <div style=" ">
  1098. <table
  1099. style="width:100%;text-align:center;"
  1100. border="0"
  1101. cellspacing="0"
  1102. >
  1103. <tbody>
  1104. <tr>
  1105. <td style="width:50px;">
  1106. MTBF
  1107. </td>
  1108. <td style="width:105px;">
  1109. {{ currentYear['麻黄山'].mtbf }}
  1110. <template v-if="currentYear['麻黄山'].mttrCompare === 1">
  1111. <span class="svg-icon svg-icon-yellow">
  1112. <svg-icon svgid="svg-arrow-dpwn-1" />
  1113. </span>
  1114. </template>
  1115. <template v-if="currentYear['麻黄山'].mtbfCompare === 2">
  1116. <span class="svg-icon svg-icon-green">
  1117. <svg-icon svgid="svg-arrow-up-1" />
  1118. </span>
  1119. </template>
  1120. </td>
  1121. <td style="width:105px;">
  1122. {{ currentYear['麻黄山'].tqmtbf }}
  1123. </td>
  1124. <td style="width:105px;">
  1125. {{ currentYear['牛首山'].mtbf }}
  1126. <template v-if="currentYear['牛首山'].mtbfCompare === 1">
  1127. <span class="svg-icon svg-icon-yellow">
  1128. <svg-icon svgid="svg-arrow-dpwn-1" />
  1129. </span>
  1130. </template>
  1131. <template v-if="currentYear['牛首山'].mtbfCompare === 2">
  1132. <span class="svg-icon svg-icon-green">
  1133. <svg-icon svgid="svg-arrow-up-1" />
  1134. </span>
  1135. </template>
  1136. </td>
  1137. <td style="width:105px;">
  1138. {{ currentYear['牛首山'].tqmtbf }}
  1139. </td>
  1140. <td style="width:105px;">
  1141. {{ currentYear['青山'].mtbf }}
  1142. <template v-if="currentYear['青山'].mtbfCompare === 1">
  1143. <span class="svg-icon svg-icon-yellow">
  1144. <svg-icon svgid="svg-arrow-dpwn-1" />
  1145. </span>
  1146. </template>
  1147. <template v-if="currentYear['青山'].mtbfCompare === 2">
  1148. <span class="svg-icon svg-icon-green">
  1149. <svg-icon svgid="svg-arrow-up-1" />
  1150. </span>
  1151. </template>
  1152. </td>
  1153. <td style="width:105px;">
  1154. {{ currentYear['青山'].tqmtbf }}
  1155. </td>
  1156. <td style="width:105px;">
  1157. {{ currentYear['石板泉'].mtbf }}
  1158. <template v-if="currentYear['石板泉'].mtbfCompare === 1">
  1159. <span class="svg-icon svg-icon-yellow">
  1160. <svg-icon svgid="svg-arrow-dpwn-1" />
  1161. </span>
  1162. </template>
  1163. <template v-if="currentYear['石板泉'].mtbfCompare === 2">
  1164. <span class="svg-icon svg-icon-green">
  1165. <svg-icon svgid="svg-arrow-up-1" />
  1166. </span>
  1167. </template>
  1168. </td>
  1169. <td style="width:105px;">
  1170. {{ currentYear['石板泉'].tqmtbf }}
  1171. </td>
  1172. <td style="width:105px;">
  1173. {{ currentYear['香山'].mtbf }}
  1174. <template v-if="currentYear['香山'].mtbfCompare === 1">
  1175. <span class="svg-icon svg-icon-yellow">
  1176. <svg-icon svgid="svg-arrow-dpwn-1" />
  1177. </span>
  1178. </template>
  1179. <template v-if="currentYear['香山'].mtbfCompare === 2">
  1180. <span class="svg-icon svg-icon-green">
  1181. <svg-icon svgid="svg-arrow-up-1" />
  1182. </span>
  1183. </template>
  1184. </td>
  1185. <td style="width:105px;">
  1186. {{ currentYear['香山'].tqmtbf }}
  1187. </td>
  1188. </tr>
  1189. <tr>
  1190. <td style="width:50px;">
  1191. MTTR
  1192. </td>
  1193. <td style="width:105px;">
  1194. {{ currentYear['麻黄山'].mttr }}
  1195. <template v-if="currentYear['麻黄山'].mttrCompare === 1">
  1196. <span class="svg-icon svg-icon-yellow">
  1197. <svg-icon svgid="svg-arrow-dpwn-1" />
  1198. </span>
  1199. </template>
  1200. <template v-if="currentYear['麻黄山'].mttrCompare === 2">
  1201. <span class="svg-icon svg-icon-green">
  1202. <svg-icon svgid="svg-arrow-up-1" />
  1203. </span>
  1204. </template>
  1205. </td>
  1206. <td style="width:105px;">
  1207. {{ currentYear['麻黄山'].tqmttr }}
  1208. </td>
  1209. <td style="width:105px;">
  1210. {{ currentYear['牛首山'].mttr }}
  1211. <template v-if="currentYear['牛首山'].mttrCompare === 1">
  1212. <span class="svg-icon svg-icon-yellow">
  1213. <svg-icon svgid="svg-arrow-dpwn-1" />
  1214. </span>
  1215. </template>
  1216. <template v-if="currentYear['牛首山'].mttrCompare === 2">
  1217. <span class="svg-icon svg-icon-green">
  1218. <svg-icon svgid="svg-arrow-up-1" />
  1219. </span>
  1220. </template>
  1221. </td>
  1222. <td style="width:105px;">
  1223. {{ currentYear['牛首山'].tqmttr }}
  1224. </td>
  1225. <td style="width:105px;">
  1226. {{ currentYear['青山'].mttr }}
  1227. <template v-if="currentYear['青山'].mttrCompare === 1">
  1228. <span class="svg-icon svg-icon-yellow">
  1229. <svg-icon svgid="svg-arrow-dpwn-1" />
  1230. </span>
  1231. </template>
  1232. <template v-if="currentYear['青山'].mttrCompare === 2">
  1233. <span class="svg-icon svg-icon-green">
  1234. <svg-icon svgid="svg-arrow-up-1" />
  1235. </span>
  1236. </template>
  1237. </td>
  1238. <td style="width:105px;">
  1239. {{ currentYear['青山'].tqmttr }}
  1240. </td>
  1241. <td style="width:105px;">
  1242. {{ currentYear['石板泉'].mttr }}
  1243. <template v-if="currentYear['石板泉'].mttrCompare === 1">
  1244. <span class="svg-icon svg-icon-yellow">
  1245. <svg-icon svgid="svg-arrow-dpwn-1" />
  1246. </span>
  1247. </template>
  1248. <template v-if="currentYear['石板泉'].mttrCompare === 2">
  1249. <span class="svg-icon svg-icon-green">
  1250. <svg-icon svgid="svg-arrow-up-1" />
  1251. </span>
  1252. </template>
  1253. </td>
  1254. <td style="width:105px;">
  1255. {{ currentYear['石板泉'].tqmttr }}
  1256. </td>
  1257. <td style="width:105px;">
  1258. {{ currentYear['香山'].mttr }}
  1259. <template v-if="currentYear['香山'].mttrCompare === 1">
  1260. <span class="svg-icon svg-icon-yellow">
  1261. <svg-icon svgid="svg-arrow-dpwn-1" />
  1262. </span>
  1263. </template>
  1264. <template v-if="currentYear['香山'].mttrCompare === 2">
  1265. <span class="svg-icon svg-icon-green">
  1266. <svg-icon svgid="svg-arrow-up-1" />
  1267. </span>
  1268. </template>
  1269. </td>
  1270. <td style="width:105px;">
  1271. {{ currentYear['香山'].tqmttr }}
  1272. </td>
  1273. </tr>
  1274. <tr>
  1275. <td style="width:50px;">
  1276. 复位
  1277. </td>
  1278. <td style="width:105px;">
  1279. {{ currentYear['麻黄山'].fwjsl }}
  1280. <template v-if="currentYear['麻黄山'].fwjslCompare === 1">
  1281. <span class="svg-icon svg-icon-yellow">
  1282. <svg-icon svgid="svg-arrow-dpwn-1" />
  1283. </span>
  1284. </template>
  1285. <template v-if="currentYear['麻黄山'].fwjslCompare === 2">
  1286. <span class="svg-icon svg-icon-green">
  1287. <svg-icon svgid="svg-arrow-up-1" />
  1288. </span>
  1289. </template>
  1290. </td>
  1291. <td style="width:105px;">
  1292. {{ currentYear['麻黄山'].tqfwjsl }}
  1293. </td>
  1294. <td style="width:105px;">
  1295. {{ currentYear['牛首山'].mttr }}
  1296. <template v-if="currentYear['牛首山'].fwjslCompare === 1">
  1297. <span class="svg-icon svg-icon-yellow">
  1298. <svg-icon svgid="svg-arrow-dpwn-1" />
  1299. </span>
  1300. </template>
  1301. <template v-if="currentYear['牛首山'].fwjslCompare === 2">
  1302. <span class="svg-icon svg-icon-green">
  1303. <svg-icon svgid="svg-arrow-up-1" />
  1304. </span>
  1305. </template>
  1306. </td>
  1307. <td style="width:105px;">
  1308. {{ currentYear['牛首山'].tqfwjsl }}
  1309. </td>
  1310. <td style="width:105px;">
  1311. {{ currentYear['青山'].fwjsl }}
  1312. <template v-if="currentYear['青山'].fwjslCompare === 1">
  1313. <span class="svg-icon svg-icon-yellow">
  1314. <svg-icon svgid="svg-arrow-dpwn-1" />
  1315. </span>
  1316. </template>
  1317. <template v-if="currentYear['青山'].fwjslCompare === 2">
  1318. <span class="svg-icon svg-icon-green">
  1319. <svg-icon svgid="svg-arrow-up-1" />
  1320. </span>
  1321. </template>
  1322. </td>
  1323. <td style="width:105px;">
  1324. {{ currentYear['青山'].tqfwjsl }}
  1325. </td>
  1326. <td style="width:105px;">
  1327. {{ currentYear['石板泉'].fwjsl }}
  1328. <template v-if="currentYear['石板泉'].fwjslCompare === 1">
  1329. <span class="svg-icon svg-icon-yellow">
  1330. <svg-icon svgid="svg-arrow-dpwn-1" />
  1331. </span>
  1332. </template>
  1333. <template v-if="currentYear['石板泉'].fwjslCompare === 2">
  1334. <span class="svg-icon svg-icon-green">
  1335. <svg-icon svgid="svg-arrow-up-1" />
  1336. </span>
  1337. </template>
  1338. </td>
  1339. <td style="width:105px;">
  1340. {{ currentYear['石板泉'].tqfwjsl }}
  1341. </td>
  1342. <td style="width:105px;">
  1343. {{ currentYear['香山'].fwjsl }}
  1344. <template v-if="currentYear['香山'].fwjslCompare === 1">
  1345. <span class="svg-icon svg-icon-yellow">
  1346. <svg-icon svgid="svg-arrow-dpwn-1" />
  1347. </span>
  1348. </template>
  1349. <template v-if="currentYear['香山'].fwjslCompare === 2">
  1350. <span class="svg-icon svg-icon-green">
  1351. <svg-icon svgid="svg-arrow-up-1" />
  1352. </span>
  1353. </template>
  1354. </td>
  1355. <td style="width:105px;">
  1356. {{ currentYear['香山'].tqfwjsl }}
  1357. </td>
  1358. </tr>
  1359. <tr>
  1360. <td style="width:50px;">
  1361. 转换
  1362. </td>
  1363. <td style="width:105px;">
  1364. {{ currentYear['麻黄山'].ztzhl }}
  1365. <template v-if="currentYear['麻黄山'].ztzhlCompare === 1">
  1366. <span class="svg-icon svg-icon-yellow">
  1367. <svg-icon svgid="svg-arrow-dpwn-1" />
  1368. </span>
  1369. </template>
  1370. <template v-if="currentYear['麻黄山'].ztzhlCompare === 2">
  1371. <span class="svg-icon svg-icon-green">
  1372. <svg-icon svgid="svg-arrow-up-1" />
  1373. </span>
  1374. </template>
  1375. </td>
  1376. <td style="width:105px;">
  1377. {{ currentYear['麻黄山'].tqztzhl }}
  1378. </td>
  1379. <td style="width:105px;">
  1380. {{ currentYear['牛首山'].ztzhl }}
  1381. <template v-if="currentYear['牛首山'].ztzhlCompare === 1">
  1382. <span class="svg-icon svg-icon-yellow">
  1383. <svg-icon svgid="svg-arrow-dpwn-1" />
  1384. </span>
  1385. </template>
  1386. <template v-if="currentYear['牛首山'].ztzhlCompare === 2">
  1387. <span class="svg-icon svg-icon-green">
  1388. <svg-icon svgid="svg-arrow-up-1" />
  1389. </span>
  1390. </template>
  1391. </td>
  1392. <td style="width:105px;">
  1393. {{ currentYear['牛首山'].tqztzhl }}
  1394. </td>
  1395. <td style="width:105px;">
  1396. {{ currentYear['青山'].ztzhl }}
  1397. <template v-if="currentYear['青山'].ztzhlCompare === 1">
  1398. <span class="svg-icon svg-icon-yellow">
  1399. <svg-icon svgid="svg-arrow-dpwn-1" />
  1400. </span>
  1401. </template>
  1402. <template v-if="currentYear['青山'].ztzhlCompare === 2">
  1403. <span class="svg-icon svg-icon-green">
  1404. <svg-icon svgid="svg-arrow-up-1" />
  1405. </span>
  1406. </template>
  1407. </td>
  1408. <td style="width:105px;">
  1409. {{ currentYear['青山'].tqztzhl }}
  1410. </td>
  1411. <td style="width:105px;">
  1412. {{ currentYear['石板泉'].ztzhl }}
  1413. <template v-if="currentYear['石板泉'].ztzhlCompare === 1">
  1414. <span class="svg-icon svg-icon-yellow">
  1415. <svg-icon svgid="svg-arrow-dpwn-1" />
  1416. </span>
  1417. </template>
  1418. <template v-if="currentYear['石板泉'].ztzhlCompare === 2">
  1419. <span class="svg-icon svg-icon-green">
  1420. <svg-icon svgid="svg-arrow-up-1" />
  1421. </span>
  1422. </template>
  1423. </td>
  1424. <td style="width:105px;">
  1425. {{ currentYear['石板泉'].tqztzhl }}
  1426. </td>
  1427. <td style="width:105px;">
  1428. {{ currentYear['香山'].ztzhl }}
  1429. <template v-if="currentYear['香山'].ztzhlCompare === 1">
  1430. <span class="svg-icon svg-icon-yellow">
  1431. <svg-icon svgid="svg-arrow-dpwn-1" />
  1432. </span>
  1433. </template>
  1434. <template v-if="currentYear['香山'].ztzhlCompare === 2">
  1435. <span class="svg-icon svg-icon-green">
  1436. <svg-icon svgid="svg-arrow-up-1" />
  1437. </span>
  1438. </template>
  1439. </td>
  1440. <td style="width:105px;">
  1441. {{ currentYear['香山'].tqztzhl }}
  1442. </td>
  1443. </tr>
  1444. <tr>
  1445. <td style="width:50px;">
  1446. 消缺
  1447. </td>
  1448. <td style="width:105px;">
  1449. {{ currentYear['麻黄山'].xqjsl }}
  1450. <template v-if="currentYear['麻黄山'].xqjslCompare === 1">
  1451. <span class="svg-icon svg-icon-yellow">
  1452. <svg-icon svgid="svg-arrow-dpwn-1" />
  1453. </span>
  1454. </template>
  1455. <template v-if="currentYear['麻黄山'].xqjslCompare === 2">
  1456. <span class="svg-icon svg-icon-green">
  1457. <svg-icon svgid="svg-arrow-up-1" />
  1458. </span>
  1459. </template>
  1460. </td>
  1461. <td style="width:105px;">
  1462. {{ currentYear['麻黄山'].tqxqjsl }}
  1463. </td>
  1464. <td style="width:105px;">
  1465. {{ currentYear['牛首山'].xqjsl }}
  1466. <template v-if="currentYear['牛首山'].xqjslCompare === 1">
  1467. <span class="svg-icon svg-icon-yellow">
  1468. <svg-icon svgid="svg-arrow-dpwn-1" />
  1469. </span>
  1470. </template>
  1471. <template v-if="currentYear['牛首山'].xqjslCompare === 2">
  1472. <span class="svg-icon svg-icon-green">
  1473. <svg-icon svgid="svg-arrow-up-1" />
  1474. </span>
  1475. </template>
  1476. </td>
  1477. <td style="width:105px;">
  1478. {{ currentYear['牛首山'].tqxqjsl }}
  1479. </td>
  1480. <td style="width:105px;">
  1481. {{ currentYear['青山'].xqjsl }}
  1482. <template v-if="currentYear['青山'].xqjslCompare === 1">
  1483. <span class="svg-icon svg-icon-yellow">
  1484. <svg-icon svgid="svg-arrow-dpwn-1" />
  1485. </span>
  1486. </template>
  1487. <template v-if="currentYear['青山'].xqjslCompare === 2">
  1488. <span class="svg-icon svg-icon-green">
  1489. <svg-icon svgid="svg-arrow-up-1" />
  1490. </span>
  1491. </template>
  1492. </td>
  1493. <td style="width:105px;">
  1494. {{ currentYear['青山'].tqxqjsl }}
  1495. </td>
  1496. <td style="width:105px;">
  1497. {{ currentYear['石板泉'].xqjsl }}
  1498. <template v-if="currentYear['石板泉'].xqjslCompare === 1">
  1499. <span class="svg-icon svg-icon-yellow">
  1500. <svg-icon svgid="svg-arrow-dpwn-1" />
  1501. </span>
  1502. </template>
  1503. <template v-if="currentYear['石板泉'].xqjslCompare === 2">
  1504. <span class="svg-icon svg-icon-green">
  1505. <svg-icon svgid="svg-arrow-up-1" />
  1506. </span>
  1507. </template>
  1508. </td>
  1509. <td style="width:105px;">
  1510. {{ currentYear['石板泉'].tqxqjsl }}
  1511. </td>
  1512. <td style="width:105px;">
  1513. {{ currentYear['香山'].xqjsl }}
  1514. <template v-if="currentYear['香山'].xqjslCompare === 1">
  1515. <span class="svg-icon svg-icon-yellow">
  1516. <svg-icon svgid="svg-arrow-dpwn-1" />
  1517. </span>
  1518. </template>
  1519. <template v-if="currentYear['香山'].xqjslCompare === 2">
  1520. <span class="svg-icon svg-icon-green">
  1521. <svg-icon svgid="svg-arrow-up-1" />
  1522. </span>
  1523. </template>
  1524. </td>
  1525. <td style="width:105px;">
  1526. {{ currentYear['香山'].tqxqjsl }}
  1527. </td>
  1528. </tr>
  1529. </tbody>
  1530. </table>
  1531. </div>
  1532. </el-scrollbar></div
  1533. ></el-col>
  1534. </el-row>
  1535. <el-row :gutter="20" class="pie-chart-panel">
  1536. <el-col :span="6">
  1537. <panel title="当月理论平衡分析">
  1538. <dual-pie-chart height="27.296vh" :innerData=innerDataCurentsChart :outerData=innerDataCurentsChart />
  1539. </panel>
  1540. </el-col>
  1541. <el-col :span="6">
  1542. <panel title="同期理论平衡分析">
  1543. <dual-pie-chart height="27.296vh" :innerData=innerDataSameChart :outerData=innerDataSameChart />
  1544. </panel>
  1545. </el-col>
  1546. <el-col :span="6">
  1547. <panel title="当年理论平衡分析">
  1548. <dual-pie-chart height="27.296vh" :innerData=innerDataCurentsYearChart :outerData=innerDataCurentsYearChart />
  1549. </panel>
  1550. </el-col>
  1551. <el-col :span="6">
  1552. <panel title="年同期理论平衡分析">
  1553. <dual-pie-chart height="27.296vh" :innerData=innerDataSameYearChart :outerData=innerDataSameYearChart />
  1554. </panel>
  1555. </el-col>
  1556. </el-row>
  1557. </div>
  1558. </template>
  1559. <script>
  1560. import VertivalBarLineChart from "../../components/chart/combination/vertival-bar-line-chart.vue";
  1561. import Panel from "../../components/coms/panel/panel.vue";
  1562. import DualPieChart from "../../components/chart/pie/dual-pie-chart.vue";
  1563. import SvgIcon from "../../components/coms/icon/svg-icon.vue";
  1564. import Get_PDF from "@tools/htmlToPdf";
  1565. export default {
  1566. setup() {},
  1567. components: {
  1568. Panel,
  1569. DualPieChart,
  1570. SvgIcon,
  1571. VertivalBarLineChart
  1572. },
  1573. data() {
  1574. return {
  1575. pickerOptions: {},
  1576. bardata: { area: [], legend: [], data: [] }, // 损失电量分析echart数值
  1577. lineData: [],
  1578. timmer: null,
  1579. monthValue: this.getmonthValue(),
  1580. nowCurrents: {},
  1581. innerDataCurentsChart: [],
  1582. innerDataSameChart: [],
  1583. innerDataCurentsYearChart: [],
  1584. innerDataSameYearChart: [],
  1585. currentMonth: {
  1586. '麻黄山': {},
  1587. '牛首山': {},
  1588. '石板泉': {},
  1589. '香山': {},
  1590. '青山':{}
  1591. },
  1592. currentYear: {
  1593. '麻黄山': {},
  1594. '牛首山': {},
  1595. '石板泉': {},
  1596. '香山': {},
  1597. '青山':{}
  1598. },
  1599. compares: {},
  1600. sameList: {}
  1601. };
  1602. },
  1603. created() {
  1604. let _this = this
  1605. _this.$nextTick(() => {
  1606. _this.getMonthList(false);
  1607. _this.getSecordList(false)
  1608. _this.timmer = setInterval(() => {
  1609. _this.getMonthList(false)
  1610. _this.getSecordList(false)
  1611. }, _this.$store.state.websocketTimeSec);
  1612. });
  1613. },
  1614. unmounted() {
  1615. clearInterval(this.timmer);
  1616. this.timmer = null;
  1617. },
  1618. mounted() {},
  1619. methods: {
  1620. exportPDF (name) {
  1621. this.BASE.showMsg({
  1622. type: "success",
  1623. msg: "正在导出...请稍后..."
  1624. });
  1625. Get_PDF.downloadPDF(document.querySelector('.pdfDom'), "测试123");
  1626. },
  1627. getmonthValue(){
  1628. let data = new Date()
  1629. let year = data.getFullYear();
  1630. let month = data.getMonth() > 9 ? data.getMonth() : '0' + (data.getMonth() + 1)
  1631. let toMonth = year + '-' + month
  1632. return toMonth
  1633. },
  1634. monthChange(data){
  1635. let year = data.getFullYear();
  1636. let month = data.getMonth() > 9 ? data.getMonth() : '0' + (data.getMonth() + 1)
  1637. let toMonth = year + '-' + month
  1638. return toMonth
  1639. },
  1640. onClickSearch() {
  1641. this.getMonthList(false)
  1642. this.getSecordList(false)
  1643. },
  1644. isNumber(val) {
  1645. return typeof val === 'number' && !isNaN(val)
  1646. },
  1647. getSecordList(showLoading) {
  1648. let _this = this
  1649. let months = ''
  1650. if (typeof(this.monthValue) === 'string') {
  1651. months = this.monthValue
  1652. } else {
  1653. months = this.monthChange(this.monthValue)
  1654. }
  1655. _this.API.requestData({
  1656. showLoading,
  1657. method: "GET",
  1658. baseURL: 'http://10.155.32.4:8034',
  1659. subUrl: "/specific/maincenterlist",
  1660. data:{
  1661. month: months
  1662. },
  1663. success(res) {
  1664. console.log('resSecord:',res)
  1665. let currentMonth = {}
  1666. let currentYear = {}
  1667. res.data['当月'].map(item => {
  1668. for (let key in item) {
  1669. if(_this.isNumber(item[key]) && key.indexOf('Compare') === -1) {
  1670. item[key] = item[key].toFixed(2)
  1671. }
  1672. }
  1673. if (item.wpid === '麻黄山风电场') {
  1674. currentMonth['麻黄山'] = item
  1675. } else if (item.wpid === '牛首山风电场') {
  1676. currentMonth['牛首山'] = item
  1677. } else if (item.wpid === '青山风电场') {
  1678. currentMonth['青山'] = item
  1679. } else if (item.wpid === '石板泉风电场') {
  1680. currentMonth['石板泉'] = item
  1681. } else if (item.wpid === '香山风电场') {
  1682. currentMonth['香山'] = item
  1683. }
  1684. })
  1685. res.data['当年'].map(item => {
  1686. for (let key in item) {
  1687. if(_this.isNumber(item[key]) && key.indexOf('Compare') === -1) {
  1688. item[key] = item[key].toFixed(2)
  1689. }
  1690. }
  1691. if (item.wpid === '麻黄山风电场') {
  1692. currentYear['麻黄山'] = item
  1693. } else if (item.wpid === '牛首山风电场') {
  1694. currentYear['牛首山'] = item
  1695. } else if (item.wpid === '青山风电场') {
  1696. currentYear['青山'] = item
  1697. } else if (item.wpid === '石板泉风电场') {
  1698. currentYear['石板泉'] = item
  1699. } else if (item.wpid === '香山风电场') {
  1700. currentYear['香山'] = item
  1701. }
  1702. })
  1703. _this.currentMonth = currentMonth
  1704. _this.currentYear = currentYear
  1705. }
  1706. })
  1707. },
  1708. getMonthList(showLoading) {
  1709. let _this = this
  1710. let months = ''
  1711. if (typeof(this.monthValue) === 'string') {
  1712. months = this.monthValue
  1713. } else {
  1714. months = this.monthChange(this.monthValue)
  1715. }
  1716. _this.API.requestData({
  1717. showLoading,
  1718. method: "GET",
  1719. baseURL: 'http://10.155.32.4:8034',
  1720. subUrl: "/specific/maintoplist",
  1721. data:{
  1722. month: months
  1723. },
  1724. success(res) {
  1725. console.log('resMonth:',res)
  1726. res.data.map(item => {
  1727. for (let key in item) {
  1728. if(_this.isNumber(item[key]) && item.type !== '比较') {
  1729. item[key] = item[key].toFixed(2)
  1730. }
  1731. }
  1732. if (item.type === '本期') {
  1733. _this.nowCurrents = item
  1734. _this.innerDataCurentsChart = [
  1735. {
  1736. value: item.ywhssl,
  1737. name: '维护损失率'
  1738. },
  1739. {
  1740. value: item.ygzssl,
  1741. name: '故障损失率'
  1742. },
  1743. {
  1744. value: item.yxdssl,
  1745. name: '限电损失率'
  1746. },
  1747. {
  1748. value: item.yxnssl,
  1749. name: '性能损失率'
  1750. },
  1751. {
  1752. value: item.yslssl,
  1753. name: '受累损失率'
  1754. },
  1755. {
  1756. value: item.yfnlyl,
  1757. name: '风能利用率'
  1758. }
  1759. ]
  1760. _this.innerDataCurentsYearChart = [
  1761. {
  1762. value: item.nwhssl,
  1763. name: '维护损失率'
  1764. },
  1765. {
  1766. value: item.ngzssl,
  1767. name: '故障损失率'
  1768. },
  1769. {
  1770. value: item.nxdssl,
  1771. name: '限电损失率'
  1772. },
  1773. {
  1774. value: item.nxnssl,
  1775. name: '性能损失率'
  1776. },
  1777. {
  1778. value: item.nslssl,
  1779. name: '受累损失率'
  1780. },
  1781. {
  1782. value: item.nfnlyl,
  1783. name: '风能利用率'
  1784. }
  1785. ]
  1786. } else if (item.type === '比较') {
  1787. _this.compares = item
  1788. } else {
  1789. _this.sameList = item
  1790. _this.innerDataSameChart = [
  1791. {
  1792. value: item.ywhssl,
  1793. name: '维护损失率'
  1794. },
  1795. {
  1796. value: item.ygzssl,
  1797. name: '故障损失率'
  1798. },
  1799. {
  1800. value: item.yxdssl,
  1801. name: '限电损失率'
  1802. },
  1803. {
  1804. value: item.yxnssl,
  1805. name: '性能损失率'
  1806. },
  1807. {
  1808. value: item.yslssl,
  1809. name: '受累损失率'
  1810. },
  1811. {
  1812. value: item.yfnlyl,
  1813. name: '风能利用率'
  1814. }
  1815. ]
  1816. _this.innerDataSameYearChart = [
  1817. {
  1818. value: item.nwhssl,
  1819. name: '维护损失率'
  1820. },
  1821. {
  1822. value: item.ngzssl,
  1823. name: '故障损失率'
  1824. },
  1825. {
  1826. value: item.nxdssl,
  1827. name: '限电损失率'
  1828. },
  1829. {
  1830. value: item.nxnssl,
  1831. name: '性能损失率'
  1832. },
  1833. {
  1834. value: item.nslssl,
  1835. name: '受累损失率'
  1836. },
  1837. {
  1838. value: item.nfnlyl,
  1839. name: '风能利用率'
  1840. }
  1841. ]
  1842. }
  1843. })
  1844. }
  1845. })
  1846. }
  1847. }
  1848. };
  1849. </script>
  1850. <style lang="less">
  1851. .ztfx {
  1852. font-size: 12px;
  1853. .select-btn {
  1854. width: 92px;
  1855. }
  1856. .com-panel {
  1857. border: 1px solid #6067697d;
  1858. }
  1859. .table-complex {
  1860. margin-top: 10px;
  1861. .table {
  1862. border: 1px solid #6067697d;
  1863. tbody {
  1864. tr:nth-child(2n) td {
  1865. background-color: fade(@gray, 20%);
  1866. &.item {
  1867. background-color: transparent;
  1868. }
  1869. }
  1870. }
  1871. th {
  1872. background: fade(@gray, 40);
  1873. font-size: 12px;
  1874. font-weight: 400;
  1875. line-height: 24px;
  1876. color: @gray-l;
  1877. &.type1 {
  1878. border-left: 0;
  1879. border-right: 0;
  1880. }
  1881. }
  1882. td {
  1883. color: @gray-l;
  1884. text-align: center;
  1885. height: 26px;
  1886. line-height: 26px;
  1887. &.item {
  1888. width: 100px;
  1889. }
  1890. }
  1891. svg {
  1892. height: 1.222vh;
  1893. }
  1894. }
  1895. }
  1896. .table-panel {
  1897. margin-top: 10px;
  1898. .panel-header {
  1899. text-align: center;
  1900. }
  1901. .table {
  1902. border: 1px solid #6067697d;
  1903. tbody {
  1904. tr:nth-child(2n) td {
  1905. background-color: fade(@gray, 20%);
  1906. &.item {
  1907. background-color: transparent;
  1908. }
  1909. }
  1910. }
  1911. .td-item {
  1912. width: 6vh;
  1913. }
  1914. th {
  1915. background: fade(@gray, 40);
  1916. font-size: 12px;
  1917. font-weight: 400;
  1918. line-height: 24px;
  1919. color: @gray-l;
  1920. &.type1 {
  1921. border-left: 0;
  1922. border-right: 0;
  1923. height: 4vh;
  1924. }
  1925. }
  1926. td {
  1927. color: @gray-l;
  1928. text-align: center;
  1929. height: 26px;
  1930. line-height: 26px;
  1931. &.item {
  1932. width: 100px;
  1933. }
  1934. }
  1935. svg {
  1936. height: 1.222vh;
  1937. }
  1938. }
  1939. }
  1940. .pie-chart-panel {
  1941. margin-top: 10px;
  1942. .line{
  1943. border:none;
  1944. }
  1945. }
  1946. }
  1947. </style>