|
表单设计如下
自建表如下
流程 文件收到后 的脚本如下
var table = new this.Table( "Item" );
var values = [];
var par = {
"workid": this.workContext.getWork().id,
"subject": this.data.subject,
"eldatetime": this.data.eldatetime,
"creatorPerson": this.workContext.getWork().creatorPerson,
"creatorUnit": this.workContext.getWork().creatorUnit,
"elinput": this.data.elinput,
"elinput_1": this.data.elinput_1,
"elinput_2": this.data.elinput_2,
"elinput_3": this.data.elinput_3,
"elinput_4": this.data.elinput_4,
"eldatetime_1": this.data.eldatetime_1,
"writingBoard": this.workContext.getWork().writingBoard,
"creatorPerson2": this.workContext.getWork().creatorPerson2,
"creatorPerson3": "qqqq",
"eldatetime_2": this.data.eldatetime_2,
"eldatetime_3": this.data.eldatetime_3,
"elinput_5": this.data.elinput_5,
"elinput_6": this.data.elinput_6,
"elinput_7": this.data.elinput_7,
"elinput_8": this.data.elinput_8,
"elinput_9": this.data.elinput_9
}
values.push(par);
table.insertRow( values);
遇到的问题:
creatorPerson的值有存进去了。
creatorPerson2的值没有存进去。
流程脚本中this.workContext.getWork().creatorPerson2,这样获取人员组织的值应该是正确的吧
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|