var reprot8 = this.options.form.getWidgetByName("report8"); var reprot2 = this.options.form.getWidgetByName("report2"); var reprot2_c = this.options.form.getWidgetByName("report2_c"); var reprot2_c_c = this.options.form.getWidgetByName("report2_c_c"); var chart0 = FR.Chart.WebUtils.getChart("chart0"); var chart1 = FR.Chart.WebUtils.getChart("chart1"); var chart0_c = FR.Chart.WebUtils.getChart("chart0_c"); setInterval(() => { //每一分钟调用一次reprot8.gotoPage(1, "{}", true); sleep(30000).then(() => { //延迟30秒report2.gotoPage(1, "{}", true); report2_c.gotoPage(1, "{}", true); report2_c_c.gotoPage(1, "{}", true); chart0.dataRefresh(); chart1.dataRefresh(); chart0_c.dataRefresh();
}) }, 60000);