# 调整坐标宽带
This commit is contained in:
parent
1bb45287ab
commit
3e04a825a2
|
@ -1,8 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<p class="warn-content">
|
<el-tabs v-model="activeName2" @tab-click="handleTabClick">
|
||||||
设备日志详情。
|
<el-tab-pane label="用户管理" name="first">用户管理</el-tab-pane>
|
||||||
</p>
|
<el-tab-pane label="配置管理" name="second">配置管理</el-tab-pane>
|
||||||
|
</el-tabs>
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoading"
|
v-loading="listLoading"
|
||||||
:data="deviceLogs"
|
:data="deviceLogs"
|
||||||
|
@ -32,9 +33,9 @@
|
||||||
min-width="80">
|
min-width="80">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="time"
|
prop="coordinate"
|
||||||
label="坐标"
|
label="坐标"
|
||||||
min-width="120"
|
min-width="270"
|
||||||
:formatter="coordinate">
|
:formatter="coordinate">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
@ -62,7 +63,8 @@ export default {
|
||||||
return {
|
return {
|
||||||
listLoading: true,
|
listLoading: true,
|
||||||
deviceLogs: [],
|
deviceLogs: [],
|
||||||
total: 0
|
total: 0,
|
||||||
|
activeName2: 'first'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -85,6 +87,9 @@ export default {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
const device_id = this.$store.getters.deviceID
|
const device_id = this.$store.getters.deviceID
|
||||||
this.getDeviceLogs({ device_id, page })
|
this.getDeviceLogs({ device_id, page })
|
||||||
|
},
|
||||||
|
handleTabClick(tab, event) {
|
||||||
|
console.log(tab, event)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
Loading…
Reference in New Issue