gameapi-client/dist-API/assets/index.BXkRhnkc.js

2 lines
3.0 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

import{T as E,_ as F,a as G,r as o,C as H,J,k as r,G as K,o as p,c as y,H as _,I as h,f as e,d as l,e as i,K as O,L as Q,m as T,q as S,t as C,U as A,B as M,h as W}from"./index.R3qQMktZ.js";/* empty css */function X(d){return E({url:"/agent/invite/register/list",method:"get",params:d})}const Y={class:"app-container"},Z=M({name:"RegisterList"}),$=Object.assign(Z,{setup(d){G();const{proxy:k}=W(),{ff_invite_type:g,ff_register_status:I}=k.useDict("ff_invite_type","ff_register_status"),v=o([]);o(!1);const c=o(!0),N=o(!0);o([]),o(!0),o(!0);const f=o(0);o(""),o(!1),o(!1),o(""),o([]);const D=H({form:{},queryParams:{pageNum:1,pageSize:10,inviteType:""}}),{queryParams:n,form:x,rules:ee}=J(D);function m(){c.value=!0,X(n.value).then(a=>{v.value=a.rows,f.value=a.total,c.value=!1})}function L(a){}function R(){n.value.pageNum=1,m()}return m(),(a,u)=>{const U=r("el-option"),V=r("el-select"),b=r("el-form-item"),q=r("el-button"),B=r("el-form"),s=r("el-table-column"),w=r("dict-tag"),P=r("el-table"),z=r("pagination"),j=K("loading");return p(),y("div",Y,[_(l(B,{model:e(n),ref:"queryRef",inline:!0},{default:i(()=>[l(b,{label:a.t("类型"),prop:"inviteType"},{default:i(()=>[l(V,{modelValue:e(n).inviteType,"onUpdate:modelValue":u[0]||(u[0]=t=>e(n).inviteType=t),clearable:"",style:{width:"220px"},placeholder:a.t("请选择")},{default:i(()=>[(p(!0),y(O,null,Q(e(g),t=>(p(),T(U,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])]),_:1},8,["label"]),l(b,null,{default:i(()=>[l(q,{type:"primary",icon:"Search",onClick:R},{default:i(()=>[S(C(a.t("搜索")),1)]),_:1})]),_:1})]),_:1},8,["model"]),[[h,e(N)]]),_((p(),T(P,{data:e(v),onSelectionChange:L,border:""},{default:i(()=>[l(s,{label:a.t("账号"),align:"center",prop:"account","show-overflow-tooltip":!0},null,8,["label"]),l(s,{label:a.t("类型"),align:"center",prop:"inviteType"},{default:i(t=>[l(w,{options:e(g),value:t.row.inviteType},null,8,["options","value"])]),_:1},8,["label"]),l(s,{label:a.t("激活金额USDT"),align:"center",prop:"balance","show-overflow-tooltip":!0},null,8,["label"]),l(s,{label:a.t("创建IP"),align:"center",prop:"registerIp","show-overflow-tooltip":!0},null,8,["label"]),l(s,{label:a.t("创建地区"),align:"center",prop:"registerIpCity","show-overflow-tooltip":!0},null,8,["label"]),l(s,{label:a.t("状态"),align:"center"},{default:i(t=>[l(w,{options:e(I),value:String(t.row.status)},null,8,["options","value"])]),_:1},8,["label"]),l(s,{label:a.t("创建时间"),align:"center",prop:"createTime","show-overflow-tooltip":!0},{default:i(t=>[S(C(e(A)(t.row.createTime)),1)]),_:1},8,["label"])]),_:1},8,["data"])),[[j,e(c)]]),_(l(z,{total:e(f),page:e(n).pageNum,"onUpdate:page":u[1]||(u[1]=t=>e(n).pageNum=t),limit:e(n).pageSize,"onUpdate:limit":u[2]||(u[2]=t=>e(n).pageSize=t),onPagination:m},null,8,["total","page","limit"]),[[h,e(f)>0]])])}}}),ae=F($,[["__scopeId","data-v-bef45559"]]);export{ae as default};