diff --git a/public/assets/站点统计.jpg b/public/assets/站点统计.jpg
deleted file mode 100644
index 53c6246..0000000
Binary files a/public/assets/站点统计.jpg and /dev/null differ
diff --git a/public/assets/站点统计.png b/public/assets/站点统计.png
new file mode 100644
index 0000000..f40d6d9
Binary files /dev/null and b/public/assets/站点统计.png differ
diff --git a/src/models/map/index.js b/src/models/map/index.js
index 5f2eb56..03a8d15 100644
--- a/src/models/map/index.js
+++ b/src/models/map/index.js
@@ -174,6 +174,7 @@ const map = {
Object.keys(DCPJ_TYPES).forEach(key => {
layerVisible['Dcpj_' + key + 'Layer'] = false;
});
+ dispatch.runtime.setHome();
}
else if (id === 0) {
layerVisible = {
@@ -233,6 +234,7 @@ const map = {
Object.keys(DCPJ_TYPES).forEach(key => {
layerVisible['Dcpj_' + key + 'Layer'] = !SLGC_TYPES[key];
});
+ dispatch.runtime.setHome();
} else if (id === 4) {
layerVisible = {
RealDrpLayer: false,
@@ -245,6 +247,7 @@ const map = {
Object.keys(DCPJ_TYPES).forEach(key => {
layerVisible['Dcpj_' + key + 'Layer'] = false;
});
+ dispatch.runtime.setHome();
} else if (id === 5) {
layerVisible = {
RealDrpLayer: false,
@@ -259,6 +262,7 @@ const map = {
Object.keys(DCPJ_TYPES).forEach(key => {
layerVisible['Dcpj_' + key + 'Layer'] = false;
});
+ dispatch.runtime.setHome();
} else if (id === 6) {
layerVisible = {
RealDrpLayer: false,
@@ -278,6 +282,7 @@ const map = {
Object.keys(DCPJ_TYPES).forEach(key => {
layerVisible['Dcpj_' + key + 'Layer'] = false;
});
+ dispatch.runtime.setHome();
} else if (id === 7) {
layerVisible = {
RealDrpLayer: false,
@@ -596,15 +601,15 @@ const map = {
map.setLayoutProperty('灌区图', 'visibility', 'none');
}
}
- if(id === 5){
- if(map){
- map.setLayoutProperty('网格雨量', 'visibility', 'visible');
- }
- }else{
- if(map){
- map.setLayoutProperty('网格雨量', 'visibility', 'none');
- }
- }
+ // if(id === 5){
+ // if(map){
+ // map.setLayoutProperty('网格雨量', 'visibility', 'visible');
+ // }
+ // }else{
+ // if(map){
+ // map.setLayoutProperty('网格雨量', 'visibility', 'none');
+ // }
+ // }
if (id != 504) {
diff --git a/src/views/Home/panels/JbqkRight/page3.js b/src/views/Home/panels/JbqkRight/page3.js
index ac405ba..5d32ed3 100644
--- a/src/views/Home/panels/JbqkRight/page3.js
+++ b/src/views/Home/panels/JbqkRight/page3.js
@@ -118,8 +118,8 @@ function Page({jbqkKey}) {
{
+
{
// setSkLayer1()
}}/>