|
|
@ -20,7 +20,7 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import dayjs, { Dayjs } from 'dayjs'
|
|
|
|
import dayjs, { Dayjs } from 'dayjs'
|
|
|
|
import { EChartsOption } from 'echarts'
|
|
|
|
import { color, EChartsOption } from 'echarts'
|
|
|
|
import * as TradeStatisticsApi from '@/api/mall/statistics/trade'
|
|
|
|
import * as TradeStatisticsApi from '@/api/mall/statistics/trade'
|
|
|
|
import { fenToYuan } from '@/utils'
|
|
|
|
import { fenToYuan } from '@/utils'
|
|
|
|
import { formatDate } from '@/utils/formatTime'
|
|
|
|
import { formatDate } from '@/utils/formatTime'
|
|
|
@ -107,9 +107,13 @@ const eChartOptions = reactive<EChartsOption>({
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
series: [
|
|
|
|
series: [
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: '充换电营收',
|
|
|
|
name: '充换电营收',
|
|
|
|
type: 'bar',
|
|
|
|
type: 'bar',
|
|
|
|
|
|
|
|
label:{show:true,position:'top',textStyle:{color:'#000000'},formatter:function(data){
|
|
|
|
|
|
|
|
return data.value+'元'
|
|
|
|
|
|
|
|
}},
|
|
|
|
data: [ 29792.40, 18646.14, 15153.60,14488.05,7735.55,6667.58,7035.60],
|
|
|
|
data: [ 29792.40, 18646.14, 15153.60,14488.05,7735.55,6667.58,7035.60],
|
|
|
|
markPoint: {
|
|
|
|
markPoint: {
|
|
|
|
data: [
|
|
|
|
data: [
|
|
|
@ -124,6 +128,8 @@ const eChartOptions = reactive<EChartsOption>({
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: '充换电量',
|
|
|
|
name: '充换电量',
|
|
|
|
type: 'bar',
|
|
|
|
type: 'bar',
|
|
|
|
|
|
|
|
label:{show:true,position:'top',textStyle:{color:'#000000'},formatter:function(data){
|
|
|
|
|
|
|
|
return data.value+'kwh'}},
|
|
|
|
data: [ 35636.84,18949.33,18126.32,16062.14,9609.38,7620.10,7680.79],
|
|
|
|
data: [ 35636.84,18949.33,18126.32,16062.14,9609.38,7620.10,7680.79],
|
|
|
|
markPoint: {
|
|
|
|
markPoint: {
|
|
|
|
data: [
|
|
|
|
data: [
|
|
|
|