ztfx.vue 82 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974
  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" width="500px" :innerData=innerDataCurentsChart :outerData=innerDataCurentsChart />
  1539. </panel>
  1540. </el-col>
  1541. <el-col :span="6">
  1542. <panel title="同期理论平衡分析">
  1543. <dual-pie-chart height="27.296vh" width="500px" :innerData=innerDataSameChart :outerData=innerDataSameChart />
  1544. </panel>
  1545. </el-col>
  1546. <el-col :span="6">
  1547. <panel title="当年理论平衡分析">
  1548. <dual-pie-chart height="27.296vh" width="500px" :innerData=innerDataCurentsYearChart :outerData=innerDataCurentsYearChart />
  1549. </panel>
  1550. </el-col>
  1551. <el-col :span="6">
  1552. <panel title="年同期理论平衡分析">
  1553. <dual-pie-chart height="27.296vh" width="500px" :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. let currentMonth = {}
  1665. let currentYear = {}
  1666. res.data['当月'].map(item => {
  1667. for (let key in item) {
  1668. if(_this.isNumber(item[key]) && key.indexOf('Compare') === -1) {
  1669. item[key] = item[key].toFixed(2)
  1670. }
  1671. }
  1672. if (item.wpid === '麻黄山风电场') {
  1673. currentMonth['麻黄山'] = item
  1674. } else if (item.wpid === '牛首山风电场') {
  1675. currentMonth['牛首山'] = item
  1676. } else if (item.wpid === '青山风电场') {
  1677. currentMonth['青山'] = item
  1678. } else if (item.wpid === '石板泉风电场') {
  1679. currentMonth['石板泉'] = item
  1680. } else if (item.wpid === '香山风电场') {
  1681. currentMonth['香山'] = item
  1682. }
  1683. })
  1684. res.data['当年'].map(item => {
  1685. for (let key in item) {
  1686. if(_this.isNumber(item[key]) && key.indexOf('Compare') === -1) {
  1687. item[key] = item[key].toFixed(2)
  1688. }
  1689. }
  1690. if (item.wpid === '麻黄山风电场') {
  1691. currentYear['麻黄山'] = item
  1692. } else if (item.wpid === '牛首山风电场') {
  1693. currentYear['牛首山'] = item
  1694. } else if (item.wpid === '青山风电场') {
  1695. currentYear['青山'] = item
  1696. } else if (item.wpid === '石板泉风电场') {
  1697. currentYear['石板泉'] = item
  1698. } else if (item.wpid === '香山风电场') {
  1699. currentYear['香山'] = item
  1700. }
  1701. })
  1702. _this.currentMonth = currentMonth
  1703. _this.currentYear = currentYear
  1704. }
  1705. })
  1706. },
  1707. getMonthList(showLoading) {
  1708. let _this = this
  1709. let months = ''
  1710. if (typeof(this.monthValue) === 'string') {
  1711. months = this.monthValue
  1712. } else {
  1713. months = this.monthChange(this.monthValue)
  1714. }
  1715. _this.API.requestData({
  1716. showLoading,
  1717. method: "GET",
  1718. baseURL: 'http://10.155.32.4:8034',
  1719. subUrl: "/specific/maintoplist",
  1720. data:{
  1721. month: months
  1722. },
  1723. success(res) {
  1724. res.data.map(item => {
  1725. for (let key in item) {
  1726. if(_this.isNumber(item[key]) && item.type !== '比较') {
  1727. item[key] = item[key].toFixed(2)
  1728. }
  1729. }
  1730. if (item.type === '本期') {
  1731. _this.nowCurrents = item
  1732. _this.innerDataCurentsChart = [
  1733. {
  1734. value: item.ywhssl,
  1735. name: '维护损失率'
  1736. },
  1737. {
  1738. value: item.ygzssl,
  1739. name: '故障损失率'
  1740. },
  1741. {
  1742. value: item.yxdssl,
  1743. name: '限电损失率'
  1744. },
  1745. {
  1746. value: item.yxnssl,
  1747. name: '性能损失率'
  1748. },
  1749. {
  1750. value: item.yslssl,
  1751. name: '受累损失率'
  1752. },
  1753. {
  1754. value: item.yfnlyl,
  1755. name: '风能利用率'
  1756. }
  1757. ]
  1758. _this.innerDataCurentsYearChart = [
  1759. {
  1760. value: item.nwhssl,
  1761. name: '维护损失率'
  1762. },
  1763. {
  1764. value: item.ngzssl,
  1765. name: '故障损失率'
  1766. },
  1767. {
  1768. value: item.nxdssl,
  1769. name: '限电损失率'
  1770. },
  1771. {
  1772. value: item.nxnssl,
  1773. name: '性能损失率'
  1774. },
  1775. {
  1776. value: item.nslssl,
  1777. name: '受累损失率'
  1778. },
  1779. {
  1780. value: item.nfnlyl,
  1781. name: '风能利用率'
  1782. }
  1783. ]
  1784. } else if (item.type === '比较') {
  1785. _this.compares = item
  1786. } else {
  1787. _this.sameList = item
  1788. _this.innerDataSameChart = [
  1789. {
  1790. value: item.ywhssl,
  1791. name: '维护损失率'
  1792. },
  1793. {
  1794. value: item.ygzssl,
  1795. name: '故障损失率'
  1796. },
  1797. {
  1798. value: item.yxdssl,
  1799. name: '限电损失率'
  1800. },
  1801. {
  1802. value: item.yxnssl,
  1803. name: '性能损失率'
  1804. },
  1805. {
  1806. value: item.yslssl,
  1807. name: '受累损失率'
  1808. },
  1809. {
  1810. value: item.yfnlyl,
  1811. name: '风能利用率'
  1812. }
  1813. ]
  1814. _this.innerDataSameYearChart = [
  1815. {
  1816. value: item.nwhssl,
  1817. name: '维护损失率'
  1818. },
  1819. {
  1820. value: item.ngzssl,
  1821. name: '故障损失率'
  1822. },
  1823. {
  1824. value: item.nxdssl,
  1825. name: '限电损失率'
  1826. },
  1827. {
  1828. value: item.nxnssl,
  1829. name: '性能损失率'
  1830. },
  1831. {
  1832. value: item.nslssl,
  1833. name: '受累损失率'
  1834. },
  1835. {
  1836. value: item.nfnlyl,
  1837. name: '风能利用率'
  1838. }
  1839. ]
  1840. }
  1841. })
  1842. }
  1843. })
  1844. }
  1845. }
  1846. };
  1847. </script>
  1848. <style lang="less">
  1849. .ztfx {
  1850. font-size: 12px;
  1851. .select-btn {
  1852. width: 92px;
  1853. }
  1854. .com-panel {
  1855. border: 1px solid #6067697d;
  1856. }
  1857. .table-complex {
  1858. margin-top: 10px;
  1859. .table {
  1860. border: 1px solid #6067697d;
  1861. tbody {
  1862. tr:nth-child(2n) td {
  1863. background-color: fade(@gray, 20%);
  1864. &.item {
  1865. background-color: transparent;
  1866. }
  1867. }
  1868. }
  1869. th {
  1870. background: fade(@gray, 40);
  1871. font-size: 12px;
  1872. font-weight: 400;
  1873. line-height: 24px;
  1874. color: @gray-l;
  1875. &.type1 {
  1876. border-left: 0;
  1877. border-right: 0;
  1878. }
  1879. }
  1880. td {
  1881. color: @gray-l;
  1882. text-align: center;
  1883. height: 26px;
  1884. line-height: 26px;
  1885. &.item {
  1886. width: 100px;
  1887. }
  1888. }
  1889. svg {
  1890. height: 1.222vh;
  1891. }
  1892. }
  1893. }
  1894. .table-panel {
  1895. margin-top: 10px;
  1896. .panel-header {
  1897. text-align: center;
  1898. }
  1899. .table {
  1900. border: 1px solid #6067697d;
  1901. tbody {
  1902. tr:nth-child(2n) td {
  1903. background-color: fade(@gray, 20%);
  1904. &.item {
  1905. background-color: transparent;
  1906. }
  1907. }
  1908. }
  1909. .td-item {
  1910. width: 6vh;
  1911. }
  1912. th {
  1913. background: fade(@gray, 40);
  1914. font-size: 12px;
  1915. font-weight: 400;
  1916. line-height: 24px;
  1917. color: @gray-l;
  1918. &.type1 {
  1919. border-left: 0;
  1920. border-right: 0;
  1921. height: 4vh;
  1922. }
  1923. }
  1924. td {
  1925. color: @gray-l;
  1926. text-align: center;
  1927. height: 26px;
  1928. line-height: 26px;
  1929. &.item {
  1930. width: 100px;
  1931. }
  1932. }
  1933. svg {
  1934. height: 1.222vh;
  1935. }
  1936. }
  1937. }
  1938. .pie-chart-panel {
  1939. margin-top: 10px;
  1940. .line{
  1941. border:none;
  1942. }
  1943. }
  1944. }
  1945. </style>