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

 找回密码
 注册成为天翎用户
12
返回列表 发新帖
楼主: 金中软件

[已解决] 关于视图操作按钮批量提交问题,急!

[复制链接]
 楼主| 金中软件 发表于 2014-4-1 14:17:29 | 显示全部楼层
  1. var selectStr = getParameter("_selects");
  2. var process = getDocumentProcess();
  3. println("--selectStr --"+selectStr);
  4. var selects = selectStr.split(";");
  5. for (var i = 0; i < selects.length; i++) {
  6.         var doc = findDocument(selects[i]);
  7. doc.findItem("indate").setValue(getToday());
  8. process.doUpate(doc);
  9. }
复制代码
punk 发表于 2014-4-1 14:46:15 | 显示全部楼层
doUpdate!!!
 楼主| 金中软件 发表于 2014-4-1 14:56:52 | 显示全部楼层
问题已解决。代码是直接复制8楼的。没检查出来。谢谢!
punk 发表于 2014-4-1 15:04:35 | 显示全部楼层
好的~谢谢楼主反馈,,该贴结贴。

本版积分规则

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

GMT+8, 2026-8-13 13:45

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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