Exemplo n.º 1
0
 //绑定身份下拉
 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));
 }
Exemplo n.º 2
0
 //绑定用途下拉
 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));
 }
Exemplo n.º 3
0
 //贷款类型
 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()));
 }
Exemplo n.º 4
0
 //显示类型详细信息、登记
 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()));
 }