求问怎么把查询时,data通过ajax传到后台,@Param("..")Object dto,@Param("data")Object dto
都试过了 不行,求不到值
function updateSum(juWei,name,cetfId,subsidyType,disableType,disableGrade) {
//这个一个一个参数拼 真恶心,可是对象入参进不去
$.ajax({
url : "${ctx}/fundsIssueAt/listSumNum?id="+id+"&juWei="+juWei+"&name="+name+"&cetfId="+cetfId+"&disableGrade="+disableGrade+"&subsidyType="+subsidyType+"&disableType="+disableType,
success:function (text) {
if ("success" == text){
$("#personSum").text("1111111");
}
},
error:function () {
}
});
}
public Object listSumNum(@Param("id")String id,@Param("juWei")String juWei,@Param("name")String name,@Param("cetfId")String cetfId,
@Param("subsidyType")String subsidyType,@Param("disableType")String disableType,@Param("disableGrade")String disableGrade)
//查询
function search(){
var form = new mini.Form("#formDTO");
var data = form.getData(); //获取表单多个控件的数据
grid.load(data);
mini.alert(data.juWei);
updateSum(data.juWei,data.name,data.cetfId,data.subsidyType,data.disableType,data.disableGrade);
}