| | |
| | | </div> |
| | | <div id="DeviceList"> |
| | | <div class="openRateTrendDg"> |
| | | <div id="Efficiency" class="container" style="margin-top: 20px;"> |
| | | <div id="Efficiency" class="container"> |
| | | <div class="table2"> |
| | | <table class="dataContent table" border="1" cellspacing="0" cellpadding="0" |
| | | style="white-space: nowrap;text-align: left;"> |
| | |
| | | 出现次数 |
| | | </th> |
| | | <th class="thgu dong3 name" rowspan="2" style="min-width: 150px; max-width: 150px;width: 150px;"> |
| | | 合计持续时间(秒) |
| | | 合计持续时间 |
| | | </th> |
| | | <th class="thgu dong4 name" rowspan="2" style="min-width: 100px; max-width: 100px;width: 100px;"> |
| | | 报警信息 |
| | |
| | | <tr class="mathData" v-for="(item, index) in dataList" @click="TableDraw(index,item)"> |
| | | <td class="tdgu kaitou">{{item.alarmCode}}</td> |
| | | <td class="tdgu1 kaitou">{{item.count}}</td> |
| | | <td class="tdgu2 kaitou">{{item.timeCount}}</td> |
| | | <td class="tdgu2 kaitou">{{getFormattedTime(item.timeCount)}} |
| | | <!--<td class="tdgu2 kaitou">{{item.timeCount}}</td>--> |
| | | <td class="tdgu3 kaitou">{{item.alarmContent}}</td> |
| | | <!--<template v-for="(tableHead, index) in item.dataList">--> |
| | | <!--<td :style="{background:tableHead.color }">{{tableHead.utilizationRate | numFilter}}</td>--> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div style="width: 100%;height: 60%;display: flex;"> |
| | | <div style="width: 100%;height: 55%;display: flex;"> |
| | | <div id="MdcEquipmentWarningPie" style="height: 100%;width: 35%;"></div> |
| | | <div id="MdcEquipmentWarningLine" style="height: 100%;width: 65%;"></div> |
| | | </div> |
| | |
| | | ] |
| | | } |
| | | equipmentWarningLine.setOption(equipmentWarningLineOption, true) |
| | | }, |
| | | |
| | | getFormattedTime(seconds){ |
| | | var hours = Math.floor(seconds / 3600); |
| | | var minutes = Math.floor((seconds % 3600) / 60); |
| | | var secs = seconds % 60; |
| | | |
| | | return `${hours}小时 ${minutes}分 ${secs}秒` |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | @media screen and (min-width: 1920px) { |
| | | #Efficiency { |
| | | height: 337px !important; |
| | | height: 258px !important; |
| | | overflow: scroll; |
| | | } |
| | | } |
| | | |
| | | @media screen and (min-width: 1680px) and (max-width: 1920px) { |
| | | #Efficiency { |
| | | height: 337px !important; |
| | | height: 258px !important; |
| | | overflow: scroll; |
| | | } |
| | | } |
| | | |
| | | @media screen and (min-width: 1400px) and (max-width: 1680px) { |
| | | #Efficiency { |
| | | height: 190px !important; |
| | | height: 160px !important; |
| | | overflow: scroll; |
| | | } |
| | | } |
| | | |
| | | @media screen and (min-width: 1280px) and (max-width: 1400px) { |
| | | #Efficiency { |
| | | height: 90px !important; |
| | | height: 60px !important; |
| | | overflow: scroll; |
| | | } |
| | | } |