|
触发页面设置参数:
justep.Portal.openWindow("$UI/JSPTPDERP/officeSupplies/process/accountUnit/mainActivity.a", {
activity: "mainActivity",
title : "核算单元管理",
unitCode : row.val("unitCode"),
name : row.val("name"),
belongDept : row.val("belongDept"),
deptID : row.val("deptID"),
chief : row.val("chief"),
chiefID : row.val("chiefID"),
isCenter : row.val("isCenter"),
isSDU : row.val("isSDU")
});
目标页面获取页面:
mainData.setValue("operationType","变更");
mainData.setValue("unitCode", this.getContext().getRequestParameter("unitCode"));
mainData.setValue("name", this.getContext().getRequestParameter("name"));
mainData.setValue("belongDept", this.getContext().getRequestParameter("belongDept"));
mainData.setValue("deptID", this.getContext().getRequestParameter("deptID"));
mainData.setValue("chief", this.getContext().getRequestParameter("chief"));
mainData.setValue("chiefID", this.getContext().getRequestParameter("chiefID"));
mainData.setValue("isCenter", this.getContext().getRequestParameter("isCenter"));
mainData.setValue("isSDU", this.getContext().getRequestParameter("isSDU"));
数据到了目标页面set进去就成乱码 如下图
在本地运行正常,放到测试服务器上就乱码了。
|
|