浏览代码

数据中心

wangzhe 2 年之前
父节点
当前提交
89d5bca392
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 5 3
      src/views/datacenter.vue

+ 5 - 3
src/views/datacenter.vue

@@ -352,7 +352,9 @@ export default {
             that.markersList.push(this.getMarkersMap(resourceTable, markersMap, res.data.resourceList[i]));
           }
         }
-        this.dataChat()
+        if(this.showSearch == true){
+          this.dataChat();
+        }
         that.$refs.supermap.clearM(false)
         that.$refs.supermap.setMarkers(that.markersList)
       })
@@ -398,7 +400,7 @@ export default {
           '<span>' +
           '                  <div class="d-l-con">' +
           '                  <div class="d-l-l-text">' +
-          '                  <h4>企业名称:' + (item.contacts?item.name:"") +
+          '                  <h4>企业名称:' + (item.name?item.name:"") +
           '</h4>' +
           '                </div>' +
           '                </div>' +
@@ -414,7 +416,7 @@ export default {
           '<span>' +
           '                  <div class="d-l-con">' +
           '                  <div class="d-l-l-text">' +
-          '                  <h4>联系人:' + (item.contacts?contacts_phone:"") +
+          '                  <h4>联系人:' + (item.contacts?item.contacts:"") +
           '</h4>' +
           '                </div>' +
           '                </div>' +