名称 | " +
d.graphic._graphicsLayer._singles[0].attributes
@@ -1140,19 +1140,25 @@
message(response);
}
})
- .catch(response => {
+ .catch((response) => {
message(response);
});
});
}
)
- .catch(err => {
+ .catch((err) => {
// handle any script or module loading errors
// console.error(err);
});
- }
+ },
+ // 给与gis的方法调动dome
+ REFSFunctionToGis() {
+ console.log(
+ "在index调用到了previewOfSiteStatus中的REFSFunctionToGis方法"
+ );
+ },
},
- mounted: function() {
+ mounted: function () {
// 根据平台渲染站点数量统计及状态统计
this.loadSiteNumForOroject();
// 根据平台渲染项目设备总览
@@ -1171,16 +1177,16 @@
// 默认加载项目站点覆盖排名
this.loadQuyuPaiMing();
- this.$nextTick(function() {
+ this.$nextTick(function () {
this.timer = setInterval(this.ScrollUp, 100);
});
-
+
// 默认从本地session srotage里面读取历史搜索记录ZZJ
this.getItem();
},
- destroyed: function() {
+ destroyed: function () {
clearInterval(this.timer);
- }
+ },
};
|