This commit is contained in:
MeSHard
2025-11-20 18:08:12 +08:00
parent 26ecddea1e
commit 186a92e834
2 changed files with 444 additions and 473 deletions

View File

@@ -48,47 +48,43 @@
ruleInline: {},
columns: [{
title: '充电站名称',
key: 'id',
key: 'charge_station_name',
},
{
title: '桩类型',
key: 'out_trade_no',
key: 'type',
},
{
title: '桩数量',
key: 'openid',
key: 'pile_num_2',
},
{
title: '枪数量',
key: 'total',
key: 'pile_num',
},
{
title: '充电次数',
key: 'total_used',
title: '充电次数(次)',
key: 'order_num',
},
{
title: '充电电量(度)',
key: 'trade_state',
key: 'power',
},
{
title: '充电金额(元)',
key: 'success_time',
key: 'money',
},
{
title: '电费',
key: 'success_time',
title: '电费(元)',
key: 'elec',
},
{
title: '服务费',
key: 'success_time',
title: '服务费(元)',
key: 'sevice',
},
{
title: '总时长',
key: 'success_time',
},
{
title: '尖峰平谷电量',
key: 'success_time',
title: '总时长(小时)',
key: 'length',
},
{
title: '操作',
@@ -121,9 +117,8 @@
page: this.page,
pageSize: this.pageSize,
}).then((res) => {
this.total = res.total
this.data = res.data
this.page = res.current_page
this.total = res.data.total
this.data = res.data.data
})
},
handleSubmit(name) {