1 |
- import{aA as N,d as T,r as _,x as L,b as S,o as m,C as d,A as s,k as W,a,f as l,D as f,E as g,dz as w,X as A,Y as D,Z as P,_ as U,__tla as j}from"./index-0b2503c4.js";import{_ as k,__tla as q}from"./ContentWrap-b5913fb6.js";import{_ as C,__tla as E}from"./index-40a9fc0c.js";import{d as X,__tla as Y}from"./formatTime-9069dda3.js";import{__tla as Z}from"./el-card-fa060bc4.js";import{__tla as B}from"./index-2c2ac611.js";let y,F=Promise.all([(()=>{try{return j}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return B}catch{}})()]).then(async()=>{y=U(T({name:"WalletTransactionList",__name:"WalletTransactionList",props:{walletId:{type:Number,required:!1}},setup(b){const{walletId:h}=b,i=_(!0),p=_(0),e=L({pageNo:1,pageSize:10,walletId:null}),c=_([]),u=async()=>{i.value=!0;try{e.walletId=h;const o=await(async r=>await N.get({url:"/pay/wallet-transaction/page",params:r}))(e);c.value=o.list,p.value=o.total}finally{i.value=!1}};return S(()=>{u()}),(o,r)=>{const n=A,v=D,z=C,x=k,I=P;return m(),d(x,null,{default:s(()=>[W((m(),d(v,{data:a(c),stripe:!0,"show-overflow-tooltip":!0},{default:s(()=>[l(n,{label:"\u7F16\u53F7",align:"center",prop:"id"}),l(n,{label:"\u94B1\u5305\u7F16\u53F7",align:"center",prop:"walletId"}),l(n,{label:"\u5173\u8054\u4E1A\u52A1\u6807\u9898",align:"center",prop:"title"}),l(n,{label:"\u4EA4\u6613\u91D1\u989D",align:"center",prop:"price"},{default:s(({row:t})=>[f(g(a(w)(t.price))+" \u5143",1)]),_:1}),l(n,{label:"\u94B1\u5305\u4F59\u989D",align:"center",prop:"balance"},{default:s(({row:t})=>[f(g(a(w)(t.balance))+" \u5143",1)]),_:1}),l(n,{label:"\u4EA4\u6613\u65F6\u95F4",align:"center",prop:"createTime",formatter:a(X),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[I,a(i)]]),l(z,{total:a(p),page:a(e).pageNo,"onUpdate:page":r[0]||(r[0]=t=>a(e).pageNo=t),limit:a(e).pageSize,"onUpdate:limit":r[1]||(r[1]=t=>a(e).pageSize=t),onPagination:u},null,8,["total","page","limit"])]),_:1})}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/pay/wallet/transaction/WalletTransactionList.vue"]])});export{F as __tla,y as default};
|