u?2==s.tableData2.status&&0==s.tableData2.activityStatus?s.isTransform=1:(2==s.tableData2.status&&(1==s.tableData2.activityStatus||2!=s.tableData2.balanceStatus&&2!=s.tableData2.creditStatus)||2==s.tableData2.status&&3==s.tableData2.activityStatus)&&(s.isTransform=2):s.isTransform=2,2==s.tableData2.status&&2==s.tableData2.activityStatus?(s.isTransform=null,0==s.tableData2.realizationStatus?s.isRealization=1:(1==s.tableData2.realizationStatus||2!=s.tableData2.realizationCreditStatus&&2!=s.tableData2.realizationBalanceStatus||3==s.tableData2.realizationStatus)&&(s.isRealization=2)):s.isRealization=null):t.tableData2&&(t.tableData2Flag=!0)):(t.$pigeon.MessageError(a.msg),t.tableData2=!0);case 4:case"end":return e.stop()}}),e)})))()},toApply23Open:function(){var t=Object(o["a"])(Object(r["a"])().mark((function t(){var e;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.pictLoading=!0,t.next=3,l["a"].Activity23Login({});case 3:e=t.sent,e.code==D.StatusOK?(this.loginOptions=e.data,this.dialogDealResult=!0):this.$pigeon.MessageError(e.msg),this.pictLoading=!1;case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),toApply23:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.$refs["dialogDealResult_form"].validate(function(){var e=Object(o["a"])(Object(r["a"])().mark((function e(a){var i;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=12;break}if(!t.flag){e.next=5;break}return e.abrupt("return");case 5:t.flag=!0;case 6:return e.next=8,l["a"].Activity23HundredApply({login:t.dialogDealResult_form.login});case 8:i=e.sent,i.code==D.StatusOK?(t.toApply23Cancel(),t.Activity23HundredInfo(),t.$pigeon.MessageOK(i.msg)):t.$pigeon.MessageError(i.msg),e.next=13;break;case 12:return e.abrupt("return",!1);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})))()},toApply23Cancel:function(){this.$refs["dialogDealResult_form"]&&this.$refs["dialogDealResult_form"].resetFields(),this.dialogDealResult=!1},toTransform:function(){this.dialogChinaUnionPay=!0},toTransformActive:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){var a;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l["a"].Activity23HundredTransform({});case 2:a=e.sent,a.code==D.StatusOK?(t.dialogChinaUnionPay=!1,t.Activity23HundredInfo(),t.$pigeon.MessageOK(a.msg)):t.$pigeon.MessageError(a.msg);case 4:case"end":return e.stop()}}),e)})))()},toRealization:function(){this.dialogChinaUnionPay1=!0},toRealizationActive:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){var a;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l["a"].Activity23HundredRealization({});case 2:a=e.sent,a.code==D.StatusOK?(t.dialogChinaUnionPay1=!1,t.Activity23HundredInfo(),t.$pigeon.MessageOK(a.msg)):t.$pigeon.MessageError(a.msg);case 4:case"end":return e.stop()}}),e)})))()},Activity23JiangxinInfo:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){var a,i,s,n,o,c,d;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l["a"].Activity23JiangxinInfo({});case 2:a=e.sent,a.code==D.StatusOK?(t.tableData3=a.data,1==t.tableData3.show?t.tableData3Flag=!0:0==t.tableData3.show?t.tableData3Flag=!1:t.tableData3.show||(t.tableData3Flag=!0,i=t,s=2,n=(new Date).getTimezoneOffset(),o=(new Date).getTime(),c=new Date(o+60*n*1e3+60*s*60*1e3),d=i.tableData3.activityEndTime?new Date(i.tableData3.activityEndTime.replace(/-/g,"/")).getTime():null,2==t.tableData3.status&&0==t.tableData3.realizationStatus&&d&&c>d?t.isRealizationJx=1:t.isRealizationJx=2)):t.$pigeon.MessageError(a.msg);case 4:case"end":return e.stop()}}),e)})))()},toApply23JxOpen:function(){var t=Object(o["a"])(Object(r["a"])().mark((function t(){var e;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.pictLoading=!0,t.next=3,l["a"].Activity23JxLogin({});case 3:e=t.sent,e.code==D.StatusOK?(this.loginOptions=e.data,this.dialogDealResultJx=!0):this.$pigeon.MessageError(e.msg),this.pictLoading=!1;case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),toApply23Jx:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.$refs["dialogDealResultJx_form"].validate(function(){var e=Object(o["a"])(Object(r["a"])().mark((function e(a){var i;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=12;break}if(!t.flag){e.next=5;break}return e.abrupt("return");case 5:t.flag=!0;case 6:return e.next=8,l["a"].Activity23JiangxinApply({login:t.dialogDealResultJx_form.login});case 8:i=e.sent,i.code==D.StatusOK?(t.toApply23JxCancel(),t.Activity23JiangxinInfo(),t.$pigeon.MessageOK(i.msg)):t.$pigeon.MessageError(i.msg),e.next=13;break;case 12:return e.abrupt("return",!1);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})))()},toApply23JxCancel:function(){this.$refs["dialogDealResultJx_form"]&&this.$refs["dialogDealResultJx_form"].resetFields(),this.dialogDealResultJx=!1},toRealizationJx:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){var a;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l["a"].Activity23JiangxinRealization({id:t.tableData3.id});case 2:a=e.sent,a.code==D.StatusOK?(t.Activity23JiangxinInfo(),t.$pigeon.MessageOK(a.msg)):t.$pigeon.MessageError(a.msg);case 4:case"end":return e.stop()}}),e)})))()},Activity23JiangxinInfoVip:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){var a,i,s,n,o,c,d;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l["a"].Activity23JiangxinInfoVip({});case 2:a=e.sent,a.code==D.StatusOK?(t.tableData3Vip=a.data,1==t.tableData3Vip.show?t.tableData3FlagVip=!0:0==t.tableData3Vip.show?t.tableData3FlagVip=!1:t.tableData3Vip.show||(t.tableData3FlagVip=!0,i=t,s=2,n=(new Date).getTimezoneOffset(),o=(new Date).getTime(),c=new Date(o+60*n*1e3+60*s*60*1e3),d=i.tableData3Vip.activityEndTime?new Date(i.tableData3Vip.activityEndTime.replace(/-/g,"/")).getTime():null,2==t.tableData3Vip.status&&0==t.tableData3Vip.realizationStatus&&d&&c>d?t.isRealizationJxVip=1:t.isRealizationJxVip=2)):t.$pigeon.MessageError(a.msg);case 4:case"end":return e.stop()}}),e)})))()},toApply23JxOpenVip:function(){var t=Object(o["a"])(Object(r["a"])().mark((function t(){var e;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.pictLoading=!0,t.next=3,l["a"].Activity23JxLoginVip({});case 3:e=t.sent,e.code==D.StatusOK?(this.loginOptions=e.data,this.dialogDealResultJxVip=!0):this.$pigeon.MessageError(e.msg),this.pictLoading=!1;case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),toApply23JxVip:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.$refs["dialogDealResultJx_formVip"].validate(function(){var e=Object(o["a"])(Object(r["a"])().mark((function e(a){var i;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=12;break}if(!t.flag){e.next=5;break}return e.abrupt("return");case 5:t.flag=!0;case 6:return e.next=8,l["a"].Activity23JiangxinApplyVip({login:t.dialogDealResultJx_formVip.login});case 8:i=e.sent,i.code==D.StatusOK?(t.toApply23JxCancelVip(),t.Activity23JiangxinInfoVip(),t.$pigeon.MessageOK(i.msg)):t.$pigeon.MessageError(i.msg),e.next=13;break;case 12:return e.abrupt("return",!1);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})))()},toApply23JxCancelVip:function(){this.$refs["dialogDealResultJx_formVip"]&&this.$refs["dialogDealResultJx_formVip"].resetFields(),this.dialogDealResultJxVip=!1},toRealizationJxVip:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){var a;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l["a"].Activity23JiangxinRealizationVip({id:t.tableData3Vip.id});case 2:a=e.sent,a.code==D.StatusOK?(t.Activity23JiangxinInfoVip(),t.$pigeon.MessageOK(a.msg)):t.$pigeon.MessageError(a.msg);case 4:case"end":return e.stop()}}),e)})))()},Activity24nianzhongInfo:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){var a;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l["a"].Activity23nianzhongInfo({});case 2:a=e.sent,a.code==D.StatusOK?(t.tableData4=a.data,1==t.tableData4.show?t.tableData4Flag=!0:0==t.tableData4.show&&(t.tableData4Flag=!1)):t.$pigeon.MessageError(a.msg);case 4:case"end":return e.stop()}}),e)})))()},toActivity24nianzhong:function(){this.$router.push({path:"/customer/deposit"}).catch((function(t){return t})),this.$store.commit("isActiveTab","2")},toActivity24Trading:function(){this.$router.push({path:"/customer/new"}).catch((function(t){return t}))},Activity24nianzhongTwoInfo:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){var a;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l["a"].Activity23nianzhongTwoInfo({});case 2:a=e.sent,a.code==D.StatusOK?(t.tableData4Two=a.data,1==t.tableData4Two.show?t.tableData4TwoFlag=!0:0==t.tableData4Two.show&&(t.tableData4TwoFlag=!1)):t.$pigeon.MessageError(a.msg);case 4:case"end":return e.stop()}}),e)})))()},GetActivityCptCode:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){var a;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l["a"].ActivityCptinfoGetCode({});case 2:a=e.sent,a.code==D.StatusOK?(t.tableDataCptFlagCode=a.data.code,t.tableDataCptFlagCode&&t.ActivityCptInfo(t.tableDataCptFlagCode)):t.$pigeon.MessageError(a.msg);case 4:case"end":return e.stop()}}),e)})))()},ActivityCptInfo:function(t){var e=this;return Object(o["a"])(Object(r["a"])().mark((function a(){var i;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,l["a"].ActivityCptinfoCode({infoCode:t});case 2:i=a.sent,i.code==D.StatusOK?(e.tableDataCpt=i.data,null==e.tableDataCpt?e.tableDataCptFlag=!1:e.tableDataCptFlag=!0):e.$pigeon.MessageError(i.msg);case 4:case"end":return a.stop()}}),a)})))()},toApplyCptOpen:function(){var t=Object(o["a"])(Object(r["a"])().mark((function t(){var e;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.pictLoading=!0,t.next=3,l["a"].ActivityCptInfoLogins({cptId:this.tableDataCpt.id});case 3:e=t.sent,e.code==D.StatusOK?(this.loginOptions=e.data,this.dialogDealResultCpt=!0):this.$pigeon.MessageError(e.msg),this.pictLoading=!1;case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),toApplyCpt:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.$refs["dialogDealResultCpt_form"].validate(function(){var e=Object(o["a"])(Object(r["a"])().mark((function e(a){var i;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=12;break}if(!t.flag){e.next=5;break}return e.abrupt("return");case 5:t.flag=!0;case 6:return e.next=8,l["a"].ActivityCptInfoAdd({cptId:t.tableDataCpt.id,login:t.dialogDealResultCpt_form.login,nickname:t.dialogDealResultCpt_form.nickname,mobile:t.dialogDealResultCpt_form.mobile,address:t.dialogDealResultCpt_form.address,recipient:t.dialogDealResultCpt_form.recipient});case 8:i=e.sent,i.code==D.StatusOK?(t.toApplyCptCancel(),t.GetActivityCptCode(),t.$pigeon.MessageOK(i.msg)):t.$pigeon.MessageError(i.msg),e.next=13;break;case 12:return e.abrupt("return",!1);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})))()},toApplyCptCancel:function(){this.$refs["dialogDealResultCpt_form"]&&this.$refs["dialogDealResultCpt_form"].resetFields(),this.dialogDealResultCpt=!1},toOpenSingle:function(t){var e="";-1==t.indexOf("html?")&&(e="?code="+this.tableDataCptFlagCode),t.indexOf("html?")>-1&&-1==t.indexOf("code")&&(e="&code="+this.tableDataCptFlagCode),window.open(this.imgUrl+t+e)},ActivitYdepositRaffleAim:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){var a;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l["a"].ActivitYdepositRaffleAim({});case 2:a=e.sent,a.code==D.StatusOK?null==a.data?t.newTask=!1:(t.newTask=!0,t.newTaskList=a.data):t.$pigeon.MessageError(a.msg);case 4:case"end":return e.stop()}}),e)})))()},ActivitYdepositRaffleinfo:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){var a;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l["a"].ActivitYdepositRaffleinfo({});case 2:a=e.sent,a.code==D.StatusOK?null==a.data?t.LuckyDrawsNumber="0":t.LuckyDrawsNumber=a.data.raffleResidueNumber||"0":t.$pigeon.MessageError(a.msg);case 4:case"end":return e.stop()}}),e)})))()},toHistoryLuckyDraw:function(){this.$router.push({path:"/customer/history/lucky/draw"}).catch((function(t){return t}))},toTaskList:function(){this.$router.push({path:"/customer/task/list"}).catch((function(t){return t}))},UtoTaskList:function(){this.$router.push({path:"/customer/Utask/list"}).catch((function(t){return t}))},goSurplusTaskList:function(){this.$router.push({path:"/customer/surplus/list"}).catch((function(t){return t}))},toOpenTask:function(){this.dialogNewTaskDraw=!0},toNewTask:function(){this.dialogNewTask=!0},closedialogNewTaskDraw:function(){this.dialogNewTaskDraw=!1,this.ActivitYdepositRaffleinfo()},handleCurrentChange:function(t){this.pagerInfo.current=t,this.searchFunc(),this.searchFunc1()},is20Open:function(){var t="2023/04/30 23:59:59",e=2,a=(new Date).getTimezoneOffset(),i=(new Date).getTime(),s=new Date(i+60*a*1e3+60*e*60*1e3).getTime(),n=new Date(t).getTime();s>n&&(this.anshiClose=!1)},isRaffleOpen:function(){var t="2025/9/30 23:59:59",e="2025/7/1 00:00:00",a=2,i=(new Date).getTimezoneOffset(),s=(new Date).getTime(),n=new Date(s+60*i*1e3+60*a*60*1e3).getTime(),r=new Date(t).getTime(),o=new Date(e).getTime();n u&&(0==s.tableDataNoWorries.status||3==s.tableDataNoWorries.status)&&2==s.tableDataNoWorries.compensateStatus&&1==s.tableDataNoWorries.activityStatus?s.isRealizationNoWorries=1:s.isRealizationNoWorries=null):t.tableDataNoWorries&&(t.tableDataNoWorriesFlag=!0)):t.$pigeon.MessageError(a.msg);case 4:case"end":return e.stop()}}),e)})))()},toApplyNoWorriesOpen:function(){var t=Object(o["a"])(Object(r["a"])().mark((function t(){var e;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.pictLoading=!0,t.next=3,l["a"].ActivityNoWorriesLogin({});case 3:e=t.sent,e.code==D.StatusOK?(this.loginOptions=e.data,this.dialogDealResultNoWorries=!0):this.$pigeon.MessageError(e.msg),this.pictLoading=!1;case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),toApplyNoWorries:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.$refs["dialogDeal_formNoWorries"].validate(function(){var e=Object(o["a"])(Object(r["a"])().mark((function e(a){var i;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=12;break}if(!t.flag){e.next=5;break}return e.abrupt("return");case 5:t.flag=!0;case 6:return e.next=8,l["a"].ActivityNoWorriesApply({login:t.dialogDeal_formNoWorries.login});case 8:i=e.sent,i.code==D.StatusOK?(t.dialogNoWorriesApply=!0,t.toApplyNoWorriesCancel(),t.ActivityNoWorriesInfo(),t.$pigeon.MessageOK(i.msg)):t.$pigeon.MessageError(i.msg),e.next=13;break;case 12:return e.abrupt("return",!1);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})))()},toApplyNoWorriesCancel:function(){this.$refs["dialogDeal_formNoWorries"]&&this.$refs["dialogDeal_formNoWorries"].resetFields(),this.dialogDealResultNoWorries=!1},toRealizationNoWorries:function(){this.dialogNoWorries=!0},realizationNoWorries:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){var a;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l["a"].ActivityNoWorriesRealization({id:t.tableDataNoWorries.id});case 2:a=e.sent,a.code==D.StatusOK?(t.dialogNoWorries=!1,t.ActivityNoWorriesInfo(),t.$pigeon.MessageOK(a.msg)):t.$pigeon.MessageError(a.msg);case 4:case"end":return e.stop()}}),e)})))()},isNewYear24Open:function(){var t="2025/3/31 23:59:59",e="2025/1/1 00:00:00",a=2,i=(new Date).getTimezoneOffset(),s=(new Date).getTime(),n=new Date(s+60*i*1e3+60*a*60*1e3).getTime(),r=new Date(t).getTime(),o=new Date(e).getTime();n