statistics.vue 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643
  1. <template>
  2. <view>
  3. <!-- 导航栏 -->
  4. <view class="navbar" v-if="companyInfotype==4">
  5. <view class="title">
  6. 能源中心
  7. <span style="padding-left: 4px;" >
  8. |
  9. </span>
  10. <span style="padding-left: 4px;" >
  11. {{companyInfo.name}}
  12. </span>
  13. </view>
  14. </view>
  15. <view class="navbar" v-else>
  16. <view class="title">
  17. 能源中心
  18. </view>
  19. <view class="icon" @click="toDataMonitoringList" v-if="codes.indexOf('detector') != -1">
  20. <image class="img" src="@/assets/img/riLine-equalizer-line.svg" mode=""></image>
  21. </view>
  22. </view>
  23. <view class="tabs-box tabs-box2" v-if="companyInfotype==4&&readingMeterNum&&monitorMeterNum" >
  24. <view class="tabs2" :class="'tabs-len-2'"
  25. :style="{width: '100%'}">
  26. <u-tabs-one :gutter="32"
  27. :list="companyInfotypeList" :is-scroll="false" active-color="#fff" inactive-color="#CCE2FF"
  28. bg-color="#1677FF" :current="0" @change="companyInfotypeChange"></u-tabs-one>
  29. </view>
  30. </view>
  31. <!-- 标签 -->
  32. <view class="tabs-box" v-else >
  33. <view class="tabs" :style="{width: companyList.length>4 ? '' : '100%'}">
  34. <u-tabs :list="merchantList1" :is-scroll="false" active-color="#fff" inactive-color="#CCE2FF" bg-color="#1677FF"
  35. :current="current" @change="change"></u-tabs>
  36. </view>
  37. <view class="more" @click="popShow=true" v-if="companyList.length >= 4">
  38. <u-icon name="arrow-down" color="#fff" size="40"></u-icon>
  39. </view>
  40. </view>
  41. <!-- 标签弹出层 -->
  42. <u-popup v-model="popShow" duration="10" mode="top" :negative-top="88" border-radius="16">
  43. <view class="popup-tabs">
  44. <view class="tabs">
  45. <u-tabs :list="merchantList1" :is-scroll="false" :current="current" @change="change"></u-tabs>
  46. </view>
  47. <view class="more">
  48. <u-icon name="arrow-up" color="#777777" size="40" @click="popShow=false"></u-icon>
  49. </view>
  50. </view>
  51. <view class="tabs-options">
  52. <view class="item" v-for="(item, index) in merchantList2" :key="index" @click="merchantChange(item,index)">
  53. {{item.name}}
  54. </view>
  55. </view>
  56. </u-popup>
  57. <view class="main">
  58. <!-- 统计1 -->
  59. <view class="statistics-1">
  60. <view class="item" @click="toEquipmentConditionMonitoring()">
  61. <view class="item-top">
  62. <view class="img-box">
  63. <u-circle-progress active-color="#2979ff" :percent="alarmsPercent" width="88">
  64. </u-circle-progress>
  65. </view>
  66. <view class="number">
  67. <view class="normal">
  68. 正常:{{alarmsForm.okNum}}台
  69. </view>
  70. <view class="abnormal">
  71. 异常:{{alarmsForm.errorNum}}台
  72. </view>
  73. </view>
  74. </view>
  75. <!-- 累计 -->
  76. <view class="total">
  77. 本月累计报警 <text class="total-number">{{alarmsForm.errorMonthNum}}</text> 次
  78. </view>
  79. </view>
  80. <view class="item" @click="toWorkOrderManagement()">
  81. <view class="item-top">
  82. <view class="img-box">
  83. <u-circle-progress active-color="#2979ff" :percent="0" width="88">
  84. </u-circle-progress>
  85. </view>
  86. <view class="number">
  87. <view class="normal">
  88. 未处理:0
  89. </view>
  90. <view class="abnormal">
  91. 已处理:0
  92. </view>
  93. </view>
  94. </view>
  95. <!-- 累计 -->
  96. <view class="total">
  97. 本月累计工单 <text class="total-number">0</text> 条
  98. </view>
  99. </view>
  100. </view>
  101. <!-- 用电量 -->
  102. <view class="statistics-e statistics" v-if="codes.indexOf('reading') != -1 && kWhList.length != 0">
  103. <view class="title">
  104. <view class="icon">
  105. <image class="img" src="@/assets/img/circleCopy1@1x.png" mode=""></image>
  106. </view>
  107. <view class="text">
  108. 用电量 (度)
  109. </view>
  110. <view class="change" @click="getPowerConsumption(1)">
  111. <image class="change-img" src="@/assets/img/refresh-line.svg" mode=""></image>
  112. <text>换一批</text>
  113. </view>
  114. <view class="check-all" @click="toEquipmentElectricity">
  115. 查看全部<u-icon name="arrow-right" size="24" color="#838383"></u-icon>
  116. </view>
  117. </view>
  118. <view class="content">
  119. <view class="electricity">
  120. <view class="item" v-for="(item, index) in kWhList" :key="index" @click="toElectronicMonitoring(item)">
  121. <view class="item-content">
  122. <view class="equipment">
  123. <view class="equipment1 ">
  124. {{item.name}}
  125. </view>
  126. <view class="equipment2">
  127. {{item.installationAddressSimple}}
  128. </view>
  129. <view class="state" v-if="!item.online">
  130. <view class="dot off-line"></view>
  131. <view class="text">离线</view>
  132. </view>
  133. <view class="state state2" v-else>
  134. <view class="dot on-line"></view>
  135. <view class="text">在线</view>
  136. </view>
  137. </view>
  138. <view class="electricity">
  139. <view class="electricity-item electricity-item-day">
  140. <view class="date">
  141. 今日
  142. </view>
  143. <view class="number">
  144. {{item.thisDayKwh}}
  145. </view>
  146. </view>
  147. <view class="electricity-item">
  148. <view class="date">
  149. 本月
  150. </view>
  151. <view class="number">
  152. {{item.thisMonthKwh}}
  153. </view>
  154. </view>
  155. <view class="electricity-item">
  156. <view class="date">
  157. 上月
  158. </view>
  159. <view class="number">
  160. {{item.lastMonthKwh}}
  161. </view>
  162. </view>
  163. </view>
  164. </view>
  165. <view class="more">
  166. <u-icon name="arrow-right" color="#d4d4d4" size="24"></u-icon>
  167. </view>
  168. </view>
  169. </view>
  170. </view>
  171. </view>
  172. <!-- 统计2 异常告警记录 -->
  173. <view class="statistics-2 statistics" v-if="abnormalRecordsList.length != 0">
  174. <view class="title">
  175. <view class="icon">
  176. <image class="img" src="@/assets/img/circleCopy1@1x.png" mode=""></image>
  177. </view>
  178. <view class="text">
  179. 异常告警记录
  180. </view>
  181. <view class="check-all" @click="gotoUrl('/pages/abnormal/abnormalAlarmRecord?id='+companyId)">
  182. 查看全部<u-icon name="arrow-right" size="24" color="#838383"></u-icon>
  183. </view>
  184. </view>
  185. <!-- 异常 -->
  186. <view class="abnormal-item" v-for="(item, index) in abnormalRecordsList" :key="index"
  187. @click="gotoUrl('/pages/abnormal/abnormalAlarmDetails?id='+item.id)">
  188. <view class="item-title">
  189. <!-- <image class="img" src="@/assets/img/riFill-error-warning-fill 1.svg"></image> -->
  190. <view class="name">
  191. {{item.configName}}
  192. </view>
  193. <view class="date">
  194. {{item.createTime}}
  195. </view>
  196. </view>
  197. <view class="item-value">
  198. <view class="value-content">
  199. <view class="value1">
  200. {{item.meterName}}
  201. </view>
  202. <view class="value2">
  203. {{item.installationAddressSimple}}
  204. </view>
  205. </view>
  206. <!-- 箭头 -->
  207. <view class="more">
  208. <u-icon name="arrow-right" color="#d4d4d4" size="24"></u-icon>
  209. </view>
  210. </view>
  211. </view>
  212. </view>
  213. <!-- 统计3 设备数据监测-->
  214. <view class="statistics-3 statistics" v-if="codes.indexOf('detector')!=-1 && deviceList.length!=0">
  215. <view class="title">
  216. <view class="icon">
  217. <image class="img" src="@/assets/img/circleCopy1@1x.png" mode=""></image>
  218. </view>
  219. <view class="text">
  220. 设备数据监测
  221. </view>
  222. <view class="change" @click="getEquipmentDataMonitoring(1)">
  223. <image class="change-img" src="@/assets/img/refresh-line.svg" mode=""></image>
  224. <text>换一批</text>
  225. </view>
  226. <view class="check-all" @click="toDataMonitoringList">
  227. 查看全部<u-icon name="arrow-right" size="24" color="#838383"></u-icon>
  228. </view>
  229. </view>
  230. <view class="monitoring-item" v-for="(item, index) in deviceList" :key="index"
  231. @click="toElectronicMonitoring(item)">
  232. <view class="item-title">
  233. <view class="text1">
  234. {{item.name}}
  235. </view>
  236. <view class="state">
  237. <view class="state1">
  238. <view class="icon">
  239. <image class="img" src="@/assets/img/antFill-alert.svg" mode=""></image>
  240. </view>
  241. {{item.temperatureStatus=='1' ? '正常' : '异常'}}
  242. </view>
  243. <view class="state2">
  244. <view class="icon">
  245. <image class="img" src="@/assets/img/smoke.svg" mode=""></image>
  246. </view>
  247. {{item.smokeStatus=='1' ? '正常' : '异常'}}
  248. </view>
  249. <!-- 箭头 -->
  250. <view class="more">
  251. <u-icon name="arrow-right" color="#d4d4d4" size="24"></u-icon>
  252. </view>
  253. </view>
  254. </view>
  255. <view class="company-name">
  256. {{item.installationAddressSimple}}
  257. <!-- 离线 -->
  258. <view class="state" v-if="!item.online">
  259. <text class="off-line"></text>离线
  260. </view>
  261. <!-- 在线 -->
  262. <view class="state state2" v-else>
  263. <text class="on-line"></text>在线
  264. </view>
  265. </view>
  266. <!-- 监控信息 -->
  267. <view class="infos" v-if="item.remoteMonitorRecord != null">
  268. <view class="infos-item">
  269. <view class="icon">
  270. 当前电流:
  271. <!-- <img src="../../assets/img/iconPark-electric-wave 1.svg" alt="" /> -->
  272. </view>
  273. <view class="text">
  274. {{item.remoteMonitorRecord.dcaTotal.toFixed(2)}}A
  275. </view>
  276. </view>
  277. <view class="infos-item">
  278. <view class="icon">
  279. 当前电压:
  280. <!-- <img src="../../assets/img/voltage.svg" alt="" /> -->
  281. </view>
  282. <view class="text">
  283. {{item.remoteMonitorRecord.dcvTop.toFixed(2)}}V
  284. </view>
  285. </view>
  286. <view class="infos-item">
  287. <view class="icon">
  288. 当前温度:
  289. <!-- <img src="../../assets/img/iconPark-thermometer.svg" alt="" /> -->
  290. </view>
  291. <view class="text">
  292. {{item.remoteMonitorRecord.temperatureTop}}℃
  293. </view>
  294. </view>
  295. <view class="infos-item">
  296. <view class="icon">
  297. 当前功率:
  298. <!-- <img src="../../assets/img/power.svg" alt="" /> -->
  299. </view>
  300. <view class="text">
  301. {{(item.remoteMonitorRecord.totalPower).toFixed(2)}}kW
  302. </view>
  303. </view>
  304. <view class="infos-item">
  305. <view class="icon">
  306. 当前功率因数:
  307. <!-- <img src="../../assets/img/powerFactor.svg" alt="" /> -->
  308. </view>
  309. <view class="text">
  310. {{item.remoteMonitorRecord.dcfTop.toFixed(2)}}
  311. </view>
  312. </view>
  313. <view class="infos-item">
  314. <view class="icon">
  315. 平均功率因数:
  316. </view>
  317. <view class="text">
  318. {{item.remoteMonitorRecord.averPowerFactor.toFixed(2)}}
  319. </view>
  320. </view>
  321. </view>
  322. </view>
  323. </view>
  324. <!--设备状态-->
  325. <view class="statistics-4 statistics">
  326. <view class="title">
  327. <view class="icon">
  328. <image class="img" src="@/assets/img/circleCopy1@1x.png" mode=""></image>
  329. </view>
  330. <view class="text">
  331. 设备状态
  332. </view>
  333. </view>
  334. <view class="chat">
  335. <view id="pieEcharts" style="min-height:620rpx;">
  336. </view>
  337. </view>
  338. </view>
  339. <!-- 故障类型 -->
  340. <view class="statistics-5 statistics" v-if="false">
  341. <view class="title">
  342. <view class="icon">
  343. <image class="img" src="@/assets/img/circleCopy1@1x.png" mode=""></image>
  344. </view>
  345. <view class="text">
  346. 故障类型
  347. </view>
  348. </view>
  349. <view class="chat">
  350. <view id="barEcharts" style="min-height:410rpx;">
  351. </view>
  352. </view>
  353. </view>
  354. <!-- 工单处理 -->
  355. <view class="statistics-6 statistics" v-if="false">
  356. <view class="title">
  357. <view class="icon">
  358. <image class="img" src="@/assets/img/circleCopy1@1x.png" mode=""></image>
  359. </view>
  360. <view class="text">
  361. 工单处理
  362. </view>
  363. </view>
  364. <view class="chat">
  365. <view id="lineEcharts" style="min-height:410rpx;">
  366. </view>
  367. </view>
  368. </view>
  369. <!-- 异常设备排名 -->
  370. <view class="statistics statistics-ranking" v-if="false">
  371. <view class="title">
  372. <view class="icon">
  373. <image class="img" src="@/assets/img/circleCopy1@1x.png" mode=""></image>
  374. </view>
  375. <view class="text">
  376. 异常设备排名
  377. </view>
  378. </view>
  379. <!-- 合计 -->
  380. <view class="total">
  381. 本年度共有<text> 42</text>次设备异常告警
  382. </view>
  383. <view class="ranking-main">
  384. <view class="item" @click="gotoUrl('/pages/equipmentDataMonitoring/electronicMonitoring?id='+'&name=')">
  385. <view class="ranking">
  386. 1
  387. </view>
  388. <view class="icon">
  389. <image class="img" src="@/assets/img/transformer1.svg" mode=""></image>
  390. </view>
  391. <view class="name">
  392. <view class="name1">
  393. 荆鹏软件园01
  394. </view>
  395. <view class="name2">
  396. 荆鹏集团
  397. </view>
  398. </view>
  399. <view class="time">
  400. 5次
  401. </view>
  402. </view>
  403. </view>
  404. <!-- 查看全部排名 -->
  405. <view class="check-all" @click="gotoUrl('/pages/abnormal/abnormalDeviceRanking')">
  406. 查看全部排名 <u-icon name="arrow-down" size="24" color="rgba(119,119,119,1)"></u-icon>
  407. </view>
  408. </view>
  409. </view>
  410. <energyCenterTabbar :current="0"></energyCenterTabbar>
  411. </view>
  412. </template>
  413. <script>
  414. import energyCenterTabbar from '@/components/energyCenterTabbar.vue'
  415. import * as echarts from 'echarts';
  416. import * as API from '@/apis/pagejs/index.js'
  417. export default {
  418. components: {
  419. energyCenterTabbar
  420. },
  421. data() {
  422. return {
  423. abnormalRecordsList: [], // 异常告警记录
  424. queryDate: '',
  425. alarmsPercent: 0,
  426. alarmsForm: {
  427. okNum: 0,
  428. errorNum: 0,
  429. errorMonthNum: 0
  430. }, // 累计报警
  431. companyId: '', // 商户ID
  432. pageIndexe: 1, // 设备数据检测
  433. totalPagee: 1,
  434. deviceList: [],
  435. pageIndexp: 1, // 用电量
  436. totalPagep: 1,
  437. kWhList: [],
  438. codes: '', // 判断:reading用电量 detector设备数据检测
  439. merchantList1: [], // 商户
  440. merchantList2: [],
  441. companyList: [],
  442. companyInfo:{},
  443. companyInfotypeCurrent:0,
  444. companyInfotypeList:[
  445. {
  446. name: '变压器巡检仪'
  447. },
  448. {
  449. name: '费控电表计量仪'
  450. }
  451. ],
  452. popShow: false,
  453. current: 0,
  454. myLineChart: null, // 图表
  455. myBarChart: null,
  456. myPieChart: null,
  457. intervalId: null, // 用于存储间隔ID
  458. intervalReady: true, // 用于存储间隔ID
  459. companyInfotype:0,
  460. readingMeterNum:0, //计量仪
  461. monitorMeterNum:0, //巡检仪
  462. }
  463. },
  464. onLoad() {
  465. var date = new Date();
  466. var year = date.getFullYear();
  467. var month = date.getMonth() + 1 >= 10 ? date.getMonth() + 1 : '0' + (date.getMonth() + 1);
  468. this.queryDate = year + '-' + month;
  469. // this.getPowerConsumption(0);
  470. this.getEquipmentDataMonitoring(0);
  471. this.getCompanyInfoList();
  472. this.getAccumulatedAlarms();
  473. this.getAbnormalAlarmRecord();
  474. },
  475. onReady() {
  476. this.getfindByOpenId();
  477. this.getHomePageDeviceStatus();
  478. // this.getBarCharts();
  479. // this.getLineCharts();
  480. },
  481. beforeDestroy() {
  482. this.clearTimer(); // 组件销毁前清除定时器
  483. this.intervalReady = false;
  484. console.log("组件销毁前清除定时器")
  485. },
  486. methods: {
  487. // clearTimer() {
  488. // if (this.intervalId) {
  489. // clearInterval(this.intervalId); // 清除定时器
  490. // this.intervalId = null; // 重置定时器ID
  491. // }
  492. // },
  493. // startInterval() {
  494. // this.clearTimer(); // 组件销毁前清除定时器
  495. // this.intervalId = setInterval(() => {
  496. // // 每隔5秒运行的代码
  497. // // console.log('这段代码每隔5秒运行一次');
  498. // this.getPowerConsumption(0, true)
  499. // }, 60000);
  500. // },
  501. merchantChange(item, index) {
  502. var m = item;
  503. var n = this.merchantList1[this.current];
  504. this.merchantList1[this.current] = m;
  505. this.merchantList2[index] = n;
  506. this.companyId = item.id;
  507. // this.getPowerConsumption(0);
  508. this.getEquipmentDataMonitoring(0);
  509. this.getAccumulatedAlarms();
  510. this.getHomePageDeviceStatus();
  511. this.getAbnormalAlarmRecord();
  512. this.popShow = false;
  513. },
  514. // 单位
  515. getCompanyInfoList() {
  516. uni.showLoading({
  517. title: "加载中",
  518. mask: true,
  519. })
  520. API.deviceCompanyList().then((response) => {
  521. uni.hideLoading();
  522. var list = response.data.companyInfoList;
  523. var mList1 = [];
  524. var mList2 = [];
  525. mList1.push({
  526. id: '',
  527. name: '全部'
  528. });
  529. for (var i = 0; i < list.length; i++) {
  530. if (i >= 3) {
  531. mList2.push(list[i]);
  532. } else {
  533. mList1.push(list[i]);
  534. }
  535. }
  536. this.companyList = list;
  537. this.merchantList1 = mList1;
  538. this.merchantList2 = mList2;
  539. }).catch(error => {
  540. uni.showToast({
  541. title: error,
  542. icon: "none"
  543. })
  544. })
  545. },
  546. // 商户ID
  547. getfindByOpenId() {
  548. uni.showLoading({
  549. title: "加载中",
  550. mask: true,
  551. })
  552. API.findByOpenId({
  553. openId: this.carhelp.getOpenId()
  554. }).then((response) => {
  555. uni.hideLoading();
  556. this.codes = response.data.regUser.codes;
  557. if(response.data&&response.data.companyInfo){
  558. this.companyInfo=response.data.companyInfo
  559. this.companyInfotype = response.data.companyInfo.type;
  560. if(this.companyInfotype==4){
  561. this.getFindMeterList()
  562. }
  563. }
  564. }).catch(error => {
  565. uni.showToast({
  566. title: error,
  567. icon: "none"
  568. })
  569. })
  570. },
  571. getFindMeterList(){
  572. API.findMeterList().then((response) => {
  573. //readingMeterNum 计量仪
  574. //monitorMeterNum 巡检仪
  575. this.readingMeterNum=response.data.readingMeterNum
  576. this.monitorMeterNum=response.data.monitorMeterNum
  577. }).catch(error => {
  578. uni.showToast({
  579. title: error,
  580. icon: "none"
  581. })
  582. })
  583. },
  584. companyInfotypeChange(index){
  585. if(index!=this.companyInfotypeCurrent){
  586. var url=""
  587. if(process.car.NODE_ENV=='dev'){
  588. url='http://localhost:8080/#/'
  589. }else if(process.car.NODE_ENV=='test'){
  590. url='https://dgj.hbjp.com.cn/charging-prod/jp-housekeep-manage-test/#/'
  591. }else{
  592. url='https://dgj.hbjp.com.cn/charging-prod/jp-housekeep-manage/#/'
  593. }
  594. window.location.href=url+"pages/statistics/statistics"
  595. }
  596. },
  597. // 设备数据监测
  598. getEquipmentDataMonitoring(pl) {
  599. this.pageIndexe = this.pageIndexe + pl;
  600. if (this.pageIndexe > this.totalPagee) {
  601. this.pageIndexe = 1;
  602. }
  603. uni.showLoading({
  604. title: "加载中",
  605. mask: true,
  606. })
  607. API.homePageDeviceData({
  608. pageIndex: this.pageIndexe,
  609. pageSize: 5,
  610. companyId: this.companyId
  611. }).then((response) => {
  612. uni.hideLoading();
  613. this.deviceList = response.data.data;
  614. this.totalPagee = response.data.totalPage;
  615. }).catch(error => {
  616. uni.showToast({
  617. title: error,
  618. icon: "none"
  619. })
  620. })
  621. },
  622. // 异常告警记录
  623. getAbnormalAlarmRecord() {
  624. uni.showLoading({
  625. title: "加载中",
  626. mask: true,
  627. })
  628. API.alarmRecord({
  629. queryDate: this.queryDate,
  630. configId: '',
  631. pageIndex: 1,
  632. pageSize: 3,
  633. companyId: this.companyId
  634. }).then((response) => {
  635. uni.hideLoading();
  636. this.abnormalRecordsList = response.data.data;
  637. }).catch(error => {
  638. uni.showToast({
  639. title: error,
  640. icon: "none"
  641. })
  642. })
  643. },
  644. // 用电量
  645. getPowerConsumption(pl, interval) {
  646. this.pageIndexp = this.pageIndexp + pl;
  647. if (this.pageIndexp > this.totalPagep) {
  648. this.pageIndexp = 1;
  649. }
  650. if (!interval) {
  651. uni.showLoading({
  652. title: "加载中",
  653. mask: true,
  654. })
  655. }
  656. API.homePageKwh({
  657. pageIndex: this.pageIndexp,
  658. pageSize: 5,
  659. companyId: this.companyId
  660. }).then((response) => {
  661. if (!interval) {
  662. uni.hideLoading();
  663. }
  664. this.kWhList = response.data.data;
  665. this.totalPagep = response.data.totalPage;
  666. if (!interval) {
  667. this.startInterval(); // 组件挂载后开始间隔
  668. }
  669. }).catch(error => {
  670. uni.showToast({
  671. title: error,
  672. icon: "none"
  673. })
  674. })
  675. },
  676. // 累计工单
  677. getAccumulatedWorkOrders() {
  678. },
  679. // 累计报警
  680. getAccumulatedAlarms() {
  681. uni.showLoading({
  682. title: "加载中",
  683. mask: true,
  684. })
  685. API.deviceStatus({
  686. companyId: this.companyId
  687. }).then((response) => {
  688. uni.hideLoading();
  689. this.alarmsForm = response.data;
  690. if (this.alarmsForm.okNum != 0) {
  691. this.alarmsPercent = this.alarmsForm.okNum / (this.alarmsForm.okNum + this.alarmsForm.errorNum) * 100;
  692. }
  693. }).catch(error => {
  694. uni.showToast({
  695. title: error,
  696. icon: "none"
  697. })
  698. })
  699. },
  700. // 工单处理
  701. getLineCharts() {
  702. if (!this.myLineChart) {
  703. this.myLineChart = echarts.init(document.getElementById('lineEcharts'));
  704. }
  705. var option = {
  706. tooltip: {
  707. trigger: 'axis',
  708. axisPointer: {
  709. type: 'shadow'
  710. }
  711. },
  712. legend: {
  713. data: ['新增工单', '处理工单', '剩余工单']
  714. },
  715. grid: {
  716. left: '3%',
  717. right: '4%',
  718. bottom: '3%',
  719. containLabel: true
  720. },
  721. xAxis: {
  722. type: 'category',
  723. data: ['1日', '2日', '3日', '4日', '5日', '6日']
  724. },
  725. yAxis: {
  726. type: 'value'
  727. },
  728. series: [{
  729. name: '新增工单',
  730. type: 'line',
  731. data: [2, 1, 0, 1, 3, 0],
  732. itemStyle: {
  733. color: '#FF3D00'
  734. }
  735. },
  736. {
  737. name: '处理工单',
  738. type: 'line',
  739. data: [3, 1, 1, 0, 2, 1],
  740. itemStyle: {
  741. color: '#FF7B00'
  742. }
  743. },
  744. {
  745. name: '剩余工单',
  746. type: 'line',
  747. data: [5, 2, 1, 1, 5, 1],
  748. itemStyle: {
  749. color: '#58A55C'
  750. }
  751. }
  752. ]
  753. };
  754. this.myLineChart.setOption(option);
  755. },
  756. // 故障类型
  757. getBarCharts() {
  758. if (!this.myBarChart) {
  759. this.myBarChart = echarts.init(document.getElementById('barEcharts'));
  760. }
  761. var option = {
  762. tooltip: {
  763. trigger: 'axis',
  764. axisPointer: {
  765. type: 'shadow'
  766. }
  767. },
  768. legend: {},
  769. grid: {
  770. left: '3%',
  771. right: '4%',
  772. bottom: '3%',
  773. containLabel: true
  774. },
  775. xAxis: [{
  776. type: 'category',
  777. data: ['一月', '二月', '三月']
  778. }],
  779. yAxis: [{
  780. type: 'value'
  781. }],
  782. barGap: '0',
  783. series: [{
  784. name: '温度异常',
  785. type: 'bar',
  786. data: [100, 140, 230],
  787. itemStyle: {
  788. color: '#FF3D00'
  789. }
  790. },
  791. {
  792. name: '电压异常',
  793. type: 'bar',
  794. data: [150, 100, 200],
  795. itemStyle: {
  796. color: '#FF7B00'
  797. }
  798. },
  799. {
  800. name: '功率因素异常',
  801. type: 'bar',
  802. data: [50, 80, 100],
  803. itemStyle: {
  804. color: '#FFAE00'
  805. }
  806. }
  807. ]
  808. };
  809. this.myBarChart.setOption(option);
  810. },
  811. // 设备状态
  812. getHomePageDeviceStatus() {
  813. uni.showLoading({
  814. title: "加载中",
  815. mask: true,
  816. })
  817. API.homePageDeviceStatus({
  818. companyId: this.companyId
  819. }).then((response) => {
  820. uni.hideLoading();
  821. var list = response.data;
  822. this.getPieCharts(list);
  823. }).catch(error => {
  824. uni.showToast({
  825. title: error,
  826. icon: "none"
  827. })
  828. })
  829. },
  830. getPieCharts(list) {
  831. if (!this.myPieChart) {
  832. this.myPieChart = echarts.init(document.getElementById('pieEcharts'), null, {
  833. // width: uni.upx2px(700),
  834. height: uni.upx2px(620)
  835. });
  836. }
  837. this.myPieChart.clear();
  838. var data = [{
  839. value: 1,
  840. name: '温度异常',
  841. itemStyle: {
  842. color: '#FF4F3F'
  843. }
  844. },
  845. {
  846. value: 1,
  847. name: '烟感异常',
  848. itemStyle: {
  849. color: '#FF7B00'
  850. }
  851. },
  852. {
  853. value: 1,
  854. name: '正常运行',
  855. itemStyle: {
  856. color: '#1677FF'
  857. }
  858. },
  859. {
  860. value: 1,
  861. name: '设备异常',
  862. itemStyle: {
  863. color: '#F2BD42'
  864. }
  865. },
  866. {
  867. value: 1,
  868. name: '设备离线',
  869. itemStyle: {
  870. color: '#C2C2C2'
  871. }
  872. },
  873. ];
  874. var data2 = [];
  875. if (list) {
  876. data[0].value = list.errorTemperatureNum; //温度异常
  877. data[1].value = list.errorSmokeNum; //烟感异常
  878. data[2].value = list.okNum; //正常运行
  879. data[3].value = list.errorDeviceNum; //设备异常
  880. data[4].value = list.errorOnlineNum; //设备离线
  881. for (var i = 0; i < data.length; i++) {
  882. if (data[i].value != 0) {
  883. data2.push(data[i]);
  884. }
  885. }
  886. }
  887. var option = {
  888. tooltip: {
  889. trigger: 'item'
  890. },
  891. legend: {
  892. left: 'center'
  893. },
  894. series: [{
  895. type: 'pie',
  896. top: '6%',
  897. // left: '3%',
  898. // right: '8%',
  899. bottom: '8%',
  900. radius: ['45%', '60%'],
  901. label: {
  902. formatter: '{name|{b}}\n{value|{c}}',
  903. fontSize: 12,
  904. position: 'outer',
  905. bleedMargin: 5,
  906. rich: {
  907. name: {
  908. align: 'left'
  909. },
  910. value: {
  911. align: 'left'
  912. }
  913. }
  914. },
  915. emphasis: {
  916. label: {
  917. itemStyle: {
  918. shadowBlur: 10,
  919. shadowOffsetX: 0,
  920. shadowColor: 'rgba(0, 0, 0, 0.5)'
  921. }
  922. }
  923. },
  924. data: data2
  925. }]
  926. };
  927. this.myPieChart.setOption(option);
  928. },
  929. change(index) {
  930. this.current = index;
  931. this.companyId = this.merchantList1[index].id;
  932. // this.getPowerConsumption(0);
  933. this.getEquipmentDataMonitoring(0);
  934. this.getAccumulatedAlarms();
  935. this.getHomePageDeviceStatus();
  936. this.getAbnormalAlarmRecord();
  937. },
  938. toDataMonitoringList() {
  939. uni.navigateTo({
  940. url: '/pages/equipmentDataMonitoring/dataMonitoring-list'
  941. })
  942. },
  943. toEquipmentConditionMonitoring() {
  944. uni.navigateTo({
  945. url: '/pages/equipmentConditionMonitoring/equipmentConditionMonitoring'
  946. })
  947. },
  948. toWorkOrderManagement() {
  949. return
  950. uni.navigateTo({
  951. url: '/pages/workOrderManagement/workOrderManagement'
  952. })
  953. },
  954. toEquipmentElectricity() {
  955. uni.navigateTo({
  956. url: '/pages/equipmentDataMonitoring/equipmentElectricity'
  957. })
  958. },
  959. toElectronicMonitoring(item) {
  960. uni.navigateTo({
  961. url: '/pages/equipmentDataMonitoring/electronicMonitoring?id=' + item.id + '&name=' + item.name +
  962. '&companyId=' + item.companyId
  963. })
  964. }
  965. }
  966. }
  967. </script>
  968. <style lang="scss" scoped>
  969. page {
  970. padding-bottom: 200rpx;
  971. }
  972. /deep/.u-drawer-content {
  973. margin-top: 88rpx;
  974. }
  975. .popup-tabs {
  976. background-color: #fff;
  977. display: flex;
  978. align-items: center;
  979. justify-content: space-between;
  980. padding-top: 32rpx;
  981. padding-right: 32rpx;
  982. color: rgba(51, 51, 51, 1);
  983. font-size: 32rpx;
  984. .tabs {
  985. width: 88%;
  986. }
  987. }
  988. .tabs{
  989. /deep/.u-tab-item {
  990. width: 25% !important;
  991. flex: none !important;
  992. }
  993. }
  994. .tabs-options {
  995. display: flex;
  996. padding: 24rpx 32rpx 0;
  997. flex-wrap: wrap;
  998. .item {
  999. width: 25%;
  1000. margin-bottom: 40rpx;
  1001. }
  1002. }
  1003. // 导航栏
  1004. .navbar {
  1005. background-color: rgba(22, 119, 255, 1);
  1006. color: #fff;
  1007. line-height: 88rpx;
  1008. display: flex;
  1009. justify-content: space-between;
  1010. align-items: center;
  1011. padding: 0 32rpx;
  1012. color: rgba(255, 255, 255, 1);
  1013. font-size: 36rpx;
  1014. position: fixed;
  1015. left: 0;
  1016. right: 0;
  1017. top: 0;
  1018. font-weight: bold;
  1019. z-index: 999999;
  1020. .img {
  1021. width: 48rpx;
  1022. height: 48rpx;
  1023. vertical-align: middle;
  1024. }
  1025. }
  1026. // 标签
  1027. .tabs-box {
  1028. padding: 32rpx 0;
  1029. margin-top: 88rpx;
  1030. padding-right: 32rpx;
  1031. background-color: rgba(22, 119, 255, 1);
  1032. display: flex;
  1033. align-items: center;
  1034. justify-content: space-between;
  1035. .tabs {
  1036. width: 88%;
  1037. }
  1038. }
  1039. .tabs-box2{
  1040. .tabs-len-1{
  1041. }
  1042. .tabs-len-2{
  1043. /deep/.u-tab-item {
  1044. // max-width: 39% !important;
  1045. // flex: none !important;
  1046. }
  1047. }
  1048. .tabs-len-3{
  1049. /deep/.u-tab-item {
  1050. max-width: 39% !important;
  1051. flex: none !important;
  1052. }
  1053. }
  1054. .tabs-len-4{
  1055. /deep/.u-tab-item {
  1056. max-width: 26% !important;
  1057. flex: none !important;
  1058. }
  1059. }
  1060. }
  1061. .main {
  1062. border-radius: 16px 16px 0px 0px;
  1063. background: linear-gradient(180deg, rgba(242, 244, 246, 1) 61%, rgba(255, 255, 255, 0) 100%);
  1064. margin-top: -24rpx;
  1065. padding: 32rpx;
  1066. .statistics {
  1067. border-radius: 8px;
  1068. background-color: rgba(255, 255, 255, 1);
  1069. box-shadow: 0px 1px 6px 0px rgba(0, 59, 142, 0.05);
  1070. margin-top: 24rpx;
  1071. padding: 40rpx;
  1072. .title {
  1073. display: flex;
  1074. align-items: center;
  1075. margin-bottom: 20rpx;
  1076. .img {
  1077. width: 36rpx;
  1078. height: 36rpx;
  1079. vertical-align: middle;
  1080. border-radius: 999px;
  1081. }
  1082. .change {
  1083. display: flex;
  1084. align-items: center;
  1085. .change-img {
  1086. width: 32rpx;
  1087. height: 32rpx;
  1088. vertical-align: middle;
  1089. }
  1090. text {
  1091. margin-left: 8rpx;
  1092. }
  1093. }
  1094. .text {
  1095. color: rgba(16, 16, 16, 1);
  1096. font-size: 36rpx;
  1097. margin-left: 16rpx;
  1098. font-weight: bold;
  1099. }
  1100. .change {
  1101. margin-left: 16rpx;
  1102. font-size: 24rpx;
  1103. color: #838383;
  1104. }
  1105. .check-all {
  1106. margin-left: auto;
  1107. color: rgba(131, 131, 131, 1);
  1108. font-size: 24rpx;
  1109. }
  1110. }
  1111. }
  1112. // 用电量
  1113. .statistics-e {
  1114. padding: 40rpx;
  1115. .electricity {
  1116. background-color: #fff;
  1117. .item:last-of-type {
  1118. border: none;
  1119. }
  1120. .item {
  1121. padding: 16rpx 0;
  1122. display: flex;
  1123. align-items: center;
  1124. justify-content: space-between;
  1125. border-bottom: 1px solid rgba(245, 245, 245, 1);
  1126. .item-content {
  1127. width: 93%;
  1128. }
  1129. .equipment {
  1130. display: flex;
  1131. align-items: center;
  1132. .equipment1 {
  1133. color: rgba(51, 51, 51, 1);
  1134. font-size: 32rpx;
  1135. max-width: 40%;
  1136. font-weight: bold;
  1137. white-space: nowrap;
  1138. overflow: hidden;
  1139. text-overflow: ellipsis;
  1140. }
  1141. .equipment2 {
  1142. color: rgba(119, 119, 119, 1);
  1143. margin-left: 16rpx;
  1144. max-width: 40%;
  1145. white-space: nowrap;
  1146. overflow: hidden;
  1147. text-overflow: ellipsis;
  1148. }
  1149. }
  1150. // 状态
  1151. .state {
  1152. display: flex;
  1153. align-items: center;
  1154. color: rgba(255, 123, 0, 1);
  1155. margin-left: auto;
  1156. .dot {
  1157. margin-right: 8rpx;
  1158. width: 16rpx;
  1159. height: 16rpx;
  1160. background-color: rgba(255, 123, 0, 1);
  1161. border-radius: 999px;
  1162. margin-left: auto;
  1163. }
  1164. .off-line {
  1165. background-color: rgba(255, 123, 0, 1);
  1166. }
  1167. .on-line {
  1168. background-color: rgba(0, 185, 98, 1);
  1169. }
  1170. }
  1171. .state2 {
  1172. color: rgba(0, 185, 98, 1);
  1173. }
  1174. .electricity {
  1175. display: flex;
  1176. justify-content: space-between;
  1177. align-items: center;
  1178. margin-top: 8rpx;
  1179. text-align: center;
  1180. .electricity-item {
  1181. display: flex;
  1182. align-items: center;
  1183. width: 33.3%;
  1184. height: 40rpx;
  1185. line-height: 40rpx;
  1186. .number {
  1187. color: rgba(51, 51, 51, 1);
  1188. font-weight: bold;
  1189. font-size: 24rpx;
  1190. margin-left: 8rpx;
  1191. }
  1192. .date {
  1193. color: rgba(119, 119, 119, 1);
  1194. font-size: 24rpx;
  1195. }
  1196. }
  1197. }
  1198. }
  1199. }
  1200. }
  1201. // 统计1
  1202. .statistics-1 {
  1203. display: flex;
  1204. align-items: center;
  1205. justify-content: space-between;
  1206. .item {
  1207. width: 330rpx;
  1208. padding: 24rpx;
  1209. box-shadow: 0px 1px 6px 0px rgba(0, 59, 142, 0.05);
  1210. border-radius: 8px;
  1211. background-color: rgba(255, 255, 255, 1);
  1212. .item-top {
  1213. display: flex;
  1214. align-items: center;
  1215. .img {
  1216. width: 88rpx;
  1217. height: 88rpx;
  1218. margin-right: 24rpx;
  1219. vertical-align: middle;
  1220. }
  1221. .number {
  1222. color: rgba(51, 51, 51, 1);
  1223. font-size: 32rpx;
  1224. .normal {
  1225. margin-bottom: 12rpx;
  1226. }
  1227. }
  1228. }
  1229. .total {
  1230. margin-top: 28rpx;
  1231. text-align: center;
  1232. color: rgba(119, 119, 119, 1);
  1233. }
  1234. .total-number {
  1235. color: #EE3138;
  1236. margin: 0 8rpx;
  1237. }
  1238. }
  1239. }
  1240. // 统计2异常报警记录
  1241. .statistics-2 {
  1242. .abnormal-item {
  1243. display: flex;
  1244. justify-content: space-between;
  1245. align-items: center;
  1246. padding: 16rpx;
  1247. border-bottom: 1px solid rgba(245, 245, 245, 1);
  1248. .item-title {
  1249. color: rgba(51, 51, 51, 1);
  1250. .img {
  1251. width: 32rpx;
  1252. height: 32rpx;
  1253. margin-right: 8rpx;
  1254. }
  1255. .name {
  1256. color: rgba(51, 51, 51, 1);
  1257. }
  1258. .date {
  1259. color: rgba(119, 119, 119, 1);
  1260. font-size: 24rpx;
  1261. }
  1262. }
  1263. .item-value {
  1264. text-align: right;
  1265. display: flex;
  1266. align-items: center;
  1267. .more {
  1268. margin-left: 8rpx;
  1269. }
  1270. .value1 {
  1271. font-weight: bold;
  1272. color: rgba(51, 51, 51, 1);
  1273. }
  1274. .value2 {
  1275. color: rgba(119, 119, 119, 1);
  1276. font-size: 24rpx;
  1277. }
  1278. }
  1279. }
  1280. }
  1281. // 统计3设备实时监控
  1282. .statistics-3 {
  1283. .monitoring-item {
  1284. padding: 16rpx 0;
  1285. border-bottom: 1px solid rgba(245, 245, 245, 1);
  1286. .item-title {
  1287. display: flex;
  1288. align-items: center;
  1289. .text1 {
  1290. color: rgba(51, 51, 51, 1);
  1291. width: 50%;
  1292. }
  1293. }
  1294. .company-name {
  1295. color: rgba(119, 119, 119, 1);
  1296. font-size: 24rpx;
  1297. display: flex;
  1298. align-items: center;
  1299. .state {
  1300. margin-left: 12rpx;
  1301. display: flex;
  1302. align-items: center;
  1303. color: rgba(255, 123, 0, 1);
  1304. text {
  1305. margin-right: 8rpx;
  1306. display: inline-block;
  1307. width: 16rpx;
  1308. height: 16rpx;
  1309. border-radius: 999px;
  1310. }
  1311. .off-line {
  1312. background-color: rgba(255, 123, 0, 1);
  1313. }
  1314. .on-line {
  1315. background-color: rgba(0, 185, 98, 1);
  1316. }
  1317. }
  1318. .state2 {
  1319. color: rgba(0, 185, 98, 1);
  1320. }
  1321. }
  1322. .state {
  1323. margin-left: auto;
  1324. display: flex;
  1325. .state1,
  1326. .state2 {
  1327. display: flex;
  1328. align-items: center;
  1329. margin-left: 24rpx;
  1330. }
  1331. .more {
  1332. margin-left: 8rpx;
  1333. }
  1334. .img {
  1335. width: 32rpx;
  1336. height: 32rpx;
  1337. vertical-align: middle;
  1338. margin-right: 8rpx;
  1339. }
  1340. }
  1341. // 监控信息
  1342. .infos {
  1343. margin-top: 8rpx;
  1344. display: flex;
  1345. align-items: center;
  1346. justify-content: space-between;
  1347. flex-wrap: wrap;
  1348. .infos-item {
  1349. width: 38%;
  1350. display: flex;
  1351. align-items: center;
  1352. color: rgba(51, 51, 51, 1);
  1353. font-size: 22rpx;
  1354. // margin-right: 16rpx;
  1355. margin-bottom: 8rpx;
  1356. .icon {}
  1357. }
  1358. .text {
  1359. font-weight: bold;
  1360. }
  1361. }
  1362. }
  1363. }
  1364. // 设备状态
  1365. .statistics-4 {
  1366. .chat-img {
  1367. width: 100%;
  1368. height: 620rpx;
  1369. }
  1370. }
  1371. // 故障类型
  1372. .statistics-5,
  1373. .statistics-6 {
  1374. .chat-img {
  1375. width: 100%;
  1376. height: 410rpx;
  1377. }
  1378. }
  1379. // 异常设备排名
  1380. .statistics-ranking {
  1381. .total {
  1382. color: rgba(16, 16, 16, 1);
  1383. text {
  1384. color: #1677FF;
  1385. padding: 0 8rpx;
  1386. }
  1387. }
  1388. .ranking-main {
  1389. margin-top: 48rpx;
  1390. border-radius: 16px;
  1391. background-color: #fff;
  1392. .item {
  1393. display: flex;
  1394. align-items: center;
  1395. margin-bottom: 32rpx;
  1396. .ranking {
  1397. color: rgba(16, 16, 16, 1);
  1398. font-weight: bold;
  1399. }
  1400. .icon {
  1401. width: 72rpx;
  1402. height: 72rpx;
  1403. border-radius: 4px;
  1404. background-color: rgba(219, 234, 255, 1);
  1405. display: flex;
  1406. align-items: center;
  1407. justify-content: center;
  1408. margin-left: 24rpx;
  1409. .img {
  1410. width: 48rpx;
  1411. height: 48rpx;
  1412. }
  1413. }
  1414. .name {
  1415. margin-left: 16rpx;
  1416. .name1 {
  1417. color: rgba(51, 51, 51, 1);
  1418. font-weight: bold;
  1419. }
  1420. .name2 {
  1421. color: rgba(119, 119, 119, 1);
  1422. font-size: 24rpx;
  1423. margin-top: 4rpx;
  1424. }
  1425. }
  1426. .time {
  1427. color: rgba(16, 16, 16, 1);
  1428. margin-left: auto;
  1429. font-weight: bold;
  1430. }
  1431. }
  1432. }
  1433. // 查看全部排名
  1434. .check-all {
  1435. text-align: center;
  1436. color: rgba(119, 119, 119, 1);
  1437. font-size: 12px;
  1438. }
  1439. }
  1440. }
  1441. /deep/.u-drawer {
  1442. z-index: 999 !important;
  1443. }
  1444. </style>