|
|
@ -66,6 +66,7 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="content">
|
|
|
|
<view class="content">
|
|
|
|
<view class='timer' @click="show = true">时间:{{ timer }}</view>
|
|
|
|
<view class='timer' @click="show = true">时间:{{ timer }}</view>
|
|
|
|
|
|
|
|
<view class="limit-timer" :class="infoData.powerLimitTime ? 'limit' : ''">{{ !infoData.powerLimitTime ? '未限制功率' : `限制功率: ${infoData.powerLimit.p}%` }}</view>
|
|
|
|
<echarts ref="echarts" class="uni-ec-canvas" :option="option" canvasId="echarts"></echarts>
|
|
|
|
<echarts ref="echarts" class="uni-ec-canvas" :option="option" canvasId="echarts"></echarts>
|
|
|
|
<div class="report-item-bottom flex flex-column" v-show="type === 'first'">
|
|
|
|
<div class="report-item-bottom flex flex-column" v-show="type === 'first'">
|
|
|
|
<table border="2" :class="itemStateClass(infoData.state).clas">
|
|
|
|
<table border="2" :class="itemStateClass(infoData.state).clas">
|
|
|
@ -451,6 +452,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
_data._name = _data.equipmentName.split(' ')[1]
|
|
|
|
_data._name = _data.equipmentName.split(' ')[1]
|
|
|
|
|
|
|
|
_data.powerLimit = JSON.parse( _data.powerLimit)
|
|
|
|
this.infoData = Object.assign({_itemList }, _data)
|
|
|
|
this.infoData = Object.assign({_itemList }, _data)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -671,10 +673,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.content {
|
|
|
|
.content {
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
padding: 20upx;
|
|
|
|
padding: 20upx;
|
|
|
|
.timer {
|
|
|
|
.timer {
|
|
|
|
margin-bottom: 20upx;
|
|
|
|
margin-bottom: 20upx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.limit-timer {
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
right: 20upx;
|
|
|
|
|
|
|
|
top: 20upx;
|
|
|
|
|
|
|
|
&.limit {
|
|
|
|
|
|
|
|
color: #fc6;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
background: #000;
|
|
|
|
background: #000;
|
|
|
|
color: #f5f5f5;
|
|
|
|
color: #f5f5f5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|