src/components/charts/prossPieChart.vue
@@ -32,6 +32,19 @@ methods: { toParentPage(value) { if (typeof (value) == 'string') { if (sessionStorage.getItem('newPlatform') == 1) { window.parent.parent.postMessage({ cmd: "syncPage", params: { pageInfo: { label: "电源实时告警", name: "powerRealtimeInfo", src: '/alarmMager/powerRealtimeInfo/?alarmType=' + value, closable: true }, } }, "*"); } else { window.parent.parent.postMessage({ cmd: "syncPage", params: { @@ -44,6 +57,7 @@ } }, "*"); } } }, setOption(opt) { this.$options.chart.setOption(opt);