Sql: SELECT s.normal_user_num, s.store_user_num, s.agent_user_num, s.director_user_num, s.count_start_time FROM s_count_user_info s where 1=1 ${IF(text0='日',' and DATE_SUB( "2021-02-19", INTERVAL 37 DAY ) <=date( s.count_start_time ) GROUP BY s.count_start_time ORDER BY s.count_start_time desc;',)} 点击: 点击js: //设置参数 var K1 = '日'; //获取控件(text0) var state=this.options.form.getWidgetByName("text0"); //给控件(text0)赋值 state.setValue(K1); //FR.Chart.WebUtils.getChart("chart0").dataRefresh(); _g().parameterCommit(); 然后就是不刷新数据 不知道怎么回事。。。 |