//去掉参数栏小三角代码
setTimeout(function() { $('.parameter-container-collapseimg-up').hide(); }, 700);
1、路径后边+&__bypagesize__=false(不分页预览);
2、 _g().parameterCommit() JS实现无需点击查询按钮即可自动查询;
3、sql函数和if函数里面写参数名的时候需要拼接进去,如下:
sql("zjgs","select PK_FATHERORG from dim_org where orgid="+$tree1+"","1","1");
${if(fine_role='录入',"and assess_person like '"+fine_username+"%'","")}
4、对话框形式的填报表,填报成功之后关闭窗口:
window.location = "http://localhost:8075/webroot/decision/view/report?viewlet=zhongjian%252Fall_listproject.cpt&op=view";
window.parent.FR.closeDialog(); //提交成功后关闭当前子窗口
window.parent.window.location.reload();//关闭子窗口后自动刷新父窗口
setTimeout(function() { window.parent._g().parameterCommit(); }, 100);
5、填报完成之后自动刷新页面:
setTimeout(function() { _g().parameterCommit(); }, 100);