/// <summary> /// 还款 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void lbt_repay_OnClick(object sender, EventArgs e) { try { ChkAdminLevel("repay_over_time", DTEnums.ActionEnum.Add.ToString()); int repayId = Utils.StrToInt(((LinkButton)sender).CommandArgument, 0); context.OverTimeRepay(repayId, Costconfig); JscriptMsg("还款成功!", Utils.CombUrlTxt("repay_over_time.aspx", "channel_id={0}&category_id={1}&status={2}", this.ChannelId.ToString(), this.CategoryId.ToString(), this.ProjectStatus.ToString())); } catch (Exception ex) { JscriptMsg("还款失败:" + ex.Message, "back", "Error"); } }