|
@@ -14,6 +14,7 @@ import {
|
|
import {analogData, districtArr, getGroupLayers, getLayerInfo} from '@/utils/mapService/local-data.js';
|
|
import {analogData, districtArr, getGroupLayers, getLayerInfo} from '@/utils/mapService/local-data.js';
|
|
import { useRoute } from 'vue-router';
|
|
import { useRoute } from 'vue-router';
|
|
import {useEventInteractionStore} from "@/store/eventInteraction.js";
|
|
import {useEventInteractionStore} from "@/store/eventInteraction.js";
|
|
|
|
+import {useCommonStore} from "@/store/common.js";
|
|
|
|
|
|
export function initDistrict() {
|
|
export function initDistrict() {
|
|
ClearMap();
|
|
ClearMap();
|
|
@@ -561,7 +562,8 @@ export const handleDangerStatistic = (isAll, bol) => {
|
|
export function initShanghaiMap() {
|
|
export function initShanghaiMap() {
|
|
initDistrict()
|
|
initDistrict()
|
|
addPointSearch();
|
|
addPointSearch();
|
|
- handleDangerStatistic(false, true)
|
|
|
|
|
|
+ // handleDangerStatistic(false, true)
|
|
|
|
+ handleJtlxPoints(true)
|
|
}
|
|
}
|
|
|
|
|
|
export function viewComplete() {
|
|
export function viewComplete() {
|
|
@@ -766,10 +768,16 @@ export function handleChinaCasePoint(bol) {
|
|
|
|
|
|
//病例功能
|
|
//病例功能
|
|
export function handleCase(bol) {
|
|
export function handleCase(bol) {
|
|
|
|
+
|
|
handleCasePoint(bol)
|
|
handleCasePoint(bol)
|
|
handleCaseRelPoints(bol)
|
|
handleCaseRelPoints(bol)
|
|
if(!bol){
|
|
if(!bol){
|
|
- handleJtlxPoints(bol)
|
|
|
|
|
|
+
|
|
|
|
+ //判断是否回到了首屏
|
|
|
|
+ const commonStore = useCommonStore();
|
|
|
|
+ if(commonStore.activeIndex !== 0){
|
|
|
|
+ handleJtlxPoints(bol)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|