diff --git a/web_src/src/components/common/GroupTree.vue b/web_src/src/components/common/GroupTree.vue index aded3316..9e099355 100755 --- a/web_src/src/components/common/GroupTree.vue +++ b/web_src/src/components/common/GroupTree.vue @@ -14,6 +14,7 @@
+ { if (res.data.code === 0) { + if (res.data.data.length > 0) { + this.showAlert = false + } resolve(res.data.data); } diff --git a/web_src/src/components/common/RegionTree.vue b/web_src/src/components/common/RegionTree.vue index 6dd38fb3..f45bc8ba 100755 --- a/web_src/src/components/common/RegionTree.vue +++ b/web_src/src/components/common/RegionTree.vue @@ -12,7 +12,8 @@
-
+
+ { if (res.data.code === 0) { + if (res.data.data.length > 0) { + this.showAlert = false + } resolve(res.data.data); } diff --git a/web_src/src/components/dialog/GbChannelSelect.vue b/web_src/src/components/dialog/GbChannelSelect.vue index 62a09066..258e313e 100644 --- a/web_src/src/components/dialog/GbChannelSelect.vue +++ b/web_src/src/components/dialog/GbChannelSelect.vue @@ -64,16 +64,22 @@ - - +
+
+ 未找到通道,可在国标设备/通道中选择编辑按钮, 选择{{dataType === 'civilCode'?'行政区划':'父节点编码'}} +
+ + +
+
diff --git a/web_src/src/components/dialog/groupEdit.vue b/web_src/src/components/dialog/groupEdit.vue index 72795cb4..1c77bc84 100755 --- a/web_src/src/components/dialog/groupEdit.vue +++ b/web_src/src/components/dialog/groupEdit.vue @@ -22,7 +22,7 @@ - 生成 + 选择 @@ -37,17 +37,17 @@
- +