摘要: 1 public ActionResult Index(ReserveInfoRequest request) 2 { 3 4 List MineList= this.AccountService.GetPermMineList(this.CookieContext.UserId); 5 6 ... 阅读全文
posted @ 2016-08-22 20:44 ceccf 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 1 1 2 *地灾点地址: 3 4 @Html.DropDownList("MineDisasterInfId", ViewBag.AllAddress as SelectList, new { @class = "m-wrap medium" }) 5 ... 阅读全文
posted @ 2016-08-22 11:30 ceccf 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 1 public ActionResult Index(YearCheckInfoRequest request) 2 { 3 //int a = -1; 4 // if (request.DisasterScale == a.ToString()) { request.DisasterScale = null; }; ... 阅读全文
posted @ 2016-08-22 10:09 ceccf 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 1 public ActionResult Edit(int id, FormCollection collection) 2 { 3 var model = this.YearCheckService.GetYearCheck(id); 4 5 this.TryUpdateModel(mo... 阅读全文
posted @ 2016-08-22 10:05 ceccf 阅读(878) 评论(0) 推荐(0) 编辑
摘要: 1 public ActionResult Create() 2 { 3 var model = new DisasterInf(); 4 5 model.ID = 0; 6 7 var DisasterTypeList = EnumHelper.GetItemValu... 阅读全文
posted @ 2016-08-22 09:51 ceccf 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 1 public static string MrsGetMineDisasterAddress() 2 { 3 database db = GetMrsDB(); 4 string sql = @"SELECT Id,DisasterAddress FROM MineDisasterInf"; 5 ... 阅读全文
posted @ 2016-08-22 09:31 ceccf 阅读(281) 评论(0) 推荐(0) 编辑