Index.vue 140 KB

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