public ActionResult Add(Epm_TzStartsApply model) { Result <int> result = new Result <int>(); string fileDataJson = Request.Form["fileDataJsonFile"];//获取上传文件json字符串 if (!string.IsNullOrEmpty(fileDataJson)) { model.TzAttachs = JsonConvert.DeserializeObject <List <Epm_TzAttachs> >(fileDataJson);//将文件信息json字符 } model.PlanHtml = HttpUtility.HtmlDecode(model.Plan); model.SignIdeaHtml = HttpUtility.HtmlDecode(model.SignIdea); using (ClientSiteClientProxy proxy = new ClientSiteClientProxy(ProxyEx(Request))) { result = proxy.AddTzStartsApply(model); } return(Json(result.ToResultView())); }