void setRow3(LoanDetailedInfoData info) { custNo3 = info.data1; data1lbl3.Text = info.data1; data3lbl3.Text = info.data3; data4lbl3.Text = info.data4; panel3.Visibility = Visibility.Visible; }
//行一 void setRow1(LoanDetailedInfoData info) { custNo1 = info.data1; data1lbl1.Text = info.data1; data3lbl1.Text = info.data3; data4lbl1.Text = info.data4; panel1.Visibility = Visibility.Visible; }
void setRow2(LoanDetailedInfoData info) { custNo2 = info.data1; data1lbl2.Text = info.data1; data3lbl2.Text = info.data3; data4lbl2.Text = info.data4; panel2.Visibility = Visibility.Visible; }
void setText(LoanDetailedInfoData info) { clearText(); data1.Text = info.data1; data2.Text = info.data2; data3.Text = info.data3; data4.Text = info.data4; data5.Text = info.data5; data6.Text = info.data6; data7.Text = info.data7; data8.Text = info.data8; }
/// <summary> /// 个人公积金贷款还款明细 /// </summary> /// <param name="param"></param> /// <returns></returns> public static LoanDetailedInfo QueryLoanDetailedInfo(CustomerParam param) { LoanDetailedInfo info = new LoanDetailedInfo(); try { Dictionary <String, String> parameters = new Dictionary <String, String>(); parameters.Add("selcnt", param.selcnt); parameters.Add("seltype", param.seltype); parameters.Add("pwd", param.pwd); parameters.Add("appId", param.Id); parameters.Add("conName", param.conName); string jsonText = HttpHelper.getHttp(SysConfigHelper.readerNode("accumulationFund"), parameters, null); JObject json = (JObject)JsonConvert.DeserializeObject(jsonText); if (json == null) { return(null); } if (json["msg"] != null) { if (json["msg"].ToString().Length >= 4) { info.msg = json["msg"].ToString(); } else { info.msg = "查询失败..."; } } if (jsonText.IndexOf("密码错误") > 0) { info.recode = "9999"; info.msg = "密码错误"; } if (jsonText.IndexOf("个人信息不存在") > 0) { info.recode = "9999"; info.msg = "个人信息不存在"; } if (jsonText.IndexOf("身份证号不正确") > 0) { info.recode = "9999"; info.msg = "身份证号不正确"; } if (jsonText.IndexOf("未查到相关信息,请核对查询信息") > 0) { info.recode = "9999"; info.msg = "未查到相关信息,请核对查询信息"; } if (jsonText.IndexOf("社保卡号密码错误") > 0) { info.recode = "9999"; info.msg = "社保卡号密码错误,请检查"; } if (jsonText.IndexOf("查询信息不存在") > 0) { info.recode = "9999"; info.msg = "查询信息不存在"; } LoanDetailedInfoData list = null; if (json["data"].Count() >= 1) { info.data = new List <LoanDetailedInfoData>(); JObject data = (JObject)JsonConvert.DeserializeObject(json["data"].ToString()); for (int i = 1; i <= data.Count; i++) { list = new LoanDetailedInfoData(); list.data1 = data["data" + i]["data1"].ToString(); list.data2 = data["data" + i]["data2"].ToString(); list.data3 = data["data" + i]["data3"].ToString(); list.data4 = data["data" + i]["data4"].ToString(); list.data5 = data["data" + i]["data5"].ToString(); list.data6 = data["data" + i]["data6"].ToString(); list.data7 = data["data" + i]["data7"].ToString(); list.data8 = data["data" + i]["data8"].ToString(); info.data.Add(list); } } info.dateTime = json["dateTime"].ToString(); info.success = json["success"].ToString(); info.u = json["u"].ToString(); } catch { } return(info); }