1 |
- import{d as z,i as W,r as i,f as I,l as N,o as n,c as S,g as t,w as r,y as P,x as p,a as e,n as s,Q as j,t as y,F as C,am as U,H as D,I as H,J,_ as O,__tla as Q}from"./index-3fb48822.js";import{_ as R,__tla as q}from"./ContentWrap-afa47a64.js";import{_ as B,__tla as E}from"./index-5771c6d6.js";import{d as G,__tla as K}from"./formatTime-1803573a.js";import{A as L,a as M,__tla as V}from"./ApplicationForWithdrawalForm-b8bdc6dd.js";import{u as X,__tla as Y}from"./useMessage-b6c78c26.js";import{__tla as Z}from"./el-card-8960fd94.js";import{__tla as $}from"./index-cf9cdfb4.js";import{__tla as aa}from"./Dialog-7d4425a0.js";let g,ta=Promise.all([(()=>{try{return Q}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return aa}catch{}})()]).then(async()=>{g=O(z({name:"ApplicationForWithdrawal",__name:"index",props:{row:{type:Object,default:()=>({})}},setup(v){X(),W();const c=i(!0),f=i([]),h=i(0),l=I({pageNo:1,pageSize:10,userId:void 0,withdrawalType:void 0,amount:void 0,withdrawalAccount:void 0,status:void 0,applicationForWithdrawalChannelId:void 0,createTime:[]}),b=v;i(),i(!1);const u=async()=>{c.value=!0;try{const d=await M.getApplicationForWithdrawalPage(l);f.value=d.list,h.value=d.total}finally{c.value=!1}},x=i();return N(()=>{l.applicationForWithdrawalChannelId=b.row.id,u()}),(d,_)=>{const m=U,o=D,T=H,A=B,F=R,k=J;return n(),S(C,null,[t(F,null,{default:r(()=>[P((n(),p(T,{data:e(f),stripe:!0,"show-overflow-tooltip":!0},{default:r(()=>[t(o,{label:"\u63D0\u73B0\u6E20\u9053",align:"center",prop:"withdrawalType"},{default:r(a=>[a.row.withdrawalType===1?(n(),p(m,{key:0},{default:r(()=>[s("\u5FAE\u4FE1")]),_:1})):a.row.withdrawalType===2?(n(),p(m,{key:1},{default:r(()=>[s("\u652F\u4ED8\u5B9D")]),_:1})):a.row.withdrawalType===3?(n(),p(m,{key:2},{default:r(()=>[s("\u94F6\u884C\u5361")]),_:1})):j("",!0)]),_:1}),t(o,{label:"\u63D0\u73B0\u91D1\u989D",align:"center",prop:"amount"},{default:r(a=>[s(" \uFFE5"+y(a.row.amount),1)]),_:1}),t(o,{label:"\u63D0\u73B0\u8D26\u53F7",align:"center",prop:"withdrawalAccount"}),t(o,{label:"\u63D0\u73B0\u8D26\u53F7\u540D\u79F0",align:"center",prop:"accountName"}),t(o,{label:"\u63D0\u73B0\u72B6\u6001",align:"center",prop:"status"},{default:r(a=>{return[s(y((w=a.row.status,w?w===1?"\u63D0\u73B0\u6210\u529F":"\u63D0\u73B0\u5931\u8D25":"\u63D0\u73B0\u4E2D")),1)];var w}),_:1}),t(o,{label:"\u521B\u5EFA\u65F6\u95F4",align:"center",prop:"createTime",formatter:e(G),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[k,e(c)]]),t(A,{total:e(h),page:e(l).pageNo,"onUpdate:page":_[0]||(_[0]=a=>e(l).pageNo=a),limit:e(l).pageSize,"onUpdate:limit":_[1]||(_[1]=a=>e(l).pageSize=a),onPagination:u},null,8,["total","page","limit"])]),_:1}),t(L,{ref_key:"formRef",ref:x,onSuccess:u},null,512)],64)}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/system/distri/withdrawal/index.vue"]])});export{ta as __tla,g as default};
|