| | |
| | | |
| | | ViewData["ActionInfo"] = actionlist; |
| | | |
| | | ViewBag.kechengleixing = _liaotianService.GetSYScode("order_banci_order", "kechengleixing_id").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | | ViewBag.kechengleixing = _liaotianService.GetSYScode("order_banci_order", "kechengleixing_id").Where(x=>x.CodeSn=="3").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | | |
| | | |
| | | ViewBag.Baomingtimebegin = DateTime.Now.AddYears(-1).ToString("yyyy-MM-dd"); |
| | | ViewBag.Baomingtimeend = DateTime.Now.ToString("yyyy-MM-dd"); |
| | | |
| | | return View(); |
| | | |
| | |
| | | return new JsonResult(_orderBanciOrderService.SearchByPaging(search)); |
| | | } |
| | | |
| | | [CheckLogin] |
| | | public IActionResult Indexzhuanjia() |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | List<ActionEntity> actionlist = new List<ActionEntity>(); |
| | | ActionEntity actionEntity = new ActionEntity(); |
| | | actionEntity.OpenType = 0; |
| | | actionEntity.ActionUrl = ""; |
| | | actionEntity.ActionFun = "Search"; |
| | | actionEntity.PageIco = "fa fa-search"; |
| | | actionEntity.ActionName = "查询"; |
| | | actionlist.Add(actionEntity); |
| | | //ActionEntity actionEntity1 = new ActionEntity(); |
| | | //actionEntity1.OpenType = 0; |
| | | //actionEntity1.ActionUrl = ""; |
| | | //actionEntity1.ActionFun = "Add"; |
| | | //actionEntity1.PageIco = "fa fa-plus"; |
| | | //actionEntity1.ActionName = "新增"; |
| | | //actionlist.Add(actionEntity1); |
| | | ActionEntity actionEntity3 = new ActionEntity(); |
| | | actionEntity3.OpenType = 0; |
| | | actionEntity3.ActionUrl = ""; |
| | | actionEntity3.ActionFun = "Print"; |
| | | actionEntity3.PageIco = "fa fa-print"; |
| | | actionEntity3.ActionName = "打印"; |
| | | actionlist.Add(actionEntity3); |
| | | |
| | | |
| | | ActionEntity actionEntity4 = new ActionEntity(); |
| | | actionEntity4.OpenType = 0; |
| | | actionEntity4.ActionUrl = ""; |
| | | actionEntity4.ActionFun = "Duanxin"; |
| | | actionEntity4.PageIco = ""; |
| | | actionEntity4.ActionName = "发送短信"; |
| | | actionlist.Add(actionEntity4); |
| | | |
| | | ViewData["ActionInfo"] = actionlist; |
| | | |
| | | ViewBag.kechengleixing = _liaotianService.GetSYScode("order_banci_order", "kechengleixing_id").Where(x => x.CodeSn != "3").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | | |
| | | ViewBag.Baomingtimebegin = DateTime.Now.AddYears(-1).ToString("yyyy-MM-dd"); |
| | | ViewBag.Baomingtimeend = DateTime.Now.ToString("yyyy-MM-dd"); |
| | | |
| | | return View(); |
| | | |
| | | } |
| | | |
| | | [CheckLogin] |
| | | public IActionResult print(OrderBanciOrderDTOSearch search) |
| | |
| | | resultEntity.Message = "无联系人"; |
| | | } |
| | | |
| | | string sss = SMSHelper.PushWToUserMES(number.ToString(), "您好," + neirong + " 详情见:http://51zhengcai.com/"); |
| | | string sss = SMSHelper.PushWToUserMES(number.ToString(), neirong ); |
| | | if (int.Parse(sss) <= 0) |
| | | { |
| | | resultEntity.Result = false; |