import{d as D,b as m,p as F,c as a,e as B,f as h,g as r,h as e,i as l,u as o,F as x,m as d,cY as C,_ as V}from"./index.0308b213.js";const A={class:"filter-form"},E=d("\u4E0D\u9650"),z=d("\u6DFB\u52A0"),P=d("\u51CF\u5C11"),k={class:"data"},w={class:"table"},N={class:"pagination"},U=D({setup(j){const t=m({page:1,limit:10,type:0}),_=m({list:[],count:0}),i=()=>{C(t).then(p=>{console.log("res",p),_.list=p.list,_.count=p.count})};return i(),F(()=>t,()=>{i()},{deep:!0}),(p,n)=>{const c=a("el-radio"),f=a("el-radio-group"),g=a("el-form-item"),b=a("el-form"),s=a("el-table-column"),v=a("el-table"),y=a("el-pagination");return B(),h(x,null,[r("div",A,[e(b,{model:o(t)},{default:l(()=>[e(g,{label:"\u53D8\u52A8\u7C7B\u578B",prop:"type"},{default:l(()=>[e(f,{modelValue:o(t).type,"onUpdate:modelValue":n[0]||(n[0]=u=>o(t).type=u)},{default:l(()=>[e(c,{border:"",label:0},{default:l(()=>[E]),_:1}),e(c,{border:"",label:1},{default:l(()=>[z]),_:1}),e(c,{border:"",label:2},{default:l(()=>[P]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),r("div",k,[r("div",w,[e(v,{data:o(_).list},{default:l(()=>[e(s,{type:"selection",width:"55"}),e(s,{label:"\u91D1\u989D",prop:"fee"}),e(s,{label:"\u5E73\u53F0",prop:"name"}),e(s,{label:"\u5907\u6CE8",prop:"remark"}),e(s,{label:"\u53D8\u52A8\u540E\u91D1\u989D",prop:"update_credit"}),e(s,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"addtime"})]),_:1},8,["data"])])]),r("div",N,[e(y,{currentPage:o(t).page,"onUpdate:currentPage":n[1]||(n[1]=u=>o(t).page=u),"page-size":o(t).limit,"onUpdate:page-size":n[2]||(n[2]=u=>o(t).limit=u),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:o(_).count},null,8,["currentPage","page-size","total"])])],64)}}});const I=V(U,[["__scopeId","data-v-591ddc7e"]]);export{I as default};
