import{b7 as k,u as b,aS as _,aT as n,bf as p,a$ as s,N as m,b9 as d,ba as a,aB as x,aY as r,bg as C,bh as N,b0 as e,bc as L,bQ as B,b_ as S,a_ as T,aX as $}from"./index-xnhGKCfe.js";import{L as V}from"./index-BCXnwPbG.js";import{P}from"./index-97-mhYEo.js";import{u as I}from"./useTurntableState-D_p5Rwx5.js";import{c as j}from"./currency-DTUBf2lI.js";import{_ as z}from"./index.vue_vue_type_style_index_0_lang-9szultRB.js";import{u as A}from"./useCopy.hook-BtNGdOST.js";import"./use-tab-status-C1dTAhJi.js";import"./pre-D84pmYLY.js";import"./useProtocol-DJp7lFWi.js";const D={class:"withdraw-history"},E={class:"card-header"},F={class:"withdraw-btn"},H={class:"card-row"},Q={class:"amount"},R={key:0,class:"card-row"},U={class:"card-row"},X={class:"card-row"},Y={class:"order-no"},q={key:1,class:"card-row"},G={key:2,class:"remark-box"},J=k({__name:"index",setup(K){const{t:o}=b(),{copy:h}=A(),{historyList:c,getPageListHistory:f,loading:l,finished:w}=I(),u={0:{key:"processing",value:o("t126")},1:{key:"withdrawing",value:o("t590")},2:{key:"completed",value:o("t127")},3:{key:"rejected",value:o("t128")}};return(v,i)=>{const y=V;return n(),_(P,{"is-overfllow":!1},{default:p(()=>[s("div",D,[m(y,{loading:a(l),"onUpdate:loading":i[0]||(i[0]=t=>x(l)?l.value=t:null),finished:a(w),onLoad:a(f),"finished-text":"","loading-text":"loading"},{default:p(()=>[(n(!0),r(C,null,N(a(c),(t,g)=>(n(),r("div",{class:"withdraw-card box_shadow_1",key:g},[s("div",E,[s("button",F,e(a(o)("t108")),1),s("span",{class:L(["status",u[t.auditState].key])},e(u[t.auditState].value),3)]),i[1]||(i[1]=s("div",{class:"divider"},null,-1)),s("div",H,[s("span",null,e(a(o)("t62")),1),s("span",Q,e(a(j)(t.withdrawAmount)),1)]),t.withdrawCategoryName?(n(),r("div",R,[s("span",null,e(a(o)("t60")),1),s("span",null,e(t.withdrawCategoryName),1)])):d("",!0),s("div",U,[s("span",null,e(a(o)("t59")),1),s("span",null,e(a(B)(t.createTime)),1)]),s("div",X,[s("span",null,e(a(o)("t58")),1),s("span",Y,[S(e(t.orderNo)+" ",1),m(T,{name:"icon_copy",class:"copy-icon",onClick:M=>a(h)(t.orderNo)},null,8,["onClick"])])]),t.reason?(n(),r("div",q,[s("span",null,e(a(o)("t159")),1)])):d("",!0),t.reason?(n(),r("div",G,[s("span",null,e(t.reason),1)])):d("",!0)]))),128))]),_:1},8,["loading","finished","onLoad"]),a(c).length===0?(n(),_(z,{key:0,text:v.$t("t781")},null,8,["text"])):d("",!0)])]),_:1})}}}),is=$(J,[["__scopeId","data-v-5d183c75"]]);export{is as default};
