var cptpath="xxxxxxx.cpt"; //你的报表地址
//本页面跳转,替换本页面
//window.location=encodeURI(encodeURI("${servletURL}?viewlet="+cptpath));
//新窗口跳转
window.open(encodeURI(encodeURI("${servletURL}?viewlet="+cptpath)));
//决策平台内新标签
window.parent.FS.tabPane.addItem({
title: tabname, //新标签标题名称
src: "${servletURL}?viewlet="+path
})
只修改cptpath值,其他不要动,如果不清楚报表地址,就随便键一个超级链接,超链到需要打开的表,复制地址即可