Ver Fonte

优化设备列表显示效果

648540858 há 4 anos atrás
pai
commit
810dceea88
2 ficheiros alterados com 3 adições e 0 exclusões
  1. 1 0
      sql/mysql.sql
  2. 2 0
      web_src/src/components/channelList.vue

+ 1 - 0
sql/mysql.sql

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

+ 2 - 0
web_src/src/components/channelList.vue

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