-
+
{{baseInfo[item.attr] | formatNumber}}
@@ -30,7 +30,7 @@
- 当前SOC : {{baseInfo.currentSoc}}%
+ 当前SOC : {{baseInfo.currentSoc}}%
- {{scope.row.avgData}}
+ {{scope.row.avgData}}
- {{scope.row.minData}}
+ {{scope.row.minData}}
- {{scope.row.maxData}}
+ {{scope.row.maxData}}
- {{scope.row.clusterVoltage}} V
+ {{scope.row.clusterVoltage}} V
- {{scope.row.clusterCurrent}} A
+ {{scope.row.clusterCurrent}} A
- {{scope.row.currentSoc}} %
+ {{scope.row.currentSoc}} %
- {{scope.row.maxCellVoltage}} V
+ {{scope.row.maxCellVoltage}} V
- {{scope.row.minCellVoltage}} V
+ {{scope.row.minCellVoltage}} V
- {{scope.row.maxCellTemp}} ℃
+ {{scope.row.maxCellTemp}} ℃
- {{scope.row.minCellTemp}} ℃
+ {{scope.row.minCellTemp}} ℃
-
+
{{tempDataItem.name}}:{{item[tempDataItem.attr]}}
@@ -140,9 +140,8 @@ export default {
};
},
methods: {
- showChart(pointName,categoryName,deviceId){
- console.log('点击查询图表',pointName,categoryName,deviceId)
- pointName && this.$refs.pointChart.showChart({pointName,categoryName,deviceId})
+ showChart(pointName,deviceId){
+ pointName && this.$refs.pointChart.showChart({pointName,deviceCategory:'AMMETER',deviceId})
},
updateData(){
this.loading = true;
diff --git a/src/views/ems/dzjk/sbjk/dtdc/index.vue b/src/views/ems/dzjk/sbjk/dtdc/index.vue
index c2e3967..3353df4 100644
--- a/src/views/ems/dzjk/sbjk/dtdc/index.vue
+++ b/src/views/ems/dzjk/sbjk/dtdc/index.vue
@@ -174,7 +174,7 @@ export default {
dataType &&
this.$refs.pointChart.showChart({
pointName: dataType,
- categoryName: "单体电池",
+ deviceCategory:'BATTERY',
deviceId: clusterDeviceId,
child: [deviceId],
});
diff --git a/src/views/ems/dzjk/sbjk/index.vue b/src/views/ems/dzjk/sbjk/index.vue
index 14082d8..b283908 100644
--- a/src/views/ems/dzjk/sbjk/index.vue
+++ b/src/views/ems/dzjk/sbjk/index.vue
@@ -38,10 +38,10 @@ export default {
return this.zdDeviceCategoryOptions[this.siteId] || []
},
categoryRouter(){
- const routeData =this.childrenRoute.filter(item=>this.locationSiteCategory.includes(item.meta.categoryName))
+ const routeData =this.childrenRoute.filter(item=>this.locationSiteCategory.includes(item.meta.deviceCategory))
if(this.siteId && routeData.length > 0 && this.locationSiteCategory && this.locationSiteCategory.length >1){
- const locationPageCategoryName = this.$route.meta?.categoryName || ''
- if(!routeData.some(item=> item.meta.categoryName===locationPageCategoryName)){
+ const locationPageDeviceCategory = this.$route.meta?.deviceCategory || ''
+ if(!routeData.some(item=> item.meta.deviceCategory===locationPageDeviceCategory)){
this.$router.replace({path:'/dzjk/sbjk/ssyx',query:this.$route.query})
}
}
diff --git a/src/views/ems/dzjk/sbjk/pcs/index.vue b/src/views/ems/dzjk/sbjk/pcs/index.vue
index fb92639..2af43ea 100644
--- a/src/views/ems/dzjk/sbjk/pcs/index.vue
+++ b/src/views/ems/dzjk/sbjk/pcs/index.vue
@@ -100,7 +100,7 @@
{{ pcsItem[item.attr] | formatNumber }}
@@ -136,7 +136,7 @@
>
{{ item.dcPower }}kW
@@ -148,7 +148,7 @@
>
{{ item.dcVoltage }}V
@@ -160,7 +160,7 @@
>
{{ item.dcCurrent }}A
@@ -169,7 +169,6 @@