|
|
发表于 2024-10-18 09:49:07|来自:
|
显示全部楼层
`var attachmentList = this.workContext.getAttachmentList();
for( var j=0;j<attachmentList.length; j++ ){
var url = o2.Actions.getHost( "x_processplatform_assemble_surface")+ "/x_procesplatfor_asemble_surface/jaxrs/attachment/download/"+attachmentList[j].id
window .open(url)`
}
this.workContext.getAttachmentList() 这个方式是在表单或者流程图上才有校的,视图里无法这样获取,可以使用this.target.data获取当前列的值 |
|