11.18 统计图细节部分

master
zz 6 days ago
parent 3d0c56f73c
commit 1d4c20eae5

@ -76,9 +76,11 @@
<el-table-column label="换电站名称" align="center" prop="stationName" />
<el-table-column label="时间" align="center" prop="time" />
<!-- <el-table-column label="统计" align="center" prop="count" /> -->
<el-table-column label="换电营收(分)" align="center" prop="swapRevenue" />
<!-- <el-table-column label="换电营收(分)" align="center" prop="swapRevenue" /> -->
<!-- <el-table-column label="充电营收" align="center" prop="chargeRevenue" /> -->
<!-- <el-table-column label="失败统计" align="center" prop="loseCount" /> -->
<el-table-column label="充电用量" align="center" prop="chargeCapacity" />
<!-- <el-table-column label="换电用量" align="center" prop="swapCapacity" /> -->
</el-table>
<!-- <Pagination
:total="total"
@ -230,7 +232,10 @@ onMounted(() => {
const eChartOptions = reactive<EChartsOption>({
title: {
text: '站营收统计'
text: '站外充电量统计'
},
tooltip: {
trigger: 'axis'
},
xAxis: {
type: 'category',

@ -76,8 +76,8 @@
<el-table-column label="换电站名称" align="center" prop="stationName" />
<el-table-column label="时间" align="center" prop="time" />
<!-- <el-table-column label="统计" align="center" prop="count" /> -->
<el-table-column label="换电营收(分)" align="center" prop="swapRevenue" />
<!-- <el-table-column label="充电营收" align="center" prop="chargeRevenue" /> -->
<!-- <el-table-column label="换电营收(分)" align="center" prop="swapRevenue" /> -->
<el-table-column label="充电营收(分)" align="center" prop="chargeRevenue" />
<!-- <el-table-column label="失败统计" align="center" prop="loseCount" /> -->
</el-table>
<!-- <Pagination
@ -230,8 +230,11 @@
const eChartOptions = reactive<EChartsOption>({
title: {
text: '站营收统计'
text: '站外站营收统计'
},
tooltip: {
trigger: 'axis'
},
xAxis: {
type: 'category',
data: []

@ -231,6 +231,9 @@ onMounted(() => {
const eChartOptions = reactive<EChartsOption>({
title: {
text: '站营收统计'
},
tooltip: {
trigger: 'axis'
},
xAxis: {
type: 'category',

@ -182,8 +182,8 @@
for (let item in finall_array_success) {
eChartOptions.series.push({
name: legend_data[item],
type: 'line',
smooth: true,
type: 'bar',
// smooth: true,
data: finall_array_success[item]
})
}
@ -237,6 +237,9 @@
title: {
text: '站外充电次数统计'
},
tooltip: {
trigger: 'axis'
},
xAxis: {
type: 'category',
data: []

Loading…
Cancel
Save