本帖最后由 问题汇总专家 于 2021-4-12 15:52 编辑
【myApps/OBPM版本号】:v1.6
【浏览器类型】:Chrome (谷歌浏览器)
【联系方式-QQ】:1310224376
【联系电话】:18520154617
【问题描述】:在视图上通过点击 a 标签跳转到表单,路径:
(function(){
var doc=getCurrentDocument();
var docId=doc.getId();
var kxlsh = doc.getItemValueAsString("money_number");
var request = $WEB.getParamsTable().getHttpRequest();
var docUrl = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/portal/dynaform/document/newWithPermission.action?_formid=11eb-4652-66aae419-bdb6-ff63bfc53b66&appid="+getApplication()+"&docid="+docId+"&canshu=2&kxlsh="+kxlsh+" ";
return "<a href="+docUrl+" style='color: blue;'>认款</a>";
})();
上面路径是已经可以了。。。。
关键问题:
现在因为表单是跳转进来的,所以在表单建系统自带的【返回】按钮,点击会自动关闭标签页。
所以我也想要上面的路径一样跳转回视图,但关键不知道跳转回视图路径怎么写,怎么区分是自己要跳转的视图。 |