WithdrawalApplication.46000b4b.js 31 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["WithdrawalApplication"],{"3aaa":function(e,t,a){"use strict";var r=a("843b"),n=a.n(r);n.a},7079:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.pictLoading,expression:"pictLoading"}],staticClass:"view",attrs:{id:"financial_WithdrawalApplication","element-loading-background":"rgba(43, 48, 67, 0.65)","element-loading-spinner":"el-icon-loading"}},[a("div",{staticClass:"crm_search"},[a("el-form",{ref:"form",attrs:{"label-position":"",model:e.search,"label-width":""}},[a("el-row",[a("el-col",{attrs:{span:24,md:24,lg:24}},[a("el-form-item",{staticStyle:{"margin-right":"10px"}},[a("el-select",{staticClass:"crm_search_down_special crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.search.status,callback:function(t){e.$set(e.search,"status",t)},expression:"search.status"}},[a("el-option",{attrs:{label:e.$t("State.All"),value:null},nativeOn:{click:function(t){return e.toSearch(t)}}}),a("el-option",{attrs:{label:e.$t("State.ToBeProcessed"),value:0},nativeOn:{click:function(t){return e.toSearch(t)}}}),a("el-option",{attrs:{label:e.$t("State.InTheProcessing"),value:1},nativeOn:{click:function(t){return e.toSearch(t)}}}),a("el-option",{attrs:{label:e.$t("State.Pass"),value:2},nativeOn:{click:function(t){return e.toSearch(t)}}}),a("el-option",{attrs:{label:e.$t("State.Refused"),value:3},nativeOn:{click:function(t){return e.toSearch(t)}}})],1)],1),a("el-form-item",[a("el-select",{staticClass:"crm_search_down crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.search.tag,callback:function(t){e.$set(e.search,"tag",t)},expression:"search.tag"}},[a("el-option",{attrs:{label:"CID",value:1}}),a("el-option",{attrs:{label:e.$t("Label.TradingAccount"),value:2}})],1)],1),a("el-form-item",{staticStyle:{"margin-right":"10px"}},[1==e.search.tag?a("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch(t)}},model:{value:e.search.cId,callback:function(t){e.$set(e.search,"cId","string"===typeof t?t.trim():t)},expression:"search.cId"}}):e._e(),2==e.search.tag?a("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch(t)}},model:{value:e.search.login,callback:function(t){e.$set(e.search,"login","string"===typeof t?t.trim():t)},expression:"search.login"}}):e._e(),3==e.search.tag?a("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch(t)}},model:{value:e.search.customId,callback:function(t){e.$set(e.search,"customId","string"===typeof t?t.trim():t)},expression:"search.customId"}}):e._e()],1),a("el-form-item",[a("el-date-picker",{staticClass:"crm_date_pick crm-border-radius-no",attrs:{type:"daterange",align:"right","unlink-panels":"","value-format":"yyyy-MM-dd","range-separator":"-",size:"small","start-placeholder":e.$t("Placeholder.Start"),"end-placeholder":e.$t("Placeholder.End")},model:{value:e.search.date,callback:function(t){e.$set(e.search,"date",t)},expression:"search.date"}}),a("el-button",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",icon:"el-icon-search"},on:{click:e.toSearch}})],1)],1)],1)],1)],1),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.mock_tableData,stripe:""}},[a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.CidAccount")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.cId&&e.display["R-WithdrawalApplication-Single"].show?a("span",{staticClass:"crm-text-underline",on:{click:function(a){return e.accountOpen(t.row.cId)}}},[e._v(e._s(t.row.cId||"--"))]):a("span",[e._v(e._s(t.row.cId||"--"))])]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.AttributionNumber")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.pIbNo&&e.display["R-WithdrawalApplication-Single"].show?a("span",{staticClass:"crm-text-underline",on:{click:function(a){return e.agentOpen(t.row.pIbNo)}}},[e._v(e._s(t.row.pIbNo||"--"))]):a("span",[e._v(e._s(t.row.pIbNo||"--"))])]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Encode")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.salesNo||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.TradingAccount")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.login||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Platform")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.platform||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"title",align:"left",label:e.$i18n.t("Label.Name")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.name||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"deliveryTime",align:"left",label:e.$i18n.t("Label.SerialNumber")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.serial||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.AmountMoney")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticStyle:{color:"#EB3F57"}},[e._v("$"+e._s(e._f("NumberFormat")(t.row.amount||"--")))]),a("div",[e._v(e._s(t.row.currency||"--"))])]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.WithdrawalWay")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s("cn"==e.Session.Get("lang")?t.row.remitChannelName||"--":t.row.remitChannelEnName||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("news_add_field.Label.withdrawPlatformAmount")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticStyle:{color:"#EB3F57"}},[e._v(e._s(e._f("NumberFormat")(e._f("NumberDecimal")(t.row.withdrawAmount||"0"))))]),a("div",[e._v(e._s(t.row.withdrawCurrency||"--"))])]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("news_add_field.Label.RemittancePlatformAmount")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticStyle:{color:"#EB3F57"}},[e._v(e._s(e._f("NumberFormat")(e._f("NumberDecimal")(t.row.transformAmount||"0"))))]),a("div",[e._v(e._s(t.row.transformCurrency||"--"))])]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.ApplyTime")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.addTime||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"",align:"center",width:"120",label:e.$i18n.t("Label.State")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.status?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],staticClass:"state crm_state_blue"}):e._e(),2==t.row.status&&2==t.row.withdrawStatus&&1==t.row.callbackStatus?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],staticClass:"state crm_state_gray"}):e._e(),2!=t.row.status||1!=t.row.withdrawStatus&&2!=t.row.withdrawStatus||0!=t.row.callbackStatus&&null!=t.row.callbackStatus?e._e():a("span",{directives:[{name:"t",rawName:"v-t",value:"State.InTheProcessing",expression:"'State.InTheProcessing'"}],staticClass:"state crm_state_green"}),3==t.row.status||3==t.row.withdrawStatus||2==t.row.callbackStatus?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],staticClass:"state crm_state_red"}):e._e()]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Note")},scopedSlots:e._u([{key:"default",fn:function(t){return[e.reasons[t.row.approveDesc]?a("span",[e._v(e._s("cn"==e.Session.Get("lang")?e.reasons[t.row.approveDesc].content:e.reasons[t.row.approveDesc].enContent))]):a("span",[e._v(e._s(t.row.approveDesc||"--"))])]}}])}),a("el-table-column",{attrs:{prop:"",align:"center",label:e.$i18n.t("Label.Action")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link crm-cursor"},[a("i",{staticClass:"iconfont iconcaidan",staticStyle:{"font-weight":"bold","font-size":"20px"}})]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[1==t.row.status&&e.display["R-WithdrawalApplication-Approve"].show?a("el-dropdown-item",{attrs:{command:{type:"approve",row:t.row}}},[a("i",{staticClass:"el-icon-s-operation"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Audit",expression:"'Btn.Audit'"}]})]):e._e(),2==t.row.status&&1==t.row.withdrawStatus&&e.display["R-WithdrawalApplication-Mt"].show?a("el-dropdown-item",{attrs:{command:{type:"MT",row:t.row}}},[a("i",{staticClass:"el-icon-s-operation"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.MTDeductions",expression:"'Btn.MTDeductions'"}]})]):e._e(),2!=t.row.status||2!=t.row.withdrawStatus||0!=t.row.callbackStatus&&null!=t.row.callbackStatus||!e.display["R-WithdrawalApplication-Channel"].show?e._e():a("el-dropdown-item",{attrs:{command:{type:"receipt",row:t.row}}},[a("i",{staticClass:"el-icon-s-operation"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.RemittanceReceipt",expression:"'Btn.RemittanceReceipt'"}]})]),a("el-dropdown-item",{attrs:{command:{type:"detailed",row:t.row}}},[a("i",{staticClass:"iconfont iconxiangxi"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Detailed",expression:"'Btn.Detailed'"}]})])],1)],1)]}}])})],1),e.pagerInfo.rowTotal?a("div",{staticClass:"crm_pagination"},[a("div",{staticClass:"crm_page_total"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Page.total.item1",expression:"'Page.total.item1'"}]}),a("span",[e._v(e._s(e.pagerInfo.rowTotal))]),a("span",{directives:[{name:"t",rawName:"v-t",value:"Page.total.item2",expression:"'Page.total.item2'"}]})]),a("el-pagination",{staticClass:"page",attrs:{background:"",layout:"sizes, prev, pager, next","page-sizes":[10,20,50,100],"page-size":e.pagerInfo.row,total:e.pagerInfo.rowTotal},on:{"current-change":e.handleCurrentChange,"size-change":e.handleSizeChange}})],1):e._e(),a("el-dialog",{attrs:{title:"MT"==e.dialogCheck_form.type?e.$t("Financial_info.WithdrawalApplication.TitleDeductions"):"approve"==e.dialogCheck_form.type?e.$t("Financial_info.WithdrawalApplication.TitleApproval"):e.$t("Financial_info.WithdrawalApplication.TitleRemittanceReceipt"),visible:e.dialogCheck,center:"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheck=t}}},[a("div",{staticClass:"dia-content"},[a("el-form",{ref:"dialogCheck_form",staticClass:"dialogCheck_form",attrs:{model:e.dialogCheck_form,rules:e.rules,"label-width":"135px"}},[a("el-form-item",{attrs:{prop:"",label:e.$t("Label.TradingAccount")+":"}},[e._v(" "+e._s(e.dialogCheck_form.login)+" ")]),a("el-form-item",{attrs:{prop:"",label:e.$t("Label.Platform")+":"}},[e._v(" "+e._s(e.dialogCheck_form.platform)+" ")]),"approve"==e.dialogCheck_form.type?a("el-form-item",{attrs:{prop:"status",label:e.$t("Label.ProcessingState")+":"}},[a("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.dialogCheck_form.status,callback:function(t){e.$set(e.dialogCheck_form,"status",t)},expression:"dialogCheck_form.status"}},[a("el-option",{attrs:{label:e.$t("Apply_info.VerifiedUser.Refused"),value:3}}),a("el-option",{attrs:{label:e.$t("Apply_info.VerifiedUser.Agree"),value:2}})],1)],1):e._e(),"approve"==e.dialogCheck_form.type&&3==e.dialogCheck_form.status?a("el-form-item",{attrs:{prop:"approveDesc",label:e.$t("Label.Descr")+":"}},[a("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.dialogCheck_form.approveDesc,callback:function(t){e.$set(e.dialogCheck_form,"approveDesc",t)},expression:"dialogCheck_form.approveDesc"}},e._l(e.reasons,(function(t){return a("el-option",{key:t.id,attrs:{label:"cn"==e.Session.Get("lang")?t.content:t.enContent,value:t.id}})})),1)],1):e._e(),"MT"==e.dialogCheck_form.type?a("el-form-item",{attrs:{prop:"withdrawStatus",label:e.$t("Label.ProcessingState")+":"}},[a("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.dialogCheck_form.withdrawStatus,callback:function(t){e.$set(e.dialogCheck_form,"withdrawStatus",t)},expression:"dialogCheck_form.withdrawStatus"}},[a("el-option",{attrs:{label:e.$t("Apply_info.VerifiedUser.Refused"),value:3}}),a("el-option",{attrs:{label:e.$t("Apply_info.VerifiedUser.Agree"),value:2}})],1)],1):e._e(),"MT"==e.dialogCheck_form.type&&3==e.dialogCheck_form.withdrawStatus?a("el-form-item",{attrs:{prop:"approveDesc",label:e.$t("Label.Descr")+":"}},[a("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.dialogCheck_form.approveDesc,callback:function(t){e.$set(e.dialogCheck_form,"approveDesc",t)},expression:"dialogCheck_form.approveDesc"}},e._l(e.reasons,(function(t){return a("el-option",{key:t.id,attrs:{label:"cn"==e.Session.Get("lang")?t.content:t.enContent,value:t.id}})})),1)],1):e._e(),"MT"==e.dialogCheck_form.type&&2==e.dialogCheck_form.withdrawStatus?a("el-form-item",{attrs:{prop:"withdrawTicket",label:e.$t("Label.MTOrderNumber")+":"}},[a("el-input",{attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},model:{value:e.dialogCheck_form.withdrawTicket,callback:function(t){e.$set(e.dialogCheck_form,"withdrawTicket","string"===typeof t?t.trim():t)},expression:"dialogCheck_form.withdrawTicket"}})],1):e._e(),"receipt"==e.dialogCheck_form.type?a("el-form-item",{attrs:{prop:"callbackStatus",label:e.$t("Label.ProcessingState")+":"}},[a("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.dialogCheck_form.callbackStatus,callback:function(t){e.$set(e.dialogCheck_form,"callbackStatus",t)},expression:"dialogCheck_form.callbackStatus"}},[a("el-option",{attrs:{label:e.$t("Apply_info.VerifiedUser.Refused"),value:2}}),a("el-option",{attrs:{label:e.$t("Apply_info.VerifiedUser.Agree"),value:1}})],1)],1):e._e(),"receipt"==e.dialogCheck_form.type&&2==e.dialogCheck_form.callbackStatus?a("el-form-item",{attrs:{prop:"approveDesc",label:e.$t("Label.Descr")+":"}},[a("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.dialogCheck_form.approveDesc,callback:function(t){e.$set(e.dialogCheck_form,"approveDesc",t)},expression:"dialogCheck_form.approveDesc"}},e._l(e.reasons,(function(t){return a("el-option",{key:t.id,attrs:{label:"cn"==e.Session.Get("lang")?t.content:t.enContent,value:t.id}})})),1)],1):e._e()],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:function(t){return e.toVerified()}}}),a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.cancel}})],1)],1)]),a("trading-single",{attrs:{dialogInfoTrading:e.dialogInfoTrading,infoType:e.infoType,formInfo:e.formInfoTrading},on:{closeTrading:e.closeTrading,openInfo:e.openInfo}}),e.dialogInfoTrading?a("div",{staticClass:"crm_verified_info_mask crm_verified_info_mask_trading",on:{click:e.closeDiaTrading}}):e._e(),a("detailed-info-cid",{attrs:{dialogInfoCid:e.dialogInfoCid,formInfo:e.formInfo},on:{close:e.close}}),e.dialogInfoCid?a("div",{staticClass:"crm_verified_info_mask",on:{click:e.closeDia}}):e._e(),a("detailed-info-ibNo",{attrs:{dialogInfoIbNo:e.dialogInfoPIbNo,formInfo:e.formInfoPib},on:{close:e.close}}),e.dialogInfoPIbNo?a("div",{staticClass:"crm_verified_info_mask",on:{click:e.closeDia}}):e._e()],1)},n=[],o=(a("ac1f"),a("841c"),a("5530")),i=(a("96cf"),a("1da1")),s=a("a1a2"),l=a("f121"),c=a.n(l),u=a("2d59"),p=a("3a82"),d=a("5011"),f=c.a.Code,h={name:"WithdrawalApplication",components:{DetailedInfoCid:u["a"],DetailedInfoIbNo:p["a"],TradingSingle:d["a"]},data:function(){return{flag:!1,reasons:{},pictLoading:!1,mock_tableData:[],search:{tag:1,login:"",customId:"",status:null,date:[],startDate:"",endDate:""},dialogInfo:!1,dialogCheck:!1,dialogCheck_form:{},dialogInfoTrading:!1,formInfoTrading:{},dialogInfoCid:!1,dialogInfoPIbNo:!1,infoType:"",formInfo:{},formInfoPib:{},pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0},rules:{status:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],approveDesc:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],withdrawStatus:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],withdrawTicket:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],callbackStatus:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}]}}},computed:{display:function(){return JSON.parse(this.Session.Get("display",!0))}},methods:{handleCommand:function(e){"approve"==e.type||"MT"==e.type||"receipt"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck=!0,this.dialogCheck_form.type=e.type,this.dialogCheck_form.login=e.row.login,this.dialogCheck_form.platform=e.row.platform,this.dialogCheck_form.id=e.row.id,this.dialogCheck_form.oldleverage=e.row.oldleverage,this.dialogCheck_form.newleverage=e.row.newleverage):"detailed"==e.type&&(this.formInfoTrading=e.row,this.formInfoTrading.approveDesc=this.reasons[e.row.approveDesc]?"cn"==this.Session.Get("lang")?this.reasons[e.row.approveDesc].content:this.reasons[e.row.approveDesc].enContent:e.row.approveDesc,this.infoType="financial_WithdrawalApplication",this.dialogInfoTrading=!0)},toVerified:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(a){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=25;break}if(!t.flag){e.next=5;break}return e.abrupt("return");case 5:t.flag=!0;case 6:if("approve"!=t.dialogCheck_form.type){e.next=12;break}return e.next=9,s["a"].withdrawAction(Object(o["a"])({},t.dialogCheck_form));case 9:r=e.sent,e.next=22;break;case 12:if("MT"!=t.dialogCheck_form.type){e.next=18;break}return e.next=15,s["a"].withdrawActionMT(Object(o["a"])({},t.dialogCheck_form));case 15:r=e.sent,e.next=22;break;case 18:if("receipt"!=t.dialogCheck_form.type){e.next=22;break}return e.next=21,s["a"].withdrawActionReceipt(Object(o["a"])({},t.dialogCheck_form));case 21:r=e.sent;case 22:r.code==f.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(r.msg)),e.next=26;break;case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),cancel:function(){this.dialogCheck=!1,this.$refs["dialogCheck_form"].resetFields()},closeDiaTrading:function(){this.dialogInfoTrading=!1},closeTrading:function(e){this.dialogInfoTrading=e},openInfo:function(e){this.searchSingle(e)},closeDia:function(){this.dialogInfoCid=!1,this.dialogInfoPIbNo=!1},close:function(e){this.dialogInfoCid=e,this.dialogInfoPIbNo=e},accountOpen:function(e){this.searchSingleCid(e)},agentOpen:function(e){this.searchSinglePIbNo(e)},searchSingleCid:function(e){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function a(){var r;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,s["a"].cidRealSingle({id:e});case 2:r=a.sent,r.code==f.StatusOK?(t.formInfo=r.data,t.dialogInfoCid=!0):t.$pigeon.MessageError(r.msg);case 4:case"end":return a.stop()}}),a)})))()},searchSinglePIbNo:function(e){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function a(){var r;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,s["a"].pIbNoRealSingle({ibNo:e});case 2:r=a.sent,r.code==f.StatusOK?(t.formInfoPib=r.data,t.dialogInfoPIbNo=!0):t.$pigeon.MessageError(r.msg);case 4:case"end":return a.stop()}}),a)})))()},searchFunc:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.pictLoading=!0,e.display["R-WithdrawalApplication-Search"].show){t.next=5;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pictLoading=!1,t.abrupt("return");case 5:return null==e.search.date||0==e.search.date.length?(e.search.startDate="",e.search.endDate=""):(e.search.startDate=e.search.date[0],e.search.endDate=e.search.date[1]),t.next=8,s["a"].withdrawList(Object(o["a"])(Object(o["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 8:a=t.sent,a.code==f.StatusOK?(e.mock_tableData=a.data,null!=a.page?(e.pagerInfo.rowTotal=a.page.rowTotal,e.pagerInfo.pageTotal=a.page.pageTotal):e.pagerInfo.rowTotal=0,e.$pigeon.MessageOK(e.$i18n.t("Msg.SearchSuccess")),e.pictLoading=!1):(e.$pigeon.MessageError(a.msg),e.pictLoading=!1);case 10:case"end":return t.stop()}}),t)})))()},searchReasons:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,s["a"].reasonsRefusalList({type:10});case 2:a=t.sent,a.code==f.StatusOK?null==a.data?e.reasons={}:e.reasons=a.data:e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},getSearchDate:function(e){this.search.date=e},toSearch:function(){this.pagerInfo.current=1,this.searchFunc()},handleSizeChange:function(e){this.pagerInfo.row=e,this.searchFunc()},handleCurrentChange:function(e){this.pagerInfo.current=e,this.searchFunc()}},mounted:function(){this.searchFunc(),this.searchReasons()}},m=h,g=(a("c3d4"),a("3aaa"),a("2877")),w=Object(g["a"])(m,r,n,!1,null,"abd806c2",null);t["default"]=w.exports},"81c9":function(e,t,a){},"843b":function(e,t,a){},a1a2:function(e,t,a){"use strict";a("96cf");var r=a("1da1"),n=a("d4ec"),o=a("bee2"),i=a("262e"),s=a("2caf"),l=a("ff2d"),c=a("bc3a"),u=a.n(c),p=a("f121"),d=a.n(p),f=function(e){Object(i["a"])(a,e);var t=Object(s["a"])(a);function a(){var e;return Object(n["a"])(this,a),e=t.call(this),u.a.defaults.baseURL=d.a.Host85,e}return Object(o["a"])(a,[{key:"cidRealSingle",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/custom/search/real/single",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"pIbNoRealSingle",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/ib/search/ib/single",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"reasonsRefusalList",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/reasons/refusal/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositList",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/finance/deposit/searcher/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositAction",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/finance/deposit/approve",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"withdrawList",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/finance/withdraw/searcher/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"withdrawAction",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/finance/withdraw/approve",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"withdrawActionMT",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/finance/withdraw/approve/manager",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"withdrawActionReceipt",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/finance/withdraw/approve/channel",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"transfertList",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/finance/transfer/searcher/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"transferAction",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/finance/transfer/approve",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"IBwithdrawList",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/finance/agent/withdraw/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"IBwithdrawApprove",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/finance/agent/withdraw/approve",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"IBwithdrawActionMT",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/finance/agent/withdraw/complete",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"IBwithdrawActionReceipt",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/finance/agent/withdraw/channel",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"ibTransferList",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/agent/balance/transfer/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"ibTransferApprove",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/agent/balance/transfer/approve",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositGiveList",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/finance/deposit/give/searcher/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositGiveSingle",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/finance/deposit/give/searcher/single",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}]),a}(l["a"]);t["a"]=new f},c3d4:function(e,t,a){"use strict";var r=a("81c9"),n=a.n(r);n.a}}]);