|
在服务的定义了一个Action,参数类型是List。
前端是Grid组件,多选行,用 var listRows = this.comp("gridEncDef").getCheckedRows();
param.setList('encDefList',this.listRows);
var process = this.getContext().getCurrentProcess();
var activity = this.getContext().getCurrentActivity();
options.contentType = 'application/json';
options.process = process;
options.activity = activity;
options.parameters = param;
options.action = "cAndsEncSlotAction";
options.callback = function(data){
if(data.state){
//成功
}else{
//失败
request.errorMessage(data, "执行失败!", null, null);
}
};
request.sendBizRequest(options);
执行到最后一行代码时没有反应了,请问什么原因?
|
|