-
Shirley 小试身手Lv3
发表于2022-10-22 16:06
楼主
点击表元-钻取设置>万能式复制代码下过如下图
- var rootWnd = EUI.getRootWindow();
- var pid = '<#=GRID1.B2#>';//获取表元值
- var ny = '<#=@ny#>';//获取参数值
- var height = window.screen.height*0.7;
- var width = window.screen.width*0.7;
- var noticeDlg;
- if(!noticeDlg){
- require(["eui/modules/edialog"], function(edialog){
- var EDialog = edialog.EDialog;
- if(!noticeDlg){
- noticeDlg = new edialog.EDialog({
- wnd: rootWnd,
- caption: pid+' * 近一年趋势变化情况',
- width: width ,
- height: height
- });
- rootWnd['_noticeDlg'+pid ] = noticeDlg;
- }
- noticeDlg.setOnClose(function(){
- this.dispose();
- });
- //设置报表地址
- var url = EUI.getContextPath()+'ebibase/showreport.do?resid=EANA$2$2$1$3e0e4c51aff742ab9ad5c7059ed47a2c$fc6b4416dbdc44eea3157bcfc5aae69d&calcnow=true&showmenu=false&@ny='+ny+'&@xm='+pid;
- noticeDlg.setContentIFrameUrl(url,function(){});
- noticeDlg.open(true);
- });
- }