在前端加了openwindow的代码,直接打开页面 surveyDetail.w。
if(link.hasClass("detail")) {
var process = this.getContext().getCurrentProcess();
var activity = this.getContext().getCurrentActivity();
var paperid = this.comp("mainData").getCurrentRowID();
var taskid = mainData.getValue("fTaskID");
var url ="$UI/OA/survey/process/surveySummary/surveyDetail.w?process="+ process;
justep.Portal.openWindow(url, {title: "xxx"});
}