天翎MyApps技术社区 - 低代码平台 | 流程管理系统 | BPM软件

 找回密码
 注册成为天翎用户
查看: 2547|回复: 0

[Iscript] 计算脚本生成按钮,点击跳转至指定页面示例【表单跳转到指定页面】

[复制链接]
purple 发表于 2012-6-21 12:03:43 | 显示全部楼层 |阅读模式
本帖最后由 bess 于 2013-1-6 10:12 编辑

  1. var values=getId();
  2. var application=getApplication();
  3. var parentid="11e1-b111-e3cd2bff-a19f-cb81bd7fa58c";    //parentid
  4. var resourceid="11e1-af7a-b1e1c6a8-9a76-1da54863c95b";   //resourceid

  5. var url=$WEB.getParamsTable().getContextPath() +"/portal/dynaform/document/view.action?_docid="+values+"&_formid=11e1-af7a-b1e1c6a8-9a76-1da54863c95b&signatureExist=false&isSubDoc=true&isRelate=true&_viewid=11e1-b045-27c576fd-bcaf-61f879c0fa5f&parentid="+parentid+"&relatedform="+resourceid+"&openType=1&application="+application+"";

  6. var rtn="<input type=button value="图片"  onclick="window.open('"+url+"','','height=500,width=800,scrollbars=yes,resizable=yes,status=yes')">";
  7. rtn;
复制代码

本版积分规则

QQ|手机版|天翎MyApps技术社区 ( 粤ICP备11093750号 )

GMT+8, 2026-8-12 14:30

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表