|
|
@@ -161,7 +161,7 @@
|
|
|
<span
|
|
|
:class="['tab_item', active2 === '3' ? 'active' : '']"
|
|
|
@click="switchAreaBar('3', 'active2', 'usageTrend')"
|
|
|
- >气</span
|
|
|
+ >煤</span
|
|
|
>
|
|
|
</div>
|
|
|
<v-chart
|
|
|
@@ -238,7 +238,7 @@
|
|
|
<span
|
|
|
:class="['tab_item', active3 === '3' ? 'active' : '']"
|
|
|
@click="switchAreaBar('3', 'active3', 'costTrend')"
|
|
|
- >气</span
|
|
|
+ >煤</span
|
|
|
>
|
|
|
</div>
|
|
|
<v-chart
|
|
|
@@ -278,7 +278,7 @@
|
|
|
<span
|
|
|
:class="['tab_item', active === '3' ? 'active' : '']"
|
|
|
@click="switchAreaBar('3', 'active', 'regionBarChart')"
|
|
|
- >气</span
|
|
|
+ >煤</span
|
|
|
>
|
|
|
</div>
|
|
|
<v-chart
|
|
|
@@ -316,7 +316,7 @@
|
|
|
<span
|
|
|
:class="['tab_item', active1 === '3' ? 'active' : '']"
|
|
|
@click="switchAreaBar('3', 'active1', 'regionCostBarChart')"
|
|
|
- >气</span
|
|
|
+ >煤</span
|
|
|
>
|
|
|
</div>
|
|
|
<v-chart
|
|
|
@@ -649,13 +649,13 @@
|
|
|
icon: require('@/assets/home/leftitem.png'),
|
|
|
value: res.gasUsage,
|
|
|
unit: 'm³',
|
|
|
- label: '用气量'
|
|
|
+ label: '用煤量'
|
|
|
},
|
|
|
{
|
|
|
icon: require('@/assets/home/leftitem.png'),
|
|
|
value: res.gasCost,
|
|
|
unit: '元',
|
|
|
- label: '用气费用'
|
|
|
+ label: '用煤费用'
|
|
|
}
|
|
|
];
|
|
|
});
|
|
|
@@ -684,7 +684,7 @@
|
|
|
},
|
|
|
yAxis: {
|
|
|
type: 'value',
|
|
|
- max: 6000,
|
|
|
+ // max: 6000,
|
|
|
axisLine: { show: false },
|
|
|
axisLabel: { color: '#fff', fontSize: 10 },
|
|
|
splitLine: { lineStyle: { color: 'rgba(56, 255, 249, 0.2)' } }
|
|
|
@@ -939,7 +939,7 @@
|
|
|
},
|
|
|
yAxis: {
|
|
|
type: 'value',
|
|
|
- max: 6000,
|
|
|
+ // max: 6000,
|
|
|
axisLine: { show: false },
|
|
|
axisLabel: { color: '#fff', fontSize: 10 },
|
|
|
splitLine: { lineStyle: { color: 'rgba(56, 255, 249, 0.2)' } }
|
|
|
@@ -1170,7 +1170,7 @@
|
|
|
};
|
|
|
});
|
|
|
},
|
|
|
- //区域用能对比-环形图数据(电/水/气)
|
|
|
+ //区域用能对比-环形图数据(电/水/煤)
|
|
|
regionCompare() {
|
|
|
regionCompare({
|
|
|
regionId: this.regionId,
|
|
|
@@ -1270,7 +1270,7 @@
|
|
|
})
|
|
|
},
|
|
|
{
|
|
|
- name: '用气量',
|
|
|
+ name: '用煤量',
|
|
|
type: 'pie',
|
|
|
radius: ['25%', '45%'],
|
|
|
center: ['83%', '45%'],
|
|
|
@@ -1278,7 +1278,7 @@
|
|
|
label: {
|
|
|
show: true,
|
|
|
position: 'center',
|
|
|
- formatter: '用气量',
|
|
|
+ formatter: '用煤量',
|
|
|
color: '#fff',
|
|
|
fontSize: 14,
|
|
|
fontWeight: 'bold'
|
|
|
@@ -1321,7 +1321,7 @@
|
|
|
chartOption: {}
|
|
|
},
|
|
|
{
|
|
|
- label: '今日用气量(m³)',
|
|
|
+ label: '今日用煤量(T)',
|
|
|
value: res.todayGasUsage,
|
|
|
chartOption: {}
|
|
|
},
|
|
|
@@ -1586,12 +1586,12 @@
|
|
|
label: '用水预警(件)',
|
|
|
value: res.warningStat?.waterWarningCount
|
|
|
},
|
|
|
- { label: '用气预警(件)', value: res.warningStat?.gasWarningCount }
|
|
|
+ { label: '用煤预警(件)', value: res.warningStat?.gasWarningCount }
|
|
|
];
|
|
|
console.log(res, 'this.warningStats');
|
|
|
let dataArr = [];
|
|
|
let dataKey = [
|
|
|
- 'warningLevel',
|
|
|
+ 'warningLevelName',
|
|
|
'energyType',
|
|
|
'warningInfo',
|
|
|
'warningTime'
|