Index.vue 83 KB

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