视图列跳转到别的视图列表
【查看:940 回复:0】
|
|
admin 发表于:2017/8/17 16:05:49
楼主
|
视图列跳转到别的视图列表:参照一下脚本,只需替换//视图id (function(){ var request = $WEB.getParamsTable().getHttpRequest();//获取当前request var curr= getCurrentDocument(); var numbereds=curr.getId(); var url1="http://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath(); var view_id="11de-a1d8-03df0a0e-a188-7710f5ef0f5e"; //视图id var oldUrl = url1+ "/portal/dynaform/view/displayView.action?numbereds="+numbereds+"&_viewid="+view_id+"&clearTemp=true&application="+getApplication(); var url = "OBPM.dialog.show({opener:window.parent,title:'跳转到加班视图',url:'"+oldUrl+"',width:1000,height:500,close:function(){}})"; return "<a style=\"cursor:pointer;\" onclick=\""+url+";\"><font color='blue' >跳转到加班视图</font></a>"; return rtn; })(); |
|