mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-13 14:30:08 +08:00
添加模板类型
This commit is contained in:
@@ -20,13 +20,17 @@
|
|||||||
点击立即发布后,会将该计费模板下发到当前站点下所有的充电桩上面,请注意核对收费金额!
|
点击立即发布后,会将该计费模板下发到当前站点下所有的充电桩上面,请注意核对收费金额!
|
||||||
</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>
|
||||||
<el-descriptions-item label="尖时段服务费单价">{{ billingDetail.servicePriceA }}</el-descriptions-item>
|
<el-descriptions-item label="尖时段服务费单价">{{ billingDetail.servicePriceA }}</el-descriptions-item>
|
||||||
<el-descriptions-item label="峰时段电费单价">{{billingDetail.electricityPriceB}}</el-descriptions-item>
|
<el-descriptions-item label="峰时段电费单价">{{ billingDetail.electricityPriceB }}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="峰时段服务费单价">{{ billingDetail.servicePriceB }}</el-descriptions-item>
|
<el-descriptions-item label="峰时段服务费单价">{{ billingDetail.servicePriceB }}</el-descriptions-item>
|
||||||
<el-descriptions-item label="平时段电费单价">{{billingDetail.electricityPriceC}}</el-descriptions-item>
|
<el-descriptions-item label="平时段电费单价">{{ billingDetail.electricityPriceC }}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="平时段服务费单价">{{ billingDetail.servicePriceC }}</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.electricityPriceD }}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="谷时段服务费单价">{{ billingDetail.servicePriceD }}</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">
|
||||||
@@ -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">
|
||||||
@@ -55,7 +60,8 @@
|
|||||||
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>
|
||||||
<!-- 弹框 -->
|
<!-- 弹框 -->
|
||||||
@@ -66,6 +72,12 @@
|
|||||||
>
|
>
|
||||||
<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="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">
|
<el-table-column label="模板状态" prop="status">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<dict-tag
|
<dict-tag
|
||||||
@@ -87,9 +99,14 @@
|
|||||||
<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>
|
||||||
@@ -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