| | |
| | | this.$options.chart.resize(); |
| | | }, |
| | | toParentPage() { |
| | | window.parent.parent.postMessage({ |
| | | cmd: "syncPage", |
| | | params: { |
| | | pageInfo: { |
| | | label: "落后单体查询", |
| | | name: "taskplan", |
| | | src: "#/reportStatistics/taskplan", |
| | | closable: true |
| | | }, |
| | | } |
| | | }, "*"); |
| | | if (sessionStorage.getItem('newPlatform') == 1) { |
| | | window.parent.parent.postMessage({ |
| | | cmd: "syncPage", |
| | | params: { |
| | | pageInfo: { |
| | | label: "落后单体查询", |
| | | name: "taskplan", |
| | | src: "/reportStatistics/taskplan", |
| | | closable: true |
| | | }, |
| | | } |
| | | }, "*"); |
| | | } else { |
| | | window.parent.parent.postMessage({ |
| | | cmd: "syncPage", |
| | | params: { |
| | | pageInfo: { |
| | | label: "落后单体查询", |
| | | name: "taskplan", |
| | | src: "#/reportStatistics/taskplan", |
| | | closable: true |
| | | }, |
| | | } |
| | | }, "*"); |
| | | } |
| | | }, |
| | | setOption(opt) { |
| | | this.$options.chart.setOption(opt); |