DepositWithdraw.05d7d47a.js 31 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["DepositWithdraw"],{"01fc":function(e,t,a){"use strict";var n=a("85e0"),i=a.n(n);i.a},"64c5":function(e,t,a){"use strict";var n=a("b331"),i=a.n(n);i.a},"85e0":function(e,t,a){},b331:function(e,t,a){},ea64:function(e,t,a){"use strict";a.r(t);var n=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:"system_DepositWithdraw","element-loading-background":"rgba(43, 48, 67, 0.65)","element-loading-spinner":"el-icon-loading"}},[a("el-row",{staticClass:"box"},[a("el-col",{staticClass:"left",attrs:{span:12}},[a("div",{staticClass:"title"},[a("div",{staticClass:"label"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"system_info.Title.Deposit",expression:"'system_info.Title.Deposit'"}]})]),e.display["R-DepositWithdraw-Deposit-Update"].show?a("div",{staticClass:"btnTab"},[1==e.btnType?a("span",[a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Save",expression:"'Btn.Save'"}],staticClass:"btn crm_state_blue crm-cursor",on:{click:function(t){return e.toSave(1)}}}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],staticClass:"btn crm_state_red crm-cursor",on:{click:function(t){return e.cancelSave(1)}}})]):a("span",{on:{click:function(t){return e.btnTypeTab(1)}}},[a("i",{staticClass:"el-icon-edit-outline crm-cursor"})])]):e._e()]),a("el-input",{attrs:{disabled:1!=e.btnType,placeholder:e.$t("Placeholder.Not")},model:{value:e.deposit.maxAmount,callback:function(t){e.$set(e.deposit,"maxAmount","string"===typeof t?t.trim():t)},expression:"deposit.maxAmount"}},[a("template",{slot:"prepend"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"system_info.Label.MaxDepositAmount",expression:"'system_info.Label.MaxDepositAmount'"}]}),e._v(" ( $ )")])],2),a("el-input",{attrs:{disabled:1!=e.btnType,placeholder:e.$t("Placeholder.Not")},model:{value:e.deposit.minAmount,callback:function(t){e.$set(e.deposit,"minAmount","string"===typeof t?t.trim():t)},expression:"deposit.minAmount"}},[a("template",{slot:"prepend"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"system_info.Label.MinDepositAmount",expression:"'system_info.Label.MinDepositAmount'"}]}),e._v(" ( $ )")])],2)],1),a("el-col",{staticClass:"right",attrs:{span:12}},[a("div",{staticClass:"title"},[a("div",{staticClass:"label"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"system_info.Title.Withdrawals",expression:"'system_info.Title.Withdrawals'"}]})]),e.display["R-DepositWithdraw-Withdraw-Update"].show?a("div",{staticClass:"btnTab"},[2==e.btnType?a("span",[a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Save",expression:"'Btn.Save'"}],staticClass:"btn crm_state_blue crm-cursor",on:{click:function(t){return e.toSave(2)}}}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],staticClass:"btn crm_state_red crm-cursor",on:{click:function(t){return e.cancelSave(2)}}})]):a("span",{on:{click:function(t){return e.btnTypeTab(2)}}},[a("i",{staticClass:"el-icon-edit-outline crm-cursor"})])]):e._e()]),a("el-input",{attrs:{disabled:2!=e.btnType,placeholder:e.$t("Placeholder.Not")},model:{value:e.withdrawals.maxAmount,callback:function(t){e.$set(e.withdrawals,"maxAmount","string"===typeof t?t.trim():t)},expression:"withdrawals.maxAmount"}},[a("template",{slot:"prepend"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"system_info.Label.MaxWithdrawalsAmount",expression:"'system_info.Label.MaxWithdrawalsAmount'"}]}),e._v(" ( $ )")])],2),a("el-input",{attrs:{disabled:2!=e.btnType,placeholder:e.$t("Placeholder.Not")},model:{value:e.withdrawals.minAmount,callback:function(t){e.$set(e.withdrawals,"minAmount","string"===typeof t?t.trim():t)},expression:"withdrawals.minAmount"}},[a("template",{slot:"prepend"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"system_info.Label.MinWithdrawalsAmount",expression:"'system_info.Label.MinWithdrawalsAmount'"}]}),e._v(" ( $ )")])],2)],1)],1),a("el-row",{staticClass:"box"},[a("el-col",{staticClass:"left",attrs:{span:12}},[a("div",{staticClass:"title"},[a("div",{staticClass:"label"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"system_info.Title.DepositRate",expression:"'system_info.Title.DepositRate'"}]})]),a("div",{staticClass:"btnTab"},[e.display["R-DepositWithdraw-DepositRate-Add"].show?a("span",{staticClass:"add crm-cursor",on:{click:function(t){return e.openAdd("D_Rate")}}},[a("i",{staticClass:"el-icon-plus"})]):e._e(),e.display["R-DepositWithdraw-DepositRate-Update"].show?a("span",[3==e.btnType?a("span",[a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Save",expression:"'Btn.Save'"}],staticClass:"btn crm_state_blue crm-cursor",on:{click:function(t){return e.toSave(3)}}}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],staticClass:"btn crm_state_red crm-cursor",on:{click:function(t){return e.cancelSave(3)}}})]):a("span",{staticClass:"icon",on:{click:function(t){return e.btnTypeTab(3)}}},[a("i",{staticClass:"el-icon-edit-outline crm-cursor"})])]):e._e()])]),e._l(e.deposit_rate,(function(t,n){return a("el-input",{key:n,attrs:{disabled:3!=e.btnType,placeholder:e.$t("Placeholder.Not")},model:{value:t.rate,callback:function(a){e.$set(t,"rate","string"===typeof a?a.trim():a)},expression:"item.rate"}},[a("template",{slot:"prepend"},[a("span",[e._v(e._s(t.currency+"/"+t.transformCurrency))])]),3!=e.btnType&&e.display["R-DepositWithdraw-DepositRate-Delete"].show?a("template",{slot:"append"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Delete",expression:"'Btn.Delete'"}]})]):e._e(),3==e.btnType&&e.display["R-DepositWithdraw-DepositRate-Delete"].show?a("template",{slot:"append"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Delete",expression:"'Btn.Delete'"}],on:{click:function(a){return e.rateDelete(t.id)}}})]):e._e()],2)}))],2),a("el-col",{staticClass:"right",attrs:{span:12}},[a("div",{staticClass:"title"},[a("div",{staticClass:"label"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"system_info.Title.WithdrawalsRate",expression:"'system_info.Title.WithdrawalsRate'"}]})]),a("div",{staticClass:"btnTab"},[e.display["R-DepositWithdraw-WithdrawRate-Add"].show?a("span",{staticClass:"add crm-cursor",on:{click:function(t){return e.openAdd("W_Rate")}}},[a("i",{staticClass:"el-icon-plus"})]):e._e(),e.display["R-DepositWithdraw-WithdrawRate-Update"].show?a("span",[4==e.btnType?a("span",[a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Save",expression:"'Btn.Save'"}],staticClass:"btn crm_state_blue crm-cursor",on:{click:function(t){return e.toSave(4)}}}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],staticClass:"btn crm_state_red crm-cursor",on:{click:function(t){return e.cancelSave(4)}}})]):a("span",{staticClass:"icon",on:{click:function(t){return e.btnTypeTab(4)}}},[a("i",{staticClass:"el-icon-edit-outline crm-cursor"})])]):e._e()])]),e._l(e.withdrawals_rate,(function(t,n){return a("el-input",{key:n,attrs:{disabled:4!=e.btnType,placeholder:e.$t("Placeholder.Not")},model:{value:t.rate,callback:function(a){e.$set(t,"rate","string"===typeof a?a.trim():a)},expression:"item.rate"}},[a("template",{slot:"prepend"},[a("span",[e._v(e._s(t.currency+"/"+t.transformCurrency))])]),4!=e.btnType&&e.display["R-DepositWithdraw-WithdrawRate-Delete"].show?a("template",{slot:"append"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Delete",expression:"'Btn.Delete'"}]})]):e._e(),4==e.btnType&&e.display["R-DepositWithdraw-WithdrawRate-Delete"].show?a("template",{slot:"append"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Delete",expression:"'Btn.Delete'"}],on:{click:function(a){return e.rateDelete(t.id)}}})]):e._e()],2)}))],2)],1),a("el-row",{staticClass:"box"},[a("div",{staticClass:"title"},[a("div",{staticClass:"label"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"system_info.Title.Automatic",expression:"'system_info.Title.Automatic'"}]})]),e.display["R-DepositWithdraw-Automatic-Update"].show?a("div",{staticClass:"btnTab"},[5==e.btnType?a("span",[a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Save",expression:"'Btn.Save'"}],staticClass:"btn crm_state_blue crm-cursor",on:{click:function(t){return e.toSave(5)}}}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],staticClass:"btn crm_state_red crm-cursor",on:{click:function(t){return e.cancelSave(5)}}})]):a("span",{on:{click:function(t){return e.btnTypeTab(5)}}},[a("i",{staticClass:"el-icon-edit-outline crm-cursor"})])]):e._e()]),a("el-col",{staticClass:"left",attrs:{span:12}},[a("div",{staticClass:"automatic"},[a("div",{staticClass:"label"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"system_info.Label.MTDeposit",expression:"'system_info.Label.MTDeposit'"}]})]),a("div",{staticClass:"btn"},[a("el-switch",{staticClass:"crm_switch",attrs:{disabled:5!=e.btnType,"active-value":"1","inactive-value":"0","active-text":e.$t("Btn.Open"),"inactive-text":e.$t("Btn.Close"),"active-color":"#368FEC","inactive-color":"#EB3F57"},model:{value:e.automatic.depositAutomatic,callback:function(t){e.$set(e.automatic,"depositAutomatic",t)},expression:"automatic.depositAutomatic"}})],1)])]),a("el-col",{staticClass:"right",attrs:{span:12}},[a("div",{staticClass:"automatic"},[a("div",{staticClass:"label"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"system_info.Label.InternalTransfer",expression:"'system_info.Label.InternalTransfer'"}]})]),a("div",{staticClass:"btn"},[a("el-switch",{staticClass:"crm_switch",attrs:{disabled:5!=e.btnType,"active-value":"1","inactive-value":"0","active-text":e.$t("Btn.Open"),"inactive-text":e.$t("Btn.Close"),"active-color":"#368FEC","inactive-color":"#EB3F57"},model:{value:e.automatic.transferAutomatic,callback:function(t){e.$set(e.automatic,"transferAutomatic",t)},expression:"automatic.transferAutomatic"}})],1)])])],1),a("el-row",{staticClass:"box"},[a("el-col",{staticClass:"left",attrs:{span:12}},[a("div",{staticClass:"title"},[a("div",{staticClass:"label"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"system_info.Title.DepositChannel",expression:"'system_info.Title.DepositChannel'"}]})]),e.display["R-DepositWithdraw-DepositChannel-Update"].show?a("div",{staticClass:"btnTab"},[6==e.btnType?a("span",[a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Save",expression:"'Btn.Save'"}],staticClass:"btn crm_state_blue crm-cursor",on:{click:function(t){return e.toSave(6)}}}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],staticClass:"btn crm_state_red crm-cursor",on:{click:function(t){return e.cancelSave(6)}}})]):a("span",{on:{click:function(t){return e.btnTypeTab(6)}}},[a("i",{staticClass:"el-icon-edit-outline crm-cursor"})])]):e._e()]),e._l(e.deposit_channel,(function(t,n){return a("div",{key:n,staticClass:"channelBox"},[a("div",{staticClass:"header"},[a("div",{staticClass:"label crm-cursor",on:{click:function(t){return e.channelCollapse(n)}}},["cn"==e.Session.Get("lang")?a("span",{staticStyle:{display:"block"}},[e._v(e._s(t.name))]):a("span",{staticStyle:{display:"block"}},[e._v(e._s(t.enName))])]),a("div",{staticClass:"btn"},[a("el-switch",{staticClass:"crm_switch",attrs:{disabled:6!=e.btnType,"active-value":1,"inactive-value":0,"active-text":e.$t("Btn.Open"),"inactive-text":e.$t("Btn.Close"),"active-color":"#368FEC","inactive-color":"#EB3F57"},model:{value:t.valid,callback:function(a){e.$set(t,"valid",a)},expression:"item.valid"}}),a("span",{staticClass:"crm-cursor",staticStyle:{display:"inline-block",width:"30px"},on:{click:function(t){return e.channelCollapse(n)}}},[t.banks.length?a("i",{staticClass:"el-icon-arrow-down"}):e._e()])],1)]),a("el-collapse-transition",[e.channelIndex==n?a("div",{staticClass:"content"},e._l(t.banks,(function(t,n){return a("div",{key:n,staticClass:"item"},[a("div",{staticClass:"label"},["cn"==e.Session.Get("lang")?a("span",{staticStyle:{display:"block"}},[e._v(e._s(t.name))]):a("span",{staticStyle:{display:"block"}},[e._v(e._s(t.enName))])]),a("div",{staticClass:"btn"},[a("el-switch",{staticClass:"crm_switch",attrs:{disabled:6!=e.btnType,"active-value":1,"inactive-value":0,"active-text":e.$t("Btn.Open"),"inactive-text":e.$t("Btn.Close"),"active-color":"#368FEC","inactive-color":"#EB3F57"},model:{value:t.valid,callback:function(a){e.$set(t,"valid",a)},expression:"item_i.valid"}})],1)])})),0):e._e()])],1)}))],2),a("el-col",{staticClass:"right",attrs:{span:12}},[a("div",{staticClass:"title"},[a("div",{staticClass:"label"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"system_info.Title.WithdrawalsChannel",expression:"'system_info.Title.WithdrawalsChannel'"}]})]),e.display["R-DepositWithdraw-WithdrawChannel-Update"].show?a("div",{staticClass:"btnTab"},[7==e.btnType?a("span",[a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Save",expression:"'Btn.Save'"}],staticClass:"btn crm_state_blue crm-cursor",on:{click:function(t){return e.toSave(7)}}}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],staticClass:"btn crm_state_red crm-cursor",on:{click:function(t){return e.cancelSave(7)}}})]):a("span",{on:{click:function(t){return e.btnTypeTab(7)}}},[a("i",{staticClass:"el-icon-edit-outline crm-cursor"})])]):e._e()]),e._l(e.withdrawals_channel,(function(t,n){return a("div",{key:n,staticClass:"channelBox"},[a("div",{staticClass:"header"},[a("div",{staticClass:"label crm-cursor",on:{click:function(t){return e.channelCollapse(n)}}},["cn"==e.Session.Get("lang")?a("span",{staticStyle:{display:"block"}},[e._v(e._s(t.name))]):a("span",{staticStyle:{display:"block"}},[e._v(e._s(t.enName))])]),a("div",{staticClass:"btn"},[a("el-switch",{staticClass:"crm_switch",attrs:{disabled:7!=e.btnType,"active-value":1,"inactive-value":0,"active-text":e.$t("Btn.Open"),"inactive-text":e.$t("Btn.Close"),"active-color":"#368FEC","inactive-color":"#EB3F57"},model:{value:t.valid,callback:function(a){e.$set(t,"valid",a)},expression:"item.valid"}}),a("span",{staticClass:"crm-cursor",staticStyle:{display:"inline-block",width:"30px"},on:{click:function(t){return e.channelCollapse(n)}}},[t.banks.length?a("i",{staticClass:"el-icon-arrow-down"}):e._e()])],1)]),a("el-collapse-transition",[e.channelIndex==n?a("div",{staticClass:"content"},e._l(t.banks,(function(t,n){return a("div",{key:n,staticClass:"item"},[a("div",{staticClass:"label"},["cn"==e.Session.Get("lang")?a("span",{staticStyle:{display:"block"}},[e._v(e._s(t.name))]):a("span",{staticStyle:{display:"block"}},[e._v(e._s(t.enName))])]),a("div",{staticClass:"btn"},[a("el-switch",{staticClass:"crm_switch",attrs:{disabled:7!=e.btnType,"active-value":1,"inactive-value":0,"active-text":e.$t("Btn.Open"),"inactive-text":e.$t("Btn.Close"),"active-color":"#368FEC","inactive-color":"#EB3F57"},model:{value:t.valid,callback:function(a){e.$set(t,"valid",a)},expression:"item_i.valid"}})],1)])})),0):e._e()])],1)}))],2)],1),a("el-dialog",{attrs:{title:e.$t("system_info.Title.Authentication"),visible:e.dialogCode,center:"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCode=t}}},[a("div",{staticClass:"dia-content"},[a("el-form",{ref:"dialogCheck_form",staticClass:"dialogCheck_form",attrs:{model:e.dialogCode_form,rules:e.rules,"label-width":"135px"}},[a("el-form-item",{attrs:{prop:"",label:e.$t("system_info.Label.SecureEmail")+":"}},[e._v(" "+e._s(e.dialogCode_form.email)+" "),a("span",{staticClass:"code crm-cursor",domProps:{textContent:e._s(e.getCodeString)},on:{click:function(t){return e.getCode(1)}}})]),a("el-form-item",{attrs:{prop:"code",label:e.$t("system_info.Label.SecurityCode")+":"}},[a("el-input",{attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},model:{value:e.dialogCode_form.code,callback:function(t){e.$set(e.dialogCode_form,"code","string"===typeof t?t.trim():t)},expression:"dialogCode_form.code"}})],1)],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.cancelCode}})],1)],1)]),a("trading-info-add",{attrs:{dialogInfoTradingAdd:e.dialogInfoTradingAdd,addType:e.addType,myInfo:e.myInfo},on:{emailCode:e.emailCode}}),e.dialogInfoTradingAdd?a("div",{staticClass:"crm_verified_info_mask",on:{click:e.closeDiaAdd}}):e._e()],1)},i=[],s=(a("d3b7"),a("ac1f"),a("25f0"),a("1276"),a("5530")),r=(a("96cf"),a("1da1")),o=a("8fd6"),c=a("da7c"),l=a("f121"),d=a.n(l),p=d.a.Code,u={name:"DepositWithdraw",components:{TradingInfoAdd:o["a"]},filters:{NumberFormat:function(e){if(isNaN(e))return 0;var t=e.toString().split("."),a=t[0].length;if(a<3)return e;for(var n=0,i="",s=a-3;s>=0;s-=3)i=t[0].substr(s,3)+(""==i?"":",")+i,n=s;return n>0&&(i=t[0].substr(0,n)+(""==i?"":",")+i),i+(1==t.length?"":"."+t[1])}},data:function(){return{pictLoading:!1,pict:!1,deposit:{},withdrawals:{},deposit_rate:{},withdrawals_rate:{},automatic:{},deposit_channel:{},withdrawals_channel:{},rateDeleteId:"",btnType:0,form:{item1:"123456"},ChannelData:[{name:"银联汇款",state:1,children:[{name:"ETH",state:1},{name:"BCH",state:1},{name:"LTC",state:1},{name:"XRP",state:1}]},{name:"SafePay",state:1,children:[]},{name:"B2BPay",state:1,children:[{name:"ETH",state:1},{name:"BCH",state:1},{name:"LTC",state:1},{name:"XRP",state:1}]}],channelIndex:-1,channelIndex1:-1,dialogCode:!1,dialogCode_form:{email:JSON.parse(this.Session.Get("user",!0)).email,code:""},dialogInfoTradingAdd:!1,addType:"",myInfo:{},timer:59,interval:null,getCodeString:"",urlCode:"",rules:{code:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}]},pagerInfo:{row:100,current:1,pageTotal:0,rowTotal:0}}},computed:{display:function(){return JSON.parse(this.Session.Get("display",!0))}},methods:{openAdd:function(e){this.dialogInfoTradingAdd=!0,this.addType=e},closeDiaAdd:function(){this.dialogInfoTradingAdd=!1},closeAdd:function(e){this.dialogInfoTradingAdd=e},btnTypeTab:function(e){this.btnType=e},channelCollapse:function(e){this.channelIndex==e?this.channelIndex=-1:this.channelIndex=e},channelCollapse1:function(e){this.channelIndex1==e?this.channelIndex1=-1:this.channelIndex1=e},cancelCode:function(){this.dialogCode=!1,this.$refs["dialogCode_form"]&&this.$refs["dialogCode_form"].resetFields()},cancelSave:function(e){switch(this.btnType=-1,e){case 1:this.getDepositInfo();break;case 2:this.getWithdrawalsInfo();break;case 3:this.getDeposit_rateInfo();break;case 4:this.getWithdrawals_rateInfo();break;case 5:this.getConfigAutomaticInfo();break;case 6:this.getDeposit_channelInfo();break;case 7:this.getWithdrawals_channelInfo();break}},toSave:function(e){switch(e){case 1:this.urlCode="/config/deposit/amount/update/send/code";break;case 2:this.urlCode="/config/withdraw/amount/update/send/code";break;case 3:this.urlCode="/finance/rate/batch/update/send/code";break;case 4:this.urlCode="/finance/rate/batch/update/send/code";break;case 5:this.urlCode="/config/automatic/update/send/code";break;case 6:this.urlCode="/remittance/channel/batch/update/send/code";break;case 7:this.urlCode="/remit/channel/batch/update/send/code";break}this.saveType=e,this.dialogCode_form.code="",this.dialogCode=!0},toVerified:function(){var e=this;this.$refs["dialogCheck_form"].validate((function(t){if(!t)return!1;switch(e.saveType){case 1:e.DepositUpdate();break;case 2:e.WithdrawalsUpdate();break;case 3:e.Deposit_rateUpdate();break;case 4:e.Withdrawals_rateUpdate();break;case 5:e.configAutomaticUpdate();break;case 6:e.Deposit_channelUpdate();break;case 7:e.Withdrawals_channelUpdate();break;case 8:e.toRateDelete();break;case 9:e.rateAdd();break}}))},getCode:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t){var a,n=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.getCodeString=this.$i18n.t("system_info.Code.waitCode1")+this.timer+this.$i18n.t("system_info.Code.waitCode2"),a=this,this.interval||(this.codeSend(t),this.interval=setInterval((function(){a.timer--,a.Session.Set("timer",a.timer),a.getCodeString=a.$i18n.t("system_info.Code.waitCode1")+a.timer+a.$i18n.t("system_info.Code.waitCode2"),0==a.timer&&(n.getCodeString=n.$i18n.t("system_info.Code.getCode"),clearInterval(a.interval),a.interval=null,a.timer=59,a.Session.Set("timer",a.timer))}),1e3));case 3:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),initTimer:function(){var e=this.Session.Get("timer")||this.timer;59==e?this.getCodeString=this.$i18n.t("system_info.Code.getCode"):(this.timer=this.Session.Get("timer"),this.getCode(0))},codeSend:function(e){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function a(){var n;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!e){a.next=5;break}return a.next=3,c["a"].emailCode(t.urlCode,{});case 3:n=a.sent,n.code==p.StatusOK?t.$pigeon.MessageOK(n.msg):t.$pigeon.MessageError(n.msg);case 5:case"end":return a.stop()}}),a)})))()},getDepositInfo:function(){var e=this;return Object(r["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-DepositWithdraw-Deposit-Search"].show){t.next=5;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pict||(e.pictLoading=!1),t.abrupt("return");case 5:return t.next=7,c["a"].depositAmountInfo({});case 7:a=t.sent,a.code==p.StatusOK?e.deposit=a.data:e.$pigeon.MessageError(a.msg),e.pict||(e.pictLoading=!1);case 10:case"end":return t.stop()}}),t)})))()},DepositUpdate:function(){var e=this;return Object(r["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,c["a"].depositAmountUpdate(Object(s["a"])({emailCode:e.dialogCode_form.code},e.deposit));case 2:a=t.sent,a.code==p.StatusOK?(e.$pigeon.MessageOK(e.$i18n.t("Msg.ModifySuccess")),e.$refs["dialogCheck_form"].resetFields(),e.dialogCode=!1,e.btnType=-1,e.saveType=-1,e.getDepositInfo()):e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},getWithdrawalsInfo:function(){var e=this;return Object(r["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-DepositWithdraw-Withdraw-Search"].show){t.next=5;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pict||(e.pictLoading=!1),t.abrupt("return");case 5:return t.next=7,c["a"].withdrawAmountInfo({});case 7:a=t.sent,a.code==p.StatusOK?e.withdrawals=a.data:e.$pigeon.MessageError(a.msg),e.pict||(e.pictLoading=!1);case 10:case"end":return t.stop()}}),t)})))()},WithdrawalsUpdate:function(){var e=this;return Object(r["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,c["a"].withdrawAmountUpdate(Object(s["a"])({emailCode:e.dialogCode_form.code},e.withdrawals));case 2:a=t.sent,a.code==p.StatusOK?(e.$pigeon.MessageOK(e.$i18n.t("Msg.ModifySuccess")),e.$refs["dialogCheck_form"].resetFields(),e.dialogCode=!1,e.btnType=-1,e.saveType=-1,e.getWithdrawalsInfo()):e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},getDeposit_rateInfo:function(){var e=this;return Object(r["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-DepositWithdraw-DepositRate-Search"].show){t.next=5;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pict||(e.pictLoading=!1),t.abrupt("return");case 5:return t.next=7,c["a"].financeRateList({type:0});case 7:a=t.sent,a.code==p.StatusOK?e.deposit_rate=a.data:e.$pigeon.MessageError(a.msg),e.pict||(e.pictLoading=!1);case 10:case"end":return t.stop()}}),t)})))()},Deposit_rateUpdate:function(){var e=this;return Object(r["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,c["a"].financeRateBatchUpdate({emailCode:e.dialogCode_form.code,type:0,data:e.deposit_rate});case 2:a=t.sent,a.code==p.StatusOK?(e.$pigeon.MessageOK(e.$i18n.t("Msg.ModifySuccess")),e.$refs["dialogCheck_form"].resetFields(),e.dialogCode=!1,e.btnType=-1,e.saveType=-1,e.getDeposit_rateInfo()):e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},getWithdrawals_rateInfo:function(){var e=this;return Object(r["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-DepositWithdraw-WithdrawRate-Search"].show){t.next=5;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pict||(e.pictLoading=!1),t.abrupt("return");case 5:return t.next=7,c["a"].financeRateList({type:1});case 7:a=t.sent,a.code==p.StatusOK?e.withdrawals_rate=a.data:e.$pigeon.MessageError(a.msg),e.pict||(e.pictLoading=!1);case 10:case"end":return t.stop()}}),t)})))()},Withdrawals_rateUpdate:function(){var e=this;return Object(r["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,c["a"].financeRateBatchUpdate({emailCode:e.dialogCode_form.code,type:1,data:e.withdrawals_rate});case 2:a=t.sent,a.code==p.StatusOK?(e.$pigeon.MessageOK(e.$i18n.t("Msg.ModifySuccess")),e.$refs["dialogCheck_form"].resetFields(),e.dialogCode=!1,e.btnType=-1,e.saveType=-1,e.getWithdrawals_rateInfo()):e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},getConfigAutomaticInfo:function(){var e=this;return Object(r["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-DepositWithdraw-Automatic-Search"].show){t.next=5;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pict||(e.pictLoading=!1),t.abrupt("return");case 5:return t.next=7,c["a"].configAutomaticInfo({});case 7:a=t.sent,a.code==p.StatusOK?e.automatic=a.data:e.$pigeon.MessageError(a.msg),e.pict||(e.pictLoading=!1);case 10:case"end":return t.stop()}}),t)})))()},configAutomaticUpdate:function(){var e=this;return Object(r["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,c["a"].configAutomaticUpdate(Object(s["a"])({emailCode:e.dialogCode_form.code},e.automatic));case 2:a=t.sent,a.code==p.StatusOK?(e.$pigeon.MessageOK(e.$i18n.t("Msg.ModifySuccess")),e.$refs["dialogCheck_form"].resetFields(),e.dialogCode=!1,e.btnType=-1,e.saveType=-1,e.getConfigAutomaticInfo()):e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},getDeposit_channelInfo:function(){var e=this;return Object(r["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-DepositWithdraw-DepositChannel-Search"].show){t.next=5;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pict||(e.pictLoading=!1),t.abrupt("return");case 5:return t.next=7,c["a"].remittanceChannelList({});case 7:a=t.sent,a.code==p.StatusOK?e.deposit_channel=a.data:e.$pigeon.MessageError(a.msg),e.pict||(e.pictLoading=!1);case 10:case"end":return t.stop()}}),t)})))()},Deposit_channelUpdate:function(){var e=this;return Object(r["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,c["a"].remittanceChannelUpdate({emailCode:e.dialogCode_form.code,data:e.deposit_channel});case 2:a=t.sent,a.code==p.StatusOK?(e.$pigeon.MessageOK(e.$i18n.t("Msg.ModifySuccess")),e.$refs["dialogCheck_form"].resetFields(),e.dialogCode=!1,e.btnType=-1,e.saveType=-1,e.getDeposit_channelInfo()):e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},getWithdrawals_channelInfo:function(){var e=this;return Object(r["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-DepositWithdraw-WithdrawChannel-Search"].show){t.next=5;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pict?(e.pict=!1,e.pictLoading=!1):e.pictLoading=!1,t.abrupt("return");case 5:return t.next=7,c["a"].remitChannelList({});case 7:a=t.sent,a.code==p.StatusOK?e.withdrawals_channel=a.data:e.$pigeon.MessageError(a.msg),e.pict?(e.pict=!1,e.pictLoading=!1):e.pictLoading=!1;case 10:case"end":return t.stop()}}),t)})))()},Withdrawals_channelUpdate:function(){var e=this;return Object(r["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,c["a"].remitChannelUpdate({emailCode:e.dialogCode_form.code,data:e.withdrawals_channel});case 2:a=t.sent,a.code==p.StatusOK?(e.$pigeon.MessageOK(e.$i18n.t("Msg.ModifySuccess")),e.$refs["dialogCheck_form"].resetFields(),e.dialogCode=!1,e.btnType=-1,e.saveType=-1,e.getWithdrawals_channelInfo()):e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},rateDelete:function(e){this.urlCode="/finance/rate/delete/send/code",this.saveType=8,this.dialogCode=!0,this.rateDeleteId=e},toRateDelete:function(){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=[],a.push(e.rateDeleteId),t.next=4,c["a"].financeRateDelete({ids:a,emailCode:e.dialogCode_form.code});case 4:n=t.sent,n.code==p.StatusOK?(e.$pigeon.MessageOK(e.$i18n.t("Msg.DeleteSuccess")),e.$refs["dialogCheck_form"].resetFields(),e.dialogCode=!1,e.btnType=-1,e.saveType=-1,e.getDeposit_rateInfo(),e.getWithdrawals_rateInfo()):e.$pigeon.MessageError(n.msg);case 6:case"end":return t.stop()}}),t)})))()},rateAdd:function(){var e=this;return Object(r["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,c["a"].financeRateAdd(Object(s["a"])({type:"D_Rate"==e.addType?0:1,emailCode:e.dialogCode_form.code},e.addForm));case 2:a=t.sent,a.code==p.StatusOK?(e.$refs["dialogCheck_form"].resetFields(),e.dialogCode=!1,e.dialogInfoTradingAdd=!1,e.btnType=-1,e.saveType=-1,e.$pigeon.MessageOK(e.$i18n.t("Msg.Success")),e.getDeposit_rateInfo(),e.getWithdrawals_rateInfo()):e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},emailCode:function(e,t){this.addForm=t,"D_Rate"!=e&&"W_Rate"!=e||(this.urlCode="/finance/rate/add/send/code",this.saveType=9,this.dialogCode=!0)}},mounted:function(){var e=this;this.initTimer(),this.pict||(this.pict=!0,this.pictLoading=!0),setTimeout((function(){e.getDepositInfo()}),250),setTimeout((function(){e.getWithdrawalsInfo()}),500),setTimeout((function(){e.getConfigAutomaticInfo()}),750),setTimeout((function(){e.getDeposit_rateInfo()}),1e3),setTimeout((function(){e.getWithdrawals_rateInfo()}),1150),setTimeout((function(){e.getDeposit_channelInfo()}),1200),setTimeout((function(){e.getWithdrawals_channelInfo()}),1350)}},m=u,v=(a("64c5"),a("01fc"),a("2877")),h=Object(v["a"])(m,n,i,!1,null,"aee63d02",null);t["default"]=h.exports}}]);