update 站点设备列表添加桩运营类型字段

This commit is contained in:
Lemon
2023-08-08 15:55:24 +08:00
parent 6d67dd212c
commit 0ddf3eb46b
2 changed files with 11 additions and 1 deletions

View File

@@ -64,6 +64,14 @@
</router-link>
</template>
</el-table-column>
<el-table-column label="运营类型" align="center" prop="businessType">
<template slot-scope="scope">
<dict-tag
:options="dict.type.pile_business_type"
:value="scope.row.businessType"
/>
</template>
</el-table-column>
<el-table-column label="状态" align="center" prop="status">
<template slot-scope="scope">
<dict-tag
@@ -73,6 +81,7 @@
</template>
</el-table-column>
<el-table-column label="接口数量" align="center" prop="gunNum" />
<el-table-column label="密钥" align="center" prop="secretKey" />
<el-table-column label="电桩类型" align="center" prop="pileType">
<template slot-scope="scope">
<dict-tag
@@ -202,7 +211,7 @@ import { listModel } from "@/api/pile/model";
export default {
name: "PileList",
dicts: ["pile_status", "software_protocol", "connector_type"],
dicts: ["pile_status", "software_protocol", "connector_type", "pile_business_type"],
props: {
stationId: "",
},