import{_ as t}from"./h-table-paging_1730355987.js";import{d as e,c as a,r as l,y as n,z as i,o as x,f as T,P as u,g as s,F as _,j as o,l as c,N as r,X as v,Y as E,h as p,at as d,a3 as I,aA as A,B as G,C as N,_ as O}from"./index_1730355987.js";/* empty css                  */import{_ as S}from"./index_173035598735.js";import{_ as g}from"./index_173035598733.js";const C={NEW_GIFT:{value:5,txt:"新手赠送",clientTxt:"New Gift"},GAME_INVEST:{value:10,txt:"游戏押注",clientTxt:"Game betting"},GAME_WIN_OR_LOSE:{value:20,txt:"游戏输赢",clientTxt:"Game revenue"},WIN_THE_BONUS:{value:30,txt:"赢得彩金",clientTxt:"Winning Bonus"},GET_MAIL_ATTACH:{value:40,txt:"领取邮件",clientTxt:"Mails"},BANK_SAVE_GET:{value:50,txt:"银行存取",clientTxt:"Bank"},GIFT_COINS:{value:60,txt:"赠送",clientTxt:"Gift"},GET_GIFT_CODE:{value:70,txt:"兑换礼包",clientTxt:"Exchange Code"},GET_WELFARE:{value:80,txt:"领取救济",clientTxt:"Welfare"},REDUCE_COINS:{value:90,txt:"扣除负债",clientTxt:"Deduct arrears"},GET_LOSS_BONUS:{value:100,txt:"领取亏损返利",clientTxt:"Loss rebate"},GET_CYCLE_BONUS:{value:101,txt:"领取周期返利",clientTxt:"Cycle rebate"},GET_BET_BONUS:{value:110,txt:"领取下注返利",clientTxt:"Bet rebate"},GET_TOTAL_REBATE:{value:111,txt:"领取累积返利",clientTxt:"Total rebate"},SHOP_BUY:{value:120,txt:"商店购买",clientTxt:"Shop"},SHOP2_BUY:{value:121,txt:"商店购买",clientTxt:"Shop"},DAY_SLOTS:{value:130,txt:"每日摇奖",clientTxt:"Mini SLots"},ONEOFTHREE_GIFT:{value:140,txt:"三选一礼包",clientTxt:"One of three gift"},SUPER_CASH_BACK:{value:150,txt:"超值礼包",clientTxt:"Super cash back"},LOGIN_THIRD_GAME:{value:160,txt:"进入第三方游戏",clientTxt:"Enter Game"},LOGOUT_THIRD_GAME:{value:170,txt:"退出第三方游戏",clientTxt:"Exit Game"},DIAMOND_CONVERT_COINS:{value:180,txt:"钻石换金币",clientTxt:"Diamond Convert"},CHECKIN_AWARD:{value:190,txt:"签到领奖",clientTxt:"Checking"},MONTH_CHECKIN_AWARD:{value:200,txt:"签到月度领奖",clientTxt:"Monthly Gift"},MYSTERY_SHOP_BUY:{value:210,txt:"神秘商店购买",clientTxt:"Mystery Shop"},EVERY_DAY_BUY:{value:220,txt:"每日礼包购买",clientTxt:"Daily Gift"},LOGIN_AWARD:{value:230,txt:"登录奖励",clientTxt:"Login Gift"},LOGIN_AWARD_SPECIAL:{value:240,txt:"登录特殊奖励",clientTxt:"Login Gift Plus"},HELP_TURNTABLE:{value:250,txt:"助力转盘领奖",clientTxt:"Mini Turntable"},VIP_AWARD:{value:260,txt:"VIP等级奖励",clientTxt:"VIP Level Gift"},VIP_DAY_AWARD:{value:261,txt:"VIP每日奖励",clientTxt:"VIP Daily Gift"},VIP_WEEK_AWARD:{value:270,txt:"VIP每周奖励",clientTxt:"VIP Weekly Gift"},VIP_MONTH_AWARD:{value:280,txt:"VIP每月奖励",clientTxt:"VIP Monthly Gift"},WITHDRAW:{value:290,txt:"提现",clientTxt:"Withdraw"},GAME_CANCEL_INVEST:{value:300,txt:"游戏取消押注",clientTxt:"Cancel Bet"},ACTIVITY_TASK:{value:310,txt:"动态活动领奖",clientTxt:"Task Gift"},ACTIVITY_VIP_UNLOCK:{value:320,txt:"黄金奖励解锁",clientTxt:"Task unlock"},REABTE_RECEIVE:{value:330,txt:"领取下级返利",clientTxt:"Child rebate"},GAME_WIN_OR_LOSE_TOTAL:{value:999,txt:"游戏总输赢",clientTxt:"Game revenue"}},f=t=>{let e=[];for(let a in C)e.push(C[a]);return e.find((e=>e.value==t)).clientTxt},R=t=>(G("data-v-160db8c3"),t=t(),N(),t),D={class:"page"},P={class:"page-body"},L={key:0},m=R((()=>s("span",null,"Date: ",-1))),V=R((()=>s("span",null,"Fonte: ",-1))),W={style:{color:"#00e7bb"}},B=R((()=>s("span",null,"Iconcluido: ",-1))),b={style:{color:"#ffe726"}},y=R((()=>s("span",null,"Total: ",-1))),M={style:{color:"#ffe726"}},h={class:"text"},H=O(e({__name:"banco",setup(e){const G=a({pageIndex:1,pageSize:8,pageTotal:0}),N=l([]),O=l(0);n((()=>{C()}));const C=()=>{i.getFlowRecordPage({pageIndex:G.pageIndex,pageSize:G.pageSize}).then((t=>{N.value=t.data.rows,O.value=t.data.coinsSpan,G.pageTotal=t.data.total}))},R=t=>{G.pageIndex=t,C()},H=t=>{G.pageIndex=t,C()};return(e,a)=>{const l=g,n=S,i=A,C=t;return x(),T("div",D,[u(l,{title:"Registro do diário de moedas de ouro"}),s("div",P,[N.value.length>0?(x(),T("div",L,[(x(!0),T(_,null,o(N.value,((t,e)=>(x(),c(n,{key:e},{default:r((()=>[s("p",null,[m,s("span",null,E(p(d)(t.createdAt)),1)]),s("p",null,[V,s("span",W,E(p(f)(t.type)),1)]),s("p",null,[B,s("span",b,E(p(I)(Number(t.usedCoinsNum/1e4).toFixed(2))),1)]),s("p",null,[y,s("span",M,E(p(I)(Number(t.userCoinsFlow/1e4).toFixed(2))),1)])])),_:2},1024)))),128))])):(x(),c(i,{key:1,description:"No Data","image-size":"100"})),u(C,{total:G.pageTotal,"page-size":G.pageSize,onOnPrevious:R,onOnNextPage:H},null,8,["total","page-size"]),s("div",h,[v(" Voce ainda precisa apostar na quantidade de "),s("span",null,E(O.value?p(I)(Number(O.value/1e4).toFixed(2)):0),1),v(" para retirar ")])])])}}}),[["__scopeId","data-v-160db8c3"]]);export{H as default};
