diff --git a/src/views/counter/device.vue b/src/views/counter/device.vue index 6eecc4d..68b7619 100644 --- a/src/views/counter/device.vue +++ b/src/views/counter/device.vue @@ -7,35 +7,43 @@ v-loading="listLoading" :data="deviceList" style="width: 100%"> + + + + 离线 + 在线 + + prop="count" + label="计数" + min-width="120"> + prop="signal" + label="信号" + min-width="120"> + prop="energy" + label="电量" + min-width="120"> + prop="time" + label="时间" + min-width="120"> @@ -59,6 +67,13 @@ export default { this.listLoading = false }) } + // handleStatusStyle({ row, column, rowIndex, columnIndex }) { + // if (rowIndex === 1 && columnIndex === 1) { + // return 'color: #67C23A' + // } else { + // return '' + // } + // } }, created() { this.getDevices() @@ -70,5 +85,10 @@ export default { diff --git a/src/views/counter/index.vue b/src/views/counter/index.vue index 0d7259c..adfcb5a 100644 --- a/src/views/counter/index.vue +++ b/src/views/counter/index.vue @@ -1,7 +1,7 @@ - 灭蚊侠,提供健康环境,你值得拥有。 + 这里是首页 diff --git a/src/views/dashboard/admin/components/LogHistoryTable.vue b/src/views/dashboard/admin/components/LogHistoryTable.vue index 839474f..811d0f2 100644 --- a/src/views/dashboard/admin/components/LogHistoryTable.vue +++ b/src/views/dashboard/admin/components/LogHistoryTable.vue @@ -6,8 +6,7 @@ style="width: 100%"> + label="序号">
- 灭蚊侠,提供健康环境,你值得拥有。 + 这里是首页