Browse Source

优化设备列表显示效果

pull/212/head
648540858 3 years ago
parent
commit
810dceea88
  1. 1
      sql/mysql.sql
  2. 2
      web_src/src/components/channelList.vue

1
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
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>

Loading…
Cancel
Save