import{_ as O,g as R}from"./EditDialog.vue_vue_type_script_setup_true_lang.b3afafa5.js";import{d as T,a4 as j,a6 as S,r as c,b as w,p as k,c as u,at as G,e as i,f as m,u as t,h as a,i as r,A as p,g as l,w as H,k as C,t as g,q as J,F as K,m as A,y as E,_ as M}from"./index.0308b213.js";import"./useInstance.233fbdde.js";const Q={key:0,class:"filter-form"},W=A("\u67E5\u8BE2"),X={class:"data"},Y={class:"operation-container"},Z={class:"operation-btn"},$=A("\u6DFB\u52A0"),ee={class:"table"},te={class:"user-info"},ae={class:"avatar",style:{width:"100px !important",height:"100px"}},oe=["src"],le={key:0,class:"group-name"},se={class:"tag tag--blue"},ne={key:0,class:"tag tag--blue"},ue={key:1,class:"tag tag--blue"},ie={class:"tag tag--blue"},re={class:"bottom"},de={class:"pagination"},_e=T({setup(ce){const V=j(),{OpPlatform:y}=S();let v=c(!1);const o=w({page:1,limit:10,uid:""});k(()=>V.query.uid,d=>{d&&(o.uid=Number(d))},{immediate:!0}),w({store:[]});const f=w({list:[],count:0});c([]);const b=()=>{v.value=!0,y.value=="shangpu"&&R(o).then(d=>{f.list=d.list,f.count=d.count,v.value=!1})};b(),k(()=>[o.page,o.limit],()=>{b()});const B=()=>{b()};let _=c(!1),h=c(!1),F=c(0);const z=()=>{F.value=0,h.value=!0,E(()=>{_.value=!0})},N=()=>{F.value=0,E(()=>{h.value=!1}),b()};return(d,s)=>{const P=u("el-input"),D=u("el-form-item"),x=u("el-button"),U=u("el-form"),n=u("el-table-column"),q=u("el-table"),I=u("el-pagination"),L=G("loading");return i(),m(K,null,[t(y)==="shangpu"?(i(),m("div",Q,[a(U,{model:t(o),"label-width":"90px"},{default:r(()=>[a(D,{class:"tn-el-form-item",label:"uid"},{default:r(()=>[a(P,{modelValue:t(o).uid,"onUpdate:modelValue":s[0]||(s[0]=e=>t(o).uid=e),placeholder:"\u8BF7\u8F93\u5165\u4F1A\u5458uid"},null,8,["modelValue"])]),_:1}),a(D,null,{default:r(()=>[a(x,{class:"tn-el-form-item--item tn-button tn-button--blue",onClick:B},{default:r(()=>[W]),_:1})]),_:1})]),_:1},8,["model"])])):p("",!0),l("div",X,[l("div",Y,[l("div",Z,[a(x,{class:"btn",type:"primary",onClick:z},{default:r(()=>[$]),_:1})])]),l("div",ee,[H((i(),C(q,{data:t(f).list},{default:r(()=>[a(n,{label:"\u4F1A\u5458uid",prop:"uid"}),a(n,{label:"\u987E\u5BA2\u4FE1\u606F"},{default:r(e=>[l("div",te,[l("div",ae,[l("img",{src:e.row.avatar,style:{width:"100%",height:"100%"}},null,8,oe),e.row.groupname&&e.row.groupname!=="null"?(i(),m("div",le,g(e.row.groupname),1)):p("",!0)]),l("div",se," \u6635\u79F0: "+g(e.row.nickname),1),e.row.realname?(i(),m("div",ne," \u59D3\u540D: "+g(e.row.realname),1)):p("",!0),e.row.mobile?(i(),m("div",ue," \u624B\u673A\u53F7: "+g(e.row.mobile),1)):p("",!0),l("div",ie," \u52A0\u5165\u65F6\u95F4: "+g(e.row.addtime_text),1)])]),_:1}),a(n,{label:"\u53D8\u66F4\u524D",prop:"before_amount"}),a(n,{label:"\u6388\u4FE1\u989D\u5EA6\u53D8\u5316",prop:"amount"}),a(n,{label:"\u53D8\u66F4\u540E",prop:"after_amount"}),a(n,{label:"\u5907\u6CE8",prop:"remark"}),a(n,{label:"\u64CD\u4F5C\u65F6\u95F4",prop:"create_time_text"})]),_:1},8,["data"])),[[L,t(v)]])])]),l("div",re,[l("div",de,[a(I,{currentPage:t(o).page,"onUpdate:currentPage":s[1]||(s[1]=e=>t(o).page=e),"page-size":t(o).limit,"onUpdate:page-size":s[2]||(s[2]=e=>t(o).limit=e),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:t(f).count},null,8,["currentPage","page-size","total"])])]),t(h)?(i(),C(O,{key:1,modelValue:t(_),"onUpdate:modelValue":s[3]||(s[3]=e=>J(_)?_.value=e:_=e),id:t(F),onOnClose:N},null,8,["modelValue","id"])):p("",!0)],64)}}});const fe=M(_e,[["__scopeId","data-v-0d0c6caf"]]);export{fe as default};
