Index.vue 84 KB

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