From 186a92e834cfd3fbcb0cc02ad785146730ebc720 Mon Sep 17 00:00:00 2001 From: MeSHard <5373476+meshard@user.noreply.gitee.com> Date: Thu, 20 Nov 2025 18:08:12 +0800 Subject: [PATCH] 1 --- src/views/reports/yunying_reports.vue | 37 +- src/views/system/admin.vue | 880 +++++++++++++------------- 2 files changed, 444 insertions(+), 473 deletions(-) diff --git a/src/views/reports/yunying_reports.vue b/src/views/reports/yunying_reports.vue index be3d9bc..f52e53d 100644 --- a/src/views/reports/yunying_reports.vue +++ b/src/views/reports/yunying_reports.vue @@ -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) { diff --git a/src/views/system/admin.vue b/src/views/system/admin.vue index b2ee2da..fb57d86 100644 --- a/src/views/system/admin.vue +++ b/src/views/system/admin.vue @@ -1,466 +1,442 @@ - - - - - - - - 搜索 - 重置 - - - - - 添加用户 - - - - - {{ formatRoleLabel(row.roles) }} - - - 编辑 - 删除 - - - - + + + + + + + + 搜索 + 重置 + + + + + 添加用户 + + + + + {{ formatRoleLabel(row.roles) }} + + + 编辑 + 删除 + + - - - - - - - - - - - - - - - - - - - - {{ item.name }} - - - - - 取消 - 确定 - - - + + + + + + + + + + + + + + + + + + + + + + + {{ item.name }} + + + + + 取消 + 确定 + + + + .search-area { + background-color: white; + padding: 20px; + border: 1px solid #F3F7FD; + border-radius: 15px; + } + \ No newline at end of file