在流程处理时,需要做自动流转功能,由业务人员选择相应的岗位(有可能是多个),选用了
orgDialogPC控件,将所选择的岗位ID存到数据库中,
Model.prototype.orgDialogPC2Receive = function(event){
var rows = event.data;
var Data = this.comp('mainData');
var fXHGWID_list = [];
var fXHGW = [];
for ( var i in rows) {
fXHGWID_list.push(rows.val('SA_OPOrg'));
fXHGW.push(rows.val('sFName'));
}
Data.setValue('fXHGWID', fXHGWID_list.join(",") );
Data.setValue('fXHGW', fXHGW.join(",") );
};
在流转执行规则表达时里,采用了
findOrgUnitsByID(list(relationValue('ZZ_CMZ',:sData1,null,null,'fXHGWID','/wzgk/wzgk/data')))的方法,不起作用,请问应该如何处理?
|