cus-transfer.17424368.js 23 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["cus-transfer"],{"1c4d":function(t,e,n){},"43ed":function(t,e,n){},"498a":function(t,e,n){"use strict";var r=n("23e7"),a=n("58a8").trim,s=n("c8d2");r({target:"String",proto:!0,forced:s("trim")},{trim:function(){return a(this)}})},a1a2:function(t,e,n){"use strict";var r=n("c7eb"),a=n("1da1"),s=n("d4ec"),i=n("bee2"),c=n("8f33"),o=n("262e"),u=n("ff2d"),l=function(t){function e(){return Object(s["a"])(this,e),Object(c["a"])(this,e)}return Object(o["a"])(e,t),Object(i["a"])(e,[{key:"reasonsRefusalList",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host80","/reasons/refusal/list",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"BalanceList",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host04","/balance/list",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"PayBankCode",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(e){var n,a,s=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=s.length>1&&void 0!==s[1]?s[1]:{},t.next=3,this.postAll("Host04",e,n);case 3:return a=t.sent,t.abrupt("return",a);case 5:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"PayDealResult",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(e){var n,a,s=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=s.length>1&&void 0!==s[1]?s[1]:{},t.next=3,this.postAll("Host04",e,n);case 3:return a=t.sent,t.abrupt("return",a);case 5:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"WithdrawApplyBank",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(e){var n,a,s=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=s.length>1&&void 0!==s[1]?s[1]:{},t.next=3,this.postAll("Host04",e,n);case 3:return a=t.sent,t.abrupt("return",a);case 5:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"WithdrawAapplyDigitalCurrency",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(e){var n,a,s=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=s.length>1&&void 0!==s[1]?s[1]:{},t.next=3,this.postAll("Host04",e,n);case 3:return a=t.sent,t.abrupt("return",a);case 5:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"BankList",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host04","/channel/bank/list",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"RemitChannelList",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host04","/remit/channel/list",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"RemittanceChannelList",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host04","/remittance/channel/list",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"TransferApply",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host04","/transfer/apply",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"TransferList",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host04","/transfer/list",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"transferInfo",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host04","/transfer/info",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"getAgentList",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host80","/account/agent/list",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"telegraphicPay",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host04","/telegraphic/pay",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"customBankList",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host80","/custom/bank/list",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"digitalPay",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host04","/digital/pay",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"remainingReductionNumber",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host04","/withdraw/remaining/reduction/number",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"ibWithdrawApplyBank",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(e){var n,a,s=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=s.length>1&&void 0!==s[1]?s[1]:{},t.next=3,this.postAll("Host04","/agent"+e,n);case 3:return a=t.sent,t.abrupt("return",a);case 5:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"ibWithdrawAapplyDigitalCurrency",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(e){var n,a,s=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=s.length>1&&void 0!==s[1]?s[1]:{},t.next=3,this.postAll("Host04","/agent"+e,n);case 3:return a=t.sent,t.abrupt("return",a);case 5:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"withdrawCancel",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host04","/withdraw/cancel",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"withdrawCancelBackstage",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host04","/withdraw/cancel/backstage",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"depositCheckExistSuccess",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host04","/finance/deposit/check/exist/success",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"withdrawCode",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host04","/withdraw/apply/digital/currency/send/code",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"getWebsdkLink",value:function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(){var e,n,a=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,this.postAll("Host04","/withdraw/getWebsdkLink",e);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}])}(u["a"]);e["a"]=new l},c69f:function(t,e,n){"use strict";n("43ed")},c8d2:function(t,e,n){"use strict";var r=n("5e77").PROPER,a=n("d039"),s=n("5899"),i="​…᠎";t.exports=function(t){return a((function(){return!!s[t]()||i[t]()!==i||r&&s[t].name!==t}))}},f3e2:function(t,e,n){"use strict";n("1c4d")},f97d:function(t,e,n){"use strict";n.r(e);n("498a");var r=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"custom_Transfer"}},[e("div",{staticClass:"crm-title-box"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:"Home.page_customer.item5",expression:"'Home.page_customer.item5'"}]})])]),e("div",{staticClass:"main-content"},[e("div",{staticClass:"box box-step1"},[e("div",{staticClass:"b-card"},[e("el-row",{staticClass:"card-top"},[e("el-col",{attrs:{span:24}},[e("p",{staticClass:"tit"},[e("i",{staticClass:"el-icon-caret-right"}),e("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Title1",expression:"'Custom.Transfer.Title1'"}]})])]),e("el-col",{attrs:{span:24}},[e("el-select",{attrs:{filterable:"",placeholder:t.$t("placeholder.choose")},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t._l(t.loginOptions,(function(n,r){return e("el-option",{key:r,attrs:{label:n.login+" - "+t.groupTypeName(n.type)+" - "+t.$t("Custom.Deposit.AvailableBalance")+t.groupCurrency(n.currency)+n.balance,value:n.login,disabled:!("-1"==n.closeFunctions.indexOf("3")&&"-1"==n.closeFunctions.indexOf("6"))}})})),1)],1)],1)],1)]),t.step2?e("div",{staticClass:"box box-step2"},[e("div",{staticClass:"b-card"},[e("div",{staticClass:"b-card"},[e("el-row",{staticClass:"card-top"},[e("el-col",{staticClass:"card-tit",attrs:{span:24}},[e("div",[e("p",{staticClass:"tit"},[e("i",{staticClass:"el-icon-caret-right"}),e("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Title2",expression:"'Custom.Transfer.Title2'"}]})])])]),e("el-col",{attrs:{span:24}},[e("el-select",{staticStyle:{"margin-bottom":"15px"},attrs:{filterable:"",placeholder:t.$t("placeholder.choose")},on:{change:t.changeTransferType},model:{value:t.transferType,callback:function(e){t.transferType=e},expression:"transferType"}},[e("el-option",{attrs:{label:t.$t("Home.page_customer.item5"),value:"internal"}}),1==t.getInfoAgentTransfer?e("el-option",{attrs:{label:t.$t("Home.page_ib.item9"),value:"agent"}}):t._e()],1)],1),e("el-form",{ref:"form",staticClass:"form",attrs:{model:t.form,rules:t.rules,"label-position":"top"}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{prop:"",label:t.$t("Custom.Transfer.TransferAccounts")}},[e("el-select",{attrs:{filterable:"",disabled:"",placeholder:t.$t("placeholder.choose")},model:{value:t.form.withdrawLogin,callback:function(e){t.$set(t.form,"withdrawLogin",e)},expression:"form.withdrawLogin"}},t._l(t.loginOptions,(function(n,r){return e("el-option",{key:r,attrs:{label:n.login+"-"+t.groupTypeName(n.type)+"-$"+n.balance,value:n.login}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{prop:"depositLogin",label:t.$t("Custom.Transfer.IntoAccount")}},[e("el-select",{attrs:{filterable:"",placeholder:t.$t("placeholder.choose")},model:{value:t.form.depositLogin,callback:function(e){t.$set(t.form,"depositLogin",e)},expression:"form.depositLogin"}},t._l(t.toOptions,(function(n,r){return e("el-option",{key:r,attrs:{label:n.login+" - "+t.groupTypeName(n.type)+" - "+t.$t("Custom.Deposit.AvailableBalance")+t.groupCurrency(n.currency)+n.balance,value:n.login,disabled:!("-1"==n.closeFunctions.indexOf("3")&&"-1"==n.closeFunctions.indexOf("7"))}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{prop:"currency",label:t.$t("Custom.Transfer.CurrencyType")}},[e("el-select",{attrs:{filterable:"",placeholder:t.$t("placeholder.choose")},model:{value:t.form.currency,callback:function(e){t.$set(t.form,"currency",e)},expression:"form.currency"}},[e("el-option",{attrs:{label:"USD",value:"USD"}})],1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{prop:"amount",label:t.$t("Custom.Transfer.Amount")}},[e("el-input",{staticClass:"m-input",attrs:{autocomplete:"off"},model:{value:t.form.amount,callback:function(e){t.$set(t.form,"amount","string"===typeof e?e.trim():e)},expression:"form.amount"}})],1)],1),e("el-col",{attrs:{span:24}},[e("el-form-item",[e("div",{staticClass:"tips"},[e("div",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Tips",expression:"'Custom.Transfer.Tips'"}],staticClass:"title"}),e("div",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Tips1",expression:"'Custom.Transfer.Tips1'"}]}),e("div",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Tips2",expression:"'Custom.Transfer.Tips2'"}]}),e("div",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Tips3",expression:"'Custom.Transfer.Tips3'"}]}),e("div",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Tips4",expression:"'Custom.Transfer.Tips4'"}]})])])],1),e("el-col",{attrs:{span:24}},[e("el-form-item",[e("el-button",{staticClass:"s-btn",attrs:{type:"primary"},on:{click:function(e){return t.toTransfer("form")}}},["es"===t.$i18n.locale?e("span",[t._v("Enviar solicitud")]):e("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Submit",expression:"'Btn.Submit'"}]})])],1)],1)],1)],1)],1)])]):t._e()]),e("el-dialog",{attrs:{visible:t.dialogCheck,center:"","close-on-click-modal":!1,"show-close":!1,"custom-class":"dialog_header_w"},on:{"update:visible":function(e){t.dialogCheck=e}}},[t.dialogVisible?e("div",{staticClass:"dia-content"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"iconfont iconchenggong"})]),e("div",{directives:[{name:"t",rawName:"v-t",value:"ApplicationDialog.Des1",expression:"'ApplicationDialog.Des1'"}],staticClass:"des1"}),e("div",{directives:[{name:"t",rawName:"v-t",value:"ApplicationDialog.Des11",expression:"'ApplicationDialog.Des11'"}],staticClass:"des2"}),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:t.closeDia}}),e("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:t.closeDia}})],1)]):t._e(),t.dialogVisible?t._e():e("div",{staticClass:"dia-content"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"iconfont iconjingshi"})]),e("div",{staticClass:"des1"},[t._v(t._s(t.RES))]),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:t.closeDia}}),e("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:t.closeDia}})],1)])]),e("el-dialog",{attrs:{visible:t.dialogCheckWait,center:"","close-on-click-modal":!1,"show-close":!1,"custom-class":"dialog_header_w"},on:{"update:visible":function(e){t.dialogCheckWait=e}}},[e("div",{staticClass:"dia-content"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"iconfont icondengdai"})]),e("div",{directives:[{name:"t",rawName:"v-t",value:"ApplicationDialog.Des38",expression:"'ApplicationDialog.Des38'"}],staticClass:"des1"})])])],1)},a=[],s=n("c7eb"),i=n("5530"),c=n("1da1"),o=(n("d9e2"),n("14d9"),n("e9f5"),n("7d54"),n("b64b"),n("d3b7"),n("ac1f"),n("00b4"),n("159b"),n("fa1c")),u=n("6df7"),l=n("a1a2"),p=n("1c45"),f=n("f121"),h=n.n(f),v=h.a.Code,d={name:"Transfer",data:function(){var t=this;return{flag:!1,RES:"",loginOptions:[],toOptions:[],step2:!1,value:"",transferType:"internal",mAmount:{minAmount:"",maxAmount:""},form:{currency:"USD",depositLogin:null},dialogCheck:!1,dialogVisible:!1,dialogCheckWait:!1,rules:{amount:[{validator:function(e,n,r){n&&(t.mAmount.minAmount>n||t.mAmount.maxAmount<n)&&r(new Error(t.$i18n.t("vaildate.amount.amount")+t.mAmount.minAmount+"-"+t.mAmount.maxAmount)),/^[0-9]+([.]{1}[0-9]{1,2})?$/.test(n)?r():r(new Error(t.$i18n.t("vaildate.amount.format")))},required:!0,trigger:"blur"}],depositLogin:[{required:!0,validator:function(e,n,r){n?r():r(new Error(t.$i18n.t("vaildate.select.empty")))},trigger:"change"}]}}},computed:{getInfoAgentTransfer:function(){return JSON.parse(this.Session.Get("user",!0)).customInfo.agentTransfer}},methods:{groupCurrency:function(t){return"GBP"==t?": £":"USD"==t?": $":"EUR"==t?": €":"USC"==t?": ¢":": $"},groupCurrency1:function(t){return"GBP"==t?"£":"USD"==t?"$":"EUR"==t?"€":"USC"==t?"¢":"$"},groupTypeName:function(t){return"1"==t?this.$i18n.t("AccountType.ClassicAccount"):"2"==t?this.$i18n.t("AccountType.SeniorAccount"):"3"==t?Object(o["a"])()?"--":this.$i18n.t("AccountType.AgencyAccount"):"5"==t||"6"==t?this.$i18n.t("AccountType.SpeedAccount"):"7"==t?this.$i18n.t("AccountType.StandardAccount"):"8"==t?this.$i18n.t("AccountType.CentAccount"):void 0},closeDia:function(){this.$refs["form"].resetFields(),this.step2=!1,this.value="",this.transferType="internal",this.dialogCheck=!1,this.dialogVisible=!1},changeTransferType:function(t){console.log(t),this.form.depositLogin&&(this.form.depositLogin=null)},toTransfer:function(){var t=Object(c["a"])(Object(s["a"])().mark((function t(){var e=this;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.$refs["form"].validate(function(){var t=Object(c["a"])(Object(s["a"])().mark((function t(n){var r;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!n){t.next=22;break}if(e.transferType,!e.flag){t.next=6;break}return t.abrupt("return");case 6:e.flag=!0;case 7:if(e.dialogCheckWait=!0,"internal"!==e.transferType){t.next=14;break}return t.next=11,l["a"].TransferApply(Object(i["a"])({},e.form));case 11:r=t.sent,t.next=18;break;case 14:if("agent"!==e.transferType){t.next=18;break}return t.next=17,p["a"].agentTransCtaferApply(Object(i["a"])({},e.form));case 17:r=t.sent;case 18:e.dialogCheckWait=!1,r.code==v.StatusOK?(e.dialogCheck=!0,e.dialogVisible=!0,e.flag=!1):(e.RES=r.msg,e.dialogCheck=!0,e.dialogVisible=!1,e.flag=!1),t.next=23;break;case 22:return t.abrupt("return",!1);case 23:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 1:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),cancle:function(){this.step2=!1,this.value="",this.transferType="internal"},getDateList:function(){var t=Object(c["a"])(Object(s["a"])().mark((function t(){var e,n=this;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,u["a"].CustomDropdown({platform:""});case 2:e=t.sent,e.code==v.StatusOK?(this.loginOptions=e.data,this.$route.query.login&&(this.value=this.$route.query.login,this.step2=!0,this.form.withdrawLogin=this.value,this.toOptions=[],"internal"===this.transferType?this.loginOptions.forEach((function(t){t.login!=n.value&&n.toOptions.push(t)})):"agent"===this.transferType&&this.getAgentList())):this.$pigeon.MessageError(e.msg);case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),getAgentList:function(){var t=Object(c["a"])(Object(s["a"])().mark((function t(){var e;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l["a"].getAgentList({});case 2:e=t.sent,e.code==v.StatusOK?this.toOptions=e.data:this.$pigeon.MessageError(e.msg);case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),getAmount:function(){var t=Object(c["a"])(Object(s["a"])().mark((function t(){var e;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l["a"].transferInfo({});case 2:e=t.sent,e.code==v.StatusOK?this.mAmount=e.data:this.$pigeon.MessageError(e.msg);case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},mounted:function(){this.getDateList(),this.getAmount()},watch:{value:function(t){var e=this;t&&(this.step2=!0,this.form.withdrawLogin=t,this.toOptions=[],"internal"===this.transferType?this.loginOptions.forEach((function(n){n.login!=t&&e.toOptions.push(n)})):"agent"===this.transferType&&this.getAgentList())},transferType:function(t){var e=this;this.value&&this.step2&&(this.toOptions=[],"internal"===t?this.loginOptions.forEach((function(t){t.login!=e.value&&e.toOptions.push(t)})):"agent"===t&&this.getAgentList())}}},m=d,b=(n("c69f"),n("f3e2"),n("2877")),g=Object(b["a"])(m,r,a,!1,null,"6752f57e",null);e["default"]=g.exports},fa1c:function(t,e,n){"use strict";function r(){var t=new Date,e=new Date(2025,6,28,0,0,0);return t>=e}n.d(e,"a",(function(){return r}))}}]);