-
- {{item.value}}
-
-
-
-
-
当前SOC : 25%
+
+
+
+
+ {{index+1}}#{{baseInfo.deviceName}}
-
-
-
-
-
-
-
- {{scope.row.voltage}} V
-
-
-
-
- {{scope.row.electric}} A
-
-
-
-
- {{scope.row.soc}} %
-
-
-
-
- {{scope.row.maxVoltage}} V
-
-
-
-
- {{scope.row.minVoltage}} V
-
-
-
-
- {{scope.row.maxTemperature}} ℃
-
-
-
-
- {{scope.row.minTemperature}} ℃
-
-
+
+
+ {{baseInfo.workStatus}}
+ {{baseInfo.pcsCommunicationStatus}}
+ {{baseInfo.emsCommunicationStatus}}
+
+
+
+
+ {{baseInfo[item.attr] | formatNumber}}
+
+
+
+
+
当前SOC : {{baseInfo.currentSoc}}%
+
+
+
+
+
+
+
+ {{scope.row.clusterVoltage}} V
+
+
+
+
+ {{scope.row.clusterCurrent}} A
+
+
+
+
+ {{scope.row.currentSoc}} %
+
+
+
+
+ {{scope.row.maxVoltage}} V
+
+
+
+
+ {{scope.row.minVoltage}} V
+
+
+
+
+ {{scope.row.maxTemperature}} ℃
+
+
+
+
+ {{scope.row.minTemperature}} ℃
+
+
-
+
+
+
+
@@ -152,7 +154,7 @@ export default {
left: 0;
bottom: 0;
width: 100%;
- height: 25%;
+ height: 0;
background-color: #fc6c6c;
border-radius: 0 0 6px 6px;
box-shadow: 0 0 10px rgb(252 108 108), 0 0 0 rgba(252, 108, 108, 0.5);
diff --git a/src/views/ems/dzjk/sbjk/dtdc/BarChart.vue b/src/views/ems/dzjk/sbjk/dtdc/BarChart.vue
index ed63577..82633b2 100644
--- a/src/views/ems/dzjk/sbjk/dtdc/BarChart.vue
+++ b/src/views/ems/dzjk/sbjk/dtdc/BarChart.vue
@@ -27,10 +27,11 @@ export default {
this.chart = echarts.init(document.querySelector('#dtdcChart'))
},
setOption() {
+ const source = [['日期','电压','温度','SOC','SOH']]
+ source.push(['1月','12','13','14','15'],['2月','12','13','14','15'])
this.chart.setOption({
- color:['#FFBD00','#3C81FF'],
+ color:['#FFBD00','#3C81FF','#05AEA3','#F86F70'],
legend: {
- left: 'center',
bottom: '10',
},
tooltip: {
@@ -43,26 +44,37 @@ export default {
color:"#333333",
},
xAxis: {
- data: ['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'],
+ type: 'category',
},
yAxis: {
type: 'value',
},
+ dataset:{
+ source
+ // source: [['日期','充电量','放电量']]
+ },
series: [
{
- name:'昨天',
- data: [80,92,1,34,90,130,320,80,9,91,34,90],
+ name:'电压',
type: 'bar',
},{
- name:'今天',
- data: [820,932,901,934,1290,1330,1320,820,932,901,934,1290],
+ name:'温度',
+ type: 'bar',
+ },
+ {
+ name:'SOC',
+ type: 'bar',
+
+ },{
+ name:'SOH',
type: 'bar',
}]
})
- this.chart.hideLoading()
-
}
+ },
+ mounted() {
+ this.initChart()
}
}
diff --git a/src/views/ems/dzjk/sbjk/dtdc/index.vue b/src/views/ems/dzjk/sbjk/dtdc/index.vue
index f495d18..ca324d1 100644
--- a/src/views/ems/dzjk/sbjk/dtdc/index.vue
+++ b/src/views/ems/dzjk/sbjk/dtdc/index.vue
@@ -1,19 +1,19 @@
-
+
单体电池实时数据
-
-
+
+
-
-
+
+
@@ -24,14 +24,6 @@
-
-
-
-
- {{item.name}}
-
-
-
@@ -45,59 +37,66 @@
@@ -139,6 +166,8 @@ export default {