cus-HistoryLuckyDraw.d549cef0.js 14 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["cus-HistoryLuckyDraw"],{"6ee2":function(t,i,a){"use strict";a("eb7e")},"751d":function(t,i,a){"use strict";a.r(i);var e=function(){var t=this,i=t._self._c;return i("div",{attrs:{id:"custom_history"}},[i("div",{staticClass:"crm-title-box"},[i("div",{staticClass:"tit"},[i("span",{directives:[{name:"t",rawName:"v-t",value:"wallet.item46",expression:"'wallet.item46'"}]})]),i("div",{staticClass:"btn crm-cursor",on:{click:t.backActivity}},[i("i",{staticClass:"el-icon-back"}),i("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Settings.Title",expression:"'Custom.Settings.Title'"}]})])]),i("div",{staticClass:"main-content"},[i("div",{staticClass:"search crm_search"},[i("div",{staticClass:"search-btn"},[i("el-form",{ref:"form",attrs:{"label-position":"top",model:t.search,"label-width":"80px"}},[i("el-form-item",[i("el-date-picker",{staticClass:"crm_date_pick crm-border-radius-no",attrs:{type:"daterange",align:"right","unlink-panels":"","value-format":"yyyy-MM-dd","range-separator":"-",size:"small","start-placeholder":t.$t("placeholder.Start"),"end-placeholder":t.$t("placeholder.End")},model:{value:t.search.date,callback:function(i){t.$set(t.search,"date",i)},expression:"search.date"}}),i("el-button",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",icon:"el-icon-search"},on:{click:t.handleSearch}})],1)],1)],1)]),i("div",{staticClass:"tab"},[i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.pictLoading,expression:"pictLoading"}],staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:t.tableData,stripe:"","element-loading-background":"rgba(43, 48, 67, 0.05)","element-loading-spinner":"el-icon-loading"}},[i("el-table-column",{attrs:{align:"center",width:t.lang?"100":"",label:t.$t("wallet.item47")},scopedSlots:t._u([{key:"default",fn:function(i){return[t._v("N"+t._s(i.row.id||"--"))]}}])}),i("el-table-column",{attrs:{align:"center",label:t.$t("wallet.item48")},scopedSlots:t._u([{key:"default",fn:function(i){return[t._v(t._s(i.row.addTime||"--"))]}}])}),i("el-table-column",{attrs:{align:"center",label:t.$t("wallet.item49")},scopedSlots:t._u([{key:"default",fn:function(a){return["MANAGER"==a.row.source?i("span",{directives:[{name:"t",rawName:"v-t",value:"wallet.item49_1",expression:"'wallet.item49_1'"}]}):t._e(),"TASK_LET"==a.row.source?i("span",{directives:[{name:"t",rawName:"v-t",value:"wallet.item49_2",expression:"'wallet.item49_2'"}]}):t._e(),"PAY_DEPOSIT"==a.row.source?i("span",{directives:[{name:"t",rawName:"v-t",value:"wallet.item49_3",expression:"'wallet.item49_3'"}]}):t._e()]}}])}),i("el-table-column",{attrs:{align:"center",label:t.$t("wallet.item50")},scopedSlots:t._u([{key:"default",fn:function(a){return[i("span",[t._v(t._s(a.row.raffleNumber||"0"))])]}}])})],1)],1),t.pagerInfo.rowTotal?i("div",{staticClass:"crm_pagination"},[i("el-pagination",{staticClass:"page",attrs:{background:"",layout:"prev, pager, next","page-size":t.pagerInfo.row,total:t.pagerInfo.rowTotal},on:{"current-change":t.handleCurrentChange}})],1):t._e()])])},s=[],n=(a("14d9"),a("ccaf")),o=a("f121"),l=a.n(o);let{Code:c}=l.a;var r={name:"PaymentHistory",data(){return{flag:!1,reasons:{},pictLoading:!1,tableData:[],search:{date:[],startDate:"",endDate:""},time:"",pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0}}},computed:{expireTime(){return JSON.parse(this.Session.Get("user",!0))},lang(){return"en"==this.Session.Get("lang")&&document.body.clientWidth<1330}},methods:{backActivity(){this.$router.push({path:"/customer/activities"}).catch(t=>t)},handleSearch(){this.pagerInfo.current=1,this.searchFunc()},async searchFunc(){if(this.flag)return;this.flag=!0,this.pictLoading=!0,null==this.search.date||0==this.search.date.length?(this.search.startDate="",this.search.endDate=""):(this.search.startDate=this.search.date[0],this.search.endDate=this.search.date[1]);let t=await n["a"].ActivitYdepositRaffleNumberRecord({...this.search,page:{current:this.pagerInfo.current,row:this.pagerInfo.row}});t.code==c.StatusOK?(this.tableData=t.data,t.page?(this.pagerInfo.rowTotal=t.page.rowTotal,this.pagerInfo.pageTotal=t.page.pageTotal):(this.pagerInfo.rowTotal=0,this.pagerInfo.pageTotal=0),this.$pigeon.MessageOK(this.$i18n.t("Msg.SearchSuccess")),this.pictLoading=!1,this.flag=!1):(this.$pigeon.MessageError(t.msg),this.pictLoading=!1,this.flag=!1)},async searchReasons(){let t=await n["a"].reasonsRefusalList({type:null});t.code==c.StatusOK?null==t.data?this.reasons={}:this.reasons=t.data:this.$pigeon.MessageError(t.msg)},cancle:async function(t){let i=this;this.$pigeon.MessageConfirm(this.$i18n.t("Msg.Cancle"),this.$i18n.t("Msg.SystemPrompt"),this.$i18n.t("Btn.item6"),this.$i18n.t("Btn.item7"),(async function(){let a=await n["a"].withdrawCancel({id:t});a.code==c.StatusOK?(i.$pigeon.MessageOK(i.$i18n.t("Msg.Success")),i.searchFunc()):i.$pigeon.MessageError(a.msg)}),(function(){}))},handleSizeChange(t){this.pagerInfo.row=t,this.searchFunc()},handleCurrentChange(t){this.pagerInfo.current=t,this.searchFunc()},getDate(){let t,i=2,a=(new Date).getTimezoneOffset(),e=(new Date).getTime(),s=new Date(e+60*a*1e3+60*i*60*1e3),n=s.getHours(),o=s.getMinutes(),l=s.getSeconds(),c=s.getFullYear(),r=s.getMonth()+1,u=s.getDate();r<10&&(r="0"+r),u<10&&(u="0"+u),n<10&&(n="0"+n),o<10&&(o="0"+o),l<10&&(l="0"+l),t=c+"-"+r+"-"+u+" "+n+":"+o+":"+l,this.time=t}},mounted(){this.searchFunc()}},u=r,y=(a("6ee2"),a("ab35"),a("2877")),p=Object(y["a"])(u,e,s,!1,null,"0cce5396",null);i["default"]=p.exports},"85ba":function(t,i,a){},ab35:function(t,i,a){"use strict";a("85ba")},ccaf:function(t,i,a){"use strict";var e=a("ff2d");class s extends e["a"]{constructor(){super()}async ActivityInfo(t={}){let i=await this.postAll("Host80","/custom/activity/info",t);return i}async ActivityExtensionIist(t={}){let i=await this.postAll("Host80","/web/activity/list",t);return i}async ActivityApplyList(t={}){let i=await this.postAll("Host80","/custom/activity/list",t);return i}async ActivityApply(t={}){let i=await this.postAll("Host80","/custom/activity/apply",t);return i}async ActivitySingle(t={}){let i=await this.postAll("Host80","/web/activity/single",t);return i}async ActivityComplete(t={}){let i=await this.postAll("Host80","/custom/activity/apply/complete",t);return i}async ActivityPercentageGiveInfo(t={}){let i=await this.postAll("Host80","/custom/activity/percentage/give/info",t);return i}async ActivityPercentageGiveApply(t={}){let i=await this.postAll("Host80","/custom/activity/percentage/give/apply",t);return i}async Activity23HundredInfo(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/info",t);return i}async Activity23HundredApply(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/apply/activity",t);return i}async Activity23HundredTransform(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/transform/apply",t);return i}async Activity23HundredRealization(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/realization/apply",t);return i}async Activity23Login(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/login",t);return i}async Activity23JiangxinInfo(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/agent/info",t);return i}async Activity23JiangxinApply(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/agent/apply/activity",t);return i}async Activity23JiangxinRealization(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/agent/realization/apply",t);return i}async Activity23JxLogin(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/agent/login",t);return i}async Activity23JiangxinInfoVip(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/agent/vip/info",t);return i}async Activity23JiangxinApplyVip(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/agent/vip/apply/activity",t);return i}async Activity23JiangxinRealizationVip(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/agent/vip/realization/apply",t);return i}async Activity23JxLoginVip(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/agent/vip/login",t);return i}async Activity23nianzhongInfo(t={}){let i=await this.postAll("Host80","/custom/activity/midyear/ten/percent/give/info",t);return i}async Activity23nianzhongTwoInfo(t={}){let i=await this.postAll("Host80","/custom/activity/two/percent/give/info",t);return i}async Activity23nianzhongTwoLogin(t={}){let i=await this.postAll("Host80","/custom/activity/two/percent/give/login/info",t);return i}async ActivityRequiteInfo(t={}){let i=await this.postAll("Host80","/custom/activity/limited/requite/info",t);return i}async ActivityCptinfoGetCode(t={}){let i=await this.postAll("Host80","/follow/cpt/info/getCode",t);return i}async ActivityCptinfoCode(t={}){let i=await this.postAll("Host80","/follow/cpt/info/infoCode",t);return i}async ActivityCptInfoLogins(t={}){let i=await this.postAll("Host80","/follow/cpt/sign/logins",t);return i}async ActivityCptInfoAdd(t={}){let i=await this.postAll("Host80","/follow/cpt/sign/add",t);return i}async ActivitYdepositRaffleAim(t={}){let i=await this.postAll("Host80","/custom/activity/deposit/raffle/aim",t);return i}async ActivitYdepositRaffleNumberRecord(t={}){let i=await this.postAll("Host80","/custom/activity/deposit/raffle/custom/number/record/search/list",t);return i}async ActivitYdepositRaffleTaskList(t={}){let i=await this.postAll("Host80","/custom/activity/deposit/raffle/aim/list",t);return i}async ActivitYdepositRaffleinfo(t={}){let i=await this.postAll("Host80","/custom/activity/deposit/raffle/info",t);return i}async ActivitYdepositRaffleUtaskList(t={}){let i=await this.postAll("Host80","/custom/activity/ucoin/search/list",t);return i}async UcoinComplete(t={}){let i=await this.postAll("Host80","/custom/activity/ucoin/complete",t);return i}async UcoinWithdraw(t={}){let i=await this.postAll("Host80","/custom/activity/ucoin/withdraw",t);return i}async UcoinCancel(t={}){let i=await this.postAll("Host80","/custom/activity/ucoin/cancel",t);return i}async UcoinProgress(t={}){let i=await this.postAll("Host80","/custom/activity/ucoin/progress",t);return i}async ActivityExtensionGiveList(t={}){let i=await this.postAll("Host80","/web/activity/give/list",t);return i}async ActivityExtensionGiveSingle(t={}){let i=await this.postAll("Host80","/web/activity/give/single",t);return i}async ActivityExtensionGiveLogin(t={}){let i=await this.postAll("Host80","/custom/activity/give/login/info",t);return i}async ActivityExtensionGiveLoginJoin(t={}){let i=await this.postAll("Host80","/custom/activity/give/login/join",t);return i}async ActivityGiveLoginParticipate(t={}){let i=await this.postAll("Host80","/custom/activity/give/login/participate",t);return i}async ActivityGiveCancel(t={}){let i=await this.postAll("Host80","/custom/activity/give/cancel",t);return i}async Activity24JYBInfoVip(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/elite/agent/vip/info",t);return i}async Activity24JYBApplyVip(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/elite/agent/vip/apply/activity",t);return i}async Activity24JYBRealizationVip(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/elite/agent/vip/realization/apply",t);return i}async Activity24JYBLoginVip(t={}){let i=await this.postAll("Host80","/custom/activity/hundred/elite/agent/vip/login",t);return i}async ActivityNoWorriesInfo(t={}){let i=await this.postAll("Host80","/custom/activity/no/worries/info",t);return i}async ActivityNoWorriesApply(t={}){let i=await this.postAll("Host80","/custom/activity/no/worries/apply/activity",t);return i}async ActivityNoWorriesRealization(t={}){let i=await this.postAll("Host80","/custom/activity/no/worries/realization/apply",t);return i}async ActivityNoWorriesLogin(t={}){let i=await this.postAll("Host80","/custom/activity/no/worries/login",t);return i}async ActivityNewYear24(t={}){let i=await this.postAll("Host80","/custom/activity/interest/rate/info",t);return i}async ActivityNewYear24Receive(t={}){let i=await this.postAll("Host80","/custom/activity/interest/rate/claim",t);return i}async ActivitySurplusDepositAmount(t={}){let i=await this.postAll("Host80","/custom/activity/surplus/deposit/amount",t);return i}async ActivityMonthlyDepositAmount(t={}){let i=await this.postAll("Host80","/custom/activity/monthly/amount/level",t);return i}async ActivitySurplusAdd(t={}){let i=await this.postAll("Host80","/custom/activity/surplus/add",t);return i}async ActivityMonthlyAdd(t={}){let i=await this.postAll("Host80","/custom/activity/monthly/add",t);return i}async ActivitySurplusTaskList(t={}){let i=await this.postAll("Host80","/custom/activity/surplus/search/list",t);return i}async ActivityMonthlyTaskList(t={}){let i=await this.postAll("Host80","/custom/activity/monthly/search/list",t);return i}async ActivitySurplusRecoverCredit(t={}){let i=await this.postAll("Host80","/custom/activity/surplus/recover/creadit",t);return i}async ActivitySurplusCancel(t={}){let i=await this.postAll("Host80","/custom/activity/surplus/cancel",t);return i}async ActivityMonthlyCancel(t={}){let i=await this.postAll("Host80","/custom/activity/monthly/cancel",t);return i}async ActivityMonthlyGiveList(t={}){let i=await this.postAll("Host80","/custom/activity/monthly/give/list",t);return i}async ActivityMonthlyGiveApply(t={}){let i=await this.postAll("Host80","/custom/activity/monthly/give/apply",t);return i}async ActivityDollarAdd(t={}){let i=await this.postAll("Host80","/custom/activity/dollar/add",t);return i}async ActivityDollarSearchList(t={}){let i=await this.postAll("Host80","/custom/activity/dollar/search/list",t);return i}async ActivityDollarRule(t={}){let i=await this.postAll("Host80","/custom/activity/dollar/rule",t);return i}async ActivityDollarApply(t={}){let i=await this.postAll("Host80","/custom/activity/dollar/apply",t);return i}async ActivityDollarGive(t={}){let i=await this.postAll("Host80","/custom/activity/dollar/give",t);return i}async ActivityDollarCancel(t={}){let i=await this.postAll("Host80","/custom/activity/dollar/cancel",t);return i}async ActivityShowsInfo(t={}){let i=await this.postAll("Host80","/custom/activity/shows/info",t);return i}async getWebsdkLink(t={}){let i=await this.postAll("Host04","/remittance/channel/getWebsdkLink",t);return i}}i["a"]=new s},eb7e:function(t,i,a){}}]);