方法1:利用window.history.go(-1);实现回退;
方法2:利用cognos提供的函数,具体内部逻辑暂不清楚
添加HTML,在HTML中添加如下内容:
<script type="text/javascript">
function executeReturnLink()
{
y=getFormWarpRequest().elements["cv.id"];
// if the report is running from reportStudio or the Portal objects are different
if(y.value == "RS")
oCVRS.rvMainWnd.executePreviousReport(-1);
else
oCV_NS_.rvMainWnd.executePreviousReport(-1);
}
</script>
<A HREF="#" onClick="executeReturnLink()">返回</A>
如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!
赞0
添加新评论0 条评论