Files
peko-h5/view/peko/modules/myincome/static/js/4.95d3c8221db60b228eb2.js

2 lines
19 KiB
JavaScript
Raw Normal View History

2023-08-03 14:11:46 +08:00
webpackJsonp([4],{"9SZj":function(a,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("+EAh"),e=n("hff3"),s=n("X2Oc"),r=n("Fd2+"),o=n("KTi7"),c=(n("QLzJ"),n("Z4iZ")),d={data:function(){return{drawList:[],prodId:0,showKeyboard:!1,password:"",isBindPaymentPwd:!1,isBind:!1,currentChannel:0,realName:"",alipayAccount:"",bankCardNo:"",remainWithdrawMoney:0,isTeen:!1,isTeenWithdrawalSwitch:!1,alipay:{},bankCard:{}}},components:{navigation:e.a},created:function(){document.title="提現",this.getUserWithdrawInfo(),this.getUserWithdrawConfig(),s.a.initNav({type:1,data:{msg:"提現規則",link:i.v,title:"提現規則",showUrl:i.v,imgUrl:i.v,desc:"提現規則"}})},computed:{isActive:function(){return!!this.isBind&&(!this.currentChannel||!!this.bankCardNo)}},methods:{returnUrl:function(){return i.v},back:function(){this.$router.go(-1)},select:function(a){this.drawList.forEach(function(a){a.check=!1}),a.check=!0,this.$forceUpdate(),this.prodId=a.prodId},sure:function(a){if(a)if(this.isTeen){if(!this.isTeenWithdrawalSwitch)return r.a.alert({title:"提示",message:"當前處於青少年模式下,無法使用提現功能哦",confirmButtonText:"我知道了",confirmButtonColor:"#7154EE"}).then(function(){r.a.close()});if(!this.isBindPaymentPwd)return Object(r.b)("為了營造更安全的網絡環境,保護您和他人的財產安全,請先設置支付密碼");if(!this.prodId)return Object(r.b)("請選擇提現金額");this.showKeyboard=!0,Object(r.b)("請輸入支付密碼")}else{if(!this.isBindPaymentPwd)return Object(r.b)("為了營造更安全的網絡環境,保護您和他人的財產安全,請先設置支付密碼");if(!this.prodId)return Object(r.b)("請選擇提現金額");this.showKeyboard=!0,Object(r.b)("請輸入支付密碼")}},tolinkRule:function(){window.location.href="http://120.79.211.243/modules/guide/output.html?platform=66"},getWithDrawList:function(a){function t(){return a.apply(this,arguments)}return t.toString=function(){return a.toString()},t}(function(){var a=this;getWithDrawList().then(function(t){if(200===t.data.code){a.drawList=t.data.data;for(var n=0;n<a.drawList.length;n++)a.drawList[n].check=!1}else a.$message.error(t.data.message)})}),withdrawV2:function(){var a,t=this;this.password;a=Object(o.a)(this.password,"1ea53d260ecf11e7b56e00163e046a26");var n={uid:window.sessionStorage.getItem("uid"),prodId:this.prodId,payPwd:a};Object(i.w)(n).then(function(a){console.log("result",a.data.data),200===a.data.code?(Object(r.b)("提現成功"),t.getUserWithdrawConfig()):Object(r.b)(a.data.message)}).catch(function(a){10111===a.code?Object(c.b)().app?r.a.confirm({title:"提示",message:"為了營造更安全的網絡環境\n保護您和他人的財產安全\n請先進行實名認證",confirmButtonText:"前往認證",confirmButtonColor:"#7154EE"}).then(function(){"test"===Object(c.a)()?window.location="http://api.uat.zhongjialx.com/accompany/modules/identity/new.html":window.location="https://api.zhongjialx.com/accompany/modules/identity/new.html"}).catch(function(){r.a.close()}):r.a.confirm({title:"提示",message:"為了營造更安全的網絡環境\n保護您和他人的財產安全\n請先前往pikoapp進行實名認證",showConfirmButton:!1,cancelButtonText:"確定"}).then(function(){r.a.close()}).catch(function(){r.a.close()}):25006===a.code?r.a.alert({title:"提示",message:a.message,confirmButtonText:"我知道了",confirmButtonColor:"#7154EE"}).then(function(){r.a.close()}):Object(r.b)(a.message)})},changeChannel:function(a){this.currentChannel=a,this.currentChannel?this.drawList=this.bankCard.withdrawProds:this.drawList=this.alipay.withdrawProds},getUserWithdrawInfo:function(){var a=this;Object(i.n)().then(function(t){t.data.data.realName?(a.isBind=!0,200===t.data.code&&(a.realName=t.data.data.realName,a.idCardNo=t.data.data.idCardNo,a.idCardBack=t.data.data.idCardBack,a.idCardFront=t.data.data.idCardFront,a.phone=t.data.data.phone,a.alipayAccount=t.data.data.alipayAccount,a.bankCardNo=t.data.data.bankCardNo,a.encryptPhone=t.data.data.encryptPhone)):a.isBind=!1})},getUserWithdr
//# sourceMappingURL=4.95d3c8221db60b228eb2.js.map