var form = this.options.form; setInterval(function() { //通过js代码刷新报表块数据 form.getWidgetByName('report0').gotoPage(1,"{}",true); }, 1000); 我这里是10的版本,然后有新自适应查询,想加个点击刷新固定的几个报表块,如何改这个JS呢 this.options.form.getWidgetByName('report1').gotoPage(1, "{}", true); this.options.form.getWidgetByName('report23_c').gotoPage(1, "{}", true); this.options.form.getWidgetByName('report23').gotoPage(1, "{}", true); 用了这个JS,点击,这个没有刷新啊,从5分钟开始啊 |