Commit 810dceea88aea5b3866819a7f57ec192d8b16ee0

Authored by 648540858
1 parent 7c6470fb

优化设备列表显示效果

sql/mysql.sql
@@ -23,6 +23,7 @@ create table device @@ -23,6 +23,7 @@ create table device
23 updateTime varchar(50) not null, 23 updateTime varchar(50) not null,
24 port int not null, 24 port int not null,
25 expires int not null, 25 expires int not null,
  26 + subscribeCycleForCatalog int not null,
26 hostAddress varchar(50) not null, 27 hostAddress varchar(50) not null,
27 charset varchar(50) not null 28 charset varchar(50) not null
28 ); 29 );
web_src/src/components/channelList.vue
@@ -54,6 +54,8 @@ @@ -54,6 +54,8 @@
54 </el-table-column> 54 </el-table-column>
55 <el-table-column prop="subCount" label="子节点数"> 55 <el-table-column prop="subCount" label="子节点数">
56 </el-table-column> 56 </el-table-column>
  57 + <el-table-column prop="manufacture" label="厂家">
  58 + </el-table-column>
57 <el-table-column label="位置信息" align="center"> 59 <el-table-column label="位置信息" align="center">
58 <template slot-scope="scope"> 60 <template slot-scope="scope">
59 <span>{{scope.row.longitude}},{{scope.row.latitude}}</span> 61 <span>{{scope.row.longitude}},{{scope.row.latitude}}</span>