1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233 |
- <template>
- <div class="ztfx">
- <div class="action-bar">
- <div class="query mg-b-16">
- <div class="query-items">
- <div class="query-item">
- <div class="lable">日期:</div>
- <div class="search-input">
- <el-date-picker
- v-model="monthValue"
- type="month"
- placeholder="选择月份"
- popper-class="date-select"
- :clearable="false"
- :picker-options="pickerOptions"
- >
- </el-date-picker>
- </div>
- </div>
- <div class="query-item">
- <div class="search-input select-btn">
- <button class="btn green" @click="onClickSearch">搜索</button>
- <!-- <el-select
- v-model="value2"
- multiple
- placeholder="计算"
- popper-class="select"
- >
- <el-option
- v-for="item in options"
- :key="item.value"
- :label="item.label"
- :value="item.value"
- >
- </el-option>
- </el-select> -->
- </div>
- <div class="search-input select-btn">
- <button class="btn green" @click="exportPDF">导出</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="pdfDom">
- <el-row :gutter="20" class="table-panel">
- <el-col :span="12">
- <panel :title="'月度'" :showLine="false">
- <div class="table">
- <table style="width: 100%" border="0" cellspacing="0">
- <thead>
- <tr>
- <th rowspan="2" class="type1" style="width: 6vh"></th>
- <th rowspan="2" class="type1">理论发电量</th>
- <th rowspan="2" class="type1">实际发电量</th>
- <th rowspan="2" class="type1">风能利用率</th>
- <th rowspan="2" class="type1">维护损失电量</th>
- <th rowspan="2" class="type1">维护损失率</th>
- <th rowspan="2" class="type1">故障损失电量</th>
- <th rowspan="2" class="type1">故障损失率</th>
- <th rowspan="2" class="type1">限电损失电量</th>
- <th rowspan="2" class="type1">限电损失率</th>
- <th rowspan="2" class="type1">性能损失电量</th>
- <th rowspan="2" class="type1">性能损失率</th>
- <th rowspan="2" class="type1">受累损失电量</th>
- <th rowspan="2" class="type1">受累损失率</th>
- </tr>
- </thead>
- </table>
- <el-scrollbar>
- <div style="">
- <table
- style="width: 100%; text-align: center"
- border="0"
- cellspacing="0"
- >
- <tbody>
- <tr>
- <td style="width: 5vh">本期</td>
- <td class="td-item">
- {{ nowCurrents.yllfdl }}
- <template v-if="compares.yllfdl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.yllfdl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.ysjfdl }}
- <template v-if="compares.ysjfdl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.ysjfdl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.yfnlyl }}
- <template v-if="compares.yfnlyl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.yfnlyl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.ywhssdl }}
- <template v-if="compares.ywhssdl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.ywhssdl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.ywhssl }}
- <template v-if="compares.ywhssl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.ywhssl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.ygzssdl }}
- <template v-if="compares.ygzssdl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.ygzssdl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.ygzssl }}
- <template v-if="compares.ygzssl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.ygzssl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.yxdssdl }}
- <template v-if="compares.yxdssdl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.yxdssdl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.yxdssl }}
- <template v-if="compares.yxdssl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.yxdssl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.yxnssdl }}
- <template v-if="compares.yxnssdl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.yxnssdl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.yxnssl }}
- <template v-if="compares.yxnssl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.yxnssl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.yslssdl }}
- <template v-if="compares.yslssdl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.yslssdl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.yslssl }}
- <template v-if="compares.yslssl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.yslssl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- </tr>
- <tr>
- <td style="width: 5vh">同期</td>
- <td class="td-item">
- {{ sameList.yllfdl }}
- </td>
- <td class="td-item">
- {{ sameList.ysjfdl }}
- </td>
- <td class="td-item">
- {{ sameList.yfnlyl }}
- </td>
- <td class="td-item">
- {{ sameList.ywhssdl }}
- </td>
- <td class="td-item">
- {{ sameList.ywhssl }}
- </td>
- <td class="td-item">
- {{ sameList.ygzssdl }}
- </td>
- <td class="td-item">
- {{ sameList.ygzssl }}
- </td>
- <td class="td-item">
- {{ sameList.yxdssdl }}
- </td>
- <td class="td-item">
- {{ sameList.yxdssl }}
- </td>
- <td class="td-item">
- {{ sameList.yxnssdl }}
- </td>
- <td class="td-item">
- {{ sameList.yxnssl }}
- </td>
- <td class="td-item">
- {{ sameList.yslssdl }}
- </td>
- <td class="td-item">
- {{ sameList.yslssl }}
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </el-scrollbar>
- </div>
- </panel>
- </el-col>
- <el-col :span="12">
- <panel :title="'年度'" :showLine="false">
- <div class="table">
- <table style="width: 100%" border="0" cellspacing="0">
- <thead>
- <tr>
- <th rowspan="2" class="type1">理论发电量</th>
- <th rowspan="2" class="type1">实际电量</th>
- <th rowspan="2" class="type1">风能利用率</th>
- <th rowspan="2" class="type1">维护损失电量</th>
- <th rowspan="2" class="type1">维护损失率</th>
- <th rowspan="2" class="type1">故障损失电量</th>
- <th rowspan="2" class="type1">故障损失率</th>
- <th rowspan="2" class="type1">限电损失电量</th>
- <th rowspan="2" class="type1">限电损失率</th>
- <th rowspan="2" class="type1">性能损失电量</th>
- <th rowspan="2" class="type1">性能损失率</th>
- <th rowspan="2" class="type1">受累损失电量</th>
- <th rowspan="2" class="type1">受累损失率</th>
- </tr>
- </thead>
- </table>
- <el-scrollbar>
- <div style="">
- <table
- style="width: 100%; text-align: center"
- border="0"
- cellspacing="0"
- >
- <tbody>
- <tr>
- <td class="td-item">
- {{ nowCurrents.nllfdl }}
- <template v-if="compares.nllfdl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.nllfdl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.nsjfdl }}
- <template v-if="compares.nsjfdl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.nsjfdl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.nfnlyl }}
- <template v-if="compares.nfnlyl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.nfnlyl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.nwhssdl }}
- <template v-if="compares.nwhssdl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.nwhssdl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.nwhssl }}
- <template v-if="compares.nwhssl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.nwhssl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.ngzssdl }}
- <template v-if="compares.ngzssdl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.ngzssdl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.ngzssl }}
- <template v-if="compares.ngzssl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.ngzssl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.nxdssdl }}
- <template v-if="compares.nxdssdl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.nxdssdl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.nxdssl }}
- <template v-if="compares.nxdssl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.nxdssl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.nxnssdl }}
- <template v-if="compares.nxnssdl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.nxnssdl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.nxnssl }}
- <template v-if="compares.nxnssl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.nxnssl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.nslssdl }}
- <template v-if="compares.nslssdl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.nslssdl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- <td class="td-item">
- {{ nowCurrents.nslssl }}
- <template v-if="compares.nslssl === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- <template v-if="compares.nslssl === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- </td>
- </tr>
- <tr>
- <td class="td-item">
- {{ sameList.nllfdl }}
- </td>
- <td class="td-item">
- {{ sameList.nsjfdl }}
- </td>
- <td class="td-item">
- {{ sameList.nfnlyl }}
- </td>
- <td class="td-item">
- {{ sameList.nwhssdl }}
- </td>
- <td class="td-item">
- {{ sameList.nwhssl }}
- </td>
- <td class="td-item">
- {{ sameList.ngzssdl }}
- </td>
- <td class="td-item">
- {{ sameList.ngzssl }}
- </td>
- <td class="td-item">
- {{ sameList.nxdssdl }}
- </td>
- <td class="td-item">
- {{ sameList.nxdssl }}
- </td>
- <td class="td-item">
- {{ sameList.nxnssdl }}
- </td>
- <td class="td-item">
- {{ sameList.nxnssl }}
- </td>
- <td class="td-item">
- {{ sameList.nslssdl }}
- </td>
- <td class="td-item">
- {{ sameList.nslssl }}
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </el-scrollbar>
- </div>
- </panel>
- </el-col>
- </el-row>
- <el-row :gutter="20" class="table-complex">
- <el-col :span="12">
- <div class="table">
- <table style="width: 100%" border="0" cellspacing="0">
- <thead>
- <tr>
- <th rowspan="2" class="type1" style="width: 50px"></th>
- <th colspan="2" class="type1" style="width: 205px">麻黄山</th>
- <th colspan="2" class="type1" style="width: 205px">牛首山</th>
- <th colspan="2" class="type1" style="width: 205px">青山</th>
- <th colspan="2" class="type1" style="width: 205px">石板泉</th>
- <th colspan="2" class="type1" style="width: 205px">香山</th>
- </tr>
- <tr>
- <th style="width: 105px">当月</th>
- <th style="width: 105px">同期</th>
- <th style="width: 105px">当月</th>
- <th style="width: 105px">同期</th>
- <th style="width: 105px">当月</th>
- <th style="width: 105px">同期</th>
- <th style="width: 105px">当月</th>
- <th style="width: 105px">同期</th>
- <th style="width: 105px">当月</th>
- <th style="width: 105px">同期</th>
- </tr>
- </thead>
- </table>
- <el-scrollbar>
- <div style="">
- <table
- style="width: 100%; text-align: center"
- border="0"
- cellspacing="0"
- >
- <tbody>
- <tr>
- <td style="width: 50px">MTBF</td>
- <td style="width: 105px">
- {{ currentMonth["麻黄山"].mtbf }}
- <template
- v-if="currentMonth['麻黄山'].mttrCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['麻黄山'].mtbfCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["麻黄山"].tqmtbf }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["牛首山"].mtbf }}
- <template
- v-if="currentMonth['牛首山'].mtbfCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['牛首山'].mtbfCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["牛首山"].tqmtbf }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["青山"].mtbf }}
- <template v-if="currentMonth['青山'].mtbfCompare === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template v-if="currentMonth['青山'].mtbfCompare === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["青山"].tqmtbf }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["石板泉"].mtbf }}
- <template
- v-if="currentMonth['石板泉'].mtbfCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['石板泉'].mtbfCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["石板泉"].tqmtbf }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["香山"].mtbf }}
- <template v-if="currentMonth['香山'].mtbfCompare === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template v-if="currentMonth['香山'].mtbfCompare === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["香山"].tqmtbf }}
- </td>
- </tr>
- <tr>
- <td style="width: 50px">MTTR</td>
- <td style="width: 105px">
- {{ currentMonth["麻黄山"].mttr }}
- <template
- v-if="currentMonth['麻黄山'].mttrCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['麻黄山'].mttrCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["麻黄山"].tqmttr }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["牛首山"].mttr }}
- <template
- v-if="currentMonth['牛首山'].mttrCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['牛首山'].mttrCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["牛首山"].tqmttr }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["青山"].mttr }}
- <template v-if="currentMonth['青山'].mttrCompare === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template v-if="currentMonth['青山'].mttrCompare === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["青山"].tqmttr }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["石板泉"].mttr }}
- <template
- v-if="currentMonth['石板泉'].mttrCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['石板泉'].mttrCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["石板泉"].tqmttr }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["香山"].mttr }}
- <template v-if="currentMonth['香山'].mttrCompare === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template v-if="currentMonth['香山'].mttrCompare === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["香山"].tqmttr }}
- </td>
- </tr>
- <tr>
- <td style="width: 50px">复位</td>
- <td style="width: 105px">
- {{ currentMonth["麻黄山"].fwjsl }}
- <template
- v-if="currentMonth['麻黄山'].fwjslCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['麻黄山'].fwjslCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["麻黄山"].tqfwjsl }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["牛首山"].mttr }}
- <template
- v-if="currentMonth['牛首山'].fwjslCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['牛首山'].fwjslCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["牛首山"].tqfwjsl }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["青山"].fwjsl }}
- <template
- v-if="currentMonth['青山'].fwjslCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['青山'].fwjslCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["青山"].tqfwjsl }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["石板泉"].fwjsl }}
- <template
- v-if="currentMonth['石板泉'].fwjslCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['石板泉'].fwjslCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["石板泉"].tqfwjsl }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["香山"].fwjsl }}
- <template
- v-if="currentMonth['香山'].fwjslCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['香山'].fwjslCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["香山"].tqfwjsl }}
- </td>
- </tr>
- <tr>
- <td style="width: 50px">转换</td>
- <td style="width: 105px">
- {{ currentMonth["麻黄山"].ztzhl }}
- <template
- v-if="currentMonth['麻黄山'].ztzhlCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['麻黄山'].ztzhlCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["麻黄山"].tqztzhl }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["牛首山"].ztzhl }}
- <template
- v-if="currentMonth['牛首山'].ztzhlCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['牛首山'].ztzhlCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["牛首山"].tqztzhl }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["青山"].ztzhl }}
- <template
- v-if="currentMonth['青山'].ztzhlCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['青山'].ztzhlCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["青山"].tqztzhl }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["石板泉"].ztzhl }}
- <template
- v-if="currentMonth['石板泉'].ztzhlCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['石板泉'].ztzhlCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["石板泉"].tqztzhl }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["香山"].ztzhl }}
- <template
- v-if="currentMonth['香山'].ztzhlCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['香山'].ztzhlCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["香山"].tqztzhl }}
- </td>
- </tr>
- <tr>
- <td style="width: 50px">消缺</td>
- <td style="width: 105px">
- {{ currentMonth["麻黄山"].xqjsl }}
- <template
- v-if="currentMonth['麻黄山'].xqjslCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['麻黄山'].xqjslCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["麻黄山"].tqxqjsl }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["牛首山"].xqjsl }}
- <template
- v-if="currentMonth['牛首山'].xqjslCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['牛首山'].xqjslCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["牛首山"].tqxqjsl }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["青山"].xqjsl }}
- <template
- v-if="currentMonth['青山'].xqjslCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['青山'].xqjslCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["青山"].tqxqjsl }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["石板泉"].xqjsl }}
- <template
- v-if="currentMonth['石板泉'].xqjslCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['石板泉'].xqjslCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["石板泉"].tqxqjsl }}
- </td>
- <td style="width: 105px">
- {{ currentMonth["香山"].xqjsl }}
- <template
- v-if="currentMonth['香山'].xqjslCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentMonth['香山'].xqjslCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentMonth["香山"].tqxqjsl }}
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </el-scrollbar>
- </div>
- </el-col>
- <el-col :span="12">
- <div class="table">
- <table style="width: 100%" border="0" cellspacing="0">
- <thead>
- <tr>
- <th rowspan="2" class="type1" style="width: 50px"></th>
- <th colspan="2" class="type1" style="width: 205px">麻黄山</th>
- <th colspan="2" class="type1" style="width: 205px">牛首山</th>
- <th colspan="2" class="type1" style="width: 205px">青山</th>
- <th colspan="2" class="type1" style="width: 205px">石板泉</th>
- <th colspan="2" class="type1" style="width: 205px">香山</th>
- </tr>
- <tr>
- <th style="width: 105px">当年</th>
- <th style="width: 105px">同期</th>
- <th style="width: 105px">当年</th>
- <th style="width: 105px">同期</th>
- <th style="width: 105px">当年</th>
- <th style="width: 105px">同期</th>
- <th style="width: 105px">当年</th>
- <th style="width: 105px">同期</th>
- <th style="width: 105px">当年</th>
- <th style="width: 105px">同期</th>
- </tr>
- </thead>
- </table>
- <el-scrollbar>
- <div style="">
- <table
- style="width: 100%; text-align: center"
- border="0"
- cellspacing="0"
- >
- <tbody>
- <tr>
- <td style="width: 50px">MTBF</td>
- <td style="width: 105px">
- {{ currentYear["麻黄山"].mtbf }}
- <template
- v-if="currentYear['麻黄山'].mttrCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentYear['麻黄山'].mtbfCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["麻黄山"].tqmtbf }}
- </td>
- <td style="width: 105px">
- {{ currentYear["牛首山"].mtbf }}
- <template
- v-if="currentYear['牛首山'].mtbfCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentYear['牛首山'].mtbfCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["牛首山"].tqmtbf }}
- </td>
- <td style="width: 105px">
- {{ currentYear["青山"].mtbf }}
- <template v-if="currentYear['青山'].mtbfCompare === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template v-if="currentYear['青山'].mtbfCompare === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["青山"].tqmtbf }}
- </td>
- <td style="width: 105px">
- {{ currentYear["石板泉"].mtbf }}
- <template
- v-if="currentYear['石板泉'].mtbfCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentYear['石板泉'].mtbfCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["石板泉"].tqmtbf }}
- </td>
- <td style="width: 105px">
- {{ currentYear["香山"].mtbf }}
- <template v-if="currentYear['香山'].mtbfCompare === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template v-if="currentYear['香山'].mtbfCompare === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["香山"].tqmtbf }}
- </td>
- </tr>
- <tr>
- <td style="width: 50px">MTTR</td>
- <td style="width: 105px">
- {{ currentYear["麻黄山"].mttr }}
- <template
- v-if="currentYear['麻黄山'].mttrCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentYear['麻黄山'].mttrCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["麻黄山"].tqmttr }}
- </td>
- <td style="width: 105px">
- {{ currentYear["牛首山"].mttr }}
- <template
- v-if="currentYear['牛首山'].mttrCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentYear['牛首山'].mttrCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["牛首山"].tqmttr }}
- </td>
- <td style="width: 105px">
- {{ currentYear["青山"].mttr }}
- <template v-if="currentYear['青山'].mttrCompare === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template v-if="currentYear['青山'].mttrCompare === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["青山"].tqmttr }}
- </td>
- <td style="width: 105px">
- {{ currentYear["石板泉"].mttr }}
- <template
- v-if="currentYear['石板泉'].mttrCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentYear['石板泉'].mttrCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["石板泉"].tqmttr }}
- </td>
- <td style="width: 105px">
- {{ currentYear["香山"].mttr }}
- <template v-if="currentYear['香山'].mttrCompare === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template v-if="currentYear['香山'].mttrCompare === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["香山"].tqmttr }}
- </td>
- </tr>
- <tr>
- <td style="width: 50px">复位</td>
- <td style="width: 105px">
- {{ currentYear["麻黄山"].fwjsl }}
- <template
- v-if="currentYear['麻黄山'].fwjslCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentYear['麻黄山'].fwjslCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["麻黄山"].tqfwjsl }}
- </td>
- <td style="width: 105px">
- {{ currentYear["牛首山"].mttr }}
- <template
- v-if="currentYear['牛首山'].fwjslCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentYear['牛首山'].fwjslCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["牛首山"].tqfwjsl }}
- </td>
- <td style="width: 105px">
- {{ currentYear["青山"].fwjsl }}
- <template v-if="currentYear['青山'].fwjslCompare === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template v-if="currentYear['青山'].fwjslCompare === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["青山"].tqfwjsl }}
- </td>
- <td style="width: 105px">
- {{ currentYear["石板泉"].fwjsl }}
- <template
- v-if="currentYear['石板泉'].fwjslCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentYear['石板泉'].fwjslCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["石板泉"].tqfwjsl }}
- </td>
- <td style="width: 105px">
- {{ currentYear["香山"].fwjsl }}
- <template v-if="currentYear['香山'].fwjslCompare === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template v-if="currentYear['香山'].fwjslCompare === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["香山"].tqfwjsl }}
- </td>
- </tr>
- <tr>
- <td style="width: 50px">转换</td>
- <td style="width: 105px">
- {{ currentYear["麻黄山"].ztzhl }}
- <template
- v-if="currentYear['麻黄山'].ztzhlCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentYear['麻黄山'].ztzhlCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["麻黄山"].tqztzhl }}
- </td>
- <td style="width: 105px">
- {{ currentYear["牛首山"].ztzhl }}
- <template
- v-if="currentYear['牛首山'].ztzhlCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentYear['牛首山'].ztzhlCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["牛首山"].tqztzhl }}
- </td>
- <td style="width: 105px">
- {{ currentYear["青山"].ztzhl }}
- <template v-if="currentYear['青山'].ztzhlCompare === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template v-if="currentYear['青山'].ztzhlCompare === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["青山"].tqztzhl }}
- </td>
- <td style="width: 105px">
- {{ currentYear["石板泉"].ztzhl }}
- <template
- v-if="currentYear['石板泉'].ztzhlCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentYear['石板泉'].ztzhlCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["石板泉"].tqztzhl }}
- </td>
- <td style="width: 105px">
- {{ currentYear["香山"].ztzhl }}
- <template v-if="currentYear['香山'].ztzhlCompare === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template v-if="currentYear['香山'].ztzhlCompare === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["香山"].tqztzhl }}
- </td>
- </tr>
- <tr>
- <td style="width: 50px">消缺</td>
- <td style="width: 105px">
- {{ currentYear["麻黄山"].xqjsl }}
- <template
- v-if="currentYear['麻黄山'].xqjslCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentYear['麻黄山'].xqjslCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["麻黄山"].tqxqjsl }}
- </td>
- <td style="width: 105px">
- {{ currentYear["牛首山"].xqjsl }}
- <template
- v-if="currentYear['牛首山'].xqjslCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentYear['牛首山'].xqjslCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["牛首山"].tqxqjsl }}
- </td>
- <td style="width: 105px">
- {{ currentYear["青山"].xqjsl }}
- <template v-if="currentYear['青山'].xqjslCompare === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template v-if="currentYear['青山'].xqjslCompare === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["青山"].tqxqjsl }}
- </td>
- <td style="width: 105px">
- {{ currentYear["石板泉"].xqjsl }}
- <template
- v-if="currentYear['石板泉'].xqjslCompare === 1"
- >
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template
- v-if="currentYear['石板泉'].xqjslCompare === 2"
- >
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["石板泉"].tqxqjsl }}
- </td>
- <td style="width: 105px">
- {{ currentYear["香山"].xqjsl }}
- <template v-if="currentYear['香山'].xqjslCompare === 1">
- <span class="svg-icon svg-icon-yellow">
- <svg-icon svgid="svg-arrow-dpwn-1" />
- </span>
- </template>
- <template v-if="currentYear['香山'].xqjslCompare === 2">
- <span class="svg-icon svg-icon-green">
- <svg-icon svgid="svg-arrow-up-1" />
- </span>
- </template>
- </td>
- <td style="width: 105px">
- {{ currentYear["香山"].tqxqjsl }}
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </el-scrollbar>
- </div></el-col
- >
- </el-row>
- <el-row :gutter="20" class="pie-chart-panel">
- <el-col :span="6">
- <panel title="当月理论平衡分析">
- <dual-pie-chart
- height="27.296vh"
- :innerData="innerDataCurentsChart"
- :outerData="innerDataCurentsChart"
- />
- </panel>
- </el-col>
- <el-col :span="6">
- <panel title="同期理论平衡分析">
- <dual-pie-chart
- height="27.296vh"
- :innerData="innerDataSameChart"
- :outerData="innerDataSameChart"
- />
- </panel>
- </el-col>
- <el-col :span="6">
- <panel title="当年理论平衡分析">
- <dual-pie-chart
- height="27.296vh"
- :innerData="innerDataCurentsYearChart"
- :outerData="innerDataCurentsYearChart"
- />
- </panel>
- </el-col>
- <el-col :span="6">
- <panel title="年同期理论平衡分析">
- <dual-pie-chart
- height="27.296vh"
- :innerData="innerDataSameYearChart"
- :outerData="innerDataSameYearChart"
- />
- </panel>
- </el-col>
- </el-row>
- </div>
- </div>
- </template>
- <script>
- import VertivalBarLineChart from "../../components/chart/combination/vertival-bar-line-chart.vue";
- import Panel from "../../components/coms/panel/panel.vue";
- import DualPieChart from "../../components/chart/pie/dual-pie-chart.vue";
- import SvgIcon from "../../components/coms/icon/svg-icon.vue";
- import Get_PDF from "@tools/htmlToPdf";
- import api from "@api/economic/index.js";
- export default {
- setup() {},
- components: {
- Panel,
- DualPieChart,
- SvgIcon,
- VertivalBarLineChart,
- },
- data() {
- return {
- pickerOptions: {},
- bardata: { area: [], legend: [], data: [] }, // 损失电量分析echart数值
- lineData: [],
- timmer: null,
- monthValue: this.getmonthValue(),
- nowCurrents: {},
- innerDataCurentsChart: [],
- innerDataSameChart: [],
- innerDataCurentsYearChart: [],
- innerDataSameYearChart: [],
- currentMonth: {
- 麻黄山: {},
- 牛首山: {},
- 石板泉: {},
- 香山: {},
- 青山: {},
- },
- currentYear: {
- 麻黄山: {},
- 牛首山: {},
- 石板泉: {},
- 香山: {},
- 青山: {},
- },
- compares: {},
- sameList: {},
- };
- },
- created() {
- let _this = this;
- _this.$nextTick(() => {
- _this.getMonthList(false);
- _this.getSecordList(false);
- // _this.timmer = setInterval(() => {
- // _this.getMonthList(false);
- // _this.getSecordList(false);
- // }, _this.$store.state.websocketTimeSec);
- });
- },
- unmounted() {
- clearInterval(this.timmer);
- this.timmer = null;
- },
- mounted() {},
- methods: {
- exportPDF(name) {
- this.BASE.showMsg({
- type: "success",
- msg: "正在导出...请稍后...",
- });
- Get_PDF.downloadPDF(document.querySelector(".pdfDom"), "综合分析导出");
- },
- getmonthValue() {
- let data = new Date();
- let year = data.getFullYear();
- let month =
- data.getMonth() > 9 ? data.getMonth() : "0" + (data.getMonth() + 1);
- let toMonth = year + "-" + month;
- return toMonth;
- },
- monthChange(data) {
- let year = data.getFullYear();
- let month =
- data.getMonth() > 9 ? data.getMonth() : "0" + (data.getMonth() + 1);
- let toMonth = year + "-" + month;
- return toMonth;
- },
- onClickSearch() {
- this.getMonthList(false);
- this.getSecordList(false);
- },
- isNumber(val) {
- return typeof val === "number" && !isNaN(val);
- },
- getSecordList(showLoading) {
- let _this = this;
- let months = "";
- if (typeof this.monthValue === "string") {
- months = this.monthValue;
- } else {
- months = this.monthChange(this.monthValue);
- }
- api.specificMaincenterlist({
- month: months,
- }).then((res) => {
- let currentMonth = {};
- let currentYear = {};
- res.data["当月"].map((item) => {
- for (let key in item) {
- if (this.isNumber(item[key]) && key.indexOf("Compare") === -1) {
- item[key] = item[key].toFixed(2);
- }
- }
- if (item.wpid === "麻黄山风电场") {
- currentMonth["麻黄山"] = item;
- } else if (item.wpid === "牛首山风电场") {
- currentMonth["牛首山"] = item;
- } else if (item.wpid === "青山风电场") {
- currentMonth["青山"] = item;
- } else if (item.wpid === "石板泉风电场") {
- currentMonth["石板泉"] = item;
- } else if (item.wpid === "香山风电场") {
- currentMonth["香山"] = item;
- }
- });
- res.data["当年"].map((item) => {
- for (let key in item) {
- if (this.isNumber(item[key]) && key.indexOf("Compare") === -1) {
- item[key] = item[key].toFixed(2);
- }
- }
- if (item.wpid === "麻黄山风电场") {
- currentYear["麻黄山"] = item;
- } else if (item.wpid === "牛首山风电场") {
- currentYear["牛首山"] = item;
- } else if (item.wpid === "青山风电场") {
- currentYear["青山"] = item;
- } else if (item.wpid === "石板泉风电场") {
- currentYear["石板泉"] = item;
- } else if (item.wpid === "香山风电场") {
- currentYear["香山"] = item;
- }
- });
- this.currentMonth = currentMonth;
- this.currentYear = currentYear;
- });
- // _this.API.requestData({
- // showLoading,
- // method: "GET",
- // baseURL: "http://10.155.32.4:8034",
- // subUrl: "/specific/maincenterlist",
- // data: {
- // month: months,
- // },
- // success(res) {
- // let currentMonth = {};
- // let currentYear = {};
- // res.data["当月"].map((item) => {
- // for (let key in item) {
- // if (_this.isNumber(item[key]) && key.indexOf("Compare") === -1) {
- // item[key] = item[key].toFixed(2);
- // }
- // }
- // if (item.wpid === "麻黄山风电场") {
- // currentMonth["麻黄山"] = item;
- // } else if (item.wpid === "牛首山风电场") {
- // currentMonth["牛首山"] = item;
- // } else if (item.wpid === "青山风电场") {
- // currentMonth["青山"] = item;
- // } else if (item.wpid === "石板泉风电场") {
- // currentMonth["石板泉"] = item;
- // } else if (item.wpid === "香山风电场") {
- // currentMonth["香山"] = item;
- // }
- // });
- // res.data["当年"].map((item) => {
- // for (let key in item) {
- // if (_this.isNumber(item[key]) && key.indexOf("Compare") === -1) {
- // item[key] = item[key].toFixed(2);
- // }
- // }
- // if (item.wpid === "麻黄山风电场") {
- // currentYear["麻黄山"] = item;
- // } else if (item.wpid === "牛首山风电场") {
- // currentYear["牛首山"] = item;
- // } else if (item.wpid === "青山风电场") {
- // currentYear["青山"] = item;
- // } else if (item.wpid === "石板泉风电场") {
- // currentYear["石板泉"] = item;
- // } else if (item.wpid === "香山风电场") {
- // currentYear["香山"] = item;
- // }
- // });
- // _this.currentMonth = currentMonth;
- // _this.currentYear = currentYear;
- // },
- // });
- },
- getMonthList(showLoading) {
- let _this = this;
- let months = "";
- if (typeof this.monthValue === "string") {
- months = this.monthValue;
- } else {
- months = this.monthChange(this.monthValue);
- }
- api.specificMaintoplist({
- month: months,
- }).then((res) => {
- res.data.map((item) => {
- for (let key in item) {
- if (this.isNumber(item[key]) && item.type !== "比较") {
- item[key] = item[key].toFixed(2);
- }
- }
- if (item.type === "本期") {
- this.nowCurrents = item;
- this.innerDataCurentsChart = [
- {
- value: item.ywhssl,
- name: "维护损失率",
- },
- {
- value: item.ygzssl,
- name: "故障损失率",
- },
- {
- value: item.yxdssl,
- name: "限电损失率",
- },
- {
- value: item.yxnssl,
- name: "性能损失率",
- },
- {
- value: item.yslssl,
- name: "受累损失率",
- },
- {
- value: item.yfnlyl,
- name: "风能利用率",
- },
- ];
- this.innerDataCurentsYearChart = [
- {
- value: item.nwhssl,
- name: "维护损失率",
- },
- {
- value: item.ngzssl,
- name: "故障损失率",
- },
- {
- value: item.nxdssl,
- name: "限电损失率",
- },
- {
- value: item.nxnssl,
- name: "性能损失率",
- },
- {
- value: item.nslssl,
- name: "受累损失率",
- },
- {
- value: item.nfnlyl,
- name: "风能利用率",
- },
- ];
- } else if (item.type === "比较") {
- this.compares = item;
- } else {
- this.sameList = item;
- this.innerDataSameChart = [
- {
- value: item.ywhssl,
- name: "维护损失率",
- },
- {
- value: item.ygzssl,
- name: "故障损失率",
- },
- {
- value: item.yxdssl,
- name: "限电损失率",
- },
- {
- value: item.yxnssl,
- name: "性能损失率",
- },
- {
- value: item.yslssl,
- name: "受累损失率",
- },
- {
- value: item.yfnlyl,
- name: "风能利用率",
- },
- ];
- this.innerDataSameYearChart = [
- {
- value: item.nwhssl,
- name: "维护损失率",
- },
- {
- value: item.ngzssl,
- name: "故障损失率",
- },
- {
- value: item.nxdssl,
- name: "限电损失率",
- },
- {
- value: item.nxnssl,
- name: "性能损失率",
- },
- {
- value: item.nslssl,
- name: "受累损失率",
- },
- {
- value: item.nfnlyl,
- name: "风能利用率",
- },
- ];
- }
- });
- });
- // _this.API.requestData({
- // showLoading,
- // method: "GET",
- // baseURL: "http://10.155.32.4:8034",
- // subUrl: "/specific/maintoplist",
- // data: {
- // month: months,
- // },
- // success(res) {
- // res.data.map((item) => {
- // for (let key in item) {
- // if (_this.isNumber(item[key]) && item.type !== "比较") {
- // item[key] = item[key].toFixed(2);
- // }
- // }
- // if (item.type === "本期") {
- // _this.nowCurrents = item;
- // _this.innerDataCurentsChart = [
- // {
- // value: item.ywhssl,
- // name: "维护损失率",
- // },
- // {
- // value: item.ygzssl,
- // name: "故障损失率",
- // },
- // {
- // value: item.yxdssl,
- // name: "限电损失率",
- // },
- // {
- // value: item.yxnssl,
- // name: "性能损失率",
- // },
- // {
- // value: item.yslssl,
- // name: "受累损失率",
- // },
- // {
- // value: item.yfnlyl,
- // name: "风能利用率",
- // },
- // ];
- // _this.innerDataCurentsYearChart = [
- // {
- // value: item.nwhssl,
- // name: "维护损失率",
- // },
- // {
- // value: item.ngzssl,
- // name: "故障损失率",
- // },
- // {
- // value: item.nxdssl,
- // name: "限电损失率",
- // },
- // {
- // value: item.nxnssl,
- // name: "性能损失率",
- // },
- // {
- // value: item.nslssl,
- // name: "受累损失率",
- // },
- // {
- // value: item.nfnlyl,
- // name: "风能利用率",
- // },
- // ];
- // } else if (item.type === "比较") {
- // _this.compares = item;
- // } else {
- // _this.sameList = item;
- // _this.innerDataSameChart = [
- // {
- // value: item.ywhssl,
- // name: "维护损失率",
- // },
- // {
- // value: item.ygzssl,
- // name: "故障损失率",
- // },
- // {
- // value: item.yxdssl,
- // name: "限电损失率",
- // },
- // {
- // value: item.yxnssl,
- // name: "性能损失率",
- // },
- // {
- // value: item.yslssl,
- // name: "受累损失率",
- // },
- // {
- // value: item.yfnlyl,
- // name: "风能利用率",
- // },
- // ];
- // _this.innerDataSameYearChart = [
- // {
- // value: item.nwhssl,
- // name: "维护损失率",
- // },
- // {
- // value: item.ngzssl,
- // name: "故障损失率",
- // },
- // {
- // value: item.nxdssl,
- // name: "限电损失率",
- // },
- // {
- // value: item.nxnssl,
- // name: "性能损失率",
- // },
- // {
- // value: item.nslssl,
- // name: "受累损失率",
- // },
- // {
- // value: item.nfnlyl,
- // name: "风能利用率",
- // },
- // ];
- // }
- // });
- // },
- // });
- },
- },
- };
- </script>
- <style lang="less">
- .ztfx {
- font-size: 12px;
- .select-btn {
- width: 92px;
- }
- .com-panel {
- border: 1px solid #6067697d;
- }
- .table-complex {
- margin-top: 10px;
- .table {
- border: 1px solid #6067697d;
- tbody {
- tr:nth-child(2n) td {
- background-color: fade(@gray, 20%);
- &.item {
- background-color: transparent;
- }
- }
- }
- th {
- background: fade(@gray, 40);
- font-size: 12px;
- font-weight: 400;
- line-height: 24px;
- color: @gray-l;
- &.type1 {
- border-left: 0;
- border-right: 0;
- }
- }
- td {
- color: @gray-l;
- text-align: center;
- height: 26px;
- line-height: 26px;
- &.item {
- width: 100px;
- }
- }
- svg {
- height: 1.222vh;
- }
- }
- }
- .table-panel {
- margin-top: 10px;
- .panel-header {
- text-align: center;
- }
- .table {
- border: 1px solid #6067697d;
- tbody {
- tr:nth-child(2n) td {
- background-color: fade(@gray, 20%);
- &.item {
- background-color: transparent;
- }
- }
- }
- .td-item {
- width: 6vh;
- }
- th {
- background: fade(@gray, 40);
- font-size: 12px;
- font-weight: 400;
- line-height: 24px;
- color: @gray-l;
- &.type1 {
- border-left: 0;
- border-right: 0;
- height: 4vh;
- }
- }
- td {
- color: @gray-l;
- text-align: center;
- height: 26px;
- line-height: 26px;
- &.item {
- width: 100px;
- }
- }
- svg {
- height: 1.222vh;
- }
- }
- }
- .pie-chart-panel {
- margin-top: 10px;
- .line {
- border: none;
- }
- }
- }
- </style>
|