mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-25 08:23:43 +08:00
添加模板类型
This commit is contained in:
@@ -20,13 +20,17 @@
|
||||
点击立即发布后,会将该计费模板下发到当前站点下所有的充电桩上面,请注意核对收费金额!
|
||||
</p>
|
||||
<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.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.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.electricityPriceD}}</el-descriptions-item>
|
||||
<el-descriptions-item label="谷时段电费单价">{{ billingDetail.electricityPriceD }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="谷时段服务费单价">{{ billingDetail.servicePriceD }}</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
@@ -44,7 +48,8 @@
|
||||
icon="el-icon-refresh"
|
||||
size="mini"
|
||||
@click="clickRefresh"
|
||||
>刷新</el-button
|
||||
>刷新
|
||||
</el-button
|
||||
>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
@@ -55,7 +60,8 @@
|
||||
size="mini"
|
||||
@click="clickImport"
|
||||
v-has-permi="['billing:template:edit']"
|
||||
>导入</el-button>
|
||||
>导入
|
||||
</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!-- 弹框 -->
|
||||
@@ -66,6 +72,12 @@
|
||||
>
|
||||
<el-table-column label="模板编号" prop="templateCode"/>
|
||||
<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">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag
|
||||
@@ -87,9 +99,14 @@
|
||||
<el-table-column label="上次发布时间" prop="publishTime"/>
|
||||
<el-table-column label="操作" align="center" width="250">
|
||||
<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" @click="outerVisible = true">绑定设备</el-button>
|
||||
<el-button type="text" size="small" @click="handleUpdate(scope.row.templateId)">修改默认费率</el-button>
|
||||
<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"
|
||||
@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>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -344,10 +361,12 @@ export default {
|
||||
.demo-table-expand {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.demo-table-expand label {
|
||||
width: 90px;
|
||||
color: #99a9bf;
|
||||
}
|
||||
|
||||
.demo-table-expand .el-form-item {
|
||||
margin-right: 0;
|
||||
margin-bottom: 0;
|
||||
|
||||
Reference in New Issue
Block a user