优化设备列表显示效果

This commit is contained in:
648540858 2021-11-04 14:04:06 +08:00
parent 83a0db12d7
commit 8d1fdf8e99
2 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,7 @@ create table device
updateTime varchar(50) not null, updateTime varchar(50) not null,
port int not null, port int not null,
expires int not null, expires int not null,
subscribeCycleForCatalog int not null,
hostAddress varchar(50) not null, hostAddress varchar(50) not null,
charset varchar(50) not null charset varchar(50) not null
); );

View File

@ -54,6 +54,8 @@
</el-table-column> </el-table-column>
<el-table-column prop="subCount" label="子节点数"> <el-table-column prop="subCount" label="子节点数">
</el-table-column> </el-table-column>
<el-table-column prop="manufacture" label="厂家">
</el-table-column>
<el-table-column label="位置信息" align="center"> <el-table-column label="位置信息" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{scope.row.longitude}},{{scope.row.latitude}}</span> <span>{{scope.row.longitude}},{{scope.row.latitude}}</span>