Index.vue 74 KB

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