mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-05 10:30:12 +08:00
update 前端页面
This commit is contained in:
@@ -90,14 +90,20 @@
|
||||
<el-table-column label="名称" prop="templateName" />
|
||||
<el-table-column label="模板状态" prop="status" >
|
||||
<template slot-scope="scope">
|
||||
<el-switch
|
||||
v-model="scope.row.status"
|
||||
active-value="1"
|
||||
inactive-value="0"
|
||||
disabled="disabled"
|
||||
>
|
||||
</el-switch>
|
||||
<dict-tag
|
||||
:options="dict.type.template_status"
|
||||
:value="scope.row.status"
|
||||
/>
|
||||
</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>
|
||||
<!-- matchCars 使用车辆描述 -->
|
||||
<el-table-column label="描述" prop="remark" />
|
||||
@@ -213,7 +219,7 @@ import {updateStation} from "@/api/pile/station";
|
||||
|
||||
export default {
|
||||
components: { BondedDevice, Expenses, AddBilling },
|
||||
dicts: ["charger_pile_type"],
|
||||
dicts: ["charger_pile_type", "template_status"],
|
||||
data() {
|
||||
return {
|
||||
tableData: [],
|
||||
|
||||
Reference in New Issue
Block a user