| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["internal-transfer"],{"00b4":function(t,e,n){"use strict";n("ac1f");var r=n("23e7"),a=n("c65b"),s=n("1626"),i=n("825a"),c=n("577e"),o=function(){var t=!1,e=/[ac]/;return e.exec=function(){return t=!0,/./.exec.apply(this,arguments)},!0===e.test("abc")&&t}(),u=/./.test;r({target:"RegExp",proto:!0,forced:!o},{test:function(t){var e=i(this),n=c(t),r=e.exec;if(!s(r))return a(u,e,n);var o=a(r,e,n);return null!==o&&(i(o),!0)}})},"0fe3":function(t,e,n){"use strict";n("8359")},4584:function(t,e,n){"use strict";n("6148")},"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)}})},6148:function(t,e,n){},8359:function(t,e,n){},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,s=arguments;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=s.length>0&&void 0!==s[0]?s[0]:{},n=s.length>1&&void 0!==s[1]?s[1]:"/transfer/apply",t.next=4,this.postAll("Host04",n,e);case 4:return a=t.sent,t.abrupt("return",a);case 6: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:"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},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}))}},f79f: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:"cus_internal-transfer"}},[e("div",{staticClass:"promotion-box pb-3"},[e("div",{staticClass:"container"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"promotion-box-white"},[e("form",{staticClass:"deposit-search"},[e("div",{staticClass:"form-group"},[e("el-select",{staticClass:"crm-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:(null!=n.cId&&""!==n.cId?String(n.cId)+" - ":"")+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("5"))||!(-1==n.closeFunctions.indexOf("6"))||"agent"===t.transferType&&-1!==n.closeFunctions.indexOf("3")||"internal"===t.transferType&&-1!==n.closeFunctions.indexOf("7")}})})),1)],1)])]),t.step2?e("div",{staticClass:"promotion-box-white mt-2"},[e("div",{attrs:{id:"tabs"}},[e("div",{},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"cwg-logo text-center"},[e("h4",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Title2",expression:"'Custom.Transfer.Title2'"}],staticClass:"mt-3"}),e("div",{staticClass:"red-shape mt-3"})]),e("el-form",{ref:"form",staticClass:"form",attrs:{model:t.form,rules:t.rules,"label-position":"top"}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{prop:"",label:""}},[e("el-select",{staticClass:"crm-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)],1),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{prop:"",label:t.$t("Custom.Transfer.TransferAccounts")}},[e("el-select",{staticClass:"crm-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:(null!=n.cId&&""!==n.cId?String(n.cId)+"-":"")+n.login+"-"+t.groupTypeName(n.type)+"-$"+n.balance,value:n.login}})})),1)],1)],1),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{prop:"depositLogin",label:t.$t("Custom.Transfer.IntoAccount")}},[e("el-select",{staticClass:"crm-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:(null!=n.cId&&""!==n.cId?String(n.cId)+" - ":"")+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:24}},[e("el-form-item",{attrs:{prop:"currency",label:t.$t("Custom.Transfer.CurrencyType")}},[e("el-select",{staticClass:"crm-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:24}},[e("el-form-item",{attrs:{prop:"amount",label:t.$t("Custom.Transfer.Amount")}},[e("el-input",{staticClass:"crm-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)],1),e("div",{staticClass:"form-group my-3"},[e("h4",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Tips",expression:"'Custom.Transfer.Tips'"}]}),e("p",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Tips1",expression:"'Custom.Transfer.Tips1'"}],staticClass:"my-3"}),e("p",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Tips2",expression:"'Custom.Transfer.Tips2'"}]}),e("p",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Tips3",expression:"'Custom.Transfer.Tips3'"}]}),e("p",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Tips4",expression:"'Custom.Transfer.Tips4'"}]})]),e("div",{staticClass:"form-group text-center mt-5 mb-5"},[e("a",{staticClass:"btn-signing",attrs:{href:"javascript:;"},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)])])])]):t._e()])])])]),e("el-dialog",{attrs:{visible:t.dialogCheck,center:"",width:"95%","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",{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:"",width:"95%","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("5530"),i=n("c7eb"),c=n("1da1"),o=(n("d9e2"),n("7db0"),n("a15b"),n("14d9"),n("e9f5"),n("f665"),n("7d54"),n("b64b"),n("d3b7"),n("ac1f"),n("00b4"),n("159b"),n("6df7")),u=n("a1a2"),l=n("f121"),p=n.n(l),f=n("fa1c"),h=p.a.Code,d={name:"cus_internal-transfer",components:{},computed:{getInfoAgentTransfer:function(){return JSON.parse(this.Session.Get("user",!0)).customInfo.agentTransfer},isAfterJuly28:function(){return Object(f["a"])()}},data:function(){var t=this;return{transferType:"internal",flag:!1,RES:"",loginOptions:[],toOptions:[],step2:!1,value:"",mAmount:{minAmount:"",maxAmount:""},form:{currency:"USD",amount:"",depositLogin:""},dialogCheck:!1,dialogVisible:!1,dialogCheckWait:!1,centAccountNoticeShownFor:"",rules:{amount:[{validator:function(e,n,r){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,message:this.$i18n.t("vaildate.select.empty"),trigger:"change"}]}}},methods:{isCentAccount:function(t){return!!t&&("8"==t.type||"USC"===t.currency)},showCentAccountNotice:function(t){if(t&&this.centAccountNoticeShownFor!==t){var e=this.loginOptions.find((function(e){return e.login===t}));if(this.isCentAccount(e)){this.centAccountNoticeShownFor=t;var n=[this.$t("Custom.Transfer.CentAccountNoticeLine1"),this.$t("Custom.Transfer.CentAccountNoticeLine2"),this.$t("Custom.Transfer.CentAccountNoticeLine3")].join("<br/>");this.$alert(n,this.$i18n.t("Msg.SystemPrompt"),{confirmButtonText:this.$i18n.t("Btn.Confirm"),dangerouslyUseHTMLString:!0})}}},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(f["a"])()?"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:this.$i18n.t("AccountType.AgencyAccount")},closeDia:function(){this.$refs["form"].resetFields(),this.step2=!1,this.value="",this.dialogCheck=!1,this.dialogVisible=!1},toTransfer:function(){var t=Object(c["a"])(Object(i["a"])().mark((function t(){var e=this;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.$refs["form"].validate(function(){var t=Object(c["a"])(Object(i["a"])().mark((function t(n){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!n){t.next=11;break}if(!e.flag){t.next=5;break}return t.abrupt("return");case 5:e.flag=!0;case 6:return e.dialogCheckWait=!0,t.next=9,e.continueTransfer();case 9:t.next=12;break;case 11:return t.abrupt("return",!1);case 12: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}(),continueTransfer:function(){var t=this;return Object(c["a"])(Object(i["a"])().mark((function e(){var n;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("internal"!==t.transferType){e.next=6;break}return e.next=3,u["a"].TransferApply(Object(s["a"])({},t.form));case 3:n=e.sent,e.next=10;break;case 6:if("agent"!==t.transferType){e.next=10;break}return e.next=9,u["a"].TransferApply(Object(s["a"])({},t.form),"/agent/transfer/cta/apply");case 9:n=e.sent;case 10:t.dialogCheckWait=!1,n.code==h.StatusOK?(t.dialogCheck=!0,t.dialogVisible=!0,t.flag=!1):(t.RES=n.msg,t.dialogCheck=!0,t.dialogVisible=!1,t.flag=!1);case 12:case"end":return e.stop()}}),e)})))()},cancle:function(){this.step2=!1,this.value=""},changeTransferType:function(t){console.log(t),this.form.depositLogin&&(this.form.depositLogin=null)},getDateList:function(){var t=Object(c["a"])(Object(i["a"])().mark((function t(){var e,n=this;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].CustomDropdown({platform:""});case 2:e=t.sent,e.code==h.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=[],this.loginOptions.forEach((function(t){t.login!=n.value&&n.toOptions.push(t)})))):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(i["a"])().mark((function t(){var e;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].getAgentList({});case 2:e=t.sent,e.code==h.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(i["a"])().mark((function t(){var e;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,u["a"].transferInfo({});case 2:e=t.sent,e.code==h.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.showCentAccountNotice(t),this.toOptions=[],this.loginOptions.forEach((function(n){n.login!=t&&e.toOptions.push(n)})))},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())}}},v=d,m=(n("4584"),n("0fe3"),n("2877")),b=Object(m["a"])(v,r,a,!1,null,"377440d5",null);e["default"]=b.exports},fa1c:function(t,e,n){"use strict";function r(){var t=new Date,e=new Date(2024,6,28);return t>=e}n.d(e,"a",(function(){return r}))}}]);
|