whyczyk
2022-03-01 f868ff46ef4fb25a01364f3c5d0fe220d32b7ad0
src/components/charts/AcInputWarp.vue
@@ -72,6 +72,19 @@
      },
      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: {
@@ -84,6 +97,7 @@
               }
            }, "*");
         }
         }
      },
      clickItem(name) {
         checkboxs.jlsr.map(item => {