Index.vue 124 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126
  1. <template>
  2. <view class="content">
  3. <view class="top">
  4. <view class="threeLine" @tap="openDrawer">
  5. <image src="../../static/picture/fourLine.png" style="width: 30px;height: 30px;margin-top: 18px;margin-left: 10px;"></image>
  6. </view>
  7. <view class="text">
  8. <view class="notice">
  9. <view class="icon cuIcon-notice text-white" v-if="badge != 0">
  10. <view class="cu-tag looknumber" style="margin-top: 10px;">
  11. <block v-if="badge != 1">{{ badge > 99 ? '99+' : badge }}</block>
  12. </view>
  13. </view>
  14. </view>
  15. <view class="textWindpowerstation">{{address}}</view>
  16. </view>
  17. <view class="plus" @tap="showModal" data-target="viewModal">+</view>
  18. </view>
  19. <!-- 抽屉组件 -->
  20. <div>
  21. <drawer ref="drawer"></drawer>
  22. </div>
  23. <div class="plusDrawer" @tap="hideModal">
  24. <plusDrawer ref="plusDrawer"></plusDrawer>
  25. </div>
  26. <scroll-view scroll-y class="DrawerPage" :class="modalName=='viewModal'?'show':''">
  27. <!--时间组件-->
  28. <view class="time">
  29. <view class="timeimageshizhong">
  30. <image src="../../static/picture/dafeng.png" style="width: 20px;height: 20px;margin-left: 10px;"></image>
  31. </view>
  32. <view class="timeText">推荐时间:2020年4月15日 19:31</view>
  33. <view class="timeIcon">
  34. <image src="../../static/picture/qingwhite.png" style="width: 25px;height: 25px;"></image>
  35. </view>
  36. </view>
  37. <!--电量卡片-->
  38. <view class="InformationCard">
  39. <view class="informationCardAll">
  40. <view class="informationCardTextOne">
  41. <view class="informationCardText">
  42. <view class="textSilver" @tap="common.navTo('/components/detail/Detail?callTargetName=安全天数&callTargetUnit=天&pointKey='+windpowerstationdetail.target_comprehensive_indicators.aqts_real.ednaId)">
  43. 安全天数(&nbsp;天&nbsp;)&nbsp;:</view>
  44. <view class="textWhite"> {{windpowerstationdetail.target_comprehensive_indicators.aqts}}</view>
  45. </view>
  46. <view class="informationCardTextzj">
  47. <view class="textSilver" @tap="common.navTo('/components/detail/Detail?callTargetName=装机容量&callTargetUnit=mv&pointKey='+windpowerstationdetail.target_comprehensive_indicators.zjrl_real.ednaId)">
  48. 装机容量(mv):</view>
  49. <view class="textWhite">{{windpowerstationdetail.target_comprehensive_indicators.zjrl}}</view>
  50. </view>
  51. </view>
  52. <view class="informationCardTextTwo">
  53. <view class="informationCardTextNo1">
  54. <view class="textSilver" @tap="common.navTo('/components/detail/Detail?callTargetName=日发电量&callTargetUnit=kwh&pointKey='+windpowerstationdetail.target_comprehensive_indicators.rfdl_real.ednaId)">
  55. 日发电量(kwh):</view>
  56. <view class="textWhite">{{windpowerstationdetail.target_comprehensive_indicators.rfdl}}</view>
  57. </view>
  58. <view class="informationCardText3">
  59. <view class="textSilver" @tap="common.navTo('/components/detail/Detail?callTargetName=预测发电量&callTargetUnit=kwh&pointKey='+windpowerstationdetail.target_comprehensive_indicators.ycfdl_real.ednaId)">
  60. 预测发电量(kwh):</view>
  61. <view class="textWhite2">{{windpowerstationdetail.target_comprehensive_indicators.ycfdl}}</view>
  62. </view>
  63. <view class="informationCardText2">
  64. <view class="textSilver" @tap="common.navTo('/components/detail/Detail?callTargetName=上网电量&callTargetUnit=kwh&pointKey='+windpowerstationdetail.target_comprehensive_indicators.swdl_real.ednaId)">
  65. 上网电量(kwh):</view>
  66. <view class="textWhite">{{windpowerstationdetail.target_comprehensive_indicators.swdl}}</view>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. <!--风速卡片-->
  72. <view class="speedPower">
  73. <view class="cardinstallredSpeed" @tap="common.navTo('/components/detail/Detail?callTargetName=平均风速&callTargetUnit=kw/h&pointKey='+windpowerstationdetail.target_windSpeed_power.pjfs_real.ednaId)">
  74. <view class="cardinstalltitlegreen">
  75. 平均风速(km/h)
  76. <!-- <view class="textWhitekuangSpeed">(km/h)</view> -->
  77. </view>
  78. <view class="cardinstallnumbergreen">{{windpowerstationdetail.target_windSpeed_power.pjfs}}</view>
  79. <view class="cardinstallnumbergreenmin">
  80. <view class="greenMinText">min: {{windpowerstationdetail.target_windSpeed_power.pjfsMin}}</view>
  81. </view>
  82. <view class="cardinstallnumbergreenmax">
  83. <view class="greenMaxText">max: {{windpowerstationdetail.target_windSpeed_power.pjfsMax}}</view>
  84. </view>
  85. </view>
  86. <view class="cardinstallredSpeed" @tap="common.navTo('/components/detail/Detail?callTargetName=预测风速&callTargetUnit=kw/h&pointKey='+windpowerstationdetail.target_comprehensive_indicators.ycfs_real.ednaId)">
  87. <view class="cardinstalltitlegreen">
  88. 预测风速(km/h)
  89. <!-- <view class="textWhitekuangSpeed">(km/h)</view> -->
  90. </view>
  91. <view class="cardinstallnumbergreen">{{windpowerstationdetail.target_windSpeed_power.ycfs}}</view>
  92. <view class="cardinstallnumbergreenmin">
  93. <view class="greenMinText">min: {{windpowerstationdetail.target_windSpeed_power.ycfsMin}}</view>
  94. </view>
  95. <view class="cardinstallnumbergreenmax">
  96. <view class="greenMaxText">max: {{windpowerstationdetail.target_windSpeed_power.ycfsMax}}</view>
  97. </view>
  98. </view>
  99. <view class="cardinstallredSpeed" @tap="common.navTo('/components/detail/Detail?callTargetName=实际功率&callTargetUnit=kw&pointKey='+windpowerstationdetail.target_comprehensive_indicators.sjgl_real.ednaId)">
  100. <view class="cardinstalltitleRed">
  101. 实际功率(kw)
  102. <!-- <view class="textWhitekuang">(kw)</view> -->
  103. </view>
  104. <view class="cardinstallnumberred">{{windpowerstationdetail.target_windSpeed_power.sjgl}}</view>
  105. <view class="cardinstallnumberredmin">
  106. <view class="redMinText">min: {{windpowerstationdetail.target_windSpeed_power.sjglMin}}</view>
  107. </view>
  108. <view class="cardinstallnumberredmax">
  109. <view class="redMaxText">max: {{windpowerstationdetail.target_windSpeed_power.sjglMax}}</view>
  110. </view>
  111. </view>
  112. <view class="cardinstallredSpeed" @tap="common.navTo('/components/detail/Detail?callTargetName=理论功率&callTargetUnit=kw&pointKey='+windpowerstationdetail.target_comprehensive_indicators.llgl_real.ednaId)">
  113. <view class="cardinstalltitleRed">
  114. 理论功率(kw)
  115. <!-- <view class="textWhitekuang">(kw)</view> -->
  116. </view>
  117. <view class="cardinstallnumberred">{{windpowerstationdetail.target_windSpeed_power.llgl}}</view>
  118. <view class="cardinstallnumberredmin">
  119. <view class="redMinText">min: {{windpowerstationdetail.target_windSpeed_power.llglMin}}</view>
  120. </view>
  121. <view class="cardinstallnumberredmax">
  122. <view class="redMaxText">max: {{windpowerstationdetail.target_windSpeed_power.llglMax}}</view>
  123. </view>
  124. </view>
  125. </view>
  126. <!--接入卡片-->
  127. <view class="interfaceCard">
  128. <view class="interfaceCardSmallTop">
  129. <view class="interfaceCardSmall">
  130. <view class="AccessCardimage">
  131. <image src="../../static/picture/001.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  132. </view>
  133. <view class="AccessCardText">接入</view>
  134. <view class="AccessCardNumber">{{windpowerstationdetail.index_windturbine_status.jr}}</view>
  135. </view>
  136. <view class="interfaceCardSmall">
  137. <view class="AccessCardimage">
  138. <image src="../../static/picture/002.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  139. </view>
  140. <view class="AccessCardText">待机</view>
  141. <view class="AccessCardNumber">{{windpowerstationdetail.index_windturbine_status.dj}}</view>
  142. </view>
  143. <view class="interfaceCardSmall">
  144. <view class="AccessCardimage">
  145. <image src="../../static/picture/003.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  146. </view>
  147. <view class="AccessCardText">运行</view>
  148. <view class="AccessCardNumber">{{windpowerstationdetail.index_windturbine_status.yx}}</view>
  149. </view>
  150. </view>
  151. <view class="interfaceCardSmallTop">
  152. <view class="interfaceCardSmall">
  153. <view class="AccessCardimage">
  154. <image src="../../static/picture/004.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  155. </view>
  156. <view class="AccessCardText">故障</view>
  157. <view class="AccessCardNumber">{{windpowerstationdetail.index_windturbine_status.gz}}</view>
  158. </view>
  159. <view class="interfaceCardSmall">
  160. <view class="AccessCardimage">
  161. <image src="../../static/picture/005.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  162. </view>
  163. <view class="AccessCardText">维护</view>
  164. <view class="AccessCardNumber">{{windpowerstationdetail.index_windturbine_status.wh}}</view>
  165. </view>
  166. <view class="interfaceCardSmall">
  167. <view class="AccessCardimage">
  168. <image src="../../static/picture/006.png" style="width: 18px;height:19px;margin-top: 9px;margin-left: 7px;"></image>
  169. </view>
  170. <view class="AccessCardText">离线</view>
  171. <view class="AccessCardNumber">{{windpowerstationdetail.index_windturbine_status.lx}}</view>
  172. </view>
  173. </view>
  174. </view>
  175. <!--进度条-->
  176. <view class="progressBar">
  177. <view class="progressBarAll">
  178. <view class="progressBarOne">
  179. <view class="progressBarLeft">
  180. <view class="progressBarLeftText">{{windpowerstationdetail.index_electricQuantity.yfdl}}kwh</view>
  181. </view>
  182. <view class="progressBarText">月计划发电量进度条</view>
  183. <view class="progressBarRight">
  184. <view class="progressBarRightText">10000kwh</view>
  185. </view>
  186. </view>
  187. <view class="cu-progress round radius striped active">
  188. <view class="bg-olive" :style="[{ width: loading ? monthOlive : '' }]"></view>
  189. <view class="bg-angrey" :style="[{ width: loading ? monthAngrey : '' }]"></view>
  190. </view>
  191. </view>
  192. <view class="progressBarAll">
  193. <view class="progressBarOne">
  194. <view class="progressBarLeft">
  195. <view class="progressBarLeftText">{{windpowerstationdetail.index_electricQuantity.nfdl}}kwh</view>
  196. </view>
  197. <view class="progressBarText">年计划发电量进度条</view>
  198. <view class="progressBarRight">
  199. <view class="progressBarRightText">100000kwh</view>
  200. </view>
  201. </view>
  202. <view class="cu-progress round radius striped active">
  203. <view class="bg-olive" :style="[{ width: loading ? yearOlive : '' }]"></view>
  204. <view class="bg-angrey" :style="[{ width: loading ? yearAngrey : '' }]"></view>
  205. </view>
  206. </view>
  207. </view>
  208. <scroll-view scroll-x class="horizontalSlider">
  209. <view class="slide">
  210. <view class="monthlyUtilizationHours" @tap="common.navTo('/components/detail/Detail')">月利用小时(h):{{windpowerstationdetail.index_target_basic_indicators.ylyxs}}</view>
  211. <view class="yearlyUtilizationHours" @tap="common.navTo('/components/detail/Detail')">年利用小时(h):{{windpowerstationdetail.index_target_basic_indicators.nlyxs}}</view>
  212. <view class="comprehensiveServicePowerConsumptionRate" @tap="common.navTo('/components/detail/Detail')">综合厂用电率(%):{{windpowerstationdetail.index_target_basic_indicators.zhcydl}}</view>
  213. <view class="equipmentAvailability" @tap="common.navTo('/components/detail/Detail')">设备可利用率(%):{{windpowerstationdetail.index_target_basic_indicators.sbklyl}}</view>
  214. <view class="sulfurDioxideEmissionReduction" @tap="common.navTo('/components/detail/Detail')">减排二氧化硫(吨):{{windpowerstationdetail.index_target_basic_indicators.jpeyhl}}</view>
  215. <view class="carbonDioxideReduction" @tap="common.navTo('/components/detail/Detail')">减排二氧化碳(吨):{{windpowerstationdetail.index_target_basic_indicators.jpeyht}}</view>
  216. <view class="waterSaving" @tap="common.navTo('/components/detail/Detail')">节约用水(吨):{{windpowerstationdetail.index_target_basic_indicators.jyys}}</view>
  217. <view class="saveStandardCoal" @tap="common.navTo('/components/detail/Detail')">节约标煤(吨):{{windpowerstationdetail.index_target_basic_indicators.jybm}}</view>
  218. <view class="mttr" @tap="common.navTo('/components/detail/Detail')">mttr(h):{{windpowerstationdetail.index_target_basic_indicators.mttr}}</view>
  219. <view class="mtbf" @tap="common.navTo('/components/detail/Detail')">mtbf(h):{{windpowerstationdetail.index_target_basic_indicators.mtbf}}</view>
  220. </view>
  221. </scroll-view>
  222. <!--折线图-->
  223. <view class="lineChart">
  224. <view class="qiun-charts">
  225. <view class="speedPowerDiagram">风速功率曲线图</view>
  226. <canvas canvas-id="canvasLineA" id="canvasLineA" class="charts" @touchstart="touchLineA"></canvas>
  227. </view>
  228. </view>
  229. <!-- 柱状图 -->
  230. <view class="Histogram">
  231. <view class="HistogramTitle">五项损失柱状图</view>
  232. <view class="choice">
  233. <view class="directGeneration">
  234. <image src="../../static/picture/dianliang/dianlianglan.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  235. <view class="directGenerationText" @click="directGeneration()">
  236. 应发</view>
  237. </view>
  238. <view class="powerGeneration">
  239. <image src="../../static/picture/dianliang/dianlianglv.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  240. <view class="powerGenerationText" @click="powerGeneration()">日发</view>
  241. </view>
  242. <view class="faultPower">
  243. <image src="../../static/picture/dianliang/dianlianghong.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  244. <view class="faultPowerText" @click="faultPower()">故障损失</view>
  245. </view>
  246. <view class="maintenancePower">
  247. <image src="../../static/picture/dianliang/dianliangcheng.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  248. <view class="maintenancePowerText" @click="maintenancePower()">检修损失</view>
  249. </view>
  250. <view class="limitedPower">
  251. <image src="../../static/picture/dianliang/dianliangfen.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  252. <view class="limitedPowerText" @click="limitedPower()">限电损失</view>
  253. </view>
  254. <view class="performancePower">
  255. <image src="../../static/picture/dianliang/dianliangzi.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  256. <view class="performancePowerText" @click="performancePower()">性能损失</view>
  257. </view>
  258. <view class="AffectedPower">
  259. <image src="../../static/picture/dianliang/dianlianghui.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  260. <view class="AffectedPowerText" @click="AffectedPower()">受累损失</view>
  261. </view>
  262. </view>
  263. <view class="qiun-chart">
  264. <canvas canvas-id="canvasColumnStack" id="canvasColumnStack" class="chart" @touchstart="touchColumn"></canvas>
  265. </view>
  266. </view>
  267. <!-- 风电场卡片 -->
  268. <view class="windStation">
  269. <scroll-view scroll-x class="scrollWindStationCard">
  270. <view class="windStationCardContainer">
  271. <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '麻黄山')">
  272. <view class="windStationTitle">麻黄山风电场</view>
  273. <view class="powerAndSpeedContainer">
  274. <view class="powerAndSpeedRed">
  275. 预测电量(kwh):
  276. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl}}</span>
  277. <!-- {{index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl}} -->
  278. </view>
  279. <view class="powerAndSpeedRed">
  280. 日发电量(kwh):
  281. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.rfdl}}</span>
  282. </view>
  283. <view class="powerAndSpeedRed">
  284. 实时风速(km/h):
  285. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ssfs}}</span>
  286. </view>
  287. <view class="powerAndSpeedRed">
  288. 实际功率(km/h):
  289. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ssgl}}</span>
  290. </view>
  291. </view>
  292. <!-- HQChart图 -->
  293. <!-- <view class="HQChart">
  294. <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
  295. </view> -->
  296. <view class="UChartContainer">
  297. <view class="windStationUChart">
  298. <view class="windStationQiun-charts">
  299. <canvas canvas-id="windStationCanvasLineA" id="windStationCanvasLineA" class="windStationCharts" @touchstart="touchLineB1"></canvas>
  300. </view>
  301. </view>
  302. <view class="UChartTitle">风速功率曲线图</view>
  303. <!-- <view class="xTime">时间</view> -->
  304. </view>
  305. <view class="fanStatusContainer">
  306. <view class="fanStatus">
  307. <view class="statusIcon">
  308. <image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  309. </view>
  310. <span>接入&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.MHS_FDC.jr}}</span>
  311. </view>
  312. <view class="fanStatus">
  313. <view class="statusIcon">
  314. <image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  315. </view>
  316. <span>待机&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.MHS_FDC.dj}}</span>
  317. </view>
  318. <view class="fanStatus">
  319. <view class="statusIcon">
  320. <image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  321. </view>
  322. <span>运行&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.MHS_FDC.yx}}</span>
  323. </view>
  324. <view class="fanStatus">
  325. <view class="statusIcon">
  326. <image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  327. </view>
  328. <span>故障&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.MHS_FDC.gz}}</span>
  329. </view>
  330. <view class="fanStatus">
  331. <view class="statusIcon">
  332. <image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  333. </view>
  334. <span>维护&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.MHS_FDC.wh}}</span>
  335. </view>
  336. <view class="fanStatus">
  337. <view class="statusIcon">
  338. <image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  339. </view>
  340. <span>离线&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.MHS_FDC.lx}}</span>
  341. </view>
  342. </view>
  343. </view>
  344. <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '牛首山')">
  345. <view class="windStationTitle">牛首山风电场</view>
  346. <view class="powerAndSpeedContainer">
  347. <view class="powerAndSpeedRed">
  348. 预测电量(kwh):
  349. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.NSS_FDC.ycdl}}</span>
  350. </view>
  351. <view class="powerAndSpeedRed">
  352. 日发电量(kwh):
  353. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.NSS_FDC.rfdl}}</span>
  354. </view>
  355. <view class="powerAndSpeedRed">
  356. 实时风速(km/h):
  357. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.NSS_FDC.ssfs}}</span>
  358. </view>
  359. <view class="powerAndSpeedRed">
  360. 实际功率(km/h):
  361. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.NSS_FDC.ssgl}}</span>
  362. </view>
  363. </view>
  364. <!-- HQChart图 -->
  365. <!-- <view class="HQChart">
  366. <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
  367. </view> -->
  368. <view class="UChartContainer">
  369. <view class="windStationUChart">
  370. <view class="windStationQiun-charts"><canvas canvas-id="windStationCanvasLineB" id="windStationCanvasLineB"
  371. class="windStationCharts" @touchstart="touchLineB2"></canvas></view>
  372. </view>
  373. <view class="UChartTitle">风速功率曲线图</view>
  374. <!-- <view class="xTime">时间</view> -->
  375. </view>
  376. <view class="fanStatusContainer">
  377. <view class="fanStatus">
  378. <view class="statusIcon">
  379. <image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  380. </view>
  381. <span>接入&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.NSS_FDC.jr}}</span>
  382. </view>
  383. <view class="fanStatus">
  384. <view class="statusIcon">
  385. <image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  386. </view>
  387. <span>待机&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.NSS_FDC.dj}}</span>
  388. </view>
  389. <view class="fanStatus">
  390. <view class="statusIcon">
  391. <image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  392. </view>
  393. <span>运行&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.NSS_FDC.yx}}</span>
  394. </view>
  395. <view class="fanStatus">
  396. <view class="statusIcon">
  397. <image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  398. </view>
  399. <span>故障&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.NSS_FDC.gz}}</span>
  400. </view>
  401. <view class="fanStatus">
  402. <view class="statusIcon">
  403. <image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  404. </view>
  405. <span>维护&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.NSS_FDC.wh}}</span>
  406. </view>
  407. <view class="fanStatus">
  408. <view class="statusIcon">
  409. <image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  410. </view>
  411. <span>离线&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.NSS_FDC.lx}}</span>
  412. </view>
  413. </view>
  414. </view>
  415. <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '石板泉')">
  416. <view class="windStationTitle">石板泉风电场</view>
  417. <view class="powerAndSpeedContainer">
  418. <view class="powerAndSpeedRed">
  419. 预测电量(kwh):
  420. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.SBQ_FDC.ycdl}}</span>
  421. </view>
  422. <view class="powerAndSpeedRed">
  423. 日发电量(kwh):
  424. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.SBQ_FDC.rfdl}}</span>
  425. </view>
  426. <view class="powerAndSpeedRed">
  427. 实时风速(km/h):
  428. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.SBQ_FDC.ssfs}}</span>
  429. </view>
  430. <view class="powerAndSpeedRed">
  431. 实际功率(km/h):
  432. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.SBQ_FDC.ssgl}}</span>
  433. </view>
  434. </view>
  435. <!-- HQChart图 -->
  436. <!-- <view class="HQChart">
  437. <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
  438. </view> -->
  439. <view class="UChartContainer">
  440. <view class="windStationUChart">
  441. <view class="windStationQiun-charts"><canvas canvas-id="windStationCanvasLineC" id="windStationCanvasLineC"
  442. class="windStationCharts" @touchstart="touchLineB3"></canvas></view>
  443. </view>
  444. <view class="UChartTitle">风速功率曲线图</view>
  445. <!-- <view class="xTime">时间</view> -->
  446. </view>
  447. <view class="fanStatusContainer">
  448. <view class="fanStatus">
  449. <view class="statusIcon">
  450. <image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  451. </view>
  452. <span>接入&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.SBQ_FDC.jr}}</span>
  453. </view>
  454. <view class="fanStatus">
  455. <view class="statusIcon">
  456. <image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  457. </view>
  458. <span>待机&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.SBQ_FDC.dj}}</span>
  459. </view>
  460. <view class="fanStatus">
  461. <view class="statusIcon">
  462. <image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  463. </view>
  464. <span>运行&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.SBQ_FDC.yx}}</span>
  465. </view>
  466. <view class="fanStatus">
  467. <view class="statusIcon">
  468. <image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  469. </view>
  470. <span>故障&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.SBQ_FDC.gz}}</span>
  471. </view>
  472. <view class="fanStatus">
  473. <view class="statusIcon">
  474. <image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  475. </view>
  476. <span>维护&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.SBQ_FDC.wh}}</span>
  477. </view>
  478. <view class="fanStatus">
  479. <view class="statusIcon">
  480. <image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  481. </view>
  482. <span>离线&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.SBQ_FDC.lx}}</span>
  483. </view>
  484. </view>
  485. </view>
  486. <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '青山')">
  487. <view class="windStationTitle">青山风电场</view>
  488. <view class="powerAndSpeedContainer">
  489. <view class="powerAndSpeedRed">
  490. 预测电量(kwh):
  491. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.QS_FDC.ycdl}}</span>
  492. </view>
  493. <view class="powerAndSpeedRed">
  494. 日发电量(kwh):
  495. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.QS_FDC.rfdl}}</span>
  496. </view>
  497. <view class="powerAndSpeedRed">
  498. 实时风速(km/h):
  499. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.QS_FDC.ssfs}}</span>
  500. </view>
  501. <view class="powerAndSpeedRed">
  502. 实际功率(km/h):
  503. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.QS_FDC.ssgl}}</span>
  504. </view>
  505. </view>
  506. <!-- HQChart图 -->
  507. <!-- <view class="HQChart">
  508. <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
  509. </view> -->
  510. <view class="UChartContainer">
  511. <view class="windStationUChart">
  512. <view class="windStationQiun-charts"><canvas canvas-id="windStationCanvasLineD" id="windStationCanvasLineD"
  513. class="windStationCharts" @touchstart="touchLineB4"></canvas></view>
  514. </view>
  515. <view class="UChartTitle">风速功率曲线图</view>
  516. <!-- <view class="xTime">时间</view> -->
  517. </view>
  518. <view class="fanStatusContainer">
  519. <view class="fanStatus">
  520. <view class="statusIcon">
  521. <image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  522. </view>
  523. <span>接入&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.QS_FDC.jr}}</span>
  524. </view>
  525. <view class="fanStatus">
  526. <view class="statusIcon">
  527. <image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  528. </view>
  529. <span>待机&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.QS_FDC.dj}}</span>
  530. </view>
  531. <view class="fanStatus">
  532. <view class="statusIcon">
  533. <image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  534. </view>
  535. <span>运行&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.QS_FDC.yx}}</span>
  536. </view>
  537. <view class="fanStatus">
  538. <view class="statusIcon">
  539. <image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  540. </view>
  541. <span>故障&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.QS_FDC.gz}}</span>
  542. </view>
  543. <view class="fanStatus">
  544. <view class="statusIcon">
  545. <image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  546. </view>
  547. <span>维护&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.QS_FDC.wh}}</span>
  548. </view>
  549. <view class="fanStatus">
  550. <view class="statusIcon">
  551. <image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  552. </view>
  553. <span>离线&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.QS_FDC.lx}}</span>
  554. </view>
  555. </view>
  556. </view>
  557. <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '香山')">
  558. <view class="windStationTitle">香山风电场</view>
  559. <view class="powerAndSpeedContainer">
  560. <view class="powerAndSpeedRed">
  561. 预测电量(kwh):
  562. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.XS_FDC.ycdl}}</span>
  563. </view>
  564. <view class="powerAndSpeedRed">
  565. 日发电量(kwh):
  566. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.XS_FDC.rfdl}}</span>
  567. </view>
  568. <view class="powerAndSpeedRed">
  569. 实时风速(km/h):
  570. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.XS_FDC.ssfs}}</span>
  571. </view>
  572. <view class="powerAndSpeedRed">
  573. 实际功率(km/h):
  574. <span>{{index_windStation_cardmodule.index_windStation_cardmodule.XS_FDC.ssgl}}</span>
  575. </view>
  576. </view>
  577. <!-- HQChart图 -->
  578. <!-- <view class="HQChart">
  579. <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
  580. </view> -->
  581. <view class="UChartContainer">
  582. <view class="windStationUChart">
  583. <view class="windStationQiun-charts"><canvas canvas-id="windStationCanvasLineE" id="windStationCanvasLineE"
  584. class="windStationCharts" @touchstart="touchLineB5"></canvas></view>
  585. </view>
  586. <view class="UChartTitle">风速功率曲线图</view>
  587. <!-- <view class="xTime">时间</view> -->
  588. </view>
  589. <view class="fanStatusContainer">
  590. <view class="fanStatus">
  591. <view class="statusIcon">
  592. <image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  593. </view>
  594. <span>接入&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.XS_FDC.jr}}</span>
  595. </view>
  596. <view class="fanStatus">
  597. <view class="statusIcon">
  598. <image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  599. </view>
  600. <span>待机&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.XS_FDC.dj}}</span>
  601. </view>
  602. <view class="fanStatus">
  603. <view class="statusIcon">
  604. <image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  605. </view>
  606. <span>运行&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.XS_FDC.yx}}</span>
  607. </view>
  608. <view class="fanStatus">
  609. <view class="statusIcon">
  610. <image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  611. </view>
  612. <span>故障&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.XS_FDC.gz}}</span>
  613. </view>
  614. <view class="fanStatus">
  615. <view class="statusIcon">
  616. <image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  617. </view>
  618. <span>维护&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.XS_FDC.wh}}</span>
  619. </view>
  620. <view class="fanStatus">
  621. <view class="statusIcon">
  622. <image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  623. </view>
  624. <span>离线&nbsp;&nbsp;{{fdcstatusmodule.fdcstatusmodule.XS_FDC.lx}}</span>
  625. </view>
  626. </view>
  627. </view>
  628. </view>
  629. </scroll-view>
  630. </view>
  631. </scroll-view>
  632. <view class="DrawerClose" :class="modalName=='viewModal'?'show':''" @tap="hideModal">
  633. <text class="cuIcon-pullright"></text>
  634. </view>
  635. </view>
  636. </template>
  637. <script>
  638. import plusDrawer from '../../components/drawer/plusDrawer.vue'
  639. import drawer from '../../components/drawer/threeLineDrawer.vue';
  640. import uCharts from '../../components/tools/u-charts/u-charts.js';
  641. var _self;
  642. var canvaLineA = null;
  643. var canvaColumn = null;
  644. var canvaLineB1 = null;
  645. var canvaLineB2 = null;
  646. var canvaLineB3 = null;
  647. var canvaLineB4 = null;
  648. var canvaLineB5 = null;
  649. export default {
  650. components: {
  651. drawer: drawer,
  652. "plusDrawer": plusDrawer,
  653. },
  654. data: function() {
  655. return {
  656. key_aqts:"",
  657. fdcstatusmodule:{fdcstatusmodule:''},
  658. index_windStation_cardmodule:{index_windStation_cardmodule:''},
  659. index_curve_columnar_windSpeed_powermodule:{index_curve_columnar_windSpeed_powermodule:''},
  660. badge: 22,
  661. drawerList: [{
  662. "name": "首页"
  663. },
  664. {
  665. "name": "状态监视"
  666. },
  667. {
  668. "name": "矩阵监视"
  669. },
  670. {
  671. "name": "风场监视"
  672. },
  673. {
  674. "name": "人员监视"
  675. },
  676. ],
  677. plusDrawerList: [{
  678. name: "宁夏新能源公司",
  679. windPowerStationId: "NINGXIAXINNENGYUANGONGSI"
  680. },
  681. {
  682. name: "牛首山风电场",
  683. windPowerStationId: "NSS_FDC"
  684. },
  685. {
  686. name: "香山风电场",
  687. windPowerStationId: "XS_FDC"
  688. },
  689. {
  690. name: "石板泉风电场",
  691. windPowerStationId: "SBQ_FDC"
  692. },
  693. {
  694. name: "青山风电场",
  695. windPowerStationId: "QS_FDC"
  696. },
  697. {
  698. name: "麻黄山风电场",
  699. windPowerStationId: "MHS_FDC"
  700. },
  701. ],
  702. modalName: null,
  703. address: '宁夏新能源公司',
  704. windPowerStationId: '',
  705. inconList: ['form', 'favor', 'question', 'edit'],
  706. minaverageSpeed: '12',
  707. maxaverageSpeed: '25',
  708. loading: false,
  709. cWidth: '',
  710. cHeight: '',
  711. pixelRatio: 1,
  712. serverData: '',
  713. dayHair: false,
  714. fault: false,
  715. overhaul: false,
  716. powerLimitation: false,
  717. performance: false,
  718. toBeInvolved: false,
  719. Xzuobiao: ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18"],
  720. rifa: [18, 13, 12, 17, 13, 7, 11],
  721. guzhang: [17, 15, 17, 21, 16, 8, 10],
  722. jianxiu: [14, 17, 19, 20, 6, 14, 12],
  723. xiandian: [14, 17, 19, 20, 6, 14, 12],
  724. xingneng: [15, 17, 19, 20, 6, 4, 12],
  725. shoulei: [14, 17, 19, 20, 6, 4, 12],
  726. clickFlag: "stack",
  727. windStationCardCWidth: '',
  728. windStationCardCHeight: '',
  729. windStationCardPixelRatio: 1,
  730. monthOlive:"",
  731. monthAngrey:"",
  732. yearOlive:"",
  733. yearAngrey:"",
  734. FDC:"CL_FDC",
  735. socketTask_target_comprehensive_indicators:'',
  736. socketTask_target_windSpeed_power:'',
  737. socketTask_index_windturbine_status:'',
  738. socketTask_index_electricQuantity:'',
  739. socketTask_index_target_basic_indicators:'',
  740. socketTask_index_curve_columnar_windSpeed_power:'',
  741. windpowerstationdetail:{target_comprehensive_indicators:"",target_windSpeed_power:"",index_windturbine_status:"",index_electricQuantity:"",index_target_basic_indicators:""},
  742. };
  743. },
  744. created: function() {
  745. this.address = this.getWindPowerStationNameToSessionStorage();
  746. if(this.address==""){
  747. this.pushWindPowerStationNameToSessionStorage("宁夏新能源公司");
  748. this.address = this.getWindPowerStationNameToSessionStorage();
  749. }
  750. if(this.address=="宁夏新能源公司"){
  751. this.FDC="0";
  752. }
  753. if(this.address=="麻黄山风电场"){
  754. this.FDC="MHS_FDC";
  755. }
  756. if(this.address=="牛首山风电场"){
  757. this.FDC="NSS_FDC";
  758. }
  759. if(this.address=="石板泉风电场"){
  760. this.FDC="SBQ_FDC";
  761. }
  762. if(this.address=="青山风电场"){
  763. this.FDC="QS_FDC";
  764. }
  765. if(this.address=="香山风电场"){
  766. this.FDC="XS_FDC";
  767. }
  768. this.windPowerStationId = uni.getStorageSync('windPowerStationId');
  769. },
  770. onLoad: function() {
  771. let that = this;
  772. setTimeout(function() {
  773. that.loading = true;
  774. }, 500);
  775. _self = this;
  776. this.cWidth = uni.upx2px(750);
  777. this.cHeight = uni.upx2px(400);
  778. this.index_windStation_card();
  779. this.getServerData();
  780. this.getColumnData();
  781. this.windStationCardCWidth = 250;
  782. this.windStationCardCHeight = 150;
  783. this.getWindStationCardData();
  784. this.index_curve_columnar_windSpeed_power();
  785. this.target_comprehensive_indicators();
  786. this.target_windSpeed_power();
  787. this.index_windturbine_status();
  788. this.index_electricQuantity();
  789. this.index_target_basic_indicators();
  790. },
  791. computed:{
  792. backStageIp:function(){
  793. return this.$store.state.wholeSituationBackStageIp;
  794. }, backStagePort:function(){
  795. return this.$store.state.wholeSituationBackStagePort;
  796. },windpowerstationNameToId:function(){
  797. return this.$store.state.windpowerstationNameToId;
  798. }
  799. },
  800. onHide() {
  801. this.$refs.drawer.closeDrawer();
  802. this.hideModal();
  803. },
  804. onShow(){
  805. this.windPowerStationId = uni.getStorageSync('windPowerStationId');
  806. this.address = this.getWindPowerStationNameToSessionStorage();
  807. if(this.address=="宁夏新能源公司"){
  808. this.FDC="0";
  809. }
  810. if(this.address=="麻黄山风电场"){
  811. this.FDC="MHS_FDC";
  812. }
  813. if(this.address=="牛首山风电场"){
  814. this.FDC="NSS_FDC";
  815. }
  816. if(this.address=="石板泉风电场"){
  817. this.FDC="SBQ_FDC";
  818. }
  819. if(this.address=="青山风电场"){
  820. this.FDC="QS_FDC";
  821. }
  822. if(this.address=="香山风电场"){
  823. this.FDC="XS_FDC";
  824. }
  825. },
  826. methods: {
  827. async index_windStation_card() {
  828. let _this = this;
  829. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  830. this.socketTask_index_windStation_card = uni.connectSocket({
  831. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  832. url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_6/functionNumber_8',
  833. success(data) {
  834. console.log('websocket连接成功');
  835. }
  836. });
  837. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  838. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  839. this.socketTask_index_windStation_card.onOpen(res => {
  840. console.log('WebSocket连接正常打开中...!');
  841. this.is_open_socket = true;
  842. // 注:只有连接正常打开中 ,才能正常收到消息
  843. this.socketTask_index_windStation_card.onMessage(res => {
  844. //console.log("收到服务器内容:" + res.data);
  845. _this.index_windStation_cardmodule.index_windStation_cardmodule = JSON.parse(res.data);
  846. console.log();
  847. });
  848. });
  849. },
  850. async index_windStation_card() {
  851. let _this = this;
  852. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  853. this.socketTask_index_windStation_card = uni.connectSocket({
  854. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  855. url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_6/functionNumber_8',
  856. success(data) {
  857. console.log('websocket连接成功');
  858. }
  859. });
  860. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  861. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  862. this.socketTask_index_windStation_card.onOpen(res => {
  863. console.log('WebSocket连接正常打开中...!');
  864. this.is_open_socket = true;
  865. // 注:只有连接正常打开中 ,才能正常收到消息
  866. this.socketTask_index_windStation_card.onMessage(res => {
  867. //console.log("收到服务器内容:" + res.data);
  868. _this.index_windStation_cardmodule.index_windStation_cardmodule = JSON.parse(res.data);
  869. console.log();
  870. });
  871. });
  872. },
  873. async index_curve_columnar_windSpeed_power() {
  874. Date.prototype.Format = function(fmt) {
  875. var o = {
  876. "M+": this.getMonth() + 1, //月份
  877. "d+": this.getDate(), //日
  878. "h+": this.getHours(), //小时
  879. "m+": this.getMinutes(), //分
  880. "s+": this.getSeconds(), //秒
  881. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  882. "S": this.getMilliseconds() //毫秒
  883. };
  884. if(/(y+)/.test(fmt))
  885. fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  886. for(var k in o)
  887. if(new RegExp("(" + k + ")").test(fmt))
  888. fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  889. return fmt;
  890. };
  891. let _this = this;
  892. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  893. this.socketTask_index_curve_columnar_windSpeed_power = uni.connectSocket({
  894. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  895. url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_7/functionNumber_4',
  896. success(data) {
  897. console.log('websocket连接成功');
  898. }
  899. });
  900. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  901. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  902. this.socketTask_index_curve_columnar_windSpeed_power.onOpen(res => {
  903. console.log('WebSocket连接正常打开中...!');
  904. this.is_open_socket = true;
  905. // 注:只有连接正常打开中 ,才能正常收到消息
  906. this.socketTask_index_curve_columnar_windSpeed_power.onMessage(res => {
  907. //console.log("收到服务器内容:" + res.data);
  908. _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule = JSON.parse(res.data);
  909. let LineA = {
  910. categories: [
  911. ],
  912. series: [{
  913. name: '功率',
  914. data: [
  915. ],
  916. color: '#4BB94B',
  917. textColor: '#FFFFFF',
  918. textSize: this.seriesTextSize,
  919. format: val => {
  920. return val + 'kwh';
  921. },
  922. index: 0,
  923. legendShape: 'circle'
  924. },
  925. {
  926. name: '风速',
  927. data: [
  928. ],
  929. color: '#E82E2F',
  930. textColor: '#FFFFFF',
  931. textSize: this.seriesTextSize,
  932. format: val => {
  933. return val + 'km/h';
  934. },
  935. index: 1,
  936. legendShape: 'circle'
  937. },
  938. {
  939. name: '理论功率',
  940. data: [
  941. ],
  942. color: '#F5A83C',
  943. textColor: '#FFFFFF',
  944. textSize: this.seriesTextSize,
  945. format: val => {
  946. return val + 'kwh';
  947. },
  948. index: 0,
  949. legendShape: 'circle'
  950. },
  951. {
  952. name: '预测功率',
  953. data: [],
  954. color: '#4A80B1',
  955. textColor: '#FFFFFF',
  956. textSize: this.seriesTextSize,
  957. format: val => {
  958. return val + 'kwh';
  959. },
  960. index: 1,
  961. legendShape: 'circle'
  962. }
  963. ]
  964. };
  965. let LineB = {
  966. categories: [
  967. ],
  968. series: [{
  969. name: '功率',
  970. data: [
  971. ],
  972. color: '#4BB94B',
  973. textColor: '#FFFFFF',
  974. textSize: this.seriesTextSize,
  975. format: val => {
  976. return val + 'kwh';
  977. },
  978. index: 0,
  979. legendShape: 'circle'
  980. },
  981. {
  982. name: '风速',
  983. data: [
  984. ],
  985. color: '#E82E2F',
  986. textColor: '#FFFFFF',
  987. textSize: this.seriesTextSize,
  988. format: val => {
  989. return val + 'km/h';
  990. },
  991. index: 1,
  992. legendShape: 'circle'
  993. },
  994. {
  995. name: '理论功率',
  996. data: [
  997. ],
  998. color: '#F5A83C',
  999. textColor: '#FFFFFF',
  1000. textSize: this.seriesTextSize,
  1001. format: val => {
  1002. return val + 'kwh';
  1003. },
  1004. index: 0,
  1005. legendShape: 'circle'
  1006. },
  1007. {
  1008. name: '预测功率',
  1009. data: [],
  1010. color: '#4A80B1',
  1011. textColor: '#FFFFFF',
  1012. textSize: this.seriesTextSize,
  1013. format: val => {
  1014. return val + 'kwh';
  1015. },
  1016. index: 1,
  1017. legendShape: 'circle'
  1018. }
  1019. ]
  1020. };
  1021. let LineC = {
  1022. categories: [
  1023. ],
  1024. series: [{
  1025. name: '功率',
  1026. data: [
  1027. ],
  1028. color: '#4BB94B',
  1029. textColor: '#FFFFFF',
  1030. textSize: this.seriesTextSize,
  1031. format: val => {
  1032. return val + 'kwh';
  1033. },
  1034. index: 0,
  1035. legendShape: 'circle'
  1036. },
  1037. {
  1038. name: '风速',
  1039. data: [
  1040. ],
  1041. color: '#E82E2F',
  1042. textColor: '#FFFFFF',
  1043. textSize: this.seriesTextSize,
  1044. format: val => {
  1045. return val + 'km/h';
  1046. },
  1047. index: 1,
  1048. legendShape: 'circle'
  1049. },
  1050. {
  1051. name: '理论功率',
  1052. data: [
  1053. ],
  1054. color: '#F5A83C',
  1055. textColor: '#FFFFFF',
  1056. textSize: this.seriesTextSize,
  1057. format: val => {
  1058. return val + 'kwh';
  1059. },
  1060. index: 0,
  1061. legendShape: 'circle'
  1062. },
  1063. {
  1064. name: '预测功率',
  1065. data: [],
  1066. color: '#4A80B1',
  1067. textColor: '#FFFFFF',
  1068. textSize: this.seriesTextSize,
  1069. format: val => {
  1070. return val + 'kwh';
  1071. },
  1072. index: 1,
  1073. legendShape: 'circle'
  1074. }
  1075. ]
  1076. };
  1077. let LineD = {
  1078. categories: [
  1079. ],
  1080. series: [{
  1081. name: '功率',
  1082. data: [
  1083. ],
  1084. color: '#4BB94B',
  1085. textColor: '#FFFFFF',
  1086. textSize: this.seriesTextSize,
  1087. format: val => {
  1088. return val + 'kwh';
  1089. },
  1090. index: 0,
  1091. legendShape: 'circle'
  1092. },
  1093. {
  1094. name: '风速',
  1095. data: [
  1096. ],
  1097. color: '#E82E2F',
  1098. textColor: '#FFFFFF',
  1099. textSize: this.seriesTextSize,
  1100. format: val => {
  1101. return val + 'km/h';
  1102. },
  1103. index: 1,
  1104. legendShape: 'circle'
  1105. },
  1106. {
  1107. name: '理论功率',
  1108. data: [
  1109. ],
  1110. color: '#F5A83C',
  1111. textColor: '#FFFFFF',
  1112. textSize: this.seriesTextSize,
  1113. format: val => {
  1114. return val + 'kwh';
  1115. },
  1116. index: 0,
  1117. legendShape: 'circle'
  1118. },
  1119. {
  1120. name: '预测功率',
  1121. data: [],
  1122. color: '#4A80B1',
  1123. textColor: '#FFFFFF',
  1124. textSize: this.seriesTextSize,
  1125. format: val => {
  1126. return val + 'kwh';
  1127. },
  1128. index: 1,
  1129. legendShape: 'circle'
  1130. }
  1131. ]
  1132. };
  1133. let LineE = {
  1134. categories: [
  1135. ],
  1136. series: [{
  1137. name: '功率',
  1138. data: [
  1139. ],
  1140. color: '#4BB94B',
  1141. textColor: '#FFFFFF',
  1142. textSize: this.seriesTextSize,
  1143. format: val => {
  1144. return val + 'kwh';
  1145. },
  1146. index: 0,
  1147. legendShape: 'circle'
  1148. },
  1149. {
  1150. name: '风速',
  1151. data: [
  1152. ],
  1153. color: '#E82E2F',
  1154. textColor: '#FFFFFF',
  1155. textSize: this.seriesTextSize,
  1156. format: val => {
  1157. return val + 'km/h';
  1158. },
  1159. index: 1,
  1160. legendShape: 'circle'
  1161. },
  1162. {
  1163. name: '理论功率',
  1164. data: [
  1165. ],
  1166. color: '#F5A83C',
  1167. textColor: '#FFFFFF',
  1168. textSize: this.seriesTextSize,
  1169. format: val => {
  1170. return val + 'kwh';
  1171. },
  1172. index: 0,
  1173. legendShape: 'circle'
  1174. },
  1175. {
  1176. name: '预测功率',
  1177. data: [],
  1178. color: '#4A80B1',
  1179. textColor: '#FFFFFF',
  1180. textSize: this.seriesTextSize,
  1181. format: val => {
  1182. return val + 'kwh';
  1183. },
  1184. index: 1,
  1185. legendShape: 'circle'
  1186. }
  1187. ]
  1188. };
  1189. let Line = {
  1190. categories: [
  1191. ],
  1192. series: [{
  1193. name: '功率',
  1194. data: [
  1195. ],
  1196. color: '#4BB94B',
  1197. textColor: '#FFFFFF',
  1198. textSize: this.seriesTextSize,
  1199. format: val => {
  1200. return val + 'kwh';
  1201. },
  1202. index: 0,
  1203. legendShape: 'circle'
  1204. },
  1205. {
  1206. name: '风速',
  1207. data: [
  1208. ],
  1209. color: '#E82E2F',
  1210. textColor: '#FFFFFF',
  1211. textSize: this.seriesTextSize,
  1212. format: val => {
  1213. return val + 'km/h';
  1214. },
  1215. index: 1,
  1216. legendShape: 'circle'
  1217. },
  1218. {
  1219. name: '理论功率',
  1220. data: [
  1221. ],
  1222. color: '#F5A83C',
  1223. textColor: '#FFFFFF',
  1224. textSize: this.seriesTextSize,
  1225. format: val => {
  1226. return val + 'kwh';
  1227. },
  1228. index: 0,
  1229. legendShape: 'circle'
  1230. },
  1231. {
  1232. name: '预测功率',
  1233. data: [],
  1234. color: '#4A80B1',
  1235. textColor: '#FFFFFF',
  1236. textSize: this.seriesTextSize,
  1237. format: val => {
  1238. return val + 'kwh';
  1239. },
  1240. index: 1,
  1241. legendShape: 'circle'
  1242. }
  1243. ]
  1244. };
  1245. Line.categories=[];
  1246. Line.series[0].data=[];
  1247. /* LineA.series[0].name=this.targetName; */
  1248. for(var i=0;i<_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule[_this.FDC]['gl'].length;i++){
  1249. let time = new Date(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule[_this.FDC]['gl'][i].pointTime*1000).Format("hh");
  1250. Line.categories.push(time);
  1251. //console.log(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['gl'][i].pointValueInDouble);
  1252. Line.series[0].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule[_this.FDC]['gl'][i].pointValueInDouble);
  1253. Line.series[1].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule[_this.FDC]['fs'][i].pointValueInDouble);
  1254. Line.series[2].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule[_this.FDC]['llgl'][i].pointValueInDouble);
  1255. Line.series[3].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule[_this.FDC]['ycgl'][i].pointValueInDouble);
  1256. }
  1257. LineA.categories=[];
  1258. LineA.series[0].data=[];
  1259. /* LineA.series[0].name=this.targetName; */
  1260. for(var i=0;i<_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['gl'].length;i++){
  1261. let time = new Date(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['gl'][i].pointTime*1000).Format("hh");
  1262. LineA.categories.push(time);
  1263. //console.log(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['gl'][i].pointValueInDouble);
  1264. LineA.series[0].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['gl'][i].pointValueInDouble);
  1265. LineA.series[1].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['fs'][i].pointValueInDouble);
  1266. LineA.series[2].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['llgl'][i].pointValueInDouble);
  1267. LineA.series[3].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['ycgl'][i].pointValueInDouble);
  1268. }
  1269. LineB.categories=[];
  1270. LineB.series[0].data=[];
  1271. /* LineA.series[0].name=this.targetName; */
  1272. for(var i=0;i<_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['NSS_FDC']['gl'].length;i++){
  1273. let time = new Date(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['NSS_FDC']['gl'][i].pointTime*1000).Format("hh");
  1274. LineB.categories.push(time);
  1275. //console.log(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['gl'][i].pointValueInDouble);
  1276. LineB.series[0].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['NSS_FDC']['gl'][i].pointValueInDouble);
  1277. LineB.series[1].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['NSS_FDC']['fs'][i].pointValueInDouble);
  1278. LineB.series[2].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['NSS_FDC']['llgl'][i].pointValueInDouble);
  1279. LineB.series[3].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['NSS_FDC']['ycgl'][i].pointValueInDouble);
  1280. }
  1281. LineC.categories=[];
  1282. LineC.series[0].data=[];
  1283. /* LineA.series[0].name=this.targetName; */
  1284. for(var i=0;i<_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['SBQ_FDC']['gl'].length;i++){
  1285. let time = new Date(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['SBQ_FDC']['gl'][i].pointTime*1000).Format("hh");
  1286. LineC.categories.push(time);
  1287. //console.log(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['gl'][i].pointValueInDouble);
  1288. LineC.series[0].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['SBQ_FDC']['gl'][i].pointValueInDouble);
  1289. LineC.series[1].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['SBQ_FDC']['fs'][i].pointValueInDouble);
  1290. LineC.series[2].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['SBQ_FDC']['llgl'][i].pointValueInDouble);
  1291. LineC.series[3].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['SBQ_FDC']['ycgl'][i].pointValueInDouble);
  1292. }
  1293. LineD.categories=[];
  1294. LineD.series[0].data=[];
  1295. /* LineA.series[0].name=this.targetName; */
  1296. for(var i=0;i<_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['QS_FDC']['gl'].length;i++){
  1297. let time = new Date(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['QS_FDC']['gl'][i].pointTime*1000).Format("hh");
  1298. LineD.categories.push(time);
  1299. //console.log(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['gl'][i].pointValueInDouble);
  1300. LineD.series[0].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['QS_FDC']['gl'][i].pointValueInDouble);
  1301. LineD.series[1].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['QS_FDC']['fs'][i].pointValueInDouble);
  1302. LineD.series[2].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['QS_FDC']['llgl'][i].pointValueInDouble);
  1303. LineD.series[3].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['QS_FDC']['ycgl'][i].pointValueInDouble);
  1304. }
  1305. LineE.categories=[];
  1306. LineE.series[0].data=[];
  1307. /* LineA.series[0].name=this.targetName; */
  1308. for(var i=0;i<_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['XS_FDC']['gl'].length;i++){
  1309. let time = new Date(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['XS_FDC']['gl'][i].pointTime*1000).Format("hh");
  1310. LineE.categories.push(time);
  1311. //console.log(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['gl'][i].pointValueInDouble);
  1312. LineE.series[0].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['XS_FDC']['gl'][i].pointValueInDouble);
  1313. LineE.series[1].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['XS_FDC']['fs'][i].pointValueInDouble);
  1314. LineE.series[2].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['XS_FDC']['llgl'][i].pointValueInDouble);
  1315. LineE.series[3].data.push(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['XS_FDC']['ycgl'][i].pointValueInDouble);
  1316. }
  1317. _this.showLineA('canvasLineA', Line);
  1318. _this.showWindStationCardLineA1('windStationCanvasLineA', LineA);
  1319. _this.showWindStationCardLineA1('windStationCanvasLineA', LineA);
  1320. _this.showWindStationCardLineA2('windStationCanvasLineB', LineB);
  1321. _this.showWindStationCardLineA3('windStationCanvasLineC', LineC);
  1322. _this.showWindStationCardLineA4('windStationCanvasLineD', LineD);
  1323. _this.showWindStationCardLineA5('windStationCanvasLineE', LineE);
  1324. });
  1325. });
  1326. },
  1327. openDrawer: function() {
  1328. this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList);
  1329. },
  1330. closeDrawer: function() {
  1331. this.drawerIsShow = false;
  1332. },
  1333. pushWindPowerStationNameToSessionStorage(windpowerstationName) {
  1334. uni.setStorageSync('windpowerstationName', windpowerstationName);
  1335. //sessionStorage.setItem('windpowerstationName', windpowerstationName);
  1336. //alert("v"+ sessionStorage.getItem("windpowerstationName"));
  1337. //this.common.goback('/pages/index/Index');
  1338. },
  1339. getWindPowerStationNameToSessionStorage() {
  1340. uni.getStorageSync('windpowerstationName');
  1341. return uni.getStorageSync('windpowerstationName');
  1342. },
  1343. showModal(e) {
  1344. this.modalName = e.currentTarget.dataset.target;
  1345. this.$refs.plusDrawer.showModal(this.plusDrawerList, this.modalName);
  1346. },
  1347. hideModal() {
  1348. this.modalName = null;
  1349. this.$refs.plusDrawer.hideModal(this.modalName);
  1350. },
  1351. async target_comprehensive_indicators() {
  1352. let _this = this;
  1353. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  1354. this.socketTask_target_comprehensive_indicators = uni.connectSocket({
  1355. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  1356. url: 'ws://'+this.backStageIp+':'+this.backStagePort+'/websocket/pageNumber_6/functionNumber_1',
  1357. success(data) {
  1358. console.log('websocket连接成功');
  1359. }
  1360. });
  1361. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  1362. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  1363. this.socketTask_target_comprehensive_indicators.onOpen(res => {
  1364. console.log('WebSocket连接正常打开中...!');
  1365. this.is_open_socket = true;
  1366. // 注:只有连接正常打开中 ,才能正常收到消息
  1367. this.socketTask_target_comprehensive_indicators.onMessage(res => {
  1368. //console.log("收到服务器内容:" + res.data);
  1369. _this.windpowerstationdetail.target_comprehensive_indicators =JSON.parse(res.data)[_this.FDC];
  1370. console.log();
  1371. });
  1372. });
  1373. // 这里仅是事件监听【如果socket关闭了会执行】
  1374. /* this.socketTask_comprehensive_target.onClose(() => {
  1375. uni.request({
  1376. url: 'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/close_targetdetail_target?pointKey='+this.pointKey,
  1377. success: (res) => {
  1378. }
  1379. });
  1380. }) */
  1381. },
  1382. async target_windSpeed_power() {
  1383. let _this = this;
  1384. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  1385. this.socketTask_target_windSpeed_power = uni.connectSocket({
  1386. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  1387. url: 'ws://'+this.backStageIp+':'+this.backStagePort+'/websocket/pageNumber_6/functionNumber_2',
  1388. success(data) {
  1389. console.log('websocket连接成功');
  1390. }
  1391. });
  1392. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  1393. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  1394. this.socketTask_target_windSpeed_power.onOpen(res => {
  1395. console.log('WebSocket连接正常打开中...!');
  1396. this.is_open_socket = true;
  1397. // 注:只有连接正常打开中 ,才能正常收到消息
  1398. this.socketTask_target_windSpeed_power.onMessage(res => {
  1399. //console.log("收到服务器内容:" + res.data);
  1400. _this.windpowerstationdetail.target_windSpeed_power =JSON.parse(res.data)[_this.FDC];
  1401. });
  1402. });
  1403. // 这里仅是事件监听【如果socket关闭了会执行】
  1404. /* this.socketTask_comprehensive_target.onClose(() => {
  1405. uni.request({
  1406. url: 'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/close_targetdetail_target?pointKey='+this.pointKey,
  1407. success: (res) => {
  1408. }
  1409. });
  1410. }) */
  1411. },
  1412. async index_windturbine_status() {
  1413. let _this = this;
  1414. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  1415. this.socketTask_index_windturbine_status = uni.connectSocket({
  1416. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  1417. url: 'ws://'+this.backStageIp+':'+this.backStagePort+'/websocket/pageNumber_6/functionNumber_3',
  1418. success(data) {
  1419. console.log('websocket连接成功');
  1420. }
  1421. });
  1422. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  1423. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  1424. this.socketTask_index_windturbine_status.onOpen(res => {
  1425. console.log('WebSocket连接正常打开中...!');
  1426. this.is_open_socket = true;
  1427. // 注:只有连接正常打开中 ,才能正常收到消息
  1428. this.socketTask_index_windturbine_status.onMessage(res => {
  1429. //console.log("收到服务器内容:" + res.data);
  1430. _this.windpowerstationdetail.index_windturbine_status =JSON.parse(res.data)[_this.FDC];
  1431. _this.fdcstatusmodule.fdcstatusmodule = JSON.parse(res.data);
  1432. });
  1433. });
  1434. // 这里仅是事件监听【如果socket关闭了会执行】
  1435. /* this.socketTask_comprehensive_target.onClose(() => {
  1436. uni.request({
  1437. url: 'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/close_targetdetail_target?pointKey='+this.pointKey,
  1438. success: (res) => {
  1439. }
  1440. });
  1441. }) */
  1442. },
  1443. async index_electricQuantity() {
  1444. let _this = this;
  1445. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  1446. this.socketTask_index_electricQuantity = uni.connectSocket({
  1447. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  1448. url: 'ws://'+this.backStageIp+':'+this.backStagePort+'/websocket/pageNumber_6/functionNumber_4',
  1449. success(data) {
  1450. console.log('websocket连接成功');
  1451. }
  1452. });
  1453. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  1454. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  1455. this.socketTask_index_electricQuantity.onOpen(res => {
  1456. console.log('WebSocket连接正常打开中...!');
  1457. this.is_open_socket = true;
  1458. // 注:只有连接正常打开中 ,才能正常收到消息
  1459. this.socketTask_index_electricQuantity.onMessage(res => {
  1460. //console.log("收到服务器内容:" + res.data);
  1461. _this.windpowerstationdetail.index_electricQuantity =JSON.parse(res.data)[_this.FDC];
  1462. _this.monthOlive=(_this.windpowerstationdetail.index_electricQuantity.yfdl/10000)*100+"%";
  1463. _this.monthAngrey=(1-_this.windpowerstationdetail.index_electricQuantity.yfdl/10000)*100+"%";
  1464. _this.yearOlive=(_this.windpowerstationdetail.index_electricQuantity.nfdl/100000)*100+"%";
  1465. _this.yearAngrey=(1-_this.windpowerstationdetail.index_electricQuantity.nfdl/100000)*100+"%";
  1466. });
  1467. });
  1468. // 这里仅是事件监听【如果socket关闭了会执行】
  1469. /* this.socketTask_comprehensive_target.onClose(() => {
  1470. uni.request({
  1471. url: 'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/close_targetdetail_target?pointKey='+this.pointKey,
  1472. success: (res) => {
  1473. }
  1474. });
  1475. }) */
  1476. },
  1477. async index_target_basic_indicators() {
  1478. let _this = this;
  1479. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  1480. this.socketTask_index_target_basic_indicators = uni.connectSocket({
  1481. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  1482. url: 'ws://'+this.backStageIp+':'+this.backStagePort+'/websocket/pageNumber_6/functionNumber_5',
  1483. success(data) {
  1484. console.log('websocket连接成功');
  1485. }
  1486. });
  1487. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  1488. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  1489. this.socketTask_index_target_basic_indicators.onOpen(res => {
  1490. console.log('WebSocket连接正常打开中...!');
  1491. this.is_open_socket = true;
  1492. // 注:只有连接正常打开中 ,才能正常收到消息
  1493. this.socketTask_index_target_basic_indicators.onMessage(res => {
  1494. //console.log("收到服务器内容:" + res.data);
  1495. _this.windpowerstationdetail.index_target_basic_indicators =JSON.parse(res.data)[_this.FDC];
  1496. });
  1497. });
  1498. // 这里仅是事件监听【如果socket关闭了会执行】
  1499. /* this.socketTask_comprehensive_target.onClose(() => {
  1500. uni.request({
  1501. url: 'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/close_targetdetail_target?pointKey='+this.pointKey,
  1502. success: (res) => {
  1503. }
  1504. });
  1505. }) */
  1506. },
  1507. getServerData() {
  1508. // 折线图
  1509. let LineA = {
  1510. categories: [
  1511. ' 17:26',
  1512. '18:56',
  1513. '19:56',
  1514. '20:56',
  1515. '21:56',
  1516. '22:56',
  1517. '23:56',
  1518. '00:56',
  1519. '01:56',
  1520. '02:56',
  1521. '03:56',
  1522. '04:56',
  1523. '05:56',
  1524. '06:56',
  1525. '07:56',
  1526. '08:56',
  1527. '09:56',
  1528. '10:56',
  1529. '11:56',
  1530. '12:56',
  1531. '13:56',
  1532. '14:56',
  1533. '15:56',
  1534. '16:56',
  1535. '17:56 '
  1536. ],
  1537. series: [{
  1538. name: '功率',
  1539. data: [11, 12, 14, 12, 13, 12, 16, 14, 11, 13, 10, 14, 11, 13, 11, 12, 11, 12.1, 12.2, 11.5, 11.7, 11.3, 12.7,
  1540. 13, 12.8
  1541. ],
  1542. color: '#4BB94B',
  1543. textColor: '#FFFFFF',
  1544. textSize: this.seriesTextSize,
  1545. format: val => {
  1546. return val + 'kwh';
  1547. },
  1548. index: 0,
  1549. legendShape: 'circle'
  1550. },
  1551. {
  1552. name: '风速',
  1553. data: [21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22.1, 22.2, 21.5, 21.7, 21.3, 22.7,
  1554. 23, 22.8
  1555. ],
  1556. color: '#E82E2F',
  1557. textColor: '#FFFFFF',
  1558. textSize: this.seriesTextSize,
  1559. format: val => {
  1560. return val + 'km/h';
  1561. },
  1562. index: 1,
  1563. legendShape: 'circle'
  1564. },
  1565. {
  1566. name: '理论功率',
  1567. data: [31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32.1, 32.2, 31.5, 31.7, 31.3, 32.7,
  1568. 33, 32.8
  1569. ],
  1570. color: '#F5A83C',
  1571. textColor: '#FFFFFF',
  1572. textSize: this.seriesTextSize,
  1573. format: val => {
  1574. return val + 'kwh';
  1575. },
  1576. index: 0,
  1577. legendShape: 'circle'
  1578. },
  1579. {
  1580. name: '预测功率',
  1581. data: [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2.1, 2.2, 1.5, 1.7, 1.3, 2.7, 3, 2.8],
  1582. color: '#4A80B1',
  1583. textColor: '#FFFFFF',
  1584. textSize: this.seriesTextSize,
  1585. format: val => {
  1586. return val + 'kwh';
  1587. },
  1588. index: 1,
  1589. legendShape: 'circle'
  1590. }
  1591. ]
  1592. };
  1593. this.showLineA('canvasLineA', LineA);
  1594. },
  1595. showLineA(canvasId, chartData) {
  1596. var _self = this;
  1597. canvaLineA = new uCharts({
  1598. $this: _self,
  1599. canvasId: canvasId,
  1600. type: 'line',
  1601. fontSize: 11,
  1602. legend: {
  1603. show: true,
  1604. position: 'top',
  1605. float: 'right',
  1606. fontColor: 'silver',
  1607. itemGap: '4',
  1608. itemWidth: '3'
  1609. },
  1610. dataLabel: false,
  1611. dataPointShape: false,
  1612. background: '#FFFFFF',
  1613. pixelRatio: _self.pixelRatio,
  1614. categories: chartData.categories,
  1615. series: chartData.series,
  1616. animation: true,
  1617. xAxis: {
  1618. type: 'grid',
  1619. gridColor: 'silver',
  1620. fontColor: 'silver',
  1621. gridType: 'solid',
  1622. gridColor: '#2E2E2E',
  1623. axisLineColor: '#2E2E2E',
  1624. labelCount: '3'
  1625. // itemCount:"3"
  1626. },
  1627. yAxis: {
  1628. data: [{
  1629. type: 'value',
  1630. fontColor: 'silver',
  1631. disabled: false, //y轴轴线
  1632. min: 0,
  1633. max: 40,
  1634. position: 'left',
  1635. axisLineColor: '#2E2E2E',
  1636. title: ' 风速:(km/h)',
  1637. titleFontColor: 'silver'
  1638. },
  1639. {
  1640. fontColor: 'silver',
  1641. disabled: false, //y轴轴线
  1642. min: 0,
  1643. max: 40,
  1644. position: 'right',
  1645. axisLineColor: '#2E2E2E',
  1646. title: '功率:(kwh)',
  1647. titleFontColor: 'silver'
  1648. }
  1649. ],
  1650. gridColor: '#2E2E2E',
  1651. splitNumber: 4,
  1652. gridType: 'solid',
  1653. dashLength: 8,
  1654. showTitle: 'true',
  1655. format: val => {
  1656. return val.toFixed(0) + '元';
  1657. }
  1658. },
  1659. width: _self.cWidth * _self.pixelRatio,
  1660. height: _self.cHeight * _self.pixelRatio,
  1661. extra: {
  1662. line: {
  1663. type: 'line',
  1664. width: '1'
  1665. }
  1666. }
  1667. });
  1668. },
  1669. AffectedPower() {
  1670. this.toBeInvolved = true,
  1671. this.performance = false;
  1672. this.powerLimitation = false;
  1673. this.overhaul = false;
  1674. this.dayHair = false;
  1675. this.fault = false;
  1676. this.clickFlag = "group";
  1677. this.getColumnData();
  1678. },
  1679. performancePower() {
  1680. this.performance = true;
  1681. this.powerLimitation = false;
  1682. this.toBeInvolved = false,
  1683. this.overhaul = false;
  1684. this.dayHair = false;
  1685. this.fault = false;
  1686. this.clickFlag = "group";
  1687. this.getColumnData();
  1688. },
  1689. limitedPower() {
  1690. this.toBeInvolved = false,
  1691. this.powerLimitation = true;
  1692. this.performance = false;
  1693. this.overhaul = false;
  1694. this.dayHair = false;
  1695. this.fault = false;
  1696. this.clickFlag = "group";
  1697. this.getColumnData();
  1698. },
  1699. maintenancePower() {
  1700. this.toBeInvolved = false,
  1701. this.overhaul = true;
  1702. this.performance = false;
  1703. this.dayHair = false;
  1704. this.fault = false;
  1705. this.powerLimitation = false;
  1706. this.clickFlag = "group";
  1707. this.getColumnData();
  1708. },
  1709. directGeneration() {
  1710. this.toBeInvolved = false,
  1711. this.dayHair = false;
  1712. this.performance = false;
  1713. this.fault = false;
  1714. this.overhaul = false;
  1715. this.powerLimitation = false;
  1716. this.clickFlag = "stack";
  1717. this.getColumnData();
  1718. },
  1719. powerGeneration() {
  1720. this.toBeInvolved = false,
  1721. this.dayHair = true;
  1722. this.performance = false;
  1723. this.fault = false;
  1724. this.overhaul = false;
  1725. this.powerLimitation = false;
  1726. this.clickFlag = "group";
  1727. this.getColumnData();
  1728. },
  1729. faultPower() {
  1730. this.toBeInvolved = false,
  1731. this.fault = true;
  1732. this.performance = false;
  1733. this.dayHair = false;
  1734. this.overhaul = false;
  1735. this.powerLimitation = false;
  1736. this.clickFlag = "group";
  1737. this.getColumnData();
  1738. },
  1739. getColumnData() {
  1740. let ColumnStack = {
  1741. "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18"],
  1742. "series": [{
  1743. "name": "应发电量(万kwh)",
  1744. "data": [0, 0, 0, 0, 0, 0, 0],
  1745. color: '#007BF9',
  1746. }, {
  1747. "name": "日发电量(万kwh)",
  1748. "data": [18, 13, 12, 17, 13, 7, 11],
  1749. color: '#4EB64E',
  1750. }, {
  1751. "name": "故障损失电量(万kwh)",
  1752. "data": [17, 15, 17, 21, 16, 8, 10],
  1753. color: '#F14E51',
  1754. }, {
  1755. "name": "检修损失电量(万kwh)",
  1756. "data": [14, 17, 19, 20, 6, 14, 12],
  1757. color: '#FF6B3E',
  1758. },
  1759. {
  1760. "name": "限电损失电量(万kwh)",
  1761. "data": [14, 17, 19, 20, 6, 14, 12],
  1762. color: '#DC62D2',
  1763. },
  1764. {
  1765. "name": "性能损失电量(万kwh)",
  1766. "data": [15, 17, 19, 20, 6, 4, 12],
  1767. color: '#9DA3F6',
  1768. },
  1769. {
  1770. "name": "受累损失电量(万kwh)",
  1771. "data": [14, 17, 19, 20, 6, 4, 12],
  1772. color: '#9E9E9E',
  1773. },
  1774. ],
  1775. };
  1776. if (this.dayHair) {
  1777. ColumnStack = {
  1778. "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
  1779. "series": [{
  1780. "name": "日发电量(万kwh)",
  1781. "data": [18, 13, 12, 17, 13, 7, 11, 15, 13],
  1782. color: '#4EB64E',
  1783. }
  1784. ],
  1785. };
  1786. ColumnStack.categories = [];
  1787. ColumnStack.series[0].data = [];
  1788. for (let i = 0; i < this.rifa.length; i++) {
  1789. ColumnStack.categories.push(this.Xzuobiao[i]);
  1790. // console.log(ColumnStack.categories)
  1791. ColumnStack.series[0].data.push(this.rifa[i]);
  1792. // console.log(ColumnStack.series[1].data)
  1793. }
  1794. }
  1795. if (this.fault) {
  1796. ColumnStack = {
  1797. "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
  1798. "series": [{
  1799. "name": "故障损失电量(万kwh)",
  1800. "data": [17, 15, 17, 21, 16, 8, 10, 17, 11],
  1801. color: '#F14E51',
  1802. }, ],
  1803. };
  1804. ColumnStack.categories = [];
  1805. ColumnStack.series[0].data = [];
  1806. for (let i = 0; i < this.guzhang.length; i++) {
  1807. ColumnStack.categories.push(this.Xzuobiao[i]);
  1808. // console.log(ColumnStack.categories)
  1809. ColumnStack.series[0].data.push(this.guzhang[i]);
  1810. // console.log(ColumnStack.series[1].data)
  1811. }
  1812. }
  1813. if (this.overhaul) {
  1814. ColumnStack = {
  1815. "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
  1816. "series": [{
  1817. "name": "检修损失电量(万kwh)",
  1818. "data": [14, 17, 19, 20, 6, 14, 12, 14, 10],
  1819. color: '#FF6B3E',
  1820. }
  1821. ],
  1822. };
  1823. ColumnStack.categories = [];
  1824. ColumnStack.series[0].data = [];
  1825. for (let i = 0; i < this.jianxiu.length; i++) {
  1826. ColumnStack.categories.push(this.Xzuobiao[i]);
  1827. // console.log(ColumnStack.categories)
  1828. ColumnStack.series[0].data.push(this.jianxiu[i]);
  1829. // console.log(ColumnStack.series[1].data)
  1830. }
  1831. }
  1832. if (this.powerLimitation) {
  1833. ColumnStack = {
  1834. "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
  1835. "series": [{
  1836. "name": "限电损失电量(万kwh)",
  1837. "data": [14, 17, 19, 20, 6, 14, 12, 14, 10],
  1838. color: '#DC62D2',
  1839. }
  1840. ],
  1841. };
  1842. ColumnStack.categories = [];
  1843. ColumnStack.series[0].data = [];
  1844. for (let i = 0; i < this.xiandian.length; i++) {
  1845. ColumnStack.categories.push(this.Xzuobiao[i]);
  1846. // console.log(ColumnStack.categories)
  1847. ColumnStack.series[0].data.push(this.xiandian[i]);
  1848. // console.log(ColumnStack.series[1].data)
  1849. }
  1850. }
  1851. if (this.performance) {
  1852. ColumnStack = {
  1853. "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
  1854. "series": [{
  1855. "name": "性能损失电量(万kwh)",
  1856. "data": [14, 17, 19, 20, 6, 14, 12, 14, 10],
  1857. color: '#9DA3F6',
  1858. }
  1859. ],
  1860. };
  1861. ColumnStack.categories = [];
  1862. ColumnStack.series[0].data = [];
  1863. for (let i = 0; i < this.xingneng.length; i++) {
  1864. ColumnStack.categories.push(this.Xzuobiao[i]);
  1865. // console.log(ColumnStack.categories)
  1866. ColumnStack.series[0].data.push(this.xingneng[i]);
  1867. // console.log(ColumnStack.series[1].data)
  1868. }
  1869. }
  1870. if (this.toBeInvolved) {
  1871. ColumnStack = {
  1872. "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
  1873. "series": [{
  1874. "name": "受累损失电量(万kwh)",
  1875. "data": [14, 17, 19, 20, 6, 14, 12, 14, 10],
  1876. color: '#9E9E9E',
  1877. }
  1878. ],
  1879. };
  1880. ColumnStack.categories = [];
  1881. ColumnStack.series[0].data = [];
  1882. for (let i = 0; i < this.shoulei.length; i++) {
  1883. ColumnStack.categories.push(this.Xzuobiao[i]);
  1884. // console.log(ColumnStack.categories)
  1885. ColumnStack.series[0].data.push(this.shoulei[i]);
  1886. // console.log(ColumnStack.series[1].data)
  1887. }
  1888. }
  1889. this.showColumnStack("canvasColumnStack", ColumnStack);
  1890. },
  1891. showColumnStack(canvasId, chartData) {
  1892. var _self = this;
  1893. canvaColumn = new uCharts({
  1894. $this: _self,
  1895. canvasId: canvasId,
  1896. type: 'column',
  1897. legend: {
  1898. show: false
  1899. },
  1900. fontSize: 11,
  1901. background: '#FFFFFF',
  1902. pixelRatio: _self.pixelRatio,
  1903. animation: true,
  1904. categories: chartData.categories,
  1905. series: chartData.series,
  1906. xAxis: {
  1907. disableGrid: true,
  1908. gridColor: 'silver',
  1909. fontColor: 'silver',
  1910. },
  1911. yAxis: {
  1912. data: [{
  1913. type: "value",
  1914. fontColor: 'silver',
  1915. disabled: false, //y轴轴线
  1916. min: 0,
  1917. max: 60,
  1918. axisLineColor: "#2E2E2E",
  1919. title: " 电量:(kwh)",
  1920. titleFontColor: "silver"
  1921. }],
  1922. gridColor: "#2E2E2E",
  1923. splitNumber: 4,
  1924. gridType: 'solid',
  1925. dashLength: 8,
  1926. showTitle: false,
  1927. //disabled:true
  1928. },
  1929. dataLabel: false,
  1930. width: _self.cWidth * _self.pixelRatio,
  1931. height: _self.cHeight * _self.pixelRatio,
  1932. extra: {
  1933. column: {
  1934. type: _self.clickFlag,
  1935. width: '13'
  1936. }
  1937. }
  1938. });
  1939. },
  1940. touchColumn(e) {
  1941. let _this = this;
  1942. canvaColumn.showToolTip(e, {
  1943. format: function(item, category) {
  1944. if (item.name == "应发电量(万kwh)") {
  1945. return category + ' ' + item.name + ':' + 50;
  1946. } else {
  1947. return category + ' ' + item.name + ':' + item.data
  1948. }
  1949. }
  1950. });
  1951. },
  1952. touchLineA(e) {
  1953. canvaLineA.showToolTip(e, {
  1954. format: function(item, category) {
  1955. return category + ' ' + item.name + ':' + item.data;
  1956. }
  1957. });
  1958. },
  1959. touchLineB1(e) {
  1960. canvaLineB1.showToolTip(e, {
  1961. format: function(item, category) {
  1962. return category + ' ' + item.name + ':' + item.data;
  1963. }
  1964. });
  1965. },
  1966. touchLineB2(e) {
  1967. canvaLineB2.showToolTip(e, {
  1968. format: function(item, category) {
  1969. return category + ' ' + item.name + ':' + item.data;
  1970. }
  1971. });
  1972. },
  1973. touchLineB3(e) {
  1974. canvaLineB3.showToolTip(e, {
  1975. format: function(item, category) {
  1976. return category + ' ' + item.name + ':' + item.data;
  1977. }
  1978. });
  1979. },
  1980. touchLineB4(e) {
  1981. canvaLineB4.showToolTip(e, {
  1982. format: function(item, category) {
  1983. return category + ' ' + item.name + ':' + item.data;
  1984. }
  1985. });
  1986. },
  1987. touchLineB5(e) {
  1988. canvaLineB5.showToolTip(e, {
  1989. format: function(item, category) {
  1990. return category + ' ' + item.name + ':' + item.data;
  1991. }
  1992. });
  1993. },
  1994. moveLineA(e) {
  1995. canvaLineA.scroll(e);
  1996. },
  1997. getWindStationCardData: function() {
  1998. let LineA1 = {
  1999. categories: [
  2000. ' 17:26',
  2001. '18:56',
  2002. '19:56',
  2003. '20:56',
  2004. '21:56',
  2005. '22:56',
  2006. '23:56',
  2007. '00:56',
  2008. '01:56',
  2009. '02:56',
  2010. '03:56',
  2011. '04:56',
  2012. '05:56',
  2013. '06:56',
  2014. '07:56',
  2015. '08:56',
  2016. '09:56',
  2017. '10:56',
  2018. '11:56',
  2019. '12:56',
  2020. '13:56',
  2021. '14:56',
  2022. '15:56',
  2023. '16:56',
  2024. '17:56 '
  2025. ],
  2026. series: [{
  2027. name: '功率',
  2028. data: [11, 12, 14, 12, 13, 12, 16, 14, 11, 13, 10, 14, 11, 13, 11, 12, 11, 12.1, 12.2, 11.5, 11.7, 11.3, 12.7,
  2029. 13, 12.8
  2030. ],
  2031. color: '#4BB94B',
  2032. textColor: '#FFFFFF',
  2033. textSize: this.seriesTextSize,
  2034. format: val => {
  2035. return val + 'kwh';
  2036. },
  2037. index: 0,
  2038. legendShape: 'circle'
  2039. },
  2040. {
  2041. name: '风速',
  2042. data: [21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22.1, 22.2, 21.5, 21.7, 21.3, 22.7,
  2043. 23, 22.8
  2044. ],
  2045. color: '#E82E2F',
  2046. textColor: '#FFFFFF',
  2047. textSize: this.seriesTextSize,
  2048. format: val => {
  2049. return val + 'km/h';
  2050. },
  2051. index: 1,
  2052. legendShape: 'circle'
  2053. },
  2054. {
  2055. name: '理论功率',
  2056. data: [31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32.1, 32.2, 31.5, 31.7, 31.3, 32.7,
  2057. 33, 32.8
  2058. ],
  2059. color: '#F5A83C',
  2060. textColor: '#FFFFFF',
  2061. textSize: this.seriesTextSize,
  2062. format: val => {
  2063. return val + 'kwh';
  2064. },
  2065. index: 0,
  2066. legendShape: 'circle'
  2067. },
  2068. {
  2069. name: '预测功率',
  2070. data: [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2.1, 2.2, 1.5, 1.7, 1.3, 2.7, 3, 2.8],
  2071. color: '#4A80B1',
  2072. textColor: '#FFFFFF',
  2073. textSize: this.seriesTextSize,
  2074. format: val => {
  2075. return val + 'kwh';
  2076. },
  2077. index: 1,
  2078. legendShape: 'circle'
  2079. }
  2080. ]
  2081. };
  2082. let LineB = {
  2083. categories: [
  2084. ' 17:26',
  2085. '18:56',
  2086. '19:56',
  2087. '20:56',
  2088. '21:56',
  2089. '22:56',
  2090. '23:56',
  2091. '00:56',
  2092. '01:56',
  2093. '02:56',
  2094. '03:56',
  2095. '04:56',
  2096. '05:56',
  2097. '06:56',
  2098. '07:56',
  2099. '08:56',
  2100. '09:56',
  2101. '10:56',
  2102. '11:56',
  2103. '12:56',
  2104. '13:56',
  2105. '14:56',
  2106. '15:56',
  2107. '16:56',
  2108. '17:56 '
  2109. ],
  2110. series: [{
  2111. name: '功率',
  2112. data: [11, 12, 14, 12, 13, 12, 16, 14, 11, 13, 10, 14, 11, 13, 11, 12, 11, 12.1, 12.2, 11.5, 11.7, 11.3, 12.7,
  2113. 13, 12.8
  2114. ],
  2115. color: '#4BB94B',
  2116. textColor: '#FFFFFF',
  2117. textSize: this.seriesTextSize,
  2118. format: val => {
  2119. return val + 'kwh';
  2120. },
  2121. index: 0,
  2122. legendShape: 'circle'
  2123. },
  2124. {
  2125. name: '风速',
  2126. data: [21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22.1, 22.2, 21.5, 21.7, 21.3, 22.7,
  2127. 23, 22.8
  2128. ],
  2129. color: '#E82E2F',
  2130. textColor: '#FFFFFF',
  2131. textSize: this.seriesTextSize,
  2132. format: val => {
  2133. return val + 'km/h';
  2134. },
  2135. index: 1,
  2136. legendShape: 'circle'
  2137. },
  2138. {
  2139. name: '理论功率',
  2140. data: [31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32.1, 32.2, 31.5, 31.7, 31.3, 32.7,
  2141. 33, 32.8
  2142. ],
  2143. color: '#F5A83C',
  2144. textColor: '#FFFFFF',
  2145. textSize: this.seriesTextSize,
  2146. format: val => {
  2147. return val + 'kwh';
  2148. },
  2149. index: 0,
  2150. legendShape: 'circle'
  2151. },
  2152. {
  2153. name: '预测功率',
  2154. data: [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2.1, 2.2, 1.5, 1.7, 1.3, 2.7, 3, 2.8],
  2155. color: '#4A80B1',
  2156. textColor: '#FFFFFF',
  2157. textSize: this.seriesTextSize,
  2158. format: val => {
  2159. return val + 'kwh';
  2160. },
  2161. index: 1,
  2162. legendShape: 'circle'
  2163. }
  2164. ]
  2165. };
  2166. let LineC = {
  2167. categories: [
  2168. ' 17:26',
  2169. '18:56',
  2170. '19:56',
  2171. '20:56',
  2172. '21:56',
  2173. '22:56',
  2174. '23:56',
  2175. '00:56',
  2176. '01:56',
  2177. '02:56',
  2178. '03:56',
  2179. '04:56',
  2180. '05:56',
  2181. '06:56',
  2182. '07:56',
  2183. '08:56',
  2184. '09:56',
  2185. '10:56',
  2186. '11:56',
  2187. '12:56',
  2188. '13:56',
  2189. '14:56',
  2190. '15:56',
  2191. '16:56',
  2192. '17:56 '
  2193. ],
  2194. series: [{
  2195. name: '功率',
  2196. data: [11, 12, 14, 12, 13, 12, 16, 14, 11, 13, 10, 14, 11, 13, 11, 12, 11, 12.1, 12.2, 11.5, 11.7, 11.3, 12.7,
  2197. 13, 12.8
  2198. ],
  2199. color: '#4BB94B',
  2200. textColor: '#FFFFFF',
  2201. textSize: this.seriesTextSize,
  2202. format: val => {
  2203. return val + 'kwh';
  2204. },
  2205. index: 0,
  2206. legendShape: 'circle'
  2207. },
  2208. {
  2209. name: '风速',
  2210. data: [21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22.1, 22.2, 21.5, 21.7, 21.3, 22.7,
  2211. 23, 22.8
  2212. ],
  2213. color: '#E82E2F',
  2214. textColor: '#FFFFFF',
  2215. textSize: this.seriesTextSize,
  2216. format: val => {
  2217. return val + 'km/h';
  2218. },
  2219. index: 1,
  2220. legendShape: 'circle'
  2221. },
  2222. {
  2223. name: '理论功率',
  2224. data: [31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32.1, 32.2, 31.5, 31.7, 31.3, 32.7,
  2225. 33, 32.8
  2226. ],
  2227. color: '#F5A83C',
  2228. textColor: '#FFFFFF',
  2229. textSize: this.seriesTextSize,
  2230. format: val => {
  2231. return val + 'kwh';
  2232. },
  2233. index: 0,
  2234. legendShape: 'circle'
  2235. },
  2236. {
  2237. name: '预测功率',
  2238. data: [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2.1, 2.2, 1.5, 1.7, 1.3, 2.7, 3, 2.8],
  2239. color: '#4A80B1',
  2240. textColor: '#FFFFFF',
  2241. textSize: this.seriesTextSize,
  2242. format: val => {
  2243. return val + 'kwh';
  2244. },
  2245. index: 1,
  2246. legendShape: 'circle'
  2247. }
  2248. ]
  2249. };
  2250. let LineD = {
  2251. categories: [
  2252. ' 17:26',
  2253. '18:56',
  2254. '19:56',
  2255. '20:56',
  2256. '21:56',
  2257. '22:56',
  2258. '23:56',
  2259. '00:56',
  2260. '01:56',
  2261. '02:56',
  2262. '03:56',
  2263. '04:56',
  2264. '05:56',
  2265. '06:56',
  2266. '07:56',
  2267. '08:56',
  2268. '09:56',
  2269. '10:56',
  2270. '11:56',
  2271. '12:56',
  2272. '13:56',
  2273. '14:56',
  2274. '15:56',
  2275. '16:56',
  2276. '17:56 '
  2277. ],
  2278. series: [{
  2279. name: '功率',
  2280. data: [11, 12, 14, 12, 13, 12, 16, 14, 11, 13, 10, 14, 11, 13, 11, 12, 11, 12.1, 12.2, 11.5, 11.7, 11.3, 12.7,
  2281. 13, 12.8
  2282. ],
  2283. color: '#4BB94B',
  2284. textColor: '#FFFFFF',
  2285. textSize: this.seriesTextSize,
  2286. format: val => {
  2287. return val + 'kwh';
  2288. },
  2289. index: 0,
  2290. legendShape: 'circle'
  2291. },
  2292. {
  2293. name: '风速',
  2294. data: [21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22.1, 22.2, 21.5, 21.7, 21.3, 22.7,
  2295. 23, 22.8
  2296. ],
  2297. color: '#E82E2F',
  2298. textColor: '#FFFFFF',
  2299. textSize: this.seriesTextSize,
  2300. format: val => {
  2301. return val + 'km/h';
  2302. },
  2303. index: 1,
  2304. legendShape: 'circle'
  2305. },
  2306. {
  2307. name: '理论功率',
  2308. data: [31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32.1, 32.2, 31.5, 31.7, 31.3, 32.7,
  2309. 33, 32.8
  2310. ],
  2311. color: '#F5A83C',
  2312. textColor: '#FFFFFF',
  2313. textSize: this.seriesTextSize,
  2314. format: val => {
  2315. return val + 'kwh';
  2316. },
  2317. index: 0,
  2318. legendShape: 'circle'
  2319. },
  2320. {
  2321. name: '预测功率',
  2322. data: [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2.1, 2.2, 1.5, 1.7, 1.3, 2.7, 3, 2.8],
  2323. color: '#4A80B1',
  2324. textColor: '#FFFFFF',
  2325. textSize: this.seriesTextSize,
  2326. format: val => {
  2327. return val + 'kwh';
  2328. },
  2329. index: 1,
  2330. legendShape: 'circle'
  2331. }
  2332. ]
  2333. };
  2334. let LineE = {
  2335. categories: [
  2336. ' 17:26',
  2337. '18:56',
  2338. '19:56',
  2339. '20:56',
  2340. '21:56',
  2341. '22:56',
  2342. '23:56',
  2343. '00:56',
  2344. '01:56',
  2345. '02:56',
  2346. '03:56',
  2347. '04:56',
  2348. '05:56',
  2349. '06:56',
  2350. '07:56',
  2351. '08:56',
  2352. '09:56',
  2353. '10:56',
  2354. '11:56',
  2355. '12:56',
  2356. '13:56',
  2357. '14:56',
  2358. '15:56',
  2359. '16:56',
  2360. '17:56 '
  2361. ],
  2362. series: [{
  2363. name: '功率',
  2364. data: [11, 12, 14, 12, 13, 12, 16, 14, 11, 13, 10, 14, 11, 13, 11, 12, 11, 12.1, 12.2, 11.5, 11.7, 11.3, 12.7,
  2365. 13, 12.8
  2366. ],
  2367. color: '#4BB94B',
  2368. textColor: '#FFFFFF',
  2369. textSize: this.seriesTextSize,
  2370. format: val => {
  2371. return val + 'kwh';
  2372. },
  2373. index: 0,
  2374. legendShape: 'circle'
  2375. },
  2376. {
  2377. name: '风速',
  2378. data: [21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22.1, 22.2, 21.5, 21.7, 21.3, 22.7,
  2379. 23, 22.8
  2380. ],
  2381. color: '#E82E2F',
  2382. textColor: '#FFFFFF',
  2383. textSize: this.seriesTextSize,
  2384. format: val => {
  2385. return val + 'km/h';
  2386. },
  2387. index: 1,
  2388. legendShape: 'circle'
  2389. },
  2390. {
  2391. name: '理论功率',
  2392. data: [31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32.1, 32.2, 31.5, 31.7, 31.3, 32.7,
  2393. 33, 32.8
  2394. ],
  2395. color: '#F5A83C',
  2396. textColor: '#FFFFFF',
  2397. textSize: this.seriesTextSize,
  2398. format: val => {
  2399. return val + 'kwh';
  2400. },
  2401. index: 0,
  2402. legendShape: 'circle'
  2403. },
  2404. {
  2405. name: '预测功率',
  2406. data: [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2.1, 2.2, 1.5, 1.7, 1.3, 2.7, 3, 2.8],
  2407. color: '#4A80B1',
  2408. textColor: '#FFFFFF',
  2409. textSize: this.seriesTextSize,
  2410. format: val => {
  2411. return val + 'kwh';
  2412. },
  2413. index: 1,
  2414. legendShape: 'circle'
  2415. }
  2416. ]
  2417. };
  2418. this.showWindStationCardLineA1('windStationCanvasLineA', LineA1);
  2419. this.showWindStationCardLineA2('windStationCanvasLineB', LineB);
  2420. this.showWindStationCardLineA3('windStationCanvasLineC', LineC);
  2421. this.showWindStationCardLineA4('windStationCanvasLineD', LineD);
  2422. this.showWindStationCardLineA5('windStationCanvasLineE', LineE);
  2423. },
  2424. showWindStationCardLineA1(canvasId, chartData) {
  2425. var _self = this;
  2426. canvaLineB1 = new uCharts({
  2427. $this: _self,
  2428. canvasId: canvasId,
  2429. type: 'line',
  2430. fontSize: 11,
  2431. legend: {
  2432. show: true,
  2433. position: 'top',
  2434. float: 'right',
  2435. fontColor: 'silver',
  2436. itemGap: '9',
  2437. itemWidth: '3'
  2438. },
  2439. dataLabel: false,
  2440. dataPointShape: false,
  2441. background: '#FFFFFF',
  2442. pixelRatio: _self.windStationCardPixelRatio,
  2443. categories: chartData.categories,
  2444. series: chartData.series,
  2445. animation: true,
  2446. xAxis: {
  2447. disableGrid:true,
  2448. type: 'grid',
  2449. gridColor: 'silver',
  2450. fontColor: 'silver',
  2451. gridType: 'solid',
  2452. gridColor: '#2E2E2E',
  2453. axisLineColor: '#2E2E2E',
  2454. labelCount: '3'
  2455. // itemCount:"3"
  2456. },
  2457. yAxis: {
  2458. data: [{
  2459. type: 'value',
  2460. fontColor: 'silver',
  2461. disabled: false, //y轴轴线
  2462. min: 0,
  2463. max: 40,
  2464. position: 'left',
  2465. axisLineColor: '#2E2E2E',
  2466. title: ' 风速:(km/h)',
  2467. titleFontColor: 'silver'
  2468. },
  2469. {
  2470. fontColor: 'silver',
  2471. disabled: false, //y轴轴线
  2472. min: 0,
  2473. max: 40,
  2474. position: 'right',
  2475. axisLineColor: '#2E2E2E',
  2476. title: '功率:(kwh)',
  2477. titleFontColor: 'silver'
  2478. }
  2479. ],
  2480. disabled:true,
  2481. gridColor: '#2E2E2E',
  2482. splitNumber: 4,
  2483. gridType: 'solid',
  2484. dashLength: 8,
  2485. showTitle: 'true',
  2486. format: val => {
  2487. return val.toFixed(0) + '元';
  2488. }
  2489. },
  2490. width: _self.windStationCardCWidth * _self.windStationCardPixelRatio,
  2491. height: _self.windStationCardCHeight * _self.windStationCardPixelRatio,
  2492. padding:[10,0,0,0],//画布填充边距,顺序为上右下左,同css,但必须4位
  2493. extra: {
  2494. line: {
  2495. type: 'line',
  2496. width: '1'
  2497. }
  2498. }
  2499. });
  2500. },
  2501. showWindStationCardLineA2(canvasId, chartData) {
  2502. var _self = this;
  2503. canvaLineB2 = new uCharts({
  2504. $this: _self,
  2505. canvasId: canvasId,
  2506. type: 'line',
  2507. fontSize: 11,
  2508. legend: {
  2509. show: true,
  2510. position: 'top',
  2511. float: 'right',
  2512. fontColor: 'silver',
  2513. itemGap: '9',
  2514. itemWidth: '3'
  2515. },
  2516. dataLabel: false,
  2517. dataPointShape: false,
  2518. background: '#FFFFFF',
  2519. pixelRatio: _self.windStationCardPixelRatio,
  2520. categories: chartData.categories,
  2521. series: chartData.series,
  2522. animation: true,
  2523. xAxis: {
  2524. disableGrid:true,
  2525. type: 'grid',
  2526. gridColor: 'silver',
  2527. fontColor: 'silver',
  2528. gridType: 'solid',
  2529. gridColor: '#2E2E2E',
  2530. axisLineColor: '#2E2E2E',
  2531. labelCount: '3'
  2532. // itemCount:"3"
  2533. },
  2534. yAxis: {
  2535. data: [{
  2536. type: 'value',
  2537. fontColor: 'silver',
  2538. disabled: false, //y轴轴线
  2539. min: 0,
  2540. max: 40,
  2541. position: 'left',
  2542. axisLineColor: '#2E2E2E',
  2543. title: ' 风速:(km/h)',
  2544. titleFontColor: 'silver'
  2545. },
  2546. {
  2547. fontColor: 'silver',
  2548. disabled: false, //y轴轴线
  2549. min: 0,
  2550. max: 40,
  2551. position: 'right',
  2552. axisLineColor: '#2E2E2E',
  2553. title: '功率:(kwh)',
  2554. titleFontColor: 'silver'
  2555. }
  2556. ],
  2557. disabled:true,
  2558. gridColor: '#2E2E2E',
  2559. splitNumber: 4,
  2560. gridType: 'solid',
  2561. dashLength: 8,
  2562. showTitle: 'true',
  2563. format: val => {
  2564. return val.toFixed(0) + '元';
  2565. }
  2566. },
  2567. width: _self.windStationCardCWidth * _self.windStationCardPixelRatio,
  2568. height: _self.windStationCardCHeight * _self.windStationCardPixelRatio,
  2569. padding:[10,0,0,0],//画布填充边距,顺序为上右下左,同css,但必须4位
  2570. extra: {
  2571. line: {
  2572. type: 'line',
  2573. width: '1'
  2574. }
  2575. }
  2576. });
  2577. },
  2578. showWindStationCardLineA3(canvasId, chartData) {
  2579. var _self = this;
  2580. canvaLineB3 = new uCharts({
  2581. $this: _self,
  2582. canvasId: canvasId,
  2583. type: 'line',
  2584. fontSize: 11,
  2585. legend: {
  2586. show: true,
  2587. position: 'top',
  2588. float: 'right',
  2589. fontColor: 'silver',
  2590. itemGap: '9',
  2591. itemWidth: '3'
  2592. },
  2593. dataLabel: false,
  2594. dataPointShape: false,
  2595. background: '#FFFFFF',
  2596. pixelRatio: _self.windStationCardPixelRatio,
  2597. categories: chartData.categories,
  2598. series: chartData.series,
  2599. animation: true,
  2600. xAxis: {
  2601. disableGrid:true,
  2602. type: 'grid',
  2603. gridColor: 'silver',
  2604. fontColor: 'silver',
  2605. gridType: 'solid',
  2606. gridColor: '#2E2E2E',
  2607. axisLineColor: '#2E2E2E',
  2608. labelCount: '3'
  2609. // itemCount:"3"
  2610. },
  2611. yAxis: {
  2612. data: [{
  2613. type: 'value',
  2614. fontColor: 'silver',
  2615. disabled: false, //y轴轴线
  2616. min: 0,
  2617. max: 40,
  2618. position: 'left',
  2619. axisLineColor: '#2E2E2E',
  2620. title: ' 风速:(km/h)',
  2621. titleFontColor: 'silver'
  2622. },
  2623. {
  2624. fontColor: 'silver',
  2625. disabled: false, //y轴轴线
  2626. min: 0,
  2627. max: 40,
  2628. position: 'right',
  2629. axisLineColor: '#2E2E2E',
  2630. title: '功率:(kwh)',
  2631. titleFontColor: 'silver'
  2632. }
  2633. ],
  2634. disabled:true,
  2635. gridColor: '#2E2E2E',
  2636. splitNumber: 4,
  2637. gridType: 'solid',
  2638. dashLength: 8,
  2639. showTitle: 'true',
  2640. format: val => {
  2641. return val.toFixed(0) + '元';
  2642. }
  2643. },
  2644. width: _self.windStationCardCWidth * _self.windStationCardPixelRatio,
  2645. height: _self.windStationCardCHeight * _self.windStationCardPixelRatio,
  2646. padding:[10,0,0,0],//画布填充边距,顺序为上右下左,同css,但必须4位
  2647. extra: {
  2648. line: {
  2649. type: 'line',
  2650. width: '1'
  2651. }
  2652. }
  2653. });
  2654. },
  2655. showWindStationCardLineA4(canvasId, chartData) {
  2656. var _self = this;
  2657. canvaLineB4 = new uCharts({
  2658. $this: _self,
  2659. canvasId: canvasId,
  2660. type: 'line',
  2661. fontSize: 11,
  2662. legend: {
  2663. show: true,
  2664. position: 'top',
  2665. float: 'right',
  2666. fontColor: 'silver',
  2667. itemGap: '9',
  2668. itemWidth: '3'
  2669. },
  2670. dataLabel: false,
  2671. dataPointShape: false,
  2672. background: '#FFFFFF',
  2673. pixelRatio: _self.windStationCardPixelRatio,
  2674. categories: chartData.categories,
  2675. series: chartData.series,
  2676. animation: true,
  2677. xAxis: {
  2678. disableGrid:true,
  2679. type: 'grid',
  2680. gridColor: 'silver',
  2681. fontColor: 'silver',
  2682. gridType: 'solid',
  2683. gridColor: '#2E2E2E',
  2684. axisLineColor: '#2E2E2E',
  2685. labelCount: '3'
  2686. // itemCount:"3"
  2687. },
  2688. yAxis: {
  2689. data: [{
  2690. type: 'value',
  2691. fontColor: 'silver',
  2692. disabled: false, //y轴轴线
  2693. min: 0,
  2694. max: 40,
  2695. position: 'left',
  2696. axisLineColor: '#2E2E2E',
  2697. title: ' 风速:(km/h)',
  2698. titleFontColor: 'silver'
  2699. },
  2700. {
  2701. fontColor: 'silver',
  2702. disabled: false, //y轴轴线
  2703. min: 0,
  2704. max: 40,
  2705. position: 'right',
  2706. axisLineColor: '#2E2E2E',
  2707. title: '功率:(kwh)',
  2708. titleFontColor: 'silver'
  2709. }
  2710. ],
  2711. disabled:true,
  2712. gridColor: '#2E2E2E',
  2713. splitNumber: 4,
  2714. gridType: 'solid',
  2715. dashLength: 8,
  2716. showTitle: 'true',
  2717. format: val => {
  2718. return val.toFixed(0) + '元';
  2719. }
  2720. },
  2721. width: _self.windStationCardCWidth * _self.windStationCardPixelRatio,
  2722. height: _self.windStationCardCHeight * _self.windStationCardPixelRatio,
  2723. padding:[10,0,0,0],//画布填充边距,顺序为上右下左,同css,但必须4位
  2724. extra: {
  2725. line: {
  2726. type: 'line',
  2727. width: '1'
  2728. }
  2729. }
  2730. });
  2731. },
  2732. showWindStationCardLineA5(canvasId, chartData) {
  2733. var _self = this;
  2734. canvaLineB5 = new uCharts({
  2735. $this: _self,
  2736. canvasId: canvasId,
  2737. type: 'line',
  2738. fontSize: 11,
  2739. legend: {
  2740. show: true,
  2741. position: 'top',
  2742. float: 'right',
  2743. fontColor: 'silver',
  2744. itemGap: '9',
  2745. itemWidth: '3'
  2746. },
  2747. dataLabel: false,
  2748. dataPointShape: false,
  2749. background: '#FFFFFF',
  2750. pixelRatio: _self.windStationCardPixelRatio,
  2751. categories: chartData.categories,
  2752. series: chartData.series,
  2753. animation: true,
  2754. xAxis: {
  2755. disableGrid:true,
  2756. type: 'grid',
  2757. gridColor: 'silver',
  2758. fontColor: 'silver',
  2759. gridType: 'solid',
  2760. gridColor: '#2E2E2E',
  2761. axisLineColor: '#2E2E2E',
  2762. labelCount: '3'
  2763. // itemCount:"3"
  2764. },
  2765. yAxis: {
  2766. data: [{
  2767. type: 'value',
  2768. fontColor: 'silver',
  2769. disabled: false, //y轴轴线
  2770. min: 0,
  2771. max: 40,
  2772. position: 'left',
  2773. axisLineColor: '#2E2E2E',
  2774. title: ' 风速:(km/h)',
  2775. titleFontColor: 'silver'
  2776. },
  2777. {
  2778. fontColor: 'silver',
  2779. disabled: false, //y轴轴线
  2780. min: 0,
  2781. max: 40,
  2782. position: 'right',
  2783. axisLineColor: '#2E2E2E',
  2784. title: '功率:(kwh)',
  2785. titleFontColor: 'silver'
  2786. }
  2787. ],
  2788. disabled:true,
  2789. gridColor: '#2E2E2E',
  2790. splitNumber: 4,
  2791. gridType: 'solid',
  2792. dashLength: 8,
  2793. showTitle: 'true',
  2794. format: val => {
  2795. return val.toFixed(0) + '元';
  2796. }
  2797. },
  2798. width: _self.windStationCardCWidth * _self.windStationCardPixelRatio,
  2799. height: _self.windStationCardCHeight * _self.windStationCardPixelRatio,
  2800. padding:[10,0,0,0],//画布填充边距,顺序为上右下左,同css,但必须4位
  2801. extra: {
  2802. line: {
  2803. type: 'line',
  2804. width: '1'
  2805. }
  2806. }
  2807. });
  2808. },
  2809. }
  2810. };
  2811. </script>
  2812. <style>
  2813. .speedPowerDiagram {
  2814. width: 100px;
  2815. height: 30px;
  2816. user-select: text;
  2817. -webkit-user-select: text;
  2818. -moz-user-select: text;
  2819. -ms-user-select: text;
  2820. color: silver;
  2821. float: left;
  2822. margin-top: 18px;
  2823. margin-left: 9px;
  2824. font-size: 11px;
  2825. }
  2826. .monthlyUtilizationHours {
  2827. width: 160px;
  2828. height: 30px;
  2829. margin-top: 20px;
  2830. /* background-color: #161616; */
  2831. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2832. color: silver;
  2833. margin-left: 9px;
  2834. text-align: center;
  2835. padding-top: 7px;
  2836. font-size: 12px;
  2837. }
  2838. .yearlyUtilizationHours {
  2839. width: 160px;
  2840. height: 30px;
  2841. margin-top: 10px;
  2842. /* background-color: #161616; */
  2843. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2844. color: silver;
  2845. margin-left: 9px;
  2846. text-align: center;
  2847. padding-top: 7px;
  2848. font-size: 12px;
  2849. }
  2850. .comprehensiveServicePowerConsumptionRate {
  2851. width: 160px;
  2852. height: 30px;
  2853. /* margin-top: 10px; */
  2854. /* background-color: #161616; */
  2855. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2856. color: silver;
  2857. margin-left: 200px;
  2858. margin-top: -70px;
  2859. text-align: center;
  2860. padding-top: 7px;
  2861. font-size: 12px;
  2862. float: left;
  2863. }
  2864. .equipmentAvailability {
  2865. width: 160px;
  2866. height: 30px;
  2867. /* margin-top: 10px; */
  2868. /* background-color: #161616; */
  2869. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2870. color: silver;
  2871. margin-left: 200px;
  2872. margin-top: -30px;
  2873. text-align: center;
  2874. padding-top: 7px;
  2875. font-size: 12px;
  2876. float: left;
  2877. }
  2878. .sulfurDioxideEmissionReduction {
  2879. width: 160px;
  2880. height: 30px;
  2881. /* margin-top: 10px; */
  2882. /* background-color: #161616; */
  2883. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2884. color: silver;
  2885. margin-left: 380px;
  2886. margin-top: -70px;
  2887. text-align: center;
  2888. padding-top: 7px;
  2889. font-size: 12px;
  2890. float: left;
  2891. }
  2892. .carbonDioxideReduction {
  2893. width: 160px;
  2894. height: 30px;
  2895. /* margin-top: 10px; */
  2896. /* background-color: #161616; */
  2897. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2898. color: silver;
  2899. margin-left: 380px;
  2900. margin-top: -30px;
  2901. text-align: center;
  2902. padding-top: 7px;
  2903. font-size: 12px;
  2904. float: left;
  2905. }
  2906. .waterSaving {
  2907. width: 160px;
  2908. height: 30px;
  2909. /* margin-top: 10px; */
  2910. /* background-color: #161616; */
  2911. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2912. color: silver;
  2913. margin-left: 560px;
  2914. margin-top: -70px;
  2915. text-align: center;
  2916. padding-top: 7px;
  2917. font-size: 12px;
  2918. float: left;
  2919. }
  2920. .saveStandardCoal {
  2921. width: 160px;
  2922. height: 30px;
  2923. /* margin-top: 10px; */
  2924. /* background-color: #161616; */
  2925. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2926. color: silver;
  2927. margin-left: 560px;
  2928. margin-top: -30px;
  2929. text-align: center;
  2930. padding-top: 7px;
  2931. font-size: 12px;
  2932. float: left;
  2933. }
  2934. .mttr {
  2935. width: 160px;
  2936. height: 30px;
  2937. /* margin-top: 10px; */
  2938. /* background-color: #161616; */
  2939. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2940. color: silver;
  2941. margin-left: 740px;
  2942. margin-top: -70px;
  2943. text-align: center;
  2944. padding-top: 7px;
  2945. font-size: 12px;
  2946. float: left;
  2947. }
  2948. .mtbf {
  2949. width: 160px;
  2950. height: 30px;
  2951. /* margin-top: 10px; */
  2952. /* background-color: #161616; */
  2953. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2954. color: silver;
  2955. margin-left: 740px;
  2956. margin-top: -30px;
  2957. text-align: center;
  2958. padding-top: 7px;
  2959. font-size: 12px;
  2960. float: left;
  2961. }
  2962. .horizontalSlider {
  2963. white-space: nowrap;
  2964. width: 100%;
  2965. height: 100px;
  2966. background-color: #242424;
  2967. clear: both;
  2968. /* margin-top: 540px; */
  2969. }
  2970. .slide {
  2971. width: 920px;
  2972. height: 100px;
  2973. background-color: #242424;
  2974. }
  2975. .qiun-charts {
  2976. width: 750upx;
  2977. height: 400upx;
  2978. }
  2979. .charts {
  2980. width: 750upx;
  2981. height: 400upx;
  2982. }
  2983. .uchartTitle {
  2984. position: absolute;
  2985. left: 9px;
  2986. top: 605px;
  2987. user-select: text;
  2988. -webkit-user-select: text;
  2989. -moz-user-select: text;
  2990. -ms-user-select: text;
  2991. color: silver;
  2992. font-size: 12px;
  2993. }
  2994. .Histogram {
  2995. width: 100%;
  2996. height: 300px;
  2997. background-color: #242424;
  2998. margin-top: 10px;
  2999. float: left;
  3000. }
  3001. .HistogramTitle{
  3002. width: calc(100% - 9px);
  3003. height: 30px;
  3004. line-height: 30px;
  3005. font-size: 11px;
  3006. color: silver;
  3007. margin-left: 9px;
  3008. }
  3009. .lineChart {
  3010. width: 100%;
  3011. height: 225px;
  3012. background-color: #242424;
  3013. margin-top: 10px;
  3014. float: left;
  3015. }
  3016. body {
  3017. font-family:'方正兰亭细黑_GBK';
  3018. font-size: 20px;
  3019. color: silver;
  3020. background: #000;
  3021. }
  3022. @font-face {
  3023. font-family:'方正兰亭细黑_GBK';
  3024. src: url(../../static/方正兰亭细黑_GBK.TTF);
  3025. }
  3026. page {
  3027. background-color: #1f1f1f;
  3028. font-family:'方正兰亭细黑_GBK';
  3029. overflow-x: hidden;
  3030. }
  3031. .top {
  3032. width: 100%;
  3033. height: 130upx;
  3034. padding-top: 5upx;
  3035. background-color: #1f1f1f;
  3036. position: fixed;
  3037. top: 0px;
  3038. left: 0px;
  3039. z-index: 100;
  3040. }
  3041. .threeLine {
  3042. width: 50px;
  3043. height: 45px;
  3044. float: left;
  3045. }
  3046. .text {
  3047. width: calc(100% - 100px);
  3048. height: 45px;
  3049. float: left;
  3050. user-select: text;
  3051. -webkit-user-select: text;
  3052. -moz-user-select: text;
  3053. -ms-user-select: text;
  3054. color: silver;
  3055. line-height: 45px;
  3056. margin-top: 11px;
  3057. font-size: 18px;
  3058. }
  3059. .notice {
  3060. width: 50px;
  3061. height: 45px;
  3062. float: left;
  3063. }
  3064. .plus {
  3065. width: 30px;
  3066. height: 45px;
  3067. float: right;
  3068. color: white;
  3069. font-size: 35px;
  3070. line-height: 45px;
  3071. text-align: right;
  3072. margin-top: 11px;
  3073. margin-right: 2.5%;
  3074. }
  3075. .textWindpowerstation{
  3076. width: 180px;
  3077. height: 45px;
  3078. float: left;
  3079. text-align: center;
  3080. margin-left: 18px;
  3081. }
  3082. .time {
  3083. clear: both;
  3084. background-color: #242424;
  3085. margin-top: 80px;
  3086. width: 100%;
  3087. height: 30px;
  3088. /* float: left; */
  3089. }
  3090. .timeimageshizhong {
  3091. width: 30px;
  3092. height: 20px;
  3093. margin-top: 5px;
  3094. float: left;
  3095. }
  3096. .timeText {
  3097. width: 62%;
  3098. height: 30px;
  3099. float: left;
  3100. line-height: 30px;
  3101. font-size: 15px;
  3102. margin-left: 15px;
  3103. user-select: text;
  3104. -webkit-user-select: text;
  3105. -moz-user-select: text;
  3106. -ms-user-select: text;
  3107. color: silver;
  3108. }
  3109. .timeIcon {
  3110. width: 25px;
  3111. height: 30px;
  3112. float: right;
  3113. margin-right: 2.5%;
  3114. /* margin-left: 5px; */
  3115. }
  3116. .timeIconImage {
  3117. width: 100%;
  3118. height: 25px;
  3119. margin-top: 1px;
  3120. }
  3121. .timeIconText {
  3122. width: 100%;
  3123. height: 25px;
  3124. text-align: center;
  3125. font-size: 12px;
  3126. }
  3127. .cardinstallgreenSecurity {
  3128. margin-left: 9px;
  3129. margin-top: 9px;
  3130. margin-bottom: 9px;
  3131. width: 30%;
  3132. height: 78px;
  3133. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1) 0%, rgba(66, 130, 61, 0.2) 100%);
  3134. border-radius: 5px;
  3135. float: left;
  3136. /* font-family: "STKaiti"; */
  3137. }
  3138. .cardinstalltitle {
  3139. width: 100%;
  3140. height: 40px;
  3141. text-align: center;
  3142. user-select: text;
  3143. -webkit-user-select: text;
  3144. -moz-user-select: text;
  3145. -ms-user-select: text;
  3146. font-size: 14px;
  3147. color: silver;
  3148. line-height: 40px;
  3149. float: left;
  3150. }
  3151. .cardinstallnumber {
  3152. /* font-weight: bold; */
  3153. width: 100%;
  3154. height: 40px;
  3155. text-align: center;
  3156. user-select: text;
  3157. -webkit-user-select: text;
  3158. -moz-user-select: text;
  3159. -ms-user-select: text;
  3160. color: silver;
  3161. font-size: 16px;
  3162. /* color: #449618; */
  3163. line-height: 40px;
  3164. }
  3165. .cardinstallgreenEquipment {
  3166. margin-right: 11px;
  3167. margin-top: 10px;
  3168. width: 30%;
  3169. height: 78px;
  3170. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  3171. border-radius: 5px;
  3172. float: right;
  3173. /* font-family: "STKaiti"; */
  3174. }
  3175. .cardinstallgreen {
  3176. margin-left: 9px;
  3177. width: 30%;
  3178. height: 78px;
  3179. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1) 0%, rgba(66, 130, 61, 0.2) 100%);
  3180. border-radius: 5px;
  3181. float: left;
  3182. }
  3183. .cardinstallblue {
  3184. margin-top: 9px;
  3185. margin-left: 9px;
  3186. width: 30%;
  3187. height: 78px;
  3188. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(10, 82, 156, 0.2) 100%);
  3189. border-radius: 5px;
  3190. float: left;
  3191. }
  3192. .cardinstallblueright {
  3193. margin-right: 11px;
  3194. margin-top: 10px;
  3195. width: 30%;
  3196. height: 78px;
  3197. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(10, 82, 156, 0.2) 100%);
  3198. border-radius: 5px;
  3199. float: right;
  3200. }
  3201. .cardinstalltitlegreen {
  3202. width: 100%;
  3203. height: 25px;
  3204. text-align: center;
  3205. /* margin-left: 37px; */
  3206. user-select: text;
  3207. -webkit-user-select: text;
  3208. -moz-user-select: text;
  3209. -ms-user-select: text;
  3210. font-size: 14px;
  3211. color: silver;
  3212. line-height: 25px;
  3213. /* float: left; */
  3214. }
  3215. .cardinstallnumbergreen {
  3216. width: 100%;
  3217. height: 25px;
  3218. text-align: center;
  3219. user-select: text;
  3220. -webkit-user-select: text;
  3221. -moz-user-select: text;
  3222. -ms-user-select: text;
  3223. font-size: 20px;
  3224. color: white;
  3225. /* color: #449618; */
  3226. line-height: 25px;
  3227. float: left;
  3228. }
  3229. .cardinstallnumbergreenmin {
  3230. margin-left: 2px;
  3231. width: 45%;
  3232. height: 20px;
  3233. user-select: text;
  3234. -webkit-user-select: text;
  3235. -moz-user-select: text;
  3236. -ms-user-select: text;
  3237. font-size: 12px;
  3238. color: silver;
  3239. /* color: #449618; */
  3240. float: left;
  3241. }
  3242. .cardinstallnumbergreenmax {
  3243. /* font-weight: bold; */
  3244. margin-right: 2px;
  3245. width: 45%;
  3246. height: 20px;
  3247. user-select: text;
  3248. -webkit-user-select: text;
  3249. -moz-user-select: text;
  3250. -ms-user-select: text;
  3251. font-size: 12px;
  3252. color: silver;
  3253. /* color: #449618; */
  3254. float: right;
  3255. }
  3256. .greenMinText {
  3257. line-height: 20px;
  3258. float: left;
  3259. margin-left: 40px;
  3260. }
  3261. .greenMaxText {
  3262. line-height: 20px;
  3263. float: left;
  3264. }
  3265. .cardinstallnumberred {
  3266. width: 100%;
  3267. height: 25px;
  3268. text-align: center;
  3269. user-select: text;
  3270. -webkit-user-select: text;
  3271. -moz-user-select: text;
  3272. -ms-user-select: text;
  3273. font-size: 20px;
  3274. color: white;
  3275. /* color: #E93131; */
  3276. line-height: 25px;
  3277. float: left;
  3278. }
  3279. .cardinstallnumberredmin {
  3280. margin-left: 2px;
  3281. width: 45%;
  3282. height: 20px;
  3283. user-select: text;
  3284. -webkit-user-select: text;
  3285. -moz-user-select: text;
  3286. -ms-user-select: text;
  3287. font-size: 12px;
  3288. color: silver;
  3289. /* color: #E93131; */
  3290. float: left;
  3291. }
  3292. .cardinstallnumberredmax {
  3293. margin-right: 2px;
  3294. width: 45%;
  3295. height: 20px;
  3296. user-select: text;
  3297. -webkit-user-select: text;
  3298. -moz-user-select: text;
  3299. -ms-user-select: text;
  3300. font-size: 12px;
  3301. color: silver;
  3302. /* color: #E93131; */
  3303. float: right;
  3304. }
  3305. .redMinText {
  3306. line-height: 20px;
  3307. float: right;
  3308. }
  3309. .redMaxText {
  3310. line-height: 20px;
  3311. float: left;
  3312. }
  3313. .electricityCard {
  3314. width: 100%;
  3315. height: 100px;
  3316. background-color: #242424;
  3317. /* height: 185px; */
  3318. float: left;
  3319. margin-top: 20rpx;
  3320. }
  3321. .speedPower {
  3322. width: 100%;
  3323. height: 180px;
  3324. background-color: #242424;
  3325. float: left;
  3326. margin-top: 20rpx;
  3327. }
  3328. .cardinstallgreenSpeed {
  3329. margin-top: 9px;
  3330. margin-left: 9px;
  3331. width: 46%;
  3332. height: 78px;
  3333. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1) 0%, rgba(66, 130, 61, 0.2) 100%);
  3334. border-radius: 5px;
  3335. float: left;
  3336. }
  3337. .cardinstallredSpeed {
  3338. margin-top: 8px;
  3339. margin-left: 2.5%;
  3340. width: 46%;
  3341. height: 78px;
  3342. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  3343. border-radius: 5px;
  3344. float: left;
  3345. }
  3346. .cardinstalltitleRed {
  3347. width: 100%;
  3348. height: 25px;
  3349. text-align: center;
  3350. /* margin-left: 45px; */
  3351. user-select: text;
  3352. -webkit-user-select: text;
  3353. -moz-user-select: text;
  3354. -ms-user-select: text;
  3355. font-size: 14px;
  3356. color: silver;
  3357. line-height: 25px;
  3358. /* float: left; */
  3359. }
  3360. .textWhitekuangSpeed {
  3361. color: silver;
  3362. float: right ;
  3363. margin-right: 70px;
  3364. }
  3365. .textWhitekuang {
  3366. color: silver;
  3367. float: right;
  3368. margin-right: 85px;
  3369. }
  3370. .textWhite {
  3371. color: white;
  3372. float: right;
  3373. width: 24px;
  3374. text-align: right;
  3375. }
  3376. .textWhite2 {
  3377. color: white;
  3378. float: left;
  3379. text-align: right;
  3380. }
  3381. .textSilver {
  3382. user-select: text;
  3383. -webkit-user-select: text;
  3384. -moz-user-select: text;
  3385. -ms-user-select: text;
  3386. color: silver;
  3387. float: left;
  3388. }
  3389. .InformationCard {
  3390. margin-top: 10px;
  3391. width: 100%;
  3392. height: 70px;
  3393. background-color: #242424;
  3394. float: left;
  3395. }
  3396. .informationCardAll {
  3397. width: 95%;
  3398. margin-left: 2.5%;
  3399. margin-top: 10px;
  3400. height: 60px;
  3401. float: left;
  3402. }
  3403. .informationCardTextOne {
  3404. width: 100%;
  3405. height: 35px;
  3406. float: left;
  3407. margin-top: -10px;
  3408. }
  3409. .informationCardTextNo1{
  3410. /* margin-left: 2%; */
  3411. width: 115px;
  3412. height: 35px;
  3413. font-size: 13px;
  3414. line-height: 35px;
  3415. float: left;
  3416. }
  3417. .informationCardText {
  3418. /* margin-left: 2%; */
  3419. width: 115px;
  3420. height: 35px;
  3421. line-height: 35px;
  3422. user-select: text;
  3423. -webkit-user-select: text;
  3424. -moz-user-select: text;
  3425. -ms-user-select: text;
  3426. color: silver;
  3427. font-size: 13px;
  3428. float: left;
  3429. }
  3430. .informationCardTextzj {
  3431. /* margin-left: 43%; */
  3432. width: 115px;
  3433. height: 35px;
  3434. line-height: 35px;
  3435. user-select: text;
  3436. -webkit-user-select: text;
  3437. -moz-user-select: text;
  3438. -ms-user-select: text;
  3439. color: silver;
  3440. font-size: 13px;
  3441. float: right;
  3442. /* margin-right: 1%; */
  3443. }
  3444. .informationCardTextTwo {
  3445. width: 100%;
  3446. height: 35px;
  3447. float: left;
  3448. user-select: text;
  3449. -webkit-user-select: text;
  3450. -moz-user-select: text;
  3451. -ms-user-select: text;
  3452. color: silver;
  3453. }
  3454. .informationCardText2 {
  3455. /* margin-left: 6%; */
  3456. margin-left: calc(50% - 180px);
  3457. width: 115px;
  3458. height: 35px;
  3459. font-size: 13px;
  3460. line-height: 35px;
  3461. float: left;
  3462. }
  3463. .informationCardText3 {
  3464. /* margin-left: 6%; */
  3465. margin-left: calc(50% - 180px);
  3466. width: 130px;
  3467. height: 35px;
  3468. font-size: 13px;
  3469. line-height: 35px;
  3470. float: left;
  3471. }
  3472. .AccessCardNumber {
  3473. width: 30%;
  3474. height: 35px;
  3475. float: left;
  3476. line-height: 35px;
  3477. text-align: center;
  3478. font-size: 12px;
  3479. user-select: text;
  3480. -webkit-user-select: text;
  3481. -moz-user-select: text;
  3482. -ms-user-select: text;
  3483. color: silver;
  3484. }
  3485. .AccessCardText {
  3486. width: 30%;
  3487. height: 35px;
  3488. float: left;
  3489. line-height: 35px;
  3490. text-align: center;
  3491. font-size: 12px;
  3492. user-select: text;
  3493. -webkit-user-select: text;
  3494. -moz-user-select: text;
  3495. -ms-user-select: text;
  3496. color: silver;
  3497. }
  3498. .AccessCardimage {
  3499. margin-left: 5px;
  3500. width: 30%;
  3501. height: 35px;
  3502. float: left;
  3503. }
  3504. .interfaceCard {
  3505. margin-top: 10px;
  3506. width: 100%;
  3507. height: 85px;
  3508. background-color: #242424;
  3509. float: left;
  3510. }
  3511. .interfaceCardSmallTop {
  3512. margin-top: 5px;
  3513. width: 100%;
  3514. height: 35px;
  3515. float: left;
  3516. }
  3517. .interfaceCardSmall {
  3518. margin-left: 8px;
  3519. width: 30%;
  3520. height: 35px;
  3521. float: left;
  3522. }
  3523. .progressBarLeftText {
  3524. user-select: text;
  3525. -webkit-user-select: text;
  3526. -moz-user-select: text;
  3527. -ms-user-select: text;
  3528. color: silver;
  3529. font-size: 12px;
  3530. float: left;
  3531. margin-left: 5px;
  3532. }
  3533. .progressBarRightText {
  3534. user-select: text;
  3535. -webkit-user-select: text;
  3536. -moz-user-select: text;
  3537. -ms-user-select: text;
  3538. color: silver;
  3539. font-size: 12px;
  3540. float: right;
  3541. margin-right: 5px;
  3542. }
  3543. .progressBar {
  3544. margin-top: 10px;
  3545. width: 100%;
  3546. height: 115px;
  3547. background-color: #242424;
  3548. float: left;
  3549. }
  3550. .progressBarAll {
  3551. margin-left: 9px;
  3552. width: calc(100% - 5%);
  3553. height: 60px;
  3554. float: left;
  3555. }
  3556. .progressBarText {
  3557. text-align: center;
  3558. width: 50%;
  3559. height: 30px;
  3560. line-height: 30px;
  3561. user-select: text;
  3562. -webkit-user-select: text;
  3563. -moz-user-select: text;
  3564. -ms-user-select: text;
  3565. color: silver;
  3566. font-size: 12px;
  3567. float: left;
  3568. }
  3569. .progressBarOne {
  3570. width: 100%;
  3571. height: 30px;
  3572. float: left;
  3573. }
  3574. .progressBarLeft {
  3575. width: 25%;
  3576. height: 30px;
  3577. line-height: 30px;
  3578. user-select: text;
  3579. -webkit-user-select: text;
  3580. -moz-user-select: text;
  3581. -ms-user-select: text;
  3582. color: silver;
  3583. font-size: 12px;
  3584. float: left;
  3585. }
  3586. .progressBarRight {
  3587. width: 25%;
  3588. height: 30px;
  3589. user-select: text;
  3590. -webkit-user-select: text;
  3591. -moz-user-select: text;
  3592. -ms-user-select: text;
  3593. color: silver;
  3594. font-size: 12px;
  3595. line-height: 30px;
  3596. float: right;
  3597. }
  3598. /* 风电场卡片css */
  3599. .windStation {
  3600. clear: both;
  3601. width: calc(100% - 18px);
  3602. margin-left: 9px;
  3603. height: 320px;
  3604. color: silver;
  3605. margin-bottom: 120px;
  3606. /* background-color: #242424; */
  3607. }
  3608. .scrollWindStationCard {
  3609. white-space: nowrap;
  3610. }
  3611. .windStationCardContainer {
  3612. width: 1295px;
  3613. height: 350px;
  3614. margin-top: 10%;
  3615. }
  3616. .windStationCard {
  3617. width: 250px;
  3618. height: 100%;
  3619. margin-right: 9px;
  3620. float: left;
  3621. background-color: #242424;
  3622. }
  3623. .windStationTitle {
  3624. width: 90%;
  3625. height: 30px;
  3626. line-height: 30px;
  3627. font-size: 12px;
  3628. margin-left: 5px;
  3629. }
  3630. .powerAndSpeedContainer {
  3631. width: 100%;
  3632. height: 90px;
  3633. }
  3634. .powerAndSpeedRed {
  3635. margin-top: 8px;
  3636. margin-left: 2%;
  3637. margin-right: 2%;
  3638. width: 46%;
  3639. height: 37px;
  3640. line-height: 37px;
  3641. text-align: center;
  3642. font-size: 12px;
  3643. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  3644. border-radius: 5px;
  3645. float: left;
  3646. }
  3647. .powerAndSpeedRed span {
  3648. color: white;
  3649. }
  3650. .HQChart {
  3651. width: 100%;
  3652. height: 100px;
  3653. margin-top: 8px;
  3654. }
  3655. .UChartContainer {
  3656. width: 250px;
  3657. height: 150px;
  3658. margin-top: 8px;
  3659. }
  3660. .windStationUChart {
  3661. width: 250px;
  3662. height: 150px;
  3663. position: absolute;
  3664. }
  3665. .windStationQiun-charts {
  3666. width: 250px;
  3667. height: 150px;
  3668. background-color: #242424;
  3669. }
  3670. .windStationCharts {
  3671. width: 250px;
  3672. height: 150px;
  3673. background-color: #242424;
  3674. }
  3675. .UChartTitle {
  3676. position: relative;
  3677. top: -2px;
  3678. left: 2px;
  3679. font-size: 12px;
  3680. width: 100px;
  3681. }
  3682. .xTime {
  3683. position: relative;
  3684. top: 90px;
  3685. left: 222px;
  3686. font-size: 8px;
  3687. width: 30px;
  3688. }
  3689. .fanStatusContainer {
  3690. width: 100%;
  3691. height: 70px;
  3692. }
  3693. .fanStatus {
  3694. width: 32%;
  3695. height: 30px;
  3696. margin-top: 5px;
  3697. margin-right: 0.5%;
  3698. margin-left: 0.5%;
  3699. float: left;
  3700. }
  3701. .statusIcon {
  3702. width: 22px;
  3703. height: 30px;
  3704. margin-left: 3px;
  3705. float: left;
  3706. }
  3707. .fanStatus {
  3708. height: 30px;
  3709. line-height: 30px;
  3710. font-size: 12px;
  3711. }
  3712. .AffectedPowerText{
  3713. width: 55px;
  3714. height: 25px;
  3715. float: left;
  3716. margin-left: 2px;
  3717. line-height: 25px;
  3718. }
  3719. .AffectedPower{
  3720. margin-left: 11px;
  3721. width: 20%;
  3722. height: 25px;
  3723. float: left;
  3724. }
  3725. .performancePowerText{
  3726. width: 55px;
  3727. height: 25px;
  3728. float: left;
  3729. margin-left: 2px;
  3730. line-height: 25px;
  3731. }
  3732. .performancePower{
  3733. margin-left: 11px;
  3734. width: 20%;
  3735. height: 25px;
  3736. float: left;
  3737. }
  3738. .limitedPowerText{
  3739. width: 55px;
  3740. height: 25px;
  3741. float: left;
  3742. margin-left: 2px;
  3743. line-height: 25px;
  3744. }
  3745. .limitedPower{
  3746. margin-left: 9px;
  3747. width: 20%;
  3748. height: 25px;
  3749. float: left;
  3750. }
  3751. .maintenancePowerText{
  3752. width: 55px;
  3753. height: 25px;
  3754. float: left;
  3755. margin-left: 2px;
  3756. line-height: 25px;
  3757. }
  3758. .maintenancePower{
  3759. margin-left: 30px;
  3760. width: 20%;
  3761. height: 25px;
  3762. float: left;
  3763. }
  3764. .faultPowerText{
  3765. width: 55px;
  3766. height: 25px;
  3767. float: left;
  3768. margin-left: 2px;
  3769. line-height: 25px;
  3770. }
  3771. .faultPower{
  3772. width: 20%;
  3773. height: 25px;
  3774. float: left;
  3775. margin-left: 11px;
  3776. }
  3777. .powerGenerationText {
  3778. width: 30px;
  3779. height: 25px;
  3780. float: left;
  3781. margin-left: 2px;
  3782. line-height: 25px;
  3783. }
  3784. .powerGeneration {
  3785. width: 20%;
  3786. height: 25px;
  3787. float: left;
  3788. margin-left: 11px;
  3789. }
  3790. .directGenerationText {
  3791. width: 30px;
  3792. height: 25px;
  3793. float: left;
  3794. margin-left: 2px;
  3795. line-height: 25px;
  3796. }
  3797. .directGeneration {
  3798. width: 20%;
  3799. height: 25px;
  3800. float: left;
  3801. margin-left: 9px;
  3802. }
  3803. .choice {
  3804. width: 100%;
  3805. height: 80px;
  3806. float: left;
  3807. user-select: text;
  3808. -webkit-user-select: text;
  3809. -moz-user-select: text;
  3810. -ms-user-select: text;
  3811. color: silver;
  3812. font-size: 12px;
  3813. }
  3814. .speedPowerDiagram {
  3815. width: 100px;
  3816. height: 30px;
  3817. user-select: text;
  3818. -webkit-user-select: text;
  3819. -moz-user-select: text;
  3820. -ms-user-select: text;
  3821. color: silver;
  3822. float: left;
  3823. margin-top: 18px;
  3824. margin-left: 9px;
  3825. font-size: 11px;
  3826. }
  3827. .qiun-chart {
  3828. margin-top: 50px;
  3829. width: 750upx;
  3830. height: 400upx;
  3831. }
  3832. .chart {
  3833. width: 750upx;
  3834. height: 400upx;
  3835. }
  3836. .DrawerPage {
  3837. position: fixed;
  3838. width: 100vw;
  3839. height: 100vh;
  3840. left: 0vw;
  3841. background-color: #1f1f1f;
  3842. transition: all 0.4s;
  3843. }
  3844. .DrawerPage.show {
  3845. transform: scale(0.9, 0.9);
  3846. left: 85vw;
  3847. box-shadow: 0 0 60upx rgba(0, 0, 0, 0.2);
  3848. transform-origin: 0;
  3849. }
  3850. .DrawerWindow {
  3851. position: absolute;
  3852. width: 85vw;
  3853. height: 100vh;
  3854. left: 0;
  3855. top: 0;
  3856. transform: scale(0.9, 0.9) translateX(-100%);
  3857. opacity: 0;
  3858. pointer-events: none;
  3859. transition: all 0.4s;
  3860. padding: 100upx 0;
  3861. }
  3862. .DrawerWindow.show {
  3863. transform: scale(1, 1) translateX(0%);
  3864. opacity: 1;
  3865. pointer-events: all;
  3866. }
  3867. .DrawerClose {
  3868. position: absolute;
  3869. width: 40vw;
  3870. height: 100vh;
  3871. right: 0;
  3872. top: 0;
  3873. color: transparent;
  3874. padding-bottom: 30upx;
  3875. display: flex;
  3876. align-items: flex-end;
  3877. justify-content: center;
  3878. background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.6));
  3879. letter-spacing: 5px;
  3880. font-size: 50upx;
  3881. opacity: 0;
  3882. pointer-events: none;
  3883. transition: all 0.4s;
  3884. }
  3885. .DrawerClose.show {
  3886. opacity: 1;
  3887. pointer-events: all;
  3888. width: 15vw;
  3889. color: #fff;
  3890. }
  3891. .DrawerPage .cu-bar.tabbar .action button.cuIcon {
  3892. width: 64upx;
  3893. height: 64upx;
  3894. line-height: 64upx;
  3895. margin: 0;
  3896. display: inline-block;
  3897. }
  3898. .DrawerPage .cu-bar.tabbar .action .cu-avatar {
  3899. margin: 0;
  3900. }
  3901. .DrawerPage .nav {
  3902. flex: 1;
  3903. }
  3904. .DrawerPage .nav .cu-item.cur {
  3905. border-bottom: 0;
  3906. position: relative;
  3907. }
  3908. .DrawerPage .nav .cu-item.cur::after {
  3909. content: "";
  3910. width: 10upx;
  3911. height: 10upx;
  3912. background-color: currentColor;
  3913. position: absolute;
  3914. bottom: 10upx;
  3915. border-radius: 10upx;
  3916. left: 0;
  3917. right: 0;
  3918. margin: auto;
  3919. }
  3920. .DrawerPage .cu-bar.tabbar .action {
  3921. flex: initial;
  3922. }
  3923. </style>