import{u as f,t as k,n as A,_ as C}from"./index-b309bf9f-1782729249161v=1.0.0.js";import{k as E}from"./signupApi-7b1b451c-1782729249161v=1.0.0.js";import{y as x,al as o,z as u,A as d,Q as I,a4 as N,I as c,J as n,R as t,M as p,O as m}from"./vendor-1e24e3ad-1782729249161v=1.0.0.js";import"./eleVendor-5008d1ec-1782729249161v=1.0.0.js";const B={class:"pa-protable"},h=x({__name:"GroupTable",props:{tableData:{default:()=>[]},loading:{type:Boolean,default:!1}},setup(w){const _=f(),y=e=>{_.push({name:"signupMgmtDetail",query:{id:e.eventApplyListDto.eventId,eventApplyMainId:e.eventApplyMainId,eventTermId:e.eventApplyListDto.eventTermId}})},b=e=>{let{eventApplyMainId:l}=e;k().success("\u4E0B\u8F7D\u5355\u4F4D\u4FE1\u606F eventApplyMainId",l),A(E,"\u62A5\u8868\u4FE1\u606F",l,!0,".xlsx")};return(e,l)=>{const a=o("el-table-column"),r=o("el-link"),g=o("el-table"),F=o("el-empty");return u(),d("div",B,[(u(!0),d(I,null,N(e.tableData,(i,v)=>(u(),c(g,{key:v,data:i.customFieldData,isFlex:!1,loading:e.loading,border:""},{default:n(()=>[t(a,{label:i.title,align:"center"},{default:n(()=>[t(a,{label:"\u5E8F\u53F7",type:"index",width:"60",align:"center"}),t(a,{label:"\u56E2\u961F\u540D\u79F0",prop:"eventApplyUnitTypeName",align:"center"}),p(` <el-table-column label="\u9886\u961F" prop="eventLeaderNames" align="center" />\r
				<el-table-column label="\u6559\u7EC3" prop="eventCoachNames" align="center" /> `),t(a,{label:"\u8FD0\u52A8\u5458\u6570\u91CF",prop:"totalNum",align:"center"}),t(a,{label:"\u7537\u8FD0\u52A8\u5458\u6570",prop:"manSportNum",align:"center"}),t(a,{label:"\u5973\u8FD0\u52A8\u5458\u6570",prop:"girlSportNum",align:"center"}),t(a,{label:"\u64CD\u4F5C",prop:"operation",align:"center"},{default:n(s=>[t(r,{type:"primary",onClick:D=>y(s.row),style:{"margin-right":"10px"}},{default:n(()=>l[0]||(l[0]=[m("\u67E5\u770B",-1)])),_:2,__:[0]},1032,["onClick"]),t(r,{type:"primary",onClick:D=>b(s.row)},{default:n(()=>l[1]||(l[1]=[m("\u62A5\u8868\u4E0B\u8F7D",-1)])),_:2,__:[1]},1032,["onClick"]),p(' <el-link type="primary" @click="handleDownloadLayout(scope.row)">\u7F16\u6392\u8868\u4E0B\u8F7D</el-link> ')]),_:1})]),_:2},1032,["label"])]),_:2},1032,["data","loading"]))),128)),e.tableData.length===0?(u(),c(F,{key:0,description:"\u6682\u65E0\u6570\u636E"})):p("v-if",!0)])}}});const G=C(h,[["__scopeId","data-v-24d4d9cc"]]);export{G as default};
