提交方式:
var data=decodeURIComponent($("#
ghsthclForm").serialize(),true);
$.ajax({
type: "POST",
url:Common.basePath()+"/ghsthclController.do?onSaveOrUpdateGhsthcl",
data:JSON.stringify({deleteId:'',data:formToJson(data)}),
contentType:"application/json",
dataType:"json",
success:function(data){
layer.alert(data.msg);
TabUtils.closeActiveTabAndActiveParentTab(true);
}
});
//接收方式
@RequestMapping(params="vailTFoodGhsthclBeforeSave")
@ResponseBody
public JsonMsgModel vailTFoodGhsthclBeforeSave(@RequestBody Map<String, String> queryMap){
}