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