Commit 73d631fe by 张杰

增加查看位置点兼容代码

1 parent 388289af
...@@ -88,6 +88,7 @@ import GlsxOrganization from "@/components/glsx-organization"; ...@@ -88,6 +88,7 @@ import GlsxOrganization from "@/components/glsx-organization";
import { GETOFFLINESEARCH, ALARM_OFFLINE_EXPORT } from "@/services/alarmCenter"; import { GETOFFLINESEARCH, ALARM_OFFLINE_EXPORT } from "@/services/alarmCenter";
import { deepClone, showToast } from "@/utils/util"; import { deepClone, showToast } from "@/utils/util";
import store from "@/store"; import store from "@/store";
import qs from 'qs'
export default { export default {
components: { components: {
GlsxOrganization, GlsxOrganization,
...@@ -282,7 +283,7 @@ export default { ...@@ -282,7 +283,7 @@ export default {
oParams.bsAddress = row.bsAlarmAddress; oParams.bsAddress = row.bsAlarmAddress;
oParams.bsTime = row.lastBsTime; oParams.bsTime = row.lastBsTime;
//let a = window.location.origin; //let a = window.location.origin;
let path = `/oEshield#/monitor/activeLocation`; let path = `/oEshield#/monitor/activeLocation?${qs.stringify(oParams)}`;
this.$root.parentCommon.setBreadCrumbs(path); this.$root.parentCommon.setBreadCrumbs(path);
window.open(path) window.open(path)
//history.pushState(oParams, "报警位置点", path); //history.pushState(oParams, "报警位置点", path);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!