|
发表于 2022-12-30 09:42:18
|
显示全部楼层
谢谢,我知道是个数组了,但还是有点问题,我用下面的脚本方式,能够将taskCompletedList.properties.title或opinion将[size=1em]properties的标题和意见都取出来,但是prevtasklist里的却不行,不管是properties.prevTaskList.startTime或是routename,请问可能是什么原因呢
var taskCompletedList = this.workContext.getTaskCompletedList();
var len=taskCompletedList.length;
for( var i=0; i<taskCompletedList.length; i++ ){
var person=taskCompletedList.properties.prevTaskList.startTime;
this.form.get("yb").setData(person);
}
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|