mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-25 09:39:46 +08:00
update 前端页面
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<el-row :gutter="0" type="flex" style="flex-wrap:wrap">
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h1>概况</h1>
|
<h1>概况</h1>
|
||||||
<hr />
|
<hr />
|
||||||
<div style="display: flex;justify-content: space-between;flex-wrap: wrap;margin-top: 10px">
|
<div style="display: flex;justify-content: space-between;flex-wrap: wrap;margin-top: 10px">
|
||||||
|
<el-col :span="4">
|
||||||
<div class="box" style="background-color: #ffba00;">
|
<div class="box" style="background-color: #ffba00;">
|
||||||
<el-image class="box-image"
|
<el-image class="box-image"
|
||||||
:src="require('@/assets/images/lightning.png')"
|
:src="require('@/assets/images/lightning.png')"
|
||||||
@@ -12,6 +15,8 @@
|
|||||||
<div>总充电电量(度)</div>
|
<div>总充电电量(度)</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="4">
|
||||||
<div class="box" style="background-color: #c74542;">
|
<div class="box" style="background-color: #c74542;">
|
||||||
<el-image class="box-image"
|
<el-image class="box-image"
|
||||||
:src="require('@/assets/images/zongfeiyong.png')" />
|
:src="require('@/assets/images/zongfeiyong.png')" />
|
||||||
@@ -20,6 +25,9 @@
|
|||||||
<div>总充电费用(元)</div>
|
<div>总充电费用(元)</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</el-col>
|
||||||
|
|
||||||
|
<el-col :span="4">
|
||||||
<div class="box" style="background-color: #12ce65;">
|
<div class="box" style="background-color: #12ce65;">
|
||||||
<el-image
|
<el-image
|
||||||
class="box-image"
|
class="box-image"
|
||||||
@@ -29,6 +37,9 @@
|
|||||||
<div>总充电订单数(笔)</div>
|
<div>总充电订单数(笔)</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</el-col>
|
||||||
|
|
||||||
|
<el-col :span="4">
|
||||||
<div class="box" style="background-color: #909399;">
|
<div class="box" style="background-color: #909399;">
|
||||||
<el-image
|
<el-image
|
||||||
class="box-image"
|
class="box-image"
|
||||||
@@ -38,6 +49,9 @@
|
|||||||
<div>总充电设备数量(座)</div>
|
<div>总充电设备数量(座)</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</el-col>
|
||||||
|
|
||||||
|
<el-col :span="4">
|
||||||
<div class="box" v-hasRole="['admin', 'common']" style="background-color: #ff4949;">
|
<div class="box" v-hasRole="['admin', 'common']" style="background-color: #ff4949;">
|
||||||
<el-image
|
<el-image
|
||||||
class="box-image"
|
class="box-image"
|
||||||
@@ -48,6 +62,7 @@
|
|||||||
<div>总客户余额(元)</div>
|
<div>总客户余额(元)</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</el-col>
|
||||||
<!-- <div class="box">-->
|
<!-- <div class="box">-->
|
||||||
<!-- <div>总服务费金额</div>-->
|
<!-- <div>总服务费金额</div>-->
|
||||||
<!-- <div class="box-text">-->
|
<!-- <div class="box-text">-->
|
||||||
@@ -74,6 +89,7 @@
|
|||||||
<!-- <hr /> -->
|
<!-- <hr /> -->
|
||||||
<!-- <h1>设备</h1> -->
|
<!-- <h1>设备</h1> -->
|
||||||
</div>
|
</div>
|
||||||
|
</el-row>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import Echarts from "echarts";
|
import Echarts from "echarts";
|
||||||
@@ -387,4 +403,14 @@ export default {
|
|||||||
border: 3px solid #fff;
|
border: 3px solid #fff;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
.el-row {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
&:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.el-col {
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -90,14 +90,20 @@
|
|||||||
<el-table-column label="名称" prop="templateName" />
|
<el-table-column label="名称" prop="templateName" />
|
||||||
<el-table-column label="模板状态" prop="status" >
|
<el-table-column label="模板状态" prop="status" >
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-switch
|
<dict-tag
|
||||||
v-model="scope.row.status"
|
:options="dict.type.template_status"
|
||||||
active-value="1"
|
:value="scope.row.status"
|
||||||
inactive-value="0"
|
/>
|
||||||
disabled="disabled"
|
|
||||||
>
|
|
||||||
</el-switch>
|
|
||||||
</template>
|
</template>
|
||||||
|
<!-- <template slot-scope="scope">-->
|
||||||
|
<!-- <el-switch-->
|
||||||
|
<!-- v-model="scope.row.status"-->
|
||||||
|
<!-- active-value="1"-->
|
||||||
|
<!-- inactive-value="0"-->
|
||||||
|
<!-- disabled="disabled"-->
|
||||||
|
<!-- >-->
|
||||||
|
<!-- </el-switch>-->
|
||||||
|
<!-- </template>-->
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- matchCars 使用车辆描述 -->
|
<!-- matchCars 使用车辆描述 -->
|
||||||
<el-table-column label="描述" prop="remark" />
|
<el-table-column label="描述" prop="remark" />
|
||||||
@@ -213,7 +219,7 @@ import {updateStation} from "@/api/pile/station";
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: { BondedDevice, Expenses, AddBilling },
|
components: { BondedDevice, Expenses, AddBilling },
|
||||||
dicts: ["charger_pile_type"],
|
dicts: ["charger_pile_type", "template_status"],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
tableData: [],
|
tableData: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user