index-32a3e013.js 3.3 KB

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