fix: 修改bug
This commit is contained in:
parent
9080b1b85d
commit
cf3290cc05
@ -40,8 +40,10 @@
|
|||||||
<el-table-column label="速度" align="center" prop="speed" />
|
<el-table-column label="速度" align="center" prop="speed" />
|
||||||
<el-table-column label="工作状态" align="center" prop="workStatus">
|
<el-table-column label="工作状态" align="center" prop="workStatus">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.workStatus === 0">正在工作</span>
|
<span v-if="scope.row.workStatus === 1">工作状态</span>
|
||||||
<span v-if="scope.row.workStatus === 1">正在待机</span>
|
<span v-if="scope.row.workStatus === 2">怠速状态</span>
|
||||||
|
<span v-if="scope.row.workStatus === 3">静止状态</span>
|
||||||
|
<span v-if="scope.row.workStatus === 4">离线状态</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="设备电量" align="center" prop="equipmentPower">
|
<el-table-column label="设备电量" align="center" prop="equipmentPower">
|
||||||
@ -119,7 +121,7 @@ export default {
|
|||||||
uploadTime_end: this.searchForm.uploadTime_end
|
uploadTime_end: this.searchForm.uploadTime_end
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
this.List = result.result.records
|
this.tableData = result.result.records
|
||||||
this.pageInfo.total = result.result.total
|
this.pageInfo.total = result.result.total
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user