diff --git a/src/main/java/com/genersoft/iot/vmp/service/impl/GbStreamServiceImpl.java b/src/main/java/com/genersoft/iot/vmp/service/impl/GbStreamServiceImpl.java index a7a55281..c813b115 100644 --- a/src/main/java/com/genersoft/iot/vmp/service/impl/GbStreamServiceImpl.java +++ b/src/main/java/com/genersoft/iot/vmp/service/impl/GbStreamServiceImpl.java @@ -106,7 +106,8 @@ public class GbStreamServiceImpl implements IGbStreamService { deviceChannel.setStatus(1); deviceChannel.setParentId(catalogId ==null?gbStream.getCatalogId():catalogId); deviceChannel.setRegisterWay(1); - if (catalogId.length() <= 10) { // 父节点是行政区划,则设置CivilCode使用此行政区划 + if (catalogId.length() > 0 && catalogId.length() <= 10) { + // 父节点是行政区划,则设置CivilCode使用此行政区划 deviceChannel.setCivilCode(catalogId); }else { deviceChannel.setCivilCode(platform.getAdministrativeDivision()); diff --git a/web_src/src/components/CloudRecord.vue b/web_src/src/components/CloudRecord.vue index 1d0819b0..897e142b 100644 --- a/web_src/src/components/CloudRecord.vue +++ b/web_src/src/components/CloudRecord.vue @@ -18,19 +18,17 @@
- - + + - + - + - + diff --git a/web_src/src/components/DeviceList.vue b/web_src/src/components/DeviceList.vue index d268b8a3..c9742745 100644 --- a/web_src/src/components/DeviceList.vue +++ b/web_src/src/components/DeviceList.vue @@ -7,34 +7,33 @@ @click="getDeviceList()">
- - + - + - + - + - + - + - + - + - - - - - + + + + + - + diff --git a/web_src/src/components/ParentPlatformList.vue b/web_src/src/components/ParentPlatformList.vue index 20a3e823..3ae0b657 100644 --- a/web_src/src/components/ParentPlatformList.vue +++ b/web_src/src/components/ParentPlatformList.vue @@ -4,14 +4,15 @@
上级平台列表
添加 +
- - - - + + + + - + - + - - - - + + + + - + @@ -168,6 +169,9 @@ export default { console.log(error); }); + }, + refresh: function (){ + this.initData(); } } diff --git a/web_src/src/components/PushVideoList.vue b/web_src/src/components/PushVideoList.vue index 7b5a406b..678d13f5 100644 --- a/web_src/src/components/PushVideoList.vue +++ b/web_src/src/components/PushVideoList.vue @@ -34,52 +34,54 @@ 批量移除 + - - + - + - + - + - + - + - + - + - + @@ -284,6 +286,9 @@ export default { handleSelectionChange: function (val) { this.multipleSelection = val; }, + refresh: function () { + this.initData(); + }, } }; diff --git a/web_src/src/components/StreamProxyList.vue b/web_src/src/components/StreamProxyList.vue index d5533927..9f7ed61e 100644 --- a/web_src/src/components/StreamProxyList.vue +++ b/web_src/src/components/StreamProxyList.vue @@ -5,14 +5,15 @@
添加代理 搜索ONVIF +
- - - - - + + + + + - - + + - - + + - + - - + + - + - +