Index.vue 83 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342
  1. <template>
  2. <view class="content">
  3. <view class="top">
  4. <view class="threeLine" @tap="openDrawer">
  5. <image src="../../static/picture/fourLine.png" style="width: 30px;height: 30px;margin-top: 18px;margin-left: 10px;"></image>
  6. </view>
  7. <view class="text">
  8. <view class="notice">
  9. <view class="icon cuIcon-notice text-white" v-if="badge != 0">
  10. <view class="cu-tag looknumber" style="margin-top: 10px;">
  11. <block v-if="badge != 1">{{ badge > 99 ? '99+' : badge }}</block>
  12. </view>
  13. </view>
  14. </view>
  15. <view class="textWindpowerstation">{{address}}</view>
  16. </view>
  17. <view class="plus" @tap="showModal" data-target="viewModal">+</view>
  18. </view>
  19. <!-- 抽屉组件 -->
  20. <div>
  21. <drawer ref="drawer"></drawer>
  22. </div>
  23. <div class="plusDrawer" @tap="hideModal">
  24. <plusDrawer ref="plusDrawer"></plusDrawer>
  25. </div>
  26. <scroll-view scroll-y class="DrawerPage" :class="modalName=='viewModal'?'show':''">
  27. <!--时间组件-->
  28. <view class="time">
  29. <view class="timeimageshizhong">
  30. <image src="../../static/picture/dafeng.png" style="width: 20px;height: 20px;margin-left: 10px;"></image>
  31. </view>
  32. <view class="timeText">推荐时间:2020年4月15日 19:31</view>
  33. <view class="timeIcon">
  34. <image src="../../static/picture/qingwhite.png" style="width: 25px;height: 25px;margin-left: 54px;"></image>
  35. </view>
  36. </view>
  37. <!--电量卡片-->
  38. <view class="InformationCard">
  39. <view class="informationCardAll">
  40. <view class="informationCardTextOne">
  41. <view class="informationCardText">
  42. <view class="textSilver" @tap="common.navTo('/components/detail/Detail')">安全天数</view>
  43. <view class="textWhite">(天)</view>
  44. :15
  45. </view>
  46. <view class="informationCardTextzj">
  47. <view class="textSilver" @tap="common.navTo('/components/detail/Detail')">装机容量</view>
  48. <view class="textWhite">(MV)</view>
  49. :15
  50. </view>
  51. </view>
  52. <view class="informationCardTextTwo">
  53. <view class="informationCardTextNo1">
  54. <view class="textSilver" @tap="common.navTo('/components/detail/Detail')">日发电量</view>
  55. <view class="textWhite">(kwh)</view>
  56. :150
  57. </view>
  58. <view class="informationCardText3">
  59. <view class="textSilver" @tap="common.navTo('/components/detail/Detail')">预测发电量</view>
  60. <view class="textWhite">(kwh)</view>
  61. :15
  62. </view>
  63. <view class="informationCardText2">
  64. <view class="textSilver" @tap="common.navTo('/components/detail/Detail')">上网电量</view>
  65. <view class="textWhite">(kwh)</view>
  66. :15
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. <!--风速卡片-->
  72. <view class="speedPower">
  73. <view class="cardinstallredSpeed" @tap="common.navTo('/components/detail/Detail')">
  74. <view class="cardinstalltitlegreen">
  75. 平均风速
  76. <view class="textWhitekuangSpeed">(km/h)</view>
  77. </view>
  78. <view class="cardinstallnumbergreen">5</view>
  79. <view class="cardinstallnumbergreenmin">
  80. <view class="greenMinText">min: 5</view>
  81. </view>
  82. <view class="cardinstallnumbergreenmax">
  83. <view class="greenMaxText">max: 25</view>
  84. </view>
  85. </view>
  86. <view class="cardinstallredSpeed" @tap="common.navTo('/components/detail/Detail')">
  87. <view class="cardinstalltitlegreen">
  88. 预测风速
  89. <view class="textWhitekuangSpeed">(km/h)</view>
  90. </view>
  91. <view class="cardinstallnumbergreen">48</view>
  92. <view class="cardinstallnumbergreenmin">
  93. <view class="greenMinText">min: 4</view>
  94. </view>
  95. <view class="cardinstallnumbergreenmax">
  96. <view class="greenMaxText">max: 26</view>
  97. </view>
  98. </view>
  99. <view class="cardinstallredSpeed" @tap="common.navTo('/components/detail/Detail')">
  100. <view class="cardinstalltitleRed">
  101. 实际功率
  102. <view class="textWhitekuang">(kw)</view>
  103. </view>
  104. <view class="cardinstallnumberred">15</view>
  105. <view class="cardinstallnumberredmin">
  106. <view class="redMinText">min: 566</view>
  107. </view>
  108. <view class="cardinstallnumberredmax">
  109. <view class="redMaxText">max: 656</view>
  110. </view>
  111. </view>
  112. <view class="cardinstallredSpeed" @tap="common.navTo('/components/detail/Detail')">
  113. <view class="cardinstalltitleRed">
  114. 理论功率
  115. <view class="textWhitekuang">(kw)</view>
  116. </view>
  117. <view class="cardinstallnumberred">14</view>
  118. <view class="cardinstallnumberredmin">
  119. <view class="redMinText">min: 589</view>
  120. </view>
  121. <view class="cardinstallnumberredmax">
  122. <view class="redMaxText">max: 674</view>
  123. </view>
  124. </view>
  125. </view>
  126. <!--接入卡片-->
  127. <view class="interfaceCard">
  128. <view class="interfaceCardSmallTop">
  129. <view class="interfaceCardSmall">
  130. <view class="AccessCardimage">
  131. <image src="../../static/picture/001.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  132. </view>
  133. <view class="AccessCardText">接入</view>
  134. <view class="AccessCardNumber">59</view>
  135. </view>
  136. <view class="interfaceCardSmall">
  137. <view class="AccessCardimage">
  138. <image src="../../static/picture/002.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  139. </view>
  140. <view class="AccessCardText">待机</view>
  141. <view class="AccessCardNumber">10</view>
  142. </view>
  143. <view class="interfaceCardSmall">
  144. <view class="AccessCardimage">
  145. <image src="../../static/picture/003.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  146. </view>
  147. <view class="AccessCardText">运行</view>
  148. <view class="AccessCardNumber">29</view>
  149. </view>
  150. </view>
  151. <view class="interfaceCardSmallTop">
  152. <view class="interfaceCardSmall">
  153. <view class="AccessCardimage">
  154. <image src="../../static/picture/004.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  155. </view>
  156. <view class="AccessCardText">故障</view>
  157. <view class="AccessCardNumber">18</view>
  158. </view>
  159. <view class="interfaceCardSmall">
  160. <view class="AccessCardimage">
  161. <image src="../../static/picture/005.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  162. </view>
  163. <view class="AccessCardText">维护</view>
  164. <view class="AccessCardNumber">8</view>
  165. </view>
  166. <view class="interfaceCardSmall">
  167. <view class="AccessCardimage">
  168. <image src="../../static/picture/006.png" style="width: 18px;height:19px;margin-top: 9px;margin-left: 7px;"></image>
  169. </view>
  170. <view class="AccessCardText">离线</view>
  171. <view class="AccessCardNumber">8</view>
  172. </view>
  173. </view>
  174. </view>
  175. <!--进度条-->
  176. <view class="progressBar">
  177. <view class="progressBarAll">
  178. <view class="progressBarOne">
  179. <view class="progressBarLeft">
  180. <view class="progressBarLeftText">35kwh</view>
  181. </view>
  182. <view class="progressBarText">月计划发电量进度条</view>
  183. <view class="progressBarRight">
  184. <view class="progressBarRightText">100kwh</view>
  185. </view>
  186. </view>
  187. <view class="cu-progress round radius striped active">
  188. <view class="bg-olive" :style="[{ width: loading ? '61.8%' : '' }]"></view>
  189. <view class="bg-angrey" :style="[{ width: loading ? '38.2%' : '' }]"></view>
  190. </view>
  191. </view>
  192. <view class="progressBarAll">
  193. <view class="progressBarOne">
  194. <view class="progressBarLeft">
  195. <view class="progressBarLeftText">135kwh</view>
  196. </view>
  197. <view class="progressBarText">年计划发电量进度条</view>
  198. <view class="progressBarRight">
  199. <view class="progressBarRightText">200kwh</view>
  200. </view>
  201. </view>
  202. <view class="cu-progress round radius striped active">
  203. <view class="bg-olive" :style="[{ width: loading ? '70%' : '' }]"></view>
  204. <view class="bg-angrey" :style="[{ width: loading ? '30%' : '' }]"></view>
  205. </view>
  206. </view>
  207. </view>
  208. <scroll-view scroll-x class="horizontalSlider">
  209. <view class="slide">
  210. <view class="monthlyUtilizationHours" @tap="common.navTo('/components/detail/Detail')">月利用小时(h):13</view>
  211. <view class="yearlyUtilizationHours" @tap="common.navTo('/components/detail/Detail')">年利用小时(h):13</view>
  212. <view class="comprehensiveServicePowerConsumptionRate" @tap="common.navTo('/components/detail/Detail')">综合厂用电率(%):20</view>
  213. <view class="equipmentAvailability" @tap="common.navTo('/components/detail/Detail')">设备可利用率(%):90</view>
  214. <view class="sulfurDioxideEmissionReduction" @tap="common.navTo('/components/detail/Detail')">减排二氧化硫(吨):21</view>
  215. <view class="carbonDioxideReduction" @tap="common.navTo('/components/detail/Detail')">减排二氧化碳(吨):5</view>
  216. <view class="waterSaving" @tap="common.navTo('/components/detail/Detail')">节约用水(吨):15</view>
  217. <view class="saveStandardCoal" @tap="common.navTo('/components/detail/Detail')">节约标煤(吨):35</view>
  218. <view class="mttr" @tap="common.navTo('/components/detail/Detail')">mttr(h):22</view>
  219. <view class="mtbf" @tap="common.navTo('/components/detail/Detail')">mtbf(h):24</view>
  220. </view>
  221. </scroll-view>
  222. <!--折线图-->
  223. <view class="lineChart">
  224. <view class="qiun-charts">
  225. <view class="speedPowerDiagram">风速功率曲线图</view>
  226. <canvas canvas-id="canvasLineA" id="canvasLineA" class="charts" @touchstart="touchLineA"></canvas>
  227. </view>
  228. </view>
  229. <!-- 柱状图 -->
  230. <view class="Histogram">
  231. <view class="HistogramTitle">五项损失柱状图</view>
  232. <view class="choice">
  233. <view class="directGeneration">
  234. <image src="../../static/picture/dianliang/dianlianglan.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  235. <view class="directGenerationText" @click="directGeneration()">
  236. 应发</view>
  237. </view>
  238. <view class="powerGeneration">
  239. <image src="../../static/picture/dianliang/dianlianglv.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  240. <view class="powerGenerationText" @click="powerGeneration()">日发</view>
  241. </view>
  242. <view class="faultPower">
  243. <image src="../../static/picture/dianliang/dianlianghong.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  244. <view class="faultPowerText" @click="faultPower()">故障损失</view>
  245. </view>
  246. <view class="maintenancePower">
  247. <image src="../../static/picture/dianliang/dianliangcheng.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  248. <view class="maintenancePowerText" @click="maintenancePower()">检修损失</view>
  249. </view>
  250. <view class="limitedPower">
  251. <image src="../../static/picture/dianliang/dianliangfen.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  252. <view class="limitedPowerText" @click="limitedPower()">限电损失</view>
  253. </view>
  254. <view class="performancePower">
  255. <image src="../../static/picture/dianliang/dianliangzi.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  256. <view class="performancePowerText" @click="performancePower()">性能损失</view>
  257. </view>
  258. <view class="AffectedPower">
  259. <image src="../../static/picture/dianliang/dianlianghui.png" style="width: 18px;height: 18px;float: left;margin-top: 4px;"></image>
  260. <view class="AffectedPowerText" @click="AffectedPower()">受累损失</view>
  261. </view>
  262. </view>
  263. <view class="qiun-chart">
  264. <canvas canvas-id="canvasColumnStack" id="canvasColumnStack" class="chart" @touchstart="touchColumn"></canvas>
  265. </view>
  266. </view>
  267. <!-- 风电场卡片 -->
  268. <view class="windStation">
  269. <scroll-view scroll-x class="scrollWindStationCard">
  270. <view class="windStationCardContainer">
  271. <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '麻黄山')">
  272. <view class="windStationTitle">麻黄山风电场</view>
  273. <view class="powerAndSpeedContainer">
  274. <view class="powerAndSpeedRed">
  275. 预测电量
  276. <span>(kwh)</span>
  277. :15
  278. </view>
  279. <view class="powerAndSpeedRed">
  280. 日发电量
  281. <span>(kwh)</span>
  282. :15
  283. </view>
  284. <view class="powerAndSpeedRed">
  285. 实时风速
  286. <span>(km/h)</span>
  287. :15
  288. </view>
  289. <view class="powerAndSpeedRed">
  290. 实际功率
  291. <span>(km/h)</span>
  292. :15
  293. </view>
  294. </view>
  295. <!-- HQChart图 -->
  296. <!-- <view class="HQChart">
  297. <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
  298. </view> -->
  299. <view class="UChartContainer">
  300. <view class="windStationUChart">
  301. <view class="windStationQiun-charts">
  302. <canvas canvas-id="windStationCanvasLineA" id="windStationCanvasLineA" class="windStationCharts" @touchstart="touchLineB1"></canvas>
  303. </view>
  304. </view>
  305. <view class="UChartTitle">风速功率曲线图</view>
  306. <!-- <view class="xTime">时间</view> -->
  307. </view>
  308. <view class="fanStatusContainer">
  309. <view class="fanStatus">
  310. <view class="statusIcon">
  311. <image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  312. </view>
  313. <span>接入&nbsp;&nbsp;99</span>
  314. </view>
  315. <view class="fanStatus">
  316. <view class="statusIcon">
  317. <image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  318. </view>
  319. <span>待机&nbsp;&nbsp;99</span>
  320. </view>
  321. <view class="fanStatus">
  322. <view class="statusIcon">
  323. <image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  324. </view>
  325. <span>运行&nbsp;&nbsp;99</span>
  326. </view>
  327. <view class="fanStatus">
  328. <view class="statusIcon">
  329. <image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  330. </view>
  331. <span>故障&nbsp;&nbsp;99</span>
  332. </view>
  333. <view class="fanStatus">
  334. <view class="statusIcon">
  335. <image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  336. </view>
  337. <span>维护&nbsp;&nbsp;99</span>
  338. </view>
  339. <view class="fanStatus">
  340. <view class="statusIcon">
  341. <image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  342. </view>
  343. <span>离线&nbsp;&nbsp;99</span>
  344. </view>
  345. </view>
  346. </view>
  347. <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '牛首山')">
  348. <view class="windStationTitle">牛首山风电场</view>
  349. <view class="powerAndSpeedContainer">
  350. <view class="powerAndSpeedRed">
  351. 预测电量
  352. <span>(kwh)</span>
  353. :15
  354. </view>
  355. <view class="powerAndSpeedRed">
  356. 日发电量
  357. <span>(kwh)</span>
  358. :15
  359. </view>
  360. <view class="powerAndSpeedRed">
  361. 实时风速
  362. <span>(km/h)</span>
  363. :15
  364. </view>
  365. <view class="powerAndSpeedRed">
  366. 实际功率
  367. <span>(km/h)</span>
  368. :15
  369. </view>
  370. </view>
  371. <!-- HQChart图 -->
  372. <!-- <view class="HQChart">
  373. <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
  374. </view> -->
  375. <view class="UChartContainer">
  376. <view class="windStationUChart">
  377. <view class="windStationQiun-charts"><canvas canvas-id="windStationCanvasLineB" id="windStationCanvasLineB"
  378. class="windStationCharts" @touchstart="touchLineB2"></canvas></view>
  379. </view>
  380. <view class="UChartTitle">风速功率曲线图</view>
  381. <!-- <view class="xTime">时间</view> -->
  382. </view>
  383. <view class="fanStatusContainer">
  384. <view class="fanStatus">
  385. <view class="statusIcon">
  386. <image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  387. </view>
  388. <span>接入&nbsp;&nbsp;99</span>
  389. </view>
  390. <view class="fanStatus">
  391. <view class="statusIcon">
  392. <image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  393. </view>
  394. <span>待机&nbsp;&nbsp;99</span>
  395. </view>
  396. <view class="fanStatus">
  397. <view class="statusIcon">
  398. <image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  399. </view>
  400. <span>运行&nbsp;&nbsp;99</span>
  401. </view>
  402. <view class="fanStatus">
  403. <view class="statusIcon">
  404. <image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  405. </view>
  406. <span>故障&nbsp;&nbsp;99</span>
  407. </view>
  408. <view class="fanStatus">
  409. <view class="statusIcon">
  410. <image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  411. </view>
  412. <span>维护&nbsp;&nbsp;99</span>
  413. </view>
  414. <view class="fanStatus">
  415. <view class="statusIcon">
  416. <image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  417. </view>
  418. <span>离线&nbsp;&nbsp;99</span>
  419. </view>
  420. </view>
  421. </view>
  422. <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '石板泉')">
  423. <view class="windStationTitle">石板泉风电场</view>
  424. <view class="powerAndSpeedContainer">
  425. <view class="powerAndSpeedRed">
  426. 预测电量
  427. <span>(kwh)</span>
  428. :15
  429. </view>
  430. <view class="powerAndSpeedRed">
  431. 日发电量
  432. <span>(kwh)</span>
  433. :15
  434. </view>
  435. <view class="powerAndSpeedRed">
  436. 实时风速
  437. <span>(km/h)</span>
  438. :15
  439. </view>
  440. <view class="powerAndSpeedRed">
  441. 实际功率
  442. <span>(km/h)</span>
  443. :15
  444. </view>
  445. </view>
  446. <!-- HQChart图 -->
  447. <!-- <view class="HQChart">
  448. <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
  449. </view> -->
  450. <view class="UChartContainer">
  451. <view class="windStationUChart">
  452. <view class="windStationQiun-charts"><canvas canvas-id="windStationCanvasLineC" id="windStationCanvasLineC"
  453. class="windStationCharts" @touchstart="touchLineB3"></canvas></view>
  454. </view>
  455. <view class="UChartTitle">风速功率曲线图</view>
  456. <!-- <view class="xTime">时间</view> -->
  457. </view>
  458. <view class="fanStatusContainer">
  459. <view class="fanStatus">
  460. <view class="statusIcon">
  461. <image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  462. </view>
  463. <span>接入&nbsp;&nbsp;99</span>
  464. </view>
  465. <view class="fanStatus">
  466. <view class="statusIcon">
  467. <image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  468. </view>
  469. <span>待机&nbsp;&nbsp;99</span>
  470. </view>
  471. <view class="fanStatus">
  472. <view class="statusIcon">
  473. <image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  474. </view>
  475. <span>运行&nbsp;&nbsp;99</span>
  476. </view>
  477. <view class="fanStatus">
  478. <view class="statusIcon">
  479. <image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  480. </view>
  481. <span>故障&nbsp;&nbsp;99</span>
  482. </view>
  483. <view class="fanStatus">
  484. <view class="statusIcon">
  485. <image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  486. </view>
  487. <span>维护&nbsp;&nbsp;99</span>
  488. </view>
  489. <view class="fanStatus">
  490. <view class="statusIcon">
  491. <image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  492. </view>
  493. <span>离线&nbsp;&nbsp;99</span>
  494. </view>
  495. </view>
  496. </view>
  497. <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '青山')">
  498. <view class="windStationTitle">青山风电场</view>
  499. <view class="powerAndSpeedContainer">
  500. <view class="powerAndSpeedRed">
  501. 预测电量
  502. <span>(kwh)</span>
  503. :15
  504. </view>
  505. <view class="powerAndSpeedRed">
  506. 日发电量
  507. <span>(kwh)</span>
  508. :15
  509. </view>
  510. <view class="powerAndSpeedRed">
  511. 实时风速
  512. <span>(km/h)</span>
  513. :15
  514. </view>
  515. <view class="powerAndSpeedRed">
  516. 实际功率
  517. <span>(km/h)</span>
  518. :15
  519. </view>
  520. </view>
  521. <!-- HQChart图 -->
  522. <!-- <view class="HQChart">
  523. <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
  524. </view> -->
  525. <view class="UChartContainer">
  526. <view class="windStationUChart">
  527. <view class="windStationQiun-charts"><canvas canvas-id="windStationCanvasLineD" id="windStationCanvasLineD"
  528. class="windStationCharts" @touchstart="touchLineB4"></canvas></view>
  529. </view>
  530. <view class="UChartTitle">风速功率曲线图</view>
  531. <!-- <view class="xTime">时间</view> -->
  532. </view>
  533. <view class="fanStatusContainer">
  534. <view class="fanStatus">
  535. <view class="statusIcon">
  536. <image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  537. </view>
  538. <span>接入&nbsp;&nbsp;99</span>
  539. </view>
  540. <view class="fanStatus">
  541. <view class="statusIcon">
  542. <image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  543. </view>
  544. <span>待机&nbsp;&nbsp;99</span>
  545. </view>
  546. <view class="fanStatus">
  547. <view class="statusIcon">
  548. <image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  549. </view>
  550. <span>运行&nbsp;&nbsp;99</span>
  551. </view>
  552. <view class="fanStatus">
  553. <view class="statusIcon">
  554. <image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  555. </view>
  556. <span>故障&nbsp;&nbsp;99</span>
  557. </view>
  558. <view class="fanStatus">
  559. <view class="statusIcon">
  560. <image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  561. </view>
  562. <span>维护&nbsp;&nbsp;99</span>
  563. </view>
  564. <view class="fanStatus">
  565. <view class="statusIcon">
  566. <image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  567. </view>
  568. <span>离线&nbsp;&nbsp;99</span>
  569. </view>
  570. </view>
  571. </view>
  572. <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '香山')">
  573. <view class="windStationTitle">香山风电场</view>
  574. <view class="powerAndSpeedContainer">
  575. <view class="powerAndSpeedRed">
  576. 预测电量
  577. <span>(kwh)</span>
  578. :15
  579. </view>
  580. <view class="powerAndSpeedRed">
  581. 日发电量
  582. <span>(kwh)</span>
  583. :15
  584. </view>
  585. <view class="powerAndSpeedRed">
  586. 实时风速
  587. <span>(km/h)</span>
  588. :15
  589. </view>
  590. <view class="powerAndSpeedRed">
  591. 实际功率
  592. <span>(km/h)</span>
  593. :15
  594. </view>
  595. </view>
  596. <!-- HQChart图 -->
  597. <!-- <view class="HQChart">
  598. <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
  599. </view> -->
  600. <view class="UChartContainer">
  601. <view class="windStationUChart">
  602. <view class="windStationQiun-charts"><canvas canvas-id="windStationCanvasLineE" id="windStationCanvasLineE"
  603. class="windStationCharts" @touchstart="touchLineB5"></canvas></view>
  604. </view>
  605. <view class="UChartTitle">风速功率曲线图</view>
  606. <!-- <view class="xTime">时间</view> -->
  607. </view>
  608. <view class="fanStatusContainer">
  609. <view class="fanStatus">
  610. <view class="statusIcon">
  611. <image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  612. </view>
  613. <span>接入&nbsp;&nbsp;99</span>
  614. </view>
  615. <view class="fanStatus">
  616. <view class="statusIcon">
  617. <image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  618. </view>
  619. <span>待机&nbsp;&nbsp;99</span>
  620. </view>
  621. <view class="fanStatus">
  622. <view class="statusIcon">
  623. <image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  624. </view>
  625. <span>运行&nbsp;&nbsp;99</span>
  626. </view>
  627. <view class="fanStatus">
  628. <view class="statusIcon">
  629. <image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  630. </view>
  631. <span>故障&nbsp;&nbsp;99</span>
  632. </view>
  633. <view class="fanStatus">
  634. <view class="statusIcon">
  635. <image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  636. </view>
  637. <span>维护&nbsp;&nbsp;99</span>
  638. </view>
  639. <view class="fanStatus">
  640. <view class="statusIcon">
  641. <image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
  642. </view>
  643. <span>离线&nbsp;&nbsp;99</span>
  644. </view>
  645. </view>
  646. </view>
  647. </view>
  648. </scroll-view>
  649. </view>
  650. </scroll-view>
  651. <view class="DrawerClose" :class="modalName=='viewModal'?'show':''" @tap="hideModal">
  652. <text class="cuIcon-pullright"></text>
  653. </view>
  654. </view>
  655. </template>
  656. <script>
  657. import plusDrawer from '../../components/drawer/plusDrawer.vue'
  658. import drawer from '../../components/drawer/threeLineDrawer.vue';
  659. import uCharts from '../../components/tools/u-charts/u-charts.js';
  660. var _self;
  661. var canvaLineA = null;
  662. var canvaColumn = null;
  663. var canvaLineB1 = null;
  664. var canvaLineB2 = null;
  665. var canvaLineB3 = null;
  666. var canvaLineB4 = null;
  667. var canvaLineB5 = null;
  668. export default {
  669. components: {
  670. drawer: drawer,
  671. "plusDrawer": plusDrawer,
  672. },
  673. data: function() {
  674. return {
  675. badge: 22,
  676. drawerList: [{
  677. "name": "首页"
  678. },
  679. {
  680. "name": "状态监视"
  681. },
  682. {
  683. "name": "矩阵监视"
  684. },
  685. {
  686. "name": "风场监视"
  687. },
  688. {
  689. "name": "人员监视"
  690. },
  691. ],
  692. plusDrawerList: [{
  693. name: "宁夏新能源公司",
  694. windPowerStationId: "NINGXIAXINNENGYUANGONGSI"
  695. },
  696. {
  697. name: "牛首山风电场",
  698. windPowerStationId: "NSS_FDC"
  699. },
  700. {
  701. name: "香山风电场",
  702. windPowerStationId: "XS_FDC"
  703. },
  704. {
  705. name: "石板泉风电场",
  706. windPowerStationId: "SBQ_FDC"
  707. },
  708. {
  709. name: "青山风电场",
  710. windPowerStationId: "QS_FDC"
  711. },
  712. {
  713. name: "麻黄山风电场",
  714. windPowerStationId: "MHS_FDC"
  715. },
  716. ],
  717. modalName: null,
  718. address: '宁夏新能源公司',
  719. windPowerStationId: '',
  720. inconList: ['form', 'favor', 'question', 'edit'],
  721. minaverageSpeed: '12',
  722. maxaverageSpeed: '25',
  723. loading: false,
  724. cWidth: '',
  725. cHeight: '',
  726. pixelRatio: 1,
  727. serverData: '',
  728. dayHair: false,
  729. fault: false,
  730. overhaul: false,
  731. powerLimitation: false,
  732. performance: false,
  733. toBeInvolved: false,
  734. Xzuobiao: ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18"],
  735. rifa: [18, 13, 12, 17, 13, 7, 11],
  736. guzhang: [17, 15, 17, 21, 16, 8, 10],
  737. jianxiu: [14, 17, 19, 20, 6, 14, 12],
  738. xiandian: [14, 17, 19, 20, 6, 14, 12],
  739. xingneng: [15, 17, 19, 20, 6, 4, 12],
  740. shoulei: [14, 17, 19, 20, 6, 4, 12],
  741. clickFlag: "stack",
  742. windStationCardCWidth: '',
  743. windStationCardCHeight: '',
  744. windStationCardPixelRatio: 1
  745. };
  746. },
  747. created: function() {
  748. this.address = this.getWindPowerStationNameToSessionStorage();
  749. this.windPowerStationId = uni.getStorageSync('windPowerStationId');
  750. },
  751. onLoad: function() {
  752. let that = this;
  753. setTimeout(function() {
  754. that.loading = true;
  755. }, 500);
  756. _self = this;
  757. this.cWidth = uni.upx2px(750);
  758. this.cHeight = uni.upx2px(400);
  759. this.getServerData();
  760. this.getColumnData();
  761. this.windStationCardCWidth = 250;
  762. this.windStationCardCHeight = 150;
  763. this.getWindStationCardData();
  764. },
  765. onHide() {
  766. this.$refs.drawer.closeDrawer();
  767. this.hideModal();
  768. },
  769. onShow(){
  770. this.windPowerStationId = uni.getStorageSync('windPowerStationId');
  771. this.address = this.getWindPowerStationNameToSessionStorage();
  772. },
  773. methods: {
  774. openDrawer: function() {
  775. this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList);
  776. },
  777. closeDrawer: function() {
  778. this.drawerIsShow = false;
  779. },
  780. pushWindPowerStationNameToSessionStorage(windpowerstationName) {
  781. uni.setStorageSync('windpowerstationName', windpowerstationName);
  782. //sessionStorage.setItem('windpowerstationName', windpowerstationName);
  783. //alert("v"+ sessionStorage.getItem("windpowerstationName"));
  784. //this.common.goback('/pages/index/Index');
  785. },
  786. getWindPowerStationNameToSessionStorage() {
  787. uni.getStorageSync('windpowerstationName');
  788. return uni.getStorageSync('windpowerstationName');
  789. },
  790. showModal(e) {
  791. this.modalName = e.currentTarget.dataset.target;
  792. this.$refs.plusDrawer.showModal(this.plusDrawerList, this.modalName);
  793. },
  794. hideModal() {
  795. this.modalName = null;
  796. this.$refs.plusDrawer.hideModal(this.modalName);
  797. },
  798. getServerData() {
  799. // 折线图
  800. let LineA = {
  801. categories: [
  802. ' 17:26',
  803. '18:56',
  804. '19:56',
  805. '20:56',
  806. '21:56',
  807. '22:56',
  808. '23:56',
  809. '00:56',
  810. '01:56',
  811. '02:56',
  812. '03:56',
  813. '04:56',
  814. '05:56',
  815. '06:56',
  816. '07:56',
  817. '08:56',
  818. '09:56',
  819. '10:56',
  820. '11:56',
  821. '12:56',
  822. '13:56',
  823. '14:56',
  824. '15:56',
  825. '16:56',
  826. '17:56 '
  827. ],
  828. series: [{
  829. name: '功率',
  830. 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,
  831. 13, 12.8
  832. ],
  833. color: '#4BB94B',
  834. textColor: '#FFFFFF',
  835. textSize: this.seriesTextSize,
  836. format: val => {
  837. return val + 'kwh';
  838. },
  839. index: 0,
  840. legendShape: 'circle'
  841. },
  842. {
  843. name: '风速',
  844. 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,
  845. 23, 22.8
  846. ],
  847. color: '#E82E2F',
  848. textColor: '#FFFFFF',
  849. textSize: this.seriesTextSize,
  850. format: val => {
  851. return val + 'km/h';
  852. },
  853. index: 1,
  854. legendShape: 'circle'
  855. },
  856. {
  857. name: '理论功率',
  858. 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,
  859. 33, 32.8
  860. ],
  861. color: '#F5A83C',
  862. textColor: '#FFFFFF',
  863. textSize: this.seriesTextSize,
  864. format: val => {
  865. return val + 'kwh';
  866. },
  867. index: 0,
  868. legendShape: 'circle'
  869. },
  870. {
  871. name: '预测功率',
  872. 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],
  873. color: '#4A80B1',
  874. textColor: '#FFFFFF',
  875. textSize: this.seriesTextSize,
  876. format: val => {
  877. return val + 'kwh';
  878. },
  879. index: 1,
  880. legendShape: 'circle'
  881. }
  882. ]
  883. };
  884. this.showLineA('canvasLineA', LineA);
  885. },
  886. showLineA(canvasId, chartData) {
  887. var _self = this;
  888. canvaLineA = new uCharts({
  889. $this: _self,
  890. canvasId: canvasId,
  891. type: 'line',
  892. fontSize: 11,
  893. legend: {
  894. show: true,
  895. position: 'top',
  896. float: 'right',
  897. fontColor: 'silver',
  898. itemGap: '4',
  899. itemWidth: '3'
  900. },
  901. dataLabel: false,
  902. dataPointShape: false,
  903. background: '#FFFFFF',
  904. pixelRatio: _self.pixelRatio,
  905. categories: chartData.categories,
  906. series: chartData.series,
  907. animation: true,
  908. xAxis: {
  909. type: 'grid',
  910. gridColor: 'silver',
  911. fontColor: 'silver',
  912. gridType: 'solid',
  913. gridColor: '#2E2E2E',
  914. axisLineColor: '#2E2E2E',
  915. labelCount: '3'
  916. // itemCount:"3"
  917. },
  918. yAxis: {
  919. data: [{
  920. type: 'value',
  921. fontColor: 'silver',
  922. disabled: false, //y轴轴线
  923. min: 0,
  924. max: 40,
  925. position: 'left',
  926. axisLineColor: '#2E2E2E',
  927. title: ' 风速:(km/h)',
  928. titleFontColor: 'silver'
  929. },
  930. {
  931. fontColor: 'silver',
  932. disabled: false, //y轴轴线
  933. min: 0,
  934. max: 40,
  935. position: 'right',
  936. axisLineColor: '#2E2E2E',
  937. title: '功率:(kwh)',
  938. titleFontColor: 'silver'
  939. }
  940. ],
  941. gridColor: '#2E2E2E',
  942. splitNumber: 4,
  943. gridType: 'solid',
  944. dashLength: 8,
  945. showTitle: 'true',
  946. format: val => {
  947. return val.toFixed(0) + '元';
  948. }
  949. },
  950. width: _self.cWidth * _self.pixelRatio,
  951. height: _self.cHeight * _self.pixelRatio,
  952. extra: {
  953. line: {
  954. type: 'line',
  955. width: '1'
  956. }
  957. }
  958. });
  959. },
  960. AffectedPower() {
  961. this.toBeInvolved = true,
  962. this.performance = false;
  963. this.powerLimitation = false;
  964. this.overhaul = false;
  965. this.dayHair = false;
  966. this.fault = false;
  967. this.clickFlag = "group";
  968. this.getColumnData();
  969. },
  970. performancePower() {
  971. this.performance = true;
  972. this.powerLimitation = false;
  973. this.toBeInvolved = false,
  974. this.overhaul = false;
  975. this.dayHair = false;
  976. this.fault = false;
  977. this.clickFlag = "group";
  978. this.getColumnData();
  979. },
  980. limitedPower() {
  981. this.toBeInvolved = false,
  982. this.powerLimitation = true;
  983. this.performance = false;
  984. this.overhaul = false;
  985. this.dayHair = false;
  986. this.fault = false;
  987. this.clickFlag = "group";
  988. this.getColumnData();
  989. },
  990. maintenancePower() {
  991. this.toBeInvolved = false,
  992. this.overhaul = true;
  993. this.performance = false;
  994. this.dayHair = false;
  995. this.fault = false;
  996. this.powerLimitation = false;
  997. this.clickFlag = "group";
  998. this.getColumnData();
  999. },
  1000. directGeneration() {
  1001. this.toBeInvolved = false,
  1002. this.dayHair = false;
  1003. this.performance = false;
  1004. this.fault = false;
  1005. this.overhaul = false;
  1006. this.powerLimitation = false;
  1007. this.clickFlag = "stack";
  1008. this.getColumnData();
  1009. },
  1010. powerGeneration() {
  1011. this.toBeInvolved = false,
  1012. this.dayHair = true;
  1013. this.performance = false;
  1014. this.fault = false;
  1015. this.overhaul = false;
  1016. this.powerLimitation = false;
  1017. this.clickFlag = "group";
  1018. this.getColumnData();
  1019. },
  1020. faultPower() {
  1021. this.toBeInvolved = false,
  1022. this.fault = true;
  1023. this.performance = false;
  1024. this.dayHair = false;
  1025. this.overhaul = false;
  1026. this.powerLimitation = false;
  1027. this.clickFlag = "group";
  1028. this.getColumnData();
  1029. },
  1030. getColumnData() {
  1031. let ColumnStack = {
  1032. "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18"],
  1033. "series": [{
  1034. "name": "应发电量(万kwh)",
  1035. "data": [0, 0, 0, 0, 0, 0, 0],
  1036. color: '#007BF9',
  1037. }, {
  1038. "name": "日发电量(万kwh)",
  1039. "data": [18, 13, 12, 17, 13, 7, 11],
  1040. color: '#4EB64E',
  1041. }, {
  1042. "name": "故障损失电量(万kwh)",
  1043. "data": [17, 15, 17, 21, 16, 8, 10],
  1044. color: '#F14E51',
  1045. }, {
  1046. "name": "检修损失电量(万kwh)",
  1047. "data": [14, 17, 19, 20, 6, 14, 12],
  1048. color: '#FF6B3E',
  1049. },
  1050. {
  1051. "name": "限电损失电量(万kwh)",
  1052. "data": [14, 17, 19, 20, 6, 14, 12],
  1053. color: '#DC62D2',
  1054. },
  1055. {
  1056. "name": "性能损失电量(万kwh)",
  1057. "data": [15, 17, 19, 20, 6, 4, 12],
  1058. color: '#9DA3F6',
  1059. },
  1060. {
  1061. "name": "受累损失电量(万kwh)",
  1062. "data": [14, 17, 19, 20, 6, 4, 12],
  1063. color: '#9E9E9E',
  1064. },
  1065. ],
  1066. };
  1067. if (this.dayHair) {
  1068. ColumnStack = {
  1069. "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
  1070. "series": [{
  1071. "name": "日发电量(万kwh)",
  1072. "data": [18, 13, 12, 17, 13, 7, 11, 15, 13],
  1073. color: '#4EB64E',
  1074. }
  1075. ],
  1076. };
  1077. ColumnStack.categories = [];
  1078. ColumnStack.series[0].data = [];
  1079. for (let i = 0; i < this.rifa.length; i++) {
  1080. ColumnStack.categories.push(this.Xzuobiao[i]);
  1081. // console.log(ColumnStack.categories)
  1082. ColumnStack.series[0].data.push(this.rifa[i]);
  1083. // console.log(ColumnStack.series[1].data)
  1084. }
  1085. }
  1086. if (this.fault) {
  1087. ColumnStack = {
  1088. "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
  1089. "series": [{
  1090. "name": "故障损失电量(万kwh)",
  1091. "data": [17, 15, 17, 21, 16, 8, 10, 17, 11],
  1092. color: '#F14E51',
  1093. }, ],
  1094. };
  1095. ColumnStack.categories = [];
  1096. ColumnStack.series[0].data = [];
  1097. for (let i = 0; i < this.guzhang.length; i++) {
  1098. ColumnStack.categories.push(this.Xzuobiao[i]);
  1099. // console.log(ColumnStack.categories)
  1100. ColumnStack.series[0].data.push(this.guzhang[i]);
  1101. // console.log(ColumnStack.series[1].data)
  1102. }
  1103. }
  1104. if (this.overhaul) {
  1105. ColumnStack = {
  1106. "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
  1107. "series": [{
  1108. "name": "检修损失电量(万kwh)",
  1109. "data": [14, 17, 19, 20, 6, 14, 12, 14, 10],
  1110. color: '#FF6B3E',
  1111. }
  1112. ],
  1113. };
  1114. ColumnStack.categories = [];
  1115. ColumnStack.series[0].data = [];
  1116. for (let i = 0; i < this.jianxiu.length; i++) {
  1117. ColumnStack.categories.push(this.Xzuobiao[i]);
  1118. // console.log(ColumnStack.categories)
  1119. ColumnStack.series[0].data.push(this.jianxiu[i]);
  1120. // console.log(ColumnStack.series[1].data)
  1121. }
  1122. }
  1123. if (this.powerLimitation) {
  1124. ColumnStack = {
  1125. "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
  1126. "series": [{
  1127. "name": "限电损失电量(万kwh)",
  1128. "data": [14, 17, 19, 20, 6, 14, 12, 14, 10],
  1129. color: '#DC62D2',
  1130. }
  1131. ],
  1132. };
  1133. ColumnStack.categories = [];
  1134. ColumnStack.series[0].data = [];
  1135. for (let i = 0; i < this.xiandian.length; i++) {
  1136. ColumnStack.categories.push(this.Xzuobiao[i]);
  1137. // console.log(ColumnStack.categories)
  1138. ColumnStack.series[0].data.push(this.xiandian[i]);
  1139. // console.log(ColumnStack.series[1].data)
  1140. }
  1141. }
  1142. if (this.performance) {
  1143. ColumnStack = {
  1144. "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
  1145. "series": [{
  1146. "name": "性能损失电量(万kwh)",
  1147. "data": [14, 17, 19, 20, 6, 14, 12, 14, 10],
  1148. color: '#9DA3F6',
  1149. }
  1150. ],
  1151. };
  1152. ColumnStack.categories = [];
  1153. ColumnStack.series[0].data = [];
  1154. for (let i = 0; i < this.xingneng.length; i++) {
  1155. ColumnStack.categories.push(this.Xzuobiao[i]);
  1156. // console.log(ColumnStack.categories)
  1157. ColumnStack.series[0].data.push(this.xingneng[i]);
  1158. // console.log(ColumnStack.series[1].data)
  1159. }
  1160. }
  1161. if (this.toBeInvolved) {
  1162. ColumnStack = {
  1163. "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
  1164. "series": [{
  1165. "name": "受累损失电量(万kwh)",
  1166. "data": [14, 17, 19, 20, 6, 14, 12, 14, 10],
  1167. color: '#9E9E9E',
  1168. }
  1169. ],
  1170. };
  1171. ColumnStack.categories = [];
  1172. ColumnStack.series[0].data = [];
  1173. for (let i = 0; i < this.shoulei.length; i++) {
  1174. ColumnStack.categories.push(this.Xzuobiao[i]);
  1175. // console.log(ColumnStack.categories)
  1176. ColumnStack.series[0].data.push(this.shoulei[i]);
  1177. // console.log(ColumnStack.series[1].data)
  1178. }
  1179. }
  1180. this.showColumnStack("canvasColumnStack", ColumnStack);
  1181. },
  1182. showColumnStack(canvasId, chartData) {
  1183. var _self = this;
  1184. canvaColumn = new uCharts({
  1185. $this: _self,
  1186. canvasId: canvasId,
  1187. type: 'column',
  1188. legend: {
  1189. show: false
  1190. },
  1191. fontSize: 11,
  1192. background: '#FFFFFF',
  1193. pixelRatio: _self.pixelRatio,
  1194. animation: true,
  1195. categories: chartData.categories,
  1196. series: chartData.series,
  1197. xAxis: {
  1198. disableGrid: true,
  1199. gridColor: 'silver',
  1200. fontColor: 'silver',
  1201. },
  1202. yAxis: {
  1203. data: [{
  1204. type: "value",
  1205. fontColor: 'silver',
  1206. disabled: false, //y轴轴线
  1207. min: 0,
  1208. max: 60,
  1209. axisLineColor: "#2E2E2E",
  1210. title: " 电量:(kwh)",
  1211. titleFontColor: "silver"
  1212. }],
  1213. gridColor: "#2E2E2E",
  1214. splitNumber: 4,
  1215. gridType: 'solid',
  1216. dashLength: 8,
  1217. showTitle: false,
  1218. //disabled:true
  1219. },
  1220. dataLabel: false,
  1221. width: _self.cWidth * _self.pixelRatio,
  1222. height: _self.cHeight * _self.pixelRatio,
  1223. extra: {
  1224. column: {
  1225. type: _self.clickFlag,
  1226. width: '13'
  1227. }
  1228. }
  1229. });
  1230. },
  1231. touchColumn(e) {
  1232. let _this = this;
  1233. canvaColumn.showToolTip(e, {
  1234. format: function(item, category) {
  1235. if (item.name == "应发电量(万kwh)") {
  1236. return category + ' ' + item.name + ':' + 50;
  1237. } else {
  1238. return category + ' ' + item.name + ':' + item.data
  1239. }
  1240. }
  1241. });
  1242. },
  1243. touchLineA(e) {
  1244. canvaLineA.showToolTip(e, {
  1245. format: function(item, category) {
  1246. return category + ' ' + item.name + ':' + item.data;
  1247. }
  1248. });
  1249. },
  1250. touchLineB1(e) {
  1251. canvaLineB1.showToolTip(e, {
  1252. format: function(item, category) {
  1253. return category + ' ' + item.name + ':' + item.data;
  1254. }
  1255. });
  1256. },
  1257. touchLineB2(e) {
  1258. canvaLineB2.showToolTip(e, {
  1259. format: function(item, category) {
  1260. return category + ' ' + item.name + ':' + item.data;
  1261. }
  1262. });
  1263. },
  1264. touchLineB3(e) {
  1265. canvaLineB3.showToolTip(e, {
  1266. format: function(item, category) {
  1267. return category + ' ' + item.name + ':' + item.data;
  1268. }
  1269. });
  1270. },
  1271. touchLineB4(e) {
  1272. canvaLineB4.showToolTip(e, {
  1273. format: function(item, category) {
  1274. return category + ' ' + item.name + ':' + item.data;
  1275. }
  1276. });
  1277. },
  1278. touchLineB5(e) {
  1279. canvaLineB5.showToolTip(e, {
  1280. format: function(item, category) {
  1281. return category + ' ' + item.name + ':' + item.data;
  1282. }
  1283. });
  1284. },
  1285. moveLineA(e) {
  1286. canvaLineA.scroll(e);
  1287. },
  1288. getWindStationCardData: function() {
  1289. let LineA1 = {
  1290. categories: [
  1291. ' 17:26',
  1292. '18:56',
  1293. '19:56',
  1294. '20:56',
  1295. '21:56',
  1296. '22:56',
  1297. '23:56',
  1298. '00:56',
  1299. '01:56',
  1300. '02:56',
  1301. '03:56',
  1302. '04:56',
  1303. '05:56',
  1304. '06:56',
  1305. '07:56',
  1306. '08:56',
  1307. '09:56',
  1308. '10:56',
  1309. '11:56',
  1310. '12:56',
  1311. '13:56',
  1312. '14:56',
  1313. '15:56',
  1314. '16:56',
  1315. '17:56 '
  1316. ],
  1317. series: [{
  1318. name: '功率',
  1319. 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,
  1320. 13, 12.8
  1321. ],
  1322. color: '#4BB94B',
  1323. textColor: '#FFFFFF',
  1324. textSize: this.seriesTextSize,
  1325. format: val => {
  1326. return val + 'kwh';
  1327. },
  1328. index: 0,
  1329. legendShape: 'circle'
  1330. },
  1331. {
  1332. name: '风速',
  1333. 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,
  1334. 23, 22.8
  1335. ],
  1336. color: '#E82E2F',
  1337. textColor: '#FFFFFF',
  1338. textSize: this.seriesTextSize,
  1339. format: val => {
  1340. return val + 'km/h';
  1341. },
  1342. index: 1,
  1343. legendShape: 'circle'
  1344. },
  1345. {
  1346. name: '理论功率',
  1347. 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,
  1348. 33, 32.8
  1349. ],
  1350. color: '#F5A83C',
  1351. textColor: '#FFFFFF',
  1352. textSize: this.seriesTextSize,
  1353. format: val => {
  1354. return val + 'kwh';
  1355. },
  1356. index: 0,
  1357. legendShape: 'circle'
  1358. },
  1359. {
  1360. name: '预测功率',
  1361. 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],
  1362. color: '#4A80B1',
  1363. textColor: '#FFFFFF',
  1364. textSize: this.seriesTextSize,
  1365. format: val => {
  1366. return val + 'kwh';
  1367. },
  1368. index: 1,
  1369. legendShape: 'circle'
  1370. }
  1371. ]
  1372. };
  1373. let LineB = {
  1374. categories: [
  1375. ' 17:26',
  1376. '18:56',
  1377. '19:56',
  1378. '20:56',
  1379. '21:56',
  1380. '22:56',
  1381. '23:56',
  1382. '00:56',
  1383. '01:56',
  1384. '02:56',
  1385. '03:56',
  1386. '04:56',
  1387. '05:56',
  1388. '06:56',
  1389. '07:56',
  1390. '08:56',
  1391. '09:56',
  1392. '10:56',
  1393. '11:56',
  1394. '12:56',
  1395. '13:56',
  1396. '14:56',
  1397. '15:56',
  1398. '16:56',
  1399. '17:56 '
  1400. ],
  1401. series: [{
  1402. name: '功率',
  1403. 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,
  1404. 13, 12.8
  1405. ],
  1406. color: '#4BB94B',
  1407. textColor: '#FFFFFF',
  1408. textSize: this.seriesTextSize,
  1409. format: val => {
  1410. return val + 'kwh';
  1411. },
  1412. index: 0,
  1413. legendShape: 'circle'
  1414. },
  1415. {
  1416. name: '风速',
  1417. 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,
  1418. 23, 22.8
  1419. ],
  1420. color: '#E82E2F',
  1421. textColor: '#FFFFFF',
  1422. textSize: this.seriesTextSize,
  1423. format: val => {
  1424. return val + 'km/h';
  1425. },
  1426. index: 1,
  1427. legendShape: 'circle'
  1428. },
  1429. {
  1430. name: '理论功率',
  1431. 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,
  1432. 33, 32.8
  1433. ],
  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: [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],
  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 LineC = {
  1458. categories: [
  1459. ' 17:26',
  1460. '18:56',
  1461. '19:56',
  1462. '20:56',
  1463. '21:56',
  1464. '22:56',
  1465. '23:56',
  1466. '00:56',
  1467. '01:56',
  1468. '02:56',
  1469. '03:56',
  1470. '04:56',
  1471. '05:56',
  1472. '06:56',
  1473. '07:56',
  1474. '08:56',
  1475. '09:56',
  1476. '10:56',
  1477. '11:56',
  1478. '12:56',
  1479. '13:56',
  1480. '14:56',
  1481. '15:56',
  1482. '16:56',
  1483. '17:56 '
  1484. ],
  1485. series: [{
  1486. name: '功率',
  1487. 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,
  1488. 13, 12.8
  1489. ],
  1490. color: '#4BB94B',
  1491. textColor: '#FFFFFF',
  1492. textSize: this.seriesTextSize,
  1493. format: val => {
  1494. return val + 'kwh';
  1495. },
  1496. index: 0,
  1497. legendShape: 'circle'
  1498. },
  1499. {
  1500. name: '风速',
  1501. 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,
  1502. 23, 22.8
  1503. ],
  1504. color: '#E82E2F',
  1505. textColor: '#FFFFFF',
  1506. textSize: this.seriesTextSize,
  1507. format: val => {
  1508. return val + 'km/h';
  1509. },
  1510. index: 1,
  1511. legendShape: 'circle'
  1512. },
  1513. {
  1514. name: '理论功率',
  1515. 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,
  1516. 33, 32.8
  1517. ],
  1518. color: '#F5A83C',
  1519. textColor: '#FFFFFF',
  1520. textSize: this.seriesTextSize,
  1521. format: val => {
  1522. return val + 'kwh';
  1523. },
  1524. index: 0,
  1525. legendShape: 'circle'
  1526. },
  1527. {
  1528. name: '预测功率',
  1529. 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],
  1530. color: '#4A80B1',
  1531. textColor: '#FFFFFF',
  1532. textSize: this.seriesTextSize,
  1533. format: val => {
  1534. return val + 'kwh';
  1535. },
  1536. index: 1,
  1537. legendShape: 'circle'
  1538. }
  1539. ]
  1540. };
  1541. let LineD = {
  1542. categories: [
  1543. ' 17:26',
  1544. '18:56',
  1545. '19:56',
  1546. '20:56',
  1547. '21:56',
  1548. '22:56',
  1549. '23:56',
  1550. '00:56',
  1551. '01:56',
  1552. '02:56',
  1553. '03:56',
  1554. '04:56',
  1555. '05:56',
  1556. '06:56',
  1557. '07:56',
  1558. '08:56',
  1559. '09:56',
  1560. '10:56',
  1561. '11:56',
  1562. '12:56',
  1563. '13:56',
  1564. '14:56',
  1565. '15:56',
  1566. '16:56',
  1567. '17:56 '
  1568. ],
  1569. series: [{
  1570. name: '功率',
  1571. 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,
  1572. 13, 12.8
  1573. ],
  1574. color: '#4BB94B',
  1575. textColor: '#FFFFFF',
  1576. textSize: this.seriesTextSize,
  1577. format: val => {
  1578. return val + 'kwh';
  1579. },
  1580. index: 0,
  1581. legendShape: 'circle'
  1582. },
  1583. {
  1584. name: '风速',
  1585. 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,
  1586. 23, 22.8
  1587. ],
  1588. color: '#E82E2F',
  1589. textColor: '#FFFFFF',
  1590. textSize: this.seriesTextSize,
  1591. format: val => {
  1592. return val + 'km/h';
  1593. },
  1594. index: 1,
  1595. legendShape: 'circle'
  1596. },
  1597. {
  1598. name: '理论功率',
  1599. 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,
  1600. 33, 32.8
  1601. ],
  1602. color: '#F5A83C',
  1603. textColor: '#FFFFFF',
  1604. textSize: this.seriesTextSize,
  1605. format: val => {
  1606. return val + 'kwh';
  1607. },
  1608. index: 0,
  1609. legendShape: 'circle'
  1610. },
  1611. {
  1612. name: '预测功率',
  1613. 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],
  1614. color: '#4A80B1',
  1615. textColor: '#FFFFFF',
  1616. textSize: this.seriesTextSize,
  1617. format: val => {
  1618. return val + 'kwh';
  1619. },
  1620. index: 1,
  1621. legendShape: 'circle'
  1622. }
  1623. ]
  1624. };
  1625. let LineE = {
  1626. categories: [
  1627. ' 17:26',
  1628. '18:56',
  1629. '19:56',
  1630. '20:56',
  1631. '21:56',
  1632. '22:56',
  1633. '23:56',
  1634. '00:56',
  1635. '01:56',
  1636. '02:56',
  1637. '03:56',
  1638. '04:56',
  1639. '05:56',
  1640. '06:56',
  1641. '07:56',
  1642. '08:56',
  1643. '09:56',
  1644. '10:56',
  1645. '11:56',
  1646. '12:56',
  1647. '13:56',
  1648. '14:56',
  1649. '15:56',
  1650. '16:56',
  1651. '17:56 '
  1652. ],
  1653. series: [{
  1654. name: '功率',
  1655. 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,
  1656. 13, 12.8
  1657. ],
  1658. color: '#4BB94B',
  1659. textColor: '#FFFFFF',
  1660. textSize: this.seriesTextSize,
  1661. format: val => {
  1662. return val + 'kwh';
  1663. },
  1664. index: 0,
  1665. legendShape: 'circle'
  1666. },
  1667. {
  1668. name: '风速',
  1669. 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,
  1670. 23, 22.8
  1671. ],
  1672. color: '#E82E2F',
  1673. textColor: '#FFFFFF',
  1674. textSize: this.seriesTextSize,
  1675. format: val => {
  1676. return val + 'km/h';
  1677. },
  1678. index: 1,
  1679. legendShape: 'circle'
  1680. },
  1681. {
  1682. name: '理论功率',
  1683. 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,
  1684. 33, 32.8
  1685. ],
  1686. color: '#F5A83C',
  1687. textColor: '#FFFFFF',
  1688. textSize: this.seriesTextSize,
  1689. format: val => {
  1690. return val + 'kwh';
  1691. },
  1692. index: 0,
  1693. legendShape: 'circle'
  1694. },
  1695. {
  1696. name: '预测功率',
  1697. 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],
  1698. color: '#4A80B1',
  1699. textColor: '#FFFFFF',
  1700. textSize: this.seriesTextSize,
  1701. format: val => {
  1702. return val + 'kwh';
  1703. },
  1704. index: 1,
  1705. legendShape: 'circle'
  1706. }
  1707. ]
  1708. };
  1709. this.showWindStationCardLineA1('windStationCanvasLineA', LineA1);
  1710. this.showWindStationCardLineA2('windStationCanvasLineB', LineB);
  1711. this.showWindStationCardLineA3('windStationCanvasLineC', LineC);
  1712. this.showWindStationCardLineA4('windStationCanvasLineD', LineD);
  1713. this.showWindStationCardLineA5('windStationCanvasLineE', LineE);
  1714. },
  1715. showWindStationCardLineA1(canvasId, chartData) {
  1716. var _self = this;
  1717. canvaLineB1 = new uCharts({
  1718. $this: _self,
  1719. canvasId: canvasId,
  1720. type: 'line',
  1721. fontSize: 11,
  1722. legend: {
  1723. show: true,
  1724. position: 'top',
  1725. float: 'right',
  1726. fontColor: 'silver',
  1727. itemGap: '9',
  1728. itemWidth: '3'
  1729. },
  1730. dataLabel: false,
  1731. dataPointShape: false,
  1732. background: '#FFFFFF',
  1733. pixelRatio: _self.windStationCardPixelRatio,
  1734. categories: chartData.categories,
  1735. series: chartData.series,
  1736. animation: true,
  1737. xAxis: {
  1738. type: 'grid',
  1739. gridColor: 'silver',
  1740. fontColor: 'silver',
  1741. gridType: 'solid',
  1742. gridColor: '#2E2E2E',
  1743. axisLineColor: '#2E2E2E',
  1744. labelCount: '3'
  1745. // itemCount:"3"
  1746. },
  1747. yAxis: {
  1748. data: [{
  1749. type: 'value',
  1750. fontColor: 'silver',
  1751. disabled: false, //y轴轴线
  1752. min: 0,
  1753. max: 40,
  1754. position: 'left',
  1755. axisLineColor: '#2E2E2E',
  1756. title: ' 风速:(km/h)',
  1757. titleFontColor: 'silver'
  1758. },
  1759. {
  1760. fontColor: 'silver',
  1761. disabled: false, //y轴轴线
  1762. min: 0,
  1763. max: 40,
  1764. position: 'right',
  1765. axisLineColor: '#2E2E2E',
  1766. title: '功率:(kwh)',
  1767. titleFontColor: 'silver'
  1768. }
  1769. ],
  1770. disabled:true,
  1771. gridColor: '#2E2E2E',
  1772. splitNumber: 4,
  1773. gridType: 'solid',
  1774. dashLength: 8,
  1775. showTitle: 'true',
  1776. format: val => {
  1777. return val.toFixed(0) + '元';
  1778. }
  1779. },
  1780. width: _self.windStationCardCWidth * _self.windStationCardPixelRatio,
  1781. height: _self.windStationCardCHeight * _self.windStationCardPixelRatio,
  1782. padding:[10,0,0,0],//画布填充边距,顺序为上右下左,同css,但必须4位
  1783. extra: {
  1784. line: {
  1785. type: 'line',
  1786. width: '1'
  1787. }
  1788. }
  1789. });
  1790. },
  1791. showWindStationCardLineA2(canvasId, chartData) {
  1792. var _self = this;
  1793. canvaLineB2 = new uCharts({
  1794. $this: _self,
  1795. canvasId: canvasId,
  1796. type: 'line',
  1797. fontSize: 11,
  1798. legend: {
  1799. show: true,
  1800. position: 'top',
  1801. float: 'right',
  1802. fontColor: 'silver',
  1803. itemGap: '9',
  1804. itemWidth: '3'
  1805. },
  1806. dataLabel: false,
  1807. dataPointShape: false,
  1808. background: '#FFFFFF',
  1809. pixelRatio: _self.windStationCardPixelRatio,
  1810. categories: chartData.categories,
  1811. series: chartData.series,
  1812. animation: true,
  1813. xAxis: {
  1814. type: 'grid',
  1815. gridColor: 'silver',
  1816. fontColor: 'silver',
  1817. gridType: 'solid',
  1818. gridColor: '#2E2E2E',
  1819. axisLineColor: '#2E2E2E',
  1820. labelCount: '3'
  1821. // itemCount:"3"
  1822. },
  1823. yAxis: {
  1824. data: [{
  1825. type: 'value',
  1826. fontColor: 'silver',
  1827. disabled: false, //y轴轴线
  1828. min: 0,
  1829. max: 40,
  1830. position: 'left',
  1831. axisLineColor: '#2E2E2E',
  1832. title: ' 风速:(km/h)',
  1833. titleFontColor: 'silver'
  1834. },
  1835. {
  1836. fontColor: 'silver',
  1837. disabled: false, //y轴轴线
  1838. min: 0,
  1839. max: 40,
  1840. position: 'right',
  1841. axisLineColor: '#2E2E2E',
  1842. title: '功率:(kwh)',
  1843. titleFontColor: 'silver'
  1844. }
  1845. ],
  1846. disabled:true,
  1847. gridColor: '#2E2E2E',
  1848. splitNumber: 4,
  1849. gridType: 'solid',
  1850. dashLength: 8,
  1851. showTitle: 'true',
  1852. format: val => {
  1853. return val.toFixed(0) + '元';
  1854. }
  1855. },
  1856. width: _self.windStationCardCWidth * _self.windStationCardPixelRatio,
  1857. height: _self.windStationCardCHeight * _self.windStationCardPixelRatio,
  1858. padding:[10,0,0,0],//画布填充边距,顺序为上右下左,同css,但必须4位
  1859. extra: {
  1860. line: {
  1861. type: 'line',
  1862. width: '1'
  1863. }
  1864. }
  1865. });
  1866. },
  1867. showWindStationCardLineA3(canvasId, chartData) {
  1868. var _self = this;
  1869. canvaLineB3 = new uCharts({
  1870. $this: _self,
  1871. canvasId: canvasId,
  1872. type: 'line',
  1873. fontSize: 11,
  1874. legend: {
  1875. show: true,
  1876. position: 'top',
  1877. float: 'right',
  1878. fontColor: 'silver',
  1879. itemGap: '9',
  1880. itemWidth: '3'
  1881. },
  1882. dataLabel: false,
  1883. dataPointShape: false,
  1884. background: '#FFFFFF',
  1885. pixelRatio: _self.windStationCardPixelRatio,
  1886. categories: chartData.categories,
  1887. series: chartData.series,
  1888. animation: true,
  1889. xAxis: {
  1890. type: 'grid',
  1891. gridColor: 'silver',
  1892. fontColor: 'silver',
  1893. gridType: 'solid',
  1894. gridColor: '#2E2E2E',
  1895. axisLineColor: '#2E2E2E',
  1896. labelCount: '3'
  1897. // itemCount:"3"
  1898. },
  1899. yAxis: {
  1900. data: [{
  1901. type: 'value',
  1902. fontColor: 'silver',
  1903. disabled: false, //y轴轴线
  1904. min: 0,
  1905. max: 40,
  1906. position: 'left',
  1907. axisLineColor: '#2E2E2E',
  1908. title: ' 风速:(km/h)',
  1909. titleFontColor: 'silver'
  1910. },
  1911. {
  1912. fontColor: 'silver',
  1913. disabled: false, //y轴轴线
  1914. min: 0,
  1915. max: 40,
  1916. position: 'right',
  1917. axisLineColor: '#2E2E2E',
  1918. title: '功率:(kwh)',
  1919. titleFontColor: 'silver'
  1920. }
  1921. ],
  1922. disabled:true,
  1923. gridColor: '#2E2E2E',
  1924. splitNumber: 4,
  1925. gridType: 'solid',
  1926. dashLength: 8,
  1927. showTitle: 'true',
  1928. format: val => {
  1929. return val.toFixed(0) + '元';
  1930. }
  1931. },
  1932. width: _self.windStationCardCWidth * _self.windStationCardPixelRatio,
  1933. height: _self.windStationCardCHeight * _self.windStationCardPixelRatio,
  1934. padding:[10,0,0,0],//画布填充边距,顺序为上右下左,同css,但必须4位
  1935. extra: {
  1936. line: {
  1937. type: 'line',
  1938. width: '1'
  1939. }
  1940. }
  1941. });
  1942. },
  1943. showWindStationCardLineA4(canvasId, chartData) {
  1944. var _self = this;
  1945. canvaLineB4 = new uCharts({
  1946. $this: _self,
  1947. canvasId: canvasId,
  1948. type: 'line',
  1949. fontSize: 11,
  1950. legend: {
  1951. show: true,
  1952. position: 'top',
  1953. float: 'right',
  1954. fontColor: 'silver',
  1955. itemGap: '9',
  1956. itemWidth: '3'
  1957. },
  1958. dataLabel: false,
  1959. dataPointShape: false,
  1960. background: '#FFFFFF',
  1961. pixelRatio: _self.windStationCardPixelRatio,
  1962. categories: chartData.categories,
  1963. series: chartData.series,
  1964. animation: true,
  1965. xAxis: {
  1966. type: 'grid',
  1967. gridColor: 'silver',
  1968. fontColor: 'silver',
  1969. gridType: 'solid',
  1970. gridColor: '#2E2E2E',
  1971. axisLineColor: '#2E2E2E',
  1972. labelCount: '3'
  1973. // itemCount:"3"
  1974. },
  1975. yAxis: {
  1976. data: [{
  1977. type: 'value',
  1978. fontColor: 'silver',
  1979. disabled: false, //y轴轴线
  1980. min: 0,
  1981. max: 40,
  1982. position: 'left',
  1983. axisLineColor: '#2E2E2E',
  1984. title: ' 风速:(km/h)',
  1985. titleFontColor: 'silver'
  1986. },
  1987. {
  1988. fontColor: 'silver',
  1989. disabled: false, //y轴轴线
  1990. min: 0,
  1991. max: 40,
  1992. position: 'right',
  1993. axisLineColor: '#2E2E2E',
  1994. title: '功率:(kwh)',
  1995. titleFontColor: 'silver'
  1996. }
  1997. ],
  1998. disabled:true,
  1999. gridColor: '#2E2E2E',
  2000. splitNumber: 4,
  2001. gridType: 'solid',
  2002. dashLength: 8,
  2003. showTitle: 'true',
  2004. format: val => {
  2005. return val.toFixed(0) + '元';
  2006. }
  2007. },
  2008. width: _self.windStationCardCWidth * _self.windStationCardPixelRatio,
  2009. height: _self.windStationCardCHeight * _self.windStationCardPixelRatio,
  2010. padding:[10,0,0,0],//画布填充边距,顺序为上右下左,同css,但必须4位
  2011. extra: {
  2012. line: {
  2013. type: 'line',
  2014. width: '1'
  2015. }
  2016. }
  2017. });
  2018. },
  2019. showWindStationCardLineA5(canvasId, chartData) {
  2020. var _self = this;
  2021. canvaLineB5 = new uCharts({
  2022. $this: _self,
  2023. canvasId: canvasId,
  2024. type: 'line',
  2025. fontSize: 11,
  2026. legend: {
  2027. show: true,
  2028. position: 'top',
  2029. float: 'right',
  2030. fontColor: 'silver',
  2031. itemGap: '9',
  2032. itemWidth: '3'
  2033. },
  2034. dataLabel: false,
  2035. dataPointShape: false,
  2036. background: '#FFFFFF',
  2037. pixelRatio: _self.windStationCardPixelRatio,
  2038. categories: chartData.categories,
  2039. series: chartData.series,
  2040. animation: true,
  2041. xAxis: {
  2042. type: 'grid',
  2043. gridColor: 'silver',
  2044. fontColor: 'silver',
  2045. gridType: 'solid',
  2046. gridColor: '#2E2E2E',
  2047. axisLineColor: '#2E2E2E',
  2048. labelCount: '3'
  2049. // itemCount:"3"
  2050. },
  2051. yAxis: {
  2052. data: [{
  2053. type: 'value',
  2054. fontColor: 'silver',
  2055. disabled: false, //y轴轴线
  2056. min: 0,
  2057. max: 40,
  2058. position: 'left',
  2059. axisLineColor: '#2E2E2E',
  2060. title: ' 风速:(km/h)',
  2061. titleFontColor: 'silver'
  2062. },
  2063. {
  2064. fontColor: 'silver',
  2065. disabled: false, //y轴轴线
  2066. min: 0,
  2067. max: 40,
  2068. position: 'right',
  2069. axisLineColor: '#2E2E2E',
  2070. title: '功率:(kwh)',
  2071. titleFontColor: 'silver'
  2072. }
  2073. ],
  2074. disabled:true,
  2075. gridColor: '#2E2E2E',
  2076. splitNumber: 4,
  2077. gridType: 'solid',
  2078. dashLength: 8,
  2079. showTitle: 'true',
  2080. format: val => {
  2081. return val.toFixed(0) + '元';
  2082. }
  2083. },
  2084. width: _self.windStationCardCWidth * _self.windStationCardPixelRatio,
  2085. height: _self.windStationCardCHeight * _self.windStationCardPixelRatio,
  2086. padding:[10,0,0,0],//画布填充边距,顺序为上右下左,同css,但必须4位
  2087. extra: {
  2088. line: {
  2089. type: 'line',
  2090. width: '1'
  2091. }
  2092. }
  2093. });
  2094. },
  2095. }
  2096. };
  2097. </script>
  2098. <style>
  2099. .speedPowerDiagram {
  2100. width: 100px;
  2101. height: 30px;
  2102. user-select: text;
  2103. -webkit-user-select: text;
  2104. -moz-user-select: text;
  2105. -ms-user-select: text;
  2106. color: silver;
  2107. float: left;
  2108. margin-top: 18px;
  2109. margin-left: 9px;
  2110. font-size: 11px;
  2111. }
  2112. .monthlyUtilizationHours {
  2113. width: 160px;
  2114. height: 30px;
  2115. margin-top: 15px;
  2116. /* background-color: #161616; */
  2117. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2118. color: silver;
  2119. margin-left: 20px;
  2120. text-align: center;
  2121. padding-top: 7px;
  2122. font-size: 12px;
  2123. }
  2124. .yearlyUtilizationHours {
  2125. width: 160px;
  2126. height: 30px;
  2127. margin-top: 10px;
  2128. /* background-color: #161616; */
  2129. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2130. color: silver;
  2131. margin-left: 20px;
  2132. text-align: center;
  2133. padding-top: 7px;
  2134. font-size: 12px;
  2135. }
  2136. .comprehensiveServicePowerConsumptionRate {
  2137. width: 160px;
  2138. height: 30px;
  2139. /* margin-top: 10px; */
  2140. /* background-color: #161616; */
  2141. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2142. color: silver;
  2143. margin-left: 200px;
  2144. margin-top: -70px;
  2145. text-align: center;
  2146. padding-top: 7px;
  2147. float: left;
  2148. font-size: 12px;
  2149. }
  2150. .equipmentAvailability {
  2151. width: 160px;
  2152. height: 30px;
  2153. /* margin-top: 10px; */
  2154. /* background-color: #161616; */
  2155. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2156. color: silver;
  2157. margin-left: 200px;
  2158. margin-top: -30px;
  2159. text-align: center;
  2160. padding-top: 7px;
  2161. float: left;
  2162. font-size: 12px;
  2163. }
  2164. .sulfurDioxideEmissionReduction {
  2165. width: 160px;
  2166. height: 30px;
  2167. /* margin-top: 10px; */
  2168. /* background-color: #161616; */
  2169. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2170. color: silver;
  2171. margin-left: 380px;
  2172. margin-top: -70px;
  2173. text-align: center;
  2174. padding-top: 7px;
  2175. float: left;
  2176. font-size: 12px;
  2177. }
  2178. .carbonDioxideReduction {
  2179. width: 160px;
  2180. height: 30px;
  2181. /* margin-top: 10px; */
  2182. /* background-color: #161616; */
  2183. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2184. color: silver;
  2185. margin-left: 380px;
  2186. margin-top: -30px;
  2187. text-align: center;
  2188. padding-top: 7px;
  2189. float: left;
  2190. font-size: 12px;
  2191. }
  2192. .waterSaving {
  2193. width: 160px;
  2194. height: 30px;
  2195. /* margin-top: 10px; */
  2196. /* background-color: #161616; */
  2197. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2198. color: silver;
  2199. margin-left: 560px;
  2200. margin-top: -70px;
  2201. text-align: center;
  2202. padding-top: 7px;
  2203. float: left;
  2204. font-size: 12px;
  2205. }
  2206. .saveStandardCoal {
  2207. width: 160px;
  2208. height: 30px;
  2209. /* margin-top: 10px; */
  2210. /* background-color: #161616; */
  2211. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2212. color: silver;
  2213. margin-left: 560px;
  2214. margin-top: -30px;
  2215. text-align: center;
  2216. padding-top: 7px;
  2217. float: left;
  2218. font-size: 12px;
  2219. }
  2220. .mttr {
  2221. width: 160px;
  2222. height: 30px;
  2223. /* margin-top: 10px; */
  2224. /* background-color: #161616; */
  2225. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2226. color: silver;
  2227. margin-left: 740px;
  2228. margin-top: -70px;
  2229. text-align: center;
  2230. padding-top: 7px;
  2231. float: left;
  2232. font-size: 12px;
  2233. }
  2234. .mtbf {
  2235. width: 160px;
  2236. height: 30px;
  2237. /* margin-top: 10px; */
  2238. /* background-color: #161616; */
  2239. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2240. color: silver;
  2241. margin-left: 740px;
  2242. margin-top: -30px;
  2243. text-align: center;
  2244. padding-top: 7px;
  2245. float: left;
  2246. font-size: 12px;
  2247. }
  2248. .horizontalSlider {
  2249. white-space: nowrap;
  2250. width: 100%;
  2251. height: 100px;
  2252. background-color: #242424;
  2253. clear: both;
  2254. margin-top: 510px;
  2255. }
  2256. .slide {
  2257. width: 920px;
  2258. height: 100px;
  2259. background-color: #242424;
  2260. }
  2261. .qiun-charts {
  2262. width: 750upx;
  2263. height: 400upx;
  2264. }
  2265. .charts {
  2266. width: 750upx;
  2267. height: 400upx;
  2268. }
  2269. .uchartTitle {
  2270. position: absolute;
  2271. left: 9px;
  2272. top: 605px;
  2273. user-select: text;
  2274. -webkit-user-select: text;
  2275. -moz-user-select: text;
  2276. -ms-user-select: text;
  2277. color: silver;
  2278. font-size: 12px;
  2279. }
  2280. .Histogram {
  2281. width: 100%;
  2282. height: 280px;
  2283. background-color: #242424;
  2284. margin-top: 10px;
  2285. float: left;
  2286. }
  2287. .HistogramTitle{
  2288. width: calc(100% - 9px);
  2289. height: 30px;
  2290. line-height: 30px;
  2291. font-size: 11px;
  2292. color: silver;
  2293. margin-left: 9px;
  2294. }
  2295. .lineChart {
  2296. width: 100%;
  2297. height: 225px;
  2298. background-color: #242424;
  2299. margin-top: 10px;
  2300. float: left;
  2301. }
  2302. body {
  2303. font-family:'方正兰亭细黑_GBK';
  2304. font-size: 20px;
  2305. color: silver;
  2306. background: #000;
  2307. }
  2308. @font-face {
  2309. font-family:'方正兰亭细黑_GBK';
  2310. src: url(../../static/方正兰亭细黑_GBK.TTF);
  2311. }
  2312. page {
  2313. background-color: #1f1f1f;
  2314. font-family:'方正兰亭细黑_GBK';
  2315. overflow-x: hidden;
  2316. }
  2317. .top {
  2318. width: 100%;
  2319. height: 130upx;
  2320. padding-top: 5upx;
  2321. background-color: #1f1f1f;
  2322. position: fixed;
  2323. top: 0px;
  2324. left: 0px;
  2325. z-index: 100;
  2326. }
  2327. .threeLine {
  2328. width: 50px;
  2329. height: 45px;
  2330. float: left;
  2331. }
  2332. .text {
  2333. width: calc(100% - 100px);
  2334. height: 45px;
  2335. float: left;
  2336. user-select: text;
  2337. -webkit-user-select: text;
  2338. -moz-user-select: text;
  2339. -ms-user-select: text;
  2340. color: silver;
  2341. line-height: 45px;
  2342. margin-top: 11px;
  2343. font-size: 18px;
  2344. }
  2345. .notice {
  2346. width: 50px;
  2347. height: 45px;
  2348. float: left;
  2349. }
  2350. .plus {
  2351. width: 50px;
  2352. height: 45px;
  2353. float: right;
  2354. color: white;
  2355. font-size: 35px;
  2356. line-height: 45px;
  2357. text-align: center;
  2358. margin-top: 11px;
  2359. }
  2360. .textWindpowerstation{
  2361. width: 180px;
  2362. height: 45px;
  2363. float: left;
  2364. text-align: center;
  2365. margin-left: 18px;
  2366. }
  2367. .time {
  2368. clear: both;
  2369. background-color: #242424;
  2370. margin-top: 80px;
  2371. width: 100%;
  2372. height: 30px;
  2373. /* float: left; */
  2374. }
  2375. .timeimageshizhong {
  2376. width: 30px;
  2377. height: 20px;
  2378. margin-top: 5px;
  2379. float: left;
  2380. }
  2381. .timeText {
  2382. width: 62%;
  2383. height: 30px;
  2384. float: left;
  2385. line-height: 30px;
  2386. font-size: 15px;
  2387. margin-left: 15px;
  2388. user-select: text;
  2389. -webkit-user-select: text;
  2390. -moz-user-select: text;
  2391. -ms-user-select: text;
  2392. color: silver;
  2393. }
  2394. .timeIcon {
  2395. width: 21%;
  2396. height: 30px;
  2397. float: left;
  2398. margin-left: 5px;
  2399. }
  2400. .timeIconImage {
  2401. width: 100%;
  2402. height: 25px;
  2403. margin-top: 1px;
  2404. }
  2405. .timeIconText {
  2406. width: 100%;
  2407. height: 25px;
  2408. text-align: center;
  2409. font-size: 12px;
  2410. }
  2411. .cardinstallgreenSecurity {
  2412. margin-left: 9px;
  2413. margin-top: 9px;
  2414. margin-bottom: 9px;
  2415. width: 30%;
  2416. height: 78px;
  2417. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1) 0%, rgba(66, 130, 61, 0.2) 100%);
  2418. border-radius: 5px;
  2419. float: left;
  2420. /* font-family: "STKaiti"; */
  2421. }
  2422. .cardinstalltitle {
  2423. width: 100%;
  2424. height: 40px;
  2425. text-align: center;
  2426. user-select: text;
  2427. -webkit-user-select: text;
  2428. -moz-user-select: text;
  2429. -ms-user-select: text;
  2430. font-size: 14px;
  2431. color: silver;
  2432. line-height: 40px;
  2433. float: left;
  2434. }
  2435. .cardinstallnumber {
  2436. /* font-weight: bold; */
  2437. width: 100%;
  2438. height: 40px;
  2439. text-align: center;
  2440. user-select: text;
  2441. -webkit-user-select: text;
  2442. -moz-user-select: text;
  2443. -ms-user-select: text;
  2444. color: silver;
  2445. font-size: 16px;
  2446. /* color: #449618; */
  2447. line-height: 40px;
  2448. }
  2449. .cardinstallgreenEquipment {
  2450. margin-right: 11px;
  2451. margin-top: 10px;
  2452. width: 30%;
  2453. height: 78px;
  2454. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2455. border-radius: 5px;
  2456. float: right;
  2457. /* font-family: "STKaiti"; */
  2458. }
  2459. .cardinstallgreen {
  2460. margin-left: 9px;
  2461. width: 30%;
  2462. height: 78px;
  2463. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1) 0%, rgba(66, 130, 61, 0.2) 100%);
  2464. border-radius: 5px;
  2465. float: left;
  2466. }
  2467. .cardinstallblue {
  2468. margin-top: 9px;
  2469. margin-left: 9px;
  2470. width: 30%;
  2471. height: 78px;
  2472. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(10, 82, 156, 0.2) 100%);
  2473. border-radius: 5px;
  2474. float: left;
  2475. }
  2476. .cardinstallblueright {
  2477. margin-right: 11px;
  2478. margin-top: 10px;
  2479. width: 30%;
  2480. height: 78px;
  2481. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(10, 82, 156, 0.2) 100%);
  2482. border-radius: 5px;
  2483. float: right;
  2484. }
  2485. .cardinstalltitlegreen {
  2486. width: 100%;
  2487. height: 25px;
  2488. margin-left: 37px;
  2489. user-select: text;
  2490. -webkit-user-select: text;
  2491. -moz-user-select: text;
  2492. -ms-user-select: text;
  2493. font-size: 14px;
  2494. color: silver;
  2495. line-height: 25px;
  2496. float: left;
  2497. }
  2498. .cardinstallnumbergreen {
  2499. width: 100%;
  2500. height: 25px;
  2501. text-align: center;
  2502. user-select: text;
  2503. -webkit-user-select: text;
  2504. -moz-user-select: text;
  2505. -ms-user-select: text;
  2506. font-size: 20px;
  2507. color: silver;
  2508. /* color: #449618; */
  2509. line-height: 25px;
  2510. float: left;
  2511. }
  2512. .cardinstallnumbergreenmin {
  2513. margin-left: 2px;
  2514. width: 45%;
  2515. height: 20px;
  2516. user-select: text;
  2517. -webkit-user-select: text;
  2518. -moz-user-select: text;
  2519. -ms-user-select: text;
  2520. font-size: 12px;
  2521. color: silver;
  2522. /* color: #449618; */
  2523. float: left;
  2524. }
  2525. .cardinstallnumbergreenmax {
  2526. /* font-weight: bold; */
  2527. margin-right: 2px;
  2528. width: 45%;
  2529. height: 20px;
  2530. user-select: text;
  2531. -webkit-user-select: text;
  2532. -moz-user-select: text;
  2533. -ms-user-select: text;
  2534. font-size: 12px;
  2535. color: silver;
  2536. /* color: #449618; */
  2537. float: right;
  2538. }
  2539. .greenMinText {
  2540. line-height: 20px;
  2541. float: right;
  2542. }
  2543. .greenMaxText {
  2544. line-height: 20px;
  2545. float: left;
  2546. }
  2547. .cardinstallnumberred {
  2548. width: 100%;
  2549. height: 25px;
  2550. text-align: center;
  2551. user-select: text;
  2552. -webkit-user-select: text;
  2553. -moz-user-select: text;
  2554. -ms-user-select: text;
  2555. font-size: 20px;
  2556. color: silver;
  2557. /* color: #E93131; */
  2558. line-height: 25px;
  2559. float: left;
  2560. }
  2561. .cardinstallnumberredmin {
  2562. margin-left: 2px;
  2563. width: 45%;
  2564. height: 20px;
  2565. user-select: text;
  2566. -webkit-user-select: text;
  2567. -moz-user-select: text;
  2568. -ms-user-select: text;
  2569. font-size: 12px;
  2570. color: silver;
  2571. /* color: #E93131; */
  2572. float: left;
  2573. }
  2574. .cardinstallnumberredmax {
  2575. margin-right: 2px;
  2576. width: 45%;
  2577. height: 20px;
  2578. user-select: text;
  2579. -webkit-user-select: text;
  2580. -moz-user-select: text;
  2581. -ms-user-select: text;
  2582. font-size: 12px;
  2583. color: silver;
  2584. /* color: #E93131; */
  2585. float: right;
  2586. }
  2587. .redMinText {
  2588. line-height: 20px;
  2589. float: right;
  2590. }
  2591. .redMaxText {
  2592. line-height: 20px;
  2593. float: left;
  2594. }
  2595. .electricityCard {
  2596. width: 100%;
  2597. height: 100px;
  2598. background-color: #242424;
  2599. /* height: 185px; */
  2600. float: left;
  2601. margin-top: 20rpx;
  2602. }
  2603. .speedPower {
  2604. width: 100%;
  2605. height: 180px;
  2606. background-color: #242424;
  2607. float: left;
  2608. margin-top: 20rpx;
  2609. }
  2610. .cardinstallgreenSpeed {
  2611. margin-top: 9px;
  2612. margin-left: 9px;
  2613. width: 46%;
  2614. height: 78px;
  2615. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1) 0%, rgba(66, 130, 61, 0.2) 100%);
  2616. border-radius: 5px;
  2617. float: left;
  2618. }
  2619. .cardinstallredSpeed {
  2620. margin-top: 8px;
  2621. margin-left: 2.5%;
  2622. width: 46%;
  2623. height: 78px;
  2624. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2625. border-radius: 5px;
  2626. float: left;
  2627. }
  2628. .cardinstalltitleRed {
  2629. width: 100%;
  2630. height: 25px;
  2631. margin-left: 45px;
  2632. user-select: text;
  2633. -webkit-user-select: text;
  2634. -moz-user-select: text;
  2635. -ms-user-select: text;
  2636. font-size: 14px;
  2637. color: silver;
  2638. line-height: 25px;
  2639. float: left;
  2640. }
  2641. .textWhitekuangSpeed {
  2642. color: white;
  2643. float: right;
  2644. margin-right: 70px;
  2645. }
  2646. .textWhitekuang {
  2647. color: white;
  2648. float: right;
  2649. margin-right: 85px;
  2650. }
  2651. .textWhite {
  2652. color: white;
  2653. float: left;
  2654. }
  2655. .textSilver {
  2656. user-select: text;
  2657. -webkit-user-select: text;
  2658. -moz-user-select: text;
  2659. -ms-user-select: text;
  2660. color: silver;
  2661. float: left;
  2662. }
  2663. .InformationCard {
  2664. margin-top: 10px;
  2665. width: 100%;
  2666. height: 70px;
  2667. background-color: #242424;
  2668. float: left;
  2669. }
  2670. .informationCardAll {
  2671. width: 100%;
  2672. margin-top: 10px;
  2673. height: 60px;
  2674. float: left;
  2675. }
  2676. .informationCardTextOne {
  2677. width: 100%;
  2678. height: 35px;
  2679. float: left;
  2680. }
  2681. .informationCardTextNo1{
  2682. margin-left: 2%;
  2683. width: 115px;
  2684. height: 35px;
  2685. font-size: 13px;
  2686. line-height: 35px;
  2687. float: left;
  2688. }
  2689. .informationCardText {
  2690. margin-left: 2%;
  2691. width: 110px;
  2692. height: 35px;
  2693. line-height: 35px;
  2694. user-select: text;
  2695. -webkit-user-select: text;
  2696. -moz-user-select: text;
  2697. -ms-user-select: text;
  2698. color: silver;
  2699. font-size: 13px;
  2700. float: left;
  2701. }
  2702. .informationCardTextzj {
  2703. margin-left: 43%;
  2704. width: 105px;
  2705. height: 35px;
  2706. line-height: 35px;
  2707. user-select: text;
  2708. -webkit-user-select: text;
  2709. -moz-user-select: text;
  2710. -ms-user-select: text;
  2711. color: silver;
  2712. font-size: 13px;
  2713. float: left;
  2714. }
  2715. .informationCardTextTwo {
  2716. width: 100%;
  2717. height: 35px;
  2718. float: left;
  2719. user-select: text;
  2720. -webkit-user-select: text;
  2721. -moz-user-select: text;
  2722. -ms-user-select: text;
  2723. color: silver;
  2724. }
  2725. .informationCardText2 {
  2726. margin-left: 6%;
  2727. width: 110px;
  2728. height: 35px;
  2729. font-size: 13px;
  2730. line-height: 35px;
  2731. float: left;
  2732. }
  2733. .informationCardText3 {
  2734. margin-left: 6%;
  2735. width: 120px;
  2736. height: 35px;
  2737. font-size: 13px;
  2738. line-height: 35px;
  2739. float: left;
  2740. }
  2741. .AccessCardNumber {
  2742. width: 30%;
  2743. height: 35px;
  2744. float: left;
  2745. line-height: 35px;
  2746. text-align: center;
  2747. font-size: 12px;
  2748. user-select: text;
  2749. -webkit-user-select: text;
  2750. -moz-user-select: text;
  2751. -ms-user-select: text;
  2752. color: silver;
  2753. }
  2754. .AccessCardText {
  2755. width: 30%;
  2756. height: 35px;
  2757. float: left;
  2758. line-height: 35px;
  2759. text-align: center;
  2760. font-size: 12px;
  2761. user-select: text;
  2762. -webkit-user-select: text;
  2763. -moz-user-select: text;
  2764. -ms-user-select: text;
  2765. color: silver;
  2766. }
  2767. .AccessCardimage {
  2768. margin-left: 5px;
  2769. width: 30%;
  2770. height: 35px;
  2771. float: left;
  2772. }
  2773. .interfaceCard {
  2774. margin-top: 10px;
  2775. width: 100%;
  2776. height: 85px;
  2777. background-color: #242424;
  2778. float: left;
  2779. }
  2780. .interfaceCardSmallTop {
  2781. margin-top: 5px;
  2782. width: 100%;
  2783. height: 35px;
  2784. float: left;
  2785. }
  2786. .interfaceCardSmall {
  2787. margin-left: 8px;
  2788. width: 30%;
  2789. height: 35px;
  2790. float: left;
  2791. }
  2792. .progressBarLeftText {
  2793. user-select: text;
  2794. -webkit-user-select: text;
  2795. -moz-user-select: text;
  2796. -ms-user-select: text;
  2797. color: silver;
  2798. font-size: 12px;
  2799. float: left;
  2800. margin-left: 5px;
  2801. }
  2802. .progressBarRightText {
  2803. user-select: text;
  2804. -webkit-user-select: text;
  2805. -moz-user-select: text;
  2806. -ms-user-select: text;
  2807. color: silver;
  2808. font-size: 12px;
  2809. float: right;
  2810. margin-right: 5px;
  2811. }
  2812. .progressBar {
  2813. margin-top: 10px;
  2814. width: 100%;
  2815. height: 115px;
  2816. background-color: #242424;
  2817. float: left;
  2818. }
  2819. .progressBarAll {
  2820. margin-left: 9px;
  2821. width: calc(100% - 5%);
  2822. height: 60px;
  2823. float: left;
  2824. }
  2825. .progressBarText {
  2826. text-align: center;
  2827. width: 50%;
  2828. height: 30px;
  2829. line-height: 30px;
  2830. user-select: text;
  2831. -webkit-user-select: text;
  2832. -moz-user-select: text;
  2833. -ms-user-select: text;
  2834. color: silver;
  2835. font-size: 12px;
  2836. float: left;
  2837. }
  2838. .progressBarOne {
  2839. width: 100%;
  2840. height: 30px;
  2841. float: left;
  2842. }
  2843. .progressBarLeft {
  2844. width: 25%;
  2845. height: 30px;
  2846. line-height: 30px;
  2847. user-select: text;
  2848. -webkit-user-select: text;
  2849. -moz-user-select: text;
  2850. -ms-user-select: text;
  2851. color: silver;
  2852. font-size: 12px;
  2853. float: left;
  2854. }
  2855. .progressBarRight {
  2856. width: 25%;
  2857. height: 30px;
  2858. user-select: text;
  2859. -webkit-user-select: text;
  2860. -moz-user-select: text;
  2861. -ms-user-select: text;
  2862. color: silver;
  2863. font-size: 12px;
  2864. line-height: 30px;
  2865. float: right;
  2866. }
  2867. /* 风电场卡片css */
  2868. .windStation {
  2869. clear: both;
  2870. width: calc(100% - 18px);
  2871. margin-left: 9px;
  2872. height: 320px;
  2873. color: silver;
  2874. margin-bottom: 120px;
  2875. /* background-color: #242424; */
  2876. }
  2877. .scrollWindStationCard {
  2878. white-space: nowrap;
  2879. }
  2880. .windStationCardContainer {
  2881. width: 1295px;
  2882. height: 350px;
  2883. margin-top: 10%;
  2884. }
  2885. .windStationCard {
  2886. width: 250px;
  2887. height: 100%;
  2888. margin-right: 9px;
  2889. float: left;
  2890. background-color: #242424;
  2891. }
  2892. .windStationTitle {
  2893. width: 90%;
  2894. height: 30px;
  2895. line-height: 30px;
  2896. font-size: 12px;
  2897. margin-left: 5px;
  2898. }
  2899. .powerAndSpeedContainer {
  2900. width: 100%;
  2901. height: 90px;
  2902. }
  2903. .powerAndSpeedRed {
  2904. margin-top: 8px;
  2905. margin-left: 2%;
  2906. margin-right: 2%;
  2907. width: 46%;
  2908. height: 37px;
  2909. line-height: 37px;
  2910. text-align: center;
  2911. font-size: 12px;
  2912. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  2913. border-radius: 5px;
  2914. float: left;
  2915. }
  2916. .powerAndSpeedRed span {
  2917. color: white;
  2918. }
  2919. .HQChart {
  2920. width: 100%;
  2921. height: 100px;
  2922. margin-top: 8px;
  2923. }
  2924. .UChartContainer {
  2925. width: 250px;
  2926. height: 150px;
  2927. margin-top: 8px;
  2928. }
  2929. .windStationUChart {
  2930. width: 250px;
  2931. height: 150px;
  2932. position: absolute;
  2933. }
  2934. .windStationQiun-charts {
  2935. width: 250px;
  2936. height: 150px;
  2937. background-color: #242424;
  2938. }
  2939. .windStationCharts {
  2940. width: 250px;
  2941. height: 150px;
  2942. background-color: #242424;
  2943. }
  2944. .UChartTitle {
  2945. position: relative;
  2946. top: -2px;
  2947. left: 2px;
  2948. font-size: 12px;
  2949. width: 100px;
  2950. }
  2951. .xTime {
  2952. position: relative;
  2953. top: 90px;
  2954. left: 222px;
  2955. font-size: 8px;
  2956. width: 30px;
  2957. }
  2958. .fanStatusContainer {
  2959. width: 100%;
  2960. height: 70px;
  2961. }
  2962. .fanStatus {
  2963. width: 32%;
  2964. height: 30px;
  2965. margin-top: 5px;
  2966. margin-right: 0.5%;
  2967. margin-left: 0.5%;
  2968. float: left;
  2969. }
  2970. .statusIcon {
  2971. width: 22px;
  2972. height: 30px;
  2973. margin-left: 3px;
  2974. float: left;
  2975. }
  2976. .fanStatus {
  2977. height: 30px;
  2978. line-height: 30px;
  2979. font-size: 12px;
  2980. }
  2981. .AffectedPowerText{
  2982. width: 55px;
  2983. height: 25px;
  2984. float: left;
  2985. margin-left: 2px;
  2986. line-height: 25px;
  2987. }
  2988. .AffectedPower{
  2989. margin-left: 11px;
  2990. width: 20%;
  2991. height: 25px;
  2992. float: left;
  2993. }
  2994. .performancePowerText{
  2995. width: 55px;
  2996. height: 25px;
  2997. float: left;
  2998. margin-left: 2px;
  2999. line-height: 25px;
  3000. }
  3001. .performancePower{
  3002. margin-left: 11px;
  3003. width: 20%;
  3004. height: 25px;
  3005. float: left;
  3006. }
  3007. .limitedPowerText{
  3008. width: 55px;
  3009. height: 25px;
  3010. float: left;
  3011. margin-left: 2px;
  3012. line-height: 25px;
  3013. }
  3014. .limitedPower{
  3015. margin-left: 9px;
  3016. width: 20%;
  3017. height: 25px;
  3018. float: left;
  3019. }
  3020. .maintenancePowerText{
  3021. width: 55px;
  3022. height: 25px;
  3023. float: left;
  3024. margin-left: 2px;
  3025. line-height: 25px;
  3026. }
  3027. .maintenancePower{
  3028. margin-left: 30px;
  3029. width: 20%;
  3030. height: 25px;
  3031. float: left;
  3032. }
  3033. .faultPowerText{
  3034. width: 55px;
  3035. height: 25px;
  3036. float: left;
  3037. margin-left: 2px;
  3038. line-height: 25px;
  3039. }
  3040. .faultPower{
  3041. width: 20%;
  3042. height: 25px;
  3043. float: left;
  3044. margin-left: 11px;
  3045. }
  3046. .powerGenerationText {
  3047. width: 30px;
  3048. height: 25px;
  3049. float: left;
  3050. margin-left: 2px;
  3051. line-height: 25px;
  3052. }
  3053. .powerGeneration {
  3054. width: 20%;
  3055. height: 25px;
  3056. float: left;
  3057. margin-left: 11px;
  3058. }
  3059. .directGenerationText {
  3060. width: 30px;
  3061. height: 25px;
  3062. float: left;
  3063. margin-left: 2px;
  3064. line-height: 25px;
  3065. }
  3066. .directGeneration {
  3067. width: 20%;
  3068. height: 25px;
  3069. float: left;
  3070. margin-left: 9px;
  3071. }
  3072. .choice {
  3073. width: 100%;
  3074. height: 80px;
  3075. float: left;
  3076. user-select: text;
  3077. -webkit-user-select: text;
  3078. -moz-user-select: text;
  3079. -ms-user-select: text;
  3080. color: silver;
  3081. font-size: 12px;
  3082. }
  3083. .speedPowerDiagram {
  3084. width: 100px;
  3085. height: 30px;
  3086. user-select: text;
  3087. -webkit-user-select: text;
  3088. -moz-user-select: text;
  3089. -ms-user-select: text;
  3090. color: silver;
  3091. float: left;
  3092. margin-top: 18px;
  3093. margin-left: 9px;
  3094. font-size: 11px;
  3095. }
  3096. .qiun-chart {
  3097. margin-top: 50px;
  3098. width: 750upx;
  3099. height: 400upx;
  3100. }
  3101. .chart {
  3102. width: 750upx;
  3103. height: 400upx;
  3104. }
  3105. .DrawerPage {
  3106. position: fixed;
  3107. width: 100vw;
  3108. height: 100vh;
  3109. left: 0vw;
  3110. background-color: #1f1f1f;
  3111. transition: all 0.4s;
  3112. }
  3113. .DrawerPage.show {
  3114. transform: scale(0.9, 0.9);
  3115. left: 85vw;
  3116. box-shadow: 0 0 60upx rgba(0, 0, 0, 0.2);
  3117. transform-origin: 0;
  3118. }
  3119. .DrawerWindow {
  3120. position: absolute;
  3121. width: 85vw;
  3122. height: 100vh;
  3123. left: 0;
  3124. top: 0;
  3125. transform: scale(0.9, 0.9) translateX(-100%);
  3126. opacity: 0;
  3127. pointer-events: none;
  3128. transition: all 0.4s;
  3129. padding: 100upx 0;
  3130. }
  3131. .DrawerWindow.show {
  3132. transform: scale(1, 1) translateX(0%);
  3133. opacity: 1;
  3134. pointer-events: all;
  3135. }
  3136. .DrawerClose {
  3137. position: absolute;
  3138. width: 40vw;
  3139. height: 100vh;
  3140. right: 0;
  3141. top: 0;
  3142. color: transparent;
  3143. padding-bottom: 30upx;
  3144. display: flex;
  3145. align-items: flex-end;
  3146. justify-content: center;
  3147. background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.6));
  3148. letter-spacing: 5px;
  3149. font-size: 50upx;
  3150. opacity: 0;
  3151. pointer-events: none;
  3152. transition: all 0.4s;
  3153. }
  3154. .DrawerClose.show {
  3155. opacity: 1;
  3156. pointer-events: all;
  3157. width: 15vw;
  3158. color: #fff;
  3159. }
  3160. .DrawerPage .cu-bar.tabbar .action button.cuIcon {
  3161. width: 64upx;
  3162. height: 64upx;
  3163. line-height: 64upx;
  3164. margin: 0;
  3165. display: inline-block;
  3166. }
  3167. .DrawerPage .cu-bar.tabbar .action .cu-avatar {
  3168. margin: 0;
  3169. }
  3170. .DrawerPage .nav {
  3171. flex: 1;
  3172. }
  3173. .DrawerPage .nav .cu-item.cur {
  3174. border-bottom: 0;
  3175. position: relative;
  3176. }
  3177. .DrawerPage .nav .cu-item.cur::after {
  3178. content: "";
  3179. width: 10upx;
  3180. height: 10upx;
  3181. background-color: currentColor;
  3182. position: absolute;
  3183. bottom: 10upx;
  3184. border-radius: 10upx;
  3185. left: 0;
  3186. right: 0;
  3187. margin: auto;
  3188. }
  3189. .DrawerPage .cu-bar.tabbar .action {
  3190. flex: initial;
  3191. }
  3192. </style>