一、
success : function(data){
var caseInfoView = eval('('+data.caseInfoView+')');
for(var key in caseInfoView){
$(":input[name='consignCaseView.caseInfoView."+key+"']").val(caseInfoView[key]);
}
}
二、
var genderJson = ${genderJson};
var genderListStr = "<td><select name='personInfoView.gender' class='width277'><option>---请选择---</option>";
$.each(genderList,function(i,sysDict){
trStr += "<option value='"+sysDict.dictKey +"'";
if(sysDict.dictKey == data.gender){
trStr += " selected='selected'";
}
trStr += ">"+sysDict.dictValue1+"</option>";
});
trStr += "</select></td>";