# 优化logs列表
This commit is contained in:
parent
456d96f4f8
commit
ccafbe6e21
|
@ -9,6 +9,10 @@
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
:default-sort = "{prop: 'calc_time', order: 'descending'}"
|
:default-sort = "{prop: 'calc_time', order: 'descending'}"
|
||||||
>
|
>
|
||||||
|
<el-table-column
|
||||||
|
type="index"
|
||||||
|
label="序号">
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="device_id"
|
prop="device_id"
|
||||||
label="设备ID"
|
label="设备ID"
|
||||||
|
@ -35,7 +39,7 @@
|
||||||
prop="coordinate"
|
prop="coordinate"
|
||||||
label="坐标"
|
label="坐标"
|
||||||
min-width="180"
|
min-width="180"
|
||||||
:formatter="formatter">
|
:formatter="coordinate">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="calc_time"
|
prop="calc_time"
|
||||||
|
@ -76,7 +80,7 @@ export default {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
formatter(row, column) {
|
coordinate(row, column) {
|
||||||
return row.longitude + ', ' + row.latitude
|
return row.longitude + ', ' + row.latitude
|
||||||
},
|
},
|
||||||
handleCurrentChange(page) {
|
handleCurrentChange(page) {
|
||||||
|
|
Loading…
Reference in New Issue