10.js 21 KB

1
  1. webpackJsonp([10],{268:function(l,n,u){"use strict";function t(l){return _._19(0,[(l()(),_.Z(0,0,null,null,7,"div",[["class","item"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(2,0,null,null,1,"div",[["class","left"]],null,null,null,null,null)),(l()(),_._18(-1,null,["待还利息"])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(5,0,null,null,1,"div",[["class","right"]],null,null,null,null,null)),(l()(),_._18(6,null,["",""])),(l()(),_._18(-1,null,["\n "]))],null,function(l,n){l(n,6,0,n.component.orderDetail.repayment_interest)})}function e(l){return _._19(0,[(l()(),_.Z(0,0,null,null,7,"div",[["class","item"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(2,0,null,null,1,"div",[["class","left"]],null,null,null,null,null)),(l()(),_._18(-1,null,["已还金额"])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(5,0,null,null,1,"div",[["class","right"]],null,null,null,null,null)),(l()(),_._18(6,null,["",""])),(l()(),_._18(-1,null,["\n "]))],null,function(l,n){l(n,6,0,n.component.orderDetail.real_repayment_money)})}function r(l){return _._19(0,[(l()(),_.Z(0,0,null,null,7,"div",[["class","item"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(2,0,null,null,1,"div",[["class","left"]],null,null,null,null,null)),(l()(),_._18(-1,null,["逾期天数"])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(5,0,null,null,1,"div",[["class","right"]],null,null,null,null,null)),(l()(),_._18(6,null,["",""])),(l()(),_._18(-1,null,["\n "]))],null,function(l,n){l(n,6,0,n.component.orderDetail.overdue_days)})}function o(l){return _._19(0,[(l()(),_.Z(0,0,null,null,7,"div",[["class","item"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(2,0,null,null,1,"div",[["class","left"]],null,null,null,null,null)),(l()(),_._18(-1,null,["逾期金额"])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(5,0,null,null,1,"div",[["class","right"]],null,null,null,null,null)),(l()(),_._18(6,null,["",""])),(l()(),_._18(-1,null,["\n "]))],null,function(l,n){l(n,6,0,n.component.orderDetail.overdue_money)})}function a(l){return _._19(0,[(l()(),_.Z(0,0,null,null,39,"div",[["class","division d3"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(2,0,null,null,10,"div",[["class","top"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(4,0,null,null,7,"div",[["class","divin"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(6,0,null,null,1,"div",[["class","left"]],null,null,null,null,null)),(l()(),_._18(-1,null,["用户信息"])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(9,0,null,null,1,"div",[["class","right"],["style","display:none;"],["tabable",""]],null,[[null,"click"]],function(l,n,u){var t=!0;if("click"===n){t=!1!==l.component.changeBank()&&t}return t},null,null)),(l()(),_._18(-1,null,["更换银行卡"])),(l()(),_._18(-1,null,["\n "])),(l()(),_._18(-1,null,["\n "])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(14,0,null,null,22,"div",[["class","center"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(16,0,null,null,19,"div",[["class","divin"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(18,0,null,null,7,"div",[["class","item"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(20,0,null,null,1,"div",[["class","left"]],null,null,null,null,null)),(l()(),_._18(-1,null,["银行卡号"])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(23,0,null,null,1,"div",[["class","right"]],null,null,null,null,null)),(l()(),_._18(24,null,["",""])),(l()(),_._18(-1,null,["\n "])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(27,0,null,null,7,"div",[["class","item"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(29,0,null,null,1,"div",[["class","left"]],null,null,null,null,null)),(l()(),_._18(-1,null,["发卡银行"])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(32,0,null,null,1,"div",[["class","right"]],null,null,null,null,null)),(l()(),_._18(33,null,["",""])),(l()(),_._18(-1,null,["\n "])),(l()(),_._18(-1,null,["\n "])),(l()(),_._18(-1,null,["\n\n "])),(l()(),_._18(-1,null,["\n\n "])),(l()(),_.Z(38,0,null,null,0,"div",[["style","height:60px;"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "]))],null,function(l,n){var u=n.component;l(n,24,0,u.orderDetail.bank_number);l(n,33,0,u.orderDetail.bank_name)})}function i(l){return _._19(0,[(l()(),_.Z(0,0,null,null,12,"ion-toolbar",[["class","toolbar"]],[[2,"statusbar-padding",null]],null,null,w.b,w.a)),_.Y(1,49152,null,0,D.a,[x.a,_.j,_.z],null,null),(l()(),_._18(-1,3,["\n "])),(l()(),_.Z(3,0,null,3,3,"div",[["class","left"]],null,null,null,null,null)),(l()(),_.Z(4,0,null,null,2,"button",[["class","mybtn"],["ion-button",""]],null,[[null,"click"]],function(l,n,u){var t=!0;if("click"===n){t=!1!==l.component.backAll()&&t}return t},Y.b,Y.a)),_.Y(5,1097728,null,0,j.a,[[8,""],x.a,_.j,_.z],null,null),(l()(),_._18(-1,0,["全额还款"])),(l()(),_._18(-1,3,["\n "])),(l()(),_.Z(8,0,null,3,3,"div",[["class","right"]],null,null,null,null,null)),(l()(),_.Z(9,0,null,null,2,"button",[["class","mybtn2"],["ion-button",""]],null,[[null,"click"]],function(l,n,u){var t=!0;if("click"===n){t=!1!==l.component.delay()&&t}return t},Y.b,Y.a)),_.Y(10,1097728,null,0,j.a,[[8,""],x.a,_.j,_.z],null,null),(l()(),_._18(-1,0,["延期"])),(l()(),_._18(-1,3,["\n "]))],null,function(l,n){l(n,0,0,_._11(n,1)._sbPadding)})}function s(l){return _._19(0,[(l()(),_.Z(0,0,null,null,7,"ion-toolbar",[["class","toolbar"]],[[2,"statusbar-padding",null]],null,null,w.b,w.a)),_.Y(1,49152,null,0,D.a,[x.a,_.j,_.z],null,null),(l()(),_._18(-1,3,["\n "])),(l()(),_.Z(3,0,null,3,3,"div",[],null,null,null,null,null)),(l()(),_.Z(4,0,null,null,2,"button",[["class","mybtn"],["ion-button",""]],null,[[null,"click"]],function(l,n,u){var t=!0;if("click"===n){t=!1!==l.component.subOrder()&&t}return t},Y.b,Y.a)),_.Y(5,1097728,null,0,j.a,[[8,""],x.a,_.j,_.z],null,null),(l()(),_._18(-1,0,["确认下单"])),(l()(),_._18(-1,3,["\n "]))],null,function(l,n){l(n,0,0,_._11(n,1)._sbPadding)})}function d(l){return _._19(0,[(l()(),_._18(-1,null,["\n"])),(l()(),_.Z(1,0,null,null,37,"ion-header",[],null,null,null,null,null)),_.Y(2,16384,null,0,O.a,[x.a,_.j,_.z,[2,P.a]],null,null),(l()(),_._18(-1,null,["\n\n "])),(l()(),_.Z(4,0,null,null,33,"div",[["class","headbg"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(6,0,null,null,18,"ion-navbar",[["class","toolbar"],["hideBackButton","true"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,E.b,E.a)),_.Y(7,49152,null,0,T.a,[U.a,[2,P.a],[2,z.a],x.a,_.j,_.z],{hideBackButton:[0,"hideBackButton"]},null),(l()(),_._18(-1,3,["\n "])),(l()(),_.Z(9,0,null,0,10,"ion-buttons",[["left",""]],null,null,null,null,null)),_.Y(10,16384,null,1,A.a,[x.a,_.j,_.z,[2,D.a],[2,T.a]],null,null),_._16(603979776,1,{_buttons:1}),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(13,0,null,null,5,"button",[["icon-only",""],["ion-button",""],["tappable",""]],null,[[null,"click"]],function(l,n,u){var t=!0;if("click"===n){t=!1!==l.component.goBack()&&t}return t},Y.b,Y.a)),_.Y(14,1097728,[[1,4]],0,j.a,[[8,""],x.a,_.j,_.z],null,null),(l()(),_._18(-1,0,["\n "])),(l()(),_.Z(16,0,null,0,1,"ion-icon",[["ios","ios-arrow-back"],["md","md-arrow-back"],["role","img"]],[[2,"hide",null]],null,null,null,null)),_.Y(17,147456,null,0,N.a,[x.a,_.j,_.z],{ios:[0,"ios"],md:[1,"md"]},null),(l()(),_._18(-1,0,["\n "])),(l()(),_._18(-1,null,["\n "])),(l()(),_._18(-1,3,["\n "])),(l()(),_.Z(21,0,null,3,2,"ion-title",[],null,null,null,B.b,B.a)),_.Y(22,49152,null,0,F.a,[x.a,_.j,_.z,[2,D.a],[2,T.a]],null,null),(l()(),_._18(-1,0,["订单详情"])),(l()(),_._18(-1,3,["\n "])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(26,0,null,null,1,"div",[["class","moneydes"]],null,null,null,null,null)),(l()(),_._18(-1,null,["总金额"])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(29,0,null,null,1,"div",[["class","money"]],null,null,null,null,null)),(l()(),_._18(30,null,["",""])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(32,0,null,null,4,"div",[["class","type"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(34,0,null,null,1,"div",[["class","typebtn"]],null,null,null,null,null)),(l()(),_._18(35,null,["",""])),(l()(),_._18(-1,null,["\n "])),(l()(),_._18(-1,null,["\n "])),(l()(),_._18(-1,null,["\n\n"])),(l()(),_._18(-1,null,["\n\n\n"])),(l()(),_.Z(40,0,null,null,84,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,K.b,K.a)),_.Y(41,4374528,null,0,R.a,[x.a,M.a,q.a,_.j,_.z,U.a,J.a,_.u,[2,P.a],[2,z.a]],null,null),(l()(),_._18(-1,1,["\n "])),(l()(),_.Z(43,0,null,1,77,"div",[["class","division d3"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(45,0,null,null,2,"div",[["class","top"]],null,null,null,null,null)),(l()(),_.Z(46,0,null,null,1,"div",[["class","divin"]],null,null,null,null,null)),(l()(),_._18(-1,null,["借贷信息"])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(49,0,null,null,70,"div",[["class","center"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(51,0,null,null,67,"div",[["class","divin"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(53,0,null,null,7,"div",[["class","item"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(55,0,null,null,1,"div",[["class","left"]],null,null,null,null,null)),(l()(),_._18(-1,null,["申请时间"])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(58,0,null,null,1,"div",[["class","right"]],null,null,null,null,null)),(l()(),_._18(59,null,["",""])),(l()(),_._18(-1,null,["\n "])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(62,0,null,null,7,"div",[["class","item"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(64,0,null,null,1,"div",[["class","left"]],null,null,null,null,null)),(l()(),_._18(-1,null,["放款时间"])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(67,0,null,null,1,"div",[["class","right"]],null,null,null,null,null)),(l()(),_._18(68,null,["",""])),(l()(),_._18(-1,null,["\n "])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(71,0,null,null,7,"div",[["class","item"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(73,0,null,null,1,"div",[["class","left"]],null,null,null,null,null)),(l()(),_._18(-1,null,["借贷金额"])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(76,0,null,null,1,"div",[["class","right"]],null,null,null,null,null)),(l()(),_._18(77,null,["",""])),(l()(),_._18(-1,null,["\n "])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(80,0,null,null,7,"div",[["class","item"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(82,0,null,null,1,"div",[["class","left"]],null,null,null,null,null)),(l()(),_._18(-1,null,["借贷状态"])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(85,0,null,null,1,"div",[["class","right"]],null,null,null,null,null)),(l()(),_._18(86,null,["",""])),(l()(),_._18(-1,null,["\n "])),(l()(),_._18(-1,null,["\n "])),(l()(),_.U(16777216,null,null,1,null,t)),_.Y(90,16384,null,0,V.i,[_.I,_.F],{ngIf:[0,"ngIf"]},null),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(92,0,null,null,7,"div",[["class","item"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(94,0,null,null,1,"div",[["class","left"]],null,null,null,null,null)),(l()(),_._18(-1,null,["待还金额"])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(97,0,null,null,1,"div",[["class","right"]],null,null,null,null,null)),(l()(),_._18(98,null,["",""])),(l()(),_._18(-1,null,["\n "])),(l()(),_._18(-1,null,["\n "])),(l()(),_.U(16777216,null,null,1,null,e)),_.Y(102,16384,null,0,V.i,[_.I,_.F],{ngIf:[0,"ngIf"]},null),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(104,0,null,null,7,"div",[["class","item"]],null,null,null,null,null)),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(106,0,null,null,1,"div",[["class","left"]],null,null,null,null,null)),(l()(),_._18(-1,null,["还款时间"])),(l()(),_._18(-1,null,["\n "])),(l()(),_.Z(109,0,null,null,1,"div",[["class","right"]],null,null,null,null,null)),(l()(),_._18(110,null,["",""])),(l()(),_._18(-1,null,["\n "])),(l()(),_._18(-1,null,["\n "])),(l()(),_.U(16777216,null,null,1,null,r)),_.Y(114,16384,null,0,V.i,[_.I,_.F],{ngIf:[0,"ngIf"]},null),(l()(),_._18(-1,null,["\n "])),(l()(),_.U(16777216,null,null,1,null,o)),_.Y(117,16384,null,0,V.i,[_.I,_.F],{ngIf:[0,"ngIf"]},null),(l()(),_._18(-1,null,["\n "])),(l()(),_._18(-1,null,["\n\n "])),(l()(),_._18(-1,null,["\n "])),(l()(),_._18(-1,1,["\n "])),(l()(),_.U(16777216,null,1,1,null,a)),_.Y(123,16384,null,0,V.i,[_.I,_.F],{ngIf:[0,"ngIf"]},null),(l()(),_._18(-1,1,["\n"])),(l()(),_._18(-1,null,["\n"])),(l()(),_.Z(126,0,null,null,8,"ion-footer",[],null,null,null,null,null)),_.Y(127,16384,null,0,W.a,[x.a,_.j,_.z,[2,P.a]],null,null),(l()(),_._18(-1,null,["\n "])),(l()(),_.U(16777216,null,null,1,null,i)),_.Y(130,16384,null,0,V.i,[_.I,_.F],{ngIf:[0,"ngIf"]},null),(l()(),_._18(-1,null,["\n "])),(l()(),_.U(16777216,null,null,1,null,s)),_.Y(133,16384,null,0,V.i,[_.I,_.F],{ngIf:[0,"ngIf"]},null),(l()(),_._18(-1,null,["\n"])),(l()(),_._18(-1,null,["\n"]))],function(l,n){var u=n.component;l(n,7,0,"true");l(n,17,0,"ios-arrow-back","md-arrow-back");l(n,90,0,""!=u.orderId);l(n,102,0,""!=u.orderId);l(n,114,0,""!=u.orderId);l(n,117,0,""!=u.orderId);l(n,123,0,""!=u.orderId);l(n,130,0,"待还款"==u.orderStatus||"已逾期"==u.orderStatus);l(n,133,0,"待确认"==u.orderStatus)},function(l,n){var u=n.component;l(n,6,0,_._11(n,7)._hidden,_._11(n,7)._sbPadding);l(n,16,0,_._11(n,17)._hidden);l(n,30,0,u.orderDetail.borrow_money);l(n,35,0,u.orderStatus);l(n,40,0,_._11(n,41).statusbarPadding,_._11(n,41)._hasRefresher);l(n,59,0,u.orderDetail.apply_time);l(n,68,0,u.orderDetail.cashed_time);l(n,77,0,u.orderDetail.borrow_money);l(n,86,0,u.orderDetail.borrow_state);l(n,98,0,u.orderDetail.repayment_money);l(n,110,0,u.orderDetail.repayment_time)})}Object.defineProperty(n,"__esModule",{value:!0});var _=u(0),c=u(2),m=(u(30),u(92)),b=u(23),g=u(31),p=function(l){function n(n,u,t,e,r,o,a){var i=l.call(this)||this;return i.navCtrl=n,i.navParams=u,i.LS=t,i.C=e,i.events=r,i.toastController=o,i.alertCtrl=a,i.orderId="",i.borrow_money="",i.borrow_reason="",i.borrow_week="",i.orderDetail={apply_time:"",borrow_money:"",repayment_interest:"",payedmoney:"",repayment_time:"",bank_name:"",bank_number:""},i.orderStatus="",i.orderId=i.navParams.get("orderId"),i.borrow_money=i.navParams.get("borrow_money"),i.borrow_reason=i.navParams.get("borrow_reason"),i.borrow_week=i.navParams.get("borrow_week"),i.orderDetail.bank_name=i.navParams.get("bank_name"),i.orderDetail.bank_number=i.navParams.get("bank_number"),i}return Object(c.__extends)(n,l),n.prototype.ionViewDidLoad=function(){this.getDetail()},n.prototype.getDetail=function(){""!=this.orderId&&this.orderId?this.getOrderDetail():(this.orderStatus="待确认",this.orderDetail=JSON.parse(this.LS.getItem("NEWORDER")))},n.prototype.getOrderDetail=function(){var l=this;this.C.postApi("home/index/getconf",{method:"borrowed_detail",token:this.LS.getItem("TOKEN"),id:this.orderId}).subscribe(function(n){"SUCCESS"==n.result_code?(l.orderDetail=n,l.orderStatus=n.borrow_state):l.errorLog(l.toastController,n.result_msg)},function(n){l.C.endLoading(),l.errorLog(l.toastController,n.error.message)})},n.prototype.backAll=function(){var l=this;""!=this.orderDetail.bank_number&&this.orderDetail.bank_number?this.C.postApi("home/index/getconf",{method:"repayment_qry",token:this.LS.getItem("TOKEN"),borrowid:this.orderId,banknum:this.orderDetail.bank_number,act:"repayment"}).subscribe(function(n){"FAIL"==n.result_code?l.errorLog(l.toastController,n.result_msg):"SUCCESS"==n.result_code&&l.prompt(n)},function(n){l.C.endLoading(),l.errorLog(l.toastController,n.error.message)}):this.errorLog(this.toastController,"请选择您的还款银行卡")},n.prototype.prompt=function(l){var n=this;this.alertCtrl.create({title:"全额还款",message:"还款总金额:"+l.TrxAmt,inputs:[{name:"msgcode",placeholder:"短信"}],buttons:[{text:"取消",handler:function(l){console.log("Cancel clicked")}},{text:"确认",handler:function(u){""==u.msgcode?n.errorLog(n.toastController,"请输入收到的短信码"):n.C.postApi("home/index/getconf",{method:"repayment_confirm",token:n.LS.getItem("TOKEN"),smsCode:u.msgcode,TrxId:l.TrxId}).subscribe(function(l){"SUCCESS"==l.result_code?(n.errorLog(n.toastController,"还款成功,请等待审核"),n.showPrompt()):n.errorLog(n.toastController,l.result_msg)},function(l){n.C.endLoading(),n.errorLog(n.toastController,l.error.message)})}}]}).present()},n.prototype.promptDelay=function(l){var n=this;this.alertCtrl.create({title:"延期还款",message:"延期需支付:"+l.TrxAmt,inputs:[{name:"msgcode",placeholder:"短信"}],buttons:[{text:"取消",handler:function(l){console.log("Cancel clicked")}},{text:"确认",handler:function(u){""==u.msgcode?n.errorLog(n.toastController,"请输入收到的短信码"):n.C.postApi("home/index/getconf",{method:"repayment_confirm",token:n.LS.getItem("TOKEN"),smsCode:u.msgcode,TrxId:l.TrxId}).subscribe(function(l){"SUCCESS"==l.result_code?(n.errorLog(n.toastController,"延期成功,请等待审核"),n.navCtrl.pop()):n.errorLog(n.toastController,l.result_msg)},function(l){n.C.endLoading(),n.errorLog(n.toastController,l.error.message)}),console.log(l)}}]}).present()},n.prototype.subOrder=function(){var l=this;this.C.postApi("home/index/getconf",{method:"borrow_ensure",token:this.LS.getItem("TOKEN"),borrow_money:this.borrow_money,borrow_reason:this.borrow_reason,borrow_week:this.borrow_week}).subscribe(function(n){"SUCCESS"==n.result_code?(l.orderStatus="待审核",l.updateOrder(),"1"!=n.bank_approved?(l.errorLog(l.toastController,"下单成功,在放款前请先完成您的必要认证"),l.navCtrl.push("SearchletterPage")):(l.errorLog(l.toastController,"下单成功"),l.navCtrl.popToRoot())):l.errorLog(l.toastController,n.result_msg)},function(n){l.C.endLoading(),l.errorLog(l.toastController,n.error.message)})},n.prototype.delay=function(){var l=this;""!=this.orderDetail.bank_number&&this.orderDetail.bank_number?this.C.postApi("home/index/getconf",{method:"repayment_qry",token:this.LS.getItem("TOKEN"),borrowid:this.orderId,banknum:this.orderDetail.bank_number,act:"delay"}).subscribe(function(n){"FAIL"==n.result_code?l.errorLog(l.toastController,n.result_msg):"SUCCESS"==n.result_code&&l.promptDelay(n)},function(n){l.C.endLoading(),l.errorLog(l.toastController,n.error.message)}):this.errorLog(this.toastController,"请选择您的还款银行卡")},n.prototype.changeBank=function(){var l=this;this.events.subscribe("bank-events",function(n){l.orderDetail.bank_name=n.bank_name,l.orderDetail.bank_number=n.bank_number,l.events.unsubscribe("bank-events")}),this.navCtrl.push("MybanksPage",{from:"orderdetail"})},n.prototype.showPrompt=function(){var l=this;this.alertCtrl.create({title:"提升额度",message:"请输入您需要提升的金额",inputs:[{name:"title",placeholder:"请输入金额"}],buttons:[{text:"取消",handler:function(l){console.log("Cancel clicked")}},{text:"确认",handler:function(n){if(isNaN(parseInt(n.title)))return l.errorLog(l.toastController,"请输入数字格式"),!1;l.applyCredit(parseInt(n.title)),console.log(n)}}]}).present()},n.prototype.applyCredit=function(l){var n=this;this.C.postApi("home/index/getconf",{method:"applay_credit",token:this.LS.getItem("TOKEN"),credit:l}).subscribe(function(l){"SUCCESS"==l.result_code?(n.errorLog(n.toastController,"申请成功,请等待审核"),n.goBack()):n.errorLog(n.toastController,l.result_msg)},function(l){n.C.endLoading(),n.errorLog(n.toastController,l.error.message)})},n.prototype.updateOrder=function(){},n.prototype.goBack=function(){this.navCtrl.popToRoot()},n}(m.a),f=function(){return function(){}}(),h=u(201),v=u(202),C=u(203),Z=u(204),k=u(205),y=u(206),I=u(207),L=u(208),S=u(209),w=u(210),D=u(33),x=u(1),Y=u(32),j=u(19),O=u(45),P=u(5),E=u(134),T=u(26),U=u(6),z=u(13),A=u(91),N=u(34),B=u(135),F=u(51),K=u(63),R=u(20),M=u(4),q=u(7),J=u(22),V=u(10),W=u(144),X=u(11),G=u(55),H=u(46),Q=u(98),$=_.X({encapsulation:2,styles:[],data:{}}),ll=_.V("page-orderdetail",p,function(l){return _._19(0,[(l()(),_.Z(0,0,null,null,1,"page-orderdetail",[],null,null,null,d,$)),_.Y(1,49152,null,0,p,[z.a,X.a,b.a,g.a,G.a,H.a,Q.a],null,null)],null,null)},{},{},[]),nl=u(18),ul=u(133),tl=u(44);u.d(n,"OrderdetailPageModuleNgFactory",function(){return el});var el=_.W(f,[],function(l){return _._7([_._8(512,_.i,_.S,[[8,[h.a,v.a,C.a,Z.a,k.a,y.a,I.a,L.a,S.a,ll]],[3,_.i],_.s]),_._8(4608,V.k,V.j,[_.r,[2,V.s]]),_._8(4608,nl.k,nl.k,[]),_._8(4608,nl.c,nl.c,[]),_._8(512,V.b,V.b,[]),_._8(512,nl.j,nl.j,[]),_._8(512,nl.d,nl.d,[]),_._8(512,nl.i,nl.i,[]),_._8(512,ul.a,ul.a,[]),_._8(512,ul.b,ul.b,[]),_._8(512,f,f,[]),_._8(256,tl.a,p,[])])})}});