fix: 修改bug

This commit is contained in:
vce 2024-03-20 22:35:27 +08:00
parent 9080b1b85d
commit cf3290cc05

View File

@ -40,8 +40,10 @@
<el-table-column label="速度" align="center" prop="speed" />
<el-table-column label="工作状态" align="center" prop="workStatus">
<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>
</el-table-column>
<el-table-column label="设备电量" align="center" prop="equipmentPower">
@ -119,7 +121,7 @@ export default {
uploadTime_end: this.searchForm.uploadTime_end
}).then(result => {
if (result.success) {
this.List = result.result.records
this.tableData = result.result.records
this.pageInfo.total = result.result.total
}
})