//绑定身份下拉 public JsonResult ListTable() { ServiceReference2.GetClient TClient = new ServiceReference2.GetClient(); ServiceReference2.YCIdentityTableData n = new ServiceReference2.YCIdentityTableData(); ServiceReference2.YCIdentityTableData[] result = TClient.DoWorkTable(n); return(Json(result, JsonRequestBehavior.AllowGet)); }
//绑定用途下拉 public JsonResult ListGoal() { ServiceReference2.GetClient TClient = new ServiceReference2.GetClient(); ServiceReference2.YCloansGoalData n = new ServiceReference2.YCloansGoalData(); ServiceReference2.YCloansGoalData[] result = TClient.DoWorkGoal(n); return(Json(result, JsonRequestBehavior.AllowGet)); }
//贷款类型 public ActionResult Index() { ServiceReference2.GetClient TClient = new ServiceReference2.GetClient(); ServiceReference2.YCLoanTypeData n = new ServiceReference2.YCLoanTypeData(); ServiceReference2.YCLoanTypeData[] result = TClient.DoWorkType(n); return(View(result.ToList())); }
//显示类型详细信息、登记 public ActionResult Detail(int id) { ServiceReference2.GetClient TClient = new ServiceReference2.GetClient(); ServiceReference2.YCLoanTypeData n = new ServiceReference2.YCLoanTypeData(); Session["key"] = n.LT_Id = id; ServiceReference2.YCLoanTypeData[] result = TClient.DoWorkType(n); return(View(result.ToList())); }