Index.vue 73 KB

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