mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-06 19:10:20 +08:00
添加模板类型
This commit is contained in:
@@ -20,14 +20,18 @@
|
|||||||
点击立即发布后,会将该计费模板下发到当前站点下所有的充电桩上面,请注意核对收费金额!
|
点击立即发布后,会将该计费模板下发到当前站点下所有的充电桩上面,请注意核对收费金额!
|
||||||
</p>
|
</p>
|
||||||
<el-descriptions title="" :column="2" border>
|
<el-descriptions title="" :column="2" border>
|
||||||
<el-descriptions-item label="尖时段电费单价">{{billingDetail.electricityPriceA}}</el-descriptions-item>
|
<el-descriptions-item label="尖时段电费单价">{{ billingDetail.electricityPriceA }}
|
||||||
<el-descriptions-item label="尖时段服务费单价">{{billingDetail.servicePriceA}}</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="峰时段电费单价">{{billingDetail.electricityPriceB}}</el-descriptions-item>
|
<el-descriptions-item label="尖时段服务费单价">{{ billingDetail.servicePriceA }}</el-descriptions-item>
|
||||||
<el-descriptions-item label="峰时段服务费单价">{{billingDetail.servicePriceB}}</el-descriptions-item>
|
<el-descriptions-item label="峰时段电费单价">{{ billingDetail.electricityPriceB }}
|
||||||
<el-descriptions-item label="平时段电费单价">{{billingDetail.electricityPriceC}}</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="平时段服务费单价">{{billingDetail.servicePriceC}}</el-descriptions-item>
|
<el-descriptions-item label="峰时段服务费单价">{{ billingDetail.servicePriceB }}</el-descriptions-item>
|
||||||
<el-descriptions-item label="谷时段电费单价">{{billingDetail.electricityPriceD}}</el-descriptions-item>
|
<el-descriptions-item label="平时段电费单价">{{ billingDetail.electricityPriceC }}
|
||||||
<el-descriptions-item label="谷时段服务费单价">{{billingDetail.servicePriceD}}</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="平时段服务费单价">{{ billingDetail.servicePriceC }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="谷时段电费单价">{{ billingDetail.electricityPriceD }}
|
||||||
|
</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="谷时段服务费单价">{{ billingDetail.servicePriceD }}</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||||
@@ -44,7 +48,8 @@
|
|||||||
icon="el-icon-refresh"
|
icon="el-icon-refresh"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="clickRefresh"
|
@click="clickRefresh"
|
||||||
>刷新</el-button
|
>刷新
|
||||||
|
</el-button
|
||||||
>
|
>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
@@ -54,8 +59,9 @@
|
|||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="clickImport"
|
@click="clickImport"
|
||||||
v-has-permi = "['billing:template:edit']"
|
v-has-permi="['billing:template:edit']"
|
||||||
>导入</el-button>
|
>导入
|
||||||
|
</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<!-- 弹框 -->
|
<!-- 弹框 -->
|
||||||
@@ -64,9 +70,15 @@
|
|||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
>
|
>
|
||||||
<el-table-column label="模板编号" prop="templateCode" />
|
<el-table-column label="模板编号" prop="templateCode"/>
|
||||||
<el-table-column label="名称" prop="templateName" />
|
<el-table-column label="名称" prop="templateName"/>
|
||||||
<el-table-column label="模板状态" prop="status" >
|
<el-table-column label="模板类型" prop="memberFlag">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<tag v-if="scope.row.memberFlag === '0'">通用计费模板</tag>
|
||||||
|
<tag v-if="scope.row.memberFlag === '1'">会员计费模板</tag>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="模板状态" prop="status">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<dict-tag
|
<dict-tag
|
||||||
:options="dict.type.template_status"
|
:options="dict.type.template_status"
|
||||||
@@ -75,7 +87,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- matchCars 使用车辆描述 -->
|
<!-- matchCars 使用车辆描述 -->
|
||||||
<el-table-column label="描述" prop="remark" />
|
<el-table-column label="描述" prop="remark"/>
|
||||||
<el-table-column label="设备类型" prop="deviceType">
|
<el-table-column label="设备类型" prop="deviceType">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<dict-tag
|
<dict-tag
|
||||||
@@ -84,18 +96,23 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="上次发布时间" prop="publishTime" />
|
<el-table-column label="上次发布时间" prop="publishTime"/>
|
||||||
<el-table-column label="操作" align="center" width="250">
|
<el-table-column label="操作" align="center" width="250">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button v-if="scope.row.memberFlag === '0'" type="text" size="small" @click="issue(scope.row.templateId)">发布</el-button>
|
<el-button v-if="scope.row.memberFlag === '0'" type="text" size="small"
|
||||||
<el-button v-if="scope.row.memberFlag === '0'" type="text" size="small" @click="outerVisible = true">绑定设备</el-button>
|
@click="issue(scope.row.templateId)">发布
|
||||||
<el-button type="text" size="small" @click="handleUpdate(scope.row.templateId)">修改默认费率</el-button>
|
</el-button>
|
||||||
|
<el-button v-if="scope.row.memberFlag === '0'" type="text" size="small"
|
||||||
|
@click="outerVisible = true">绑定设备
|
||||||
|
</el-button>
|
||||||
|
<el-button type="text" size="small" @click="handleUpdate(scope.row.templateId)">修改默认费率
|
||||||
|
</el-button>
|
||||||
<el-button type="text" size="small" @click="delBilling(scope.row.templateId)">删除</el-button>
|
<el-button type="text" size="small" @click="delBilling(scope.row.templateId)">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-dialog width="70%" title="绑定设备" :visible.sync="outerVisible">
|
<el-dialog width="70%" title="绑定设备" :visible.sync="outerVisible">
|
||||||
<BondedDevice ref="bondedDevice" />
|
<BondedDevice ref="bondedDevice"/>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- 费率详情页 -->
|
<!-- 费率详情页 -->
|
||||||
<!-- <el-dialog title="费率详情页" :visible.sync="expDialog" width="30%">
|
<!-- <el-dialog title="费率详情页" :visible.sync="expDialog" width="30%">
|
||||||
@@ -155,7 +172,7 @@ import AddBilling from "../../../billing/template/components/addBilling.vue";
|
|||||||
import {updateStation} from "@/api/pile/station";
|
import {updateStation} from "@/api/pile/station";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: { BondedDevice, Expenses, AddBilling },
|
components: {BondedDevice, Expenses, AddBilling},
|
||||||
dicts: ["charger_pile_type", "template_status"],
|
dicts: ["charger_pile_type", "template_status"],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -344,10 +361,12 @@ export default {
|
|||||||
.demo-table-expand {
|
.demo-table-expand {
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.demo-table-expand label {
|
.demo-table-expand label {
|
||||||
width: 90px;
|
width: 90px;
|
||||||
color: #99a9bf;
|
color: #99a9bf;
|
||||||
}
|
}
|
||||||
|
|
||||||
.demo-table-expand .el-form-item {
|
.demo-table-expand .el-form-item {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user