|
@@ -47,40 +47,46 @@
|
|
|
width="95"
|
|
|
/>
|
|
|
<el-table-column
|
|
|
- prop="vehicleVersion"
|
|
|
- label="车辆类型"
|
|
|
+ prop="ecuId"
|
|
|
+ label="ECUID"
|
|
|
align="center"
|
|
|
- width="70"
|
|
|
/>
|
|
|
<el-table-column
|
|
|
- prop="ecuId"
|
|
|
- label="ECUID"
|
|
|
+ prop="vehicleVersion"
|
|
|
+ label="车辆类型"
|
|
|
align="center"
|
|
|
+ width="70"
|
|
|
/>
|
|
|
<el-table-column
|
|
|
- label="锁状态"
|
|
|
+ label="链接状态"
|
|
|
align="center"
|
|
|
width="80"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<el-tag
|
|
|
- :type="scope.row.lockStatus === 1 ? 'success' : 'danger'"
|
|
|
+ :type="scope.row.isActive === 1 ? 'success' : 'danger'"
|
|
|
disable-transitions
|
|
|
- >{{ scope.row.lockStatus | toLockStatus }}</el-tag>
|
|
|
+ >{{ scope.row.isActive | toActiveStatus }}</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- label="链接状态"
|
|
|
+ label="锁状态"
|
|
|
align="center"
|
|
|
width="80"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<el-tag
|
|
|
- :type="scope.row.isActive === 1 ? 'success' : 'danger'"
|
|
|
+ :type="scope.row.lockStatus === 1 ? 'success' : 'danger'"
|
|
|
disable-transitions
|
|
|
- >{{ scope.row.isActive | toActiveStatus }}</el-tag>
|
|
|
+ >{{ scope.row.lockStatus | toLockStatus }}</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="cityName"
|
|
|
+ label="城市"
|
|
|
+ align="center"
|
|
|
+ width="70"
|
|
|
+ />
|
|
|
<el-table-column
|
|
|
label="激活时间"
|
|
|
align="center"
|
|
@@ -182,8 +188,8 @@ export default {
|
|
|
_queryDeviceInfo() {
|
|
|
const params = { page: this.curIndex, pageSize: this.pageSize }
|
|
|
queryDeviceInfo(params).then(res => {
|
|
|
- res.code === 200 ? this.tableData = res.data : this.errorFun(res.msg)
|
|
|
- // this.total = res.data.length
|
|
|
+ res.code === 200 ? this.tableData = res.data.ebikeInfos : this.errorFun(res.msg)
|
|
|
+ this.total = res.data.total
|
|
|
this.loading = false
|
|
|
})
|
|
|
},
|