import{u as S}from"./useTable-cf8e962b-1782729249161v=1.0.0.js";import{u as P,a as T,b as k,_ as N}from"./index-b309bf9f-1782729249161v=1.0.0.js";import{a as w}from"./athleteLevelListApi-8c8aa422-1782729249161v=1.0.0.js";import{y as m,r,h as B,m as R,al as s,z as V,I as E,J as p,R as u,u as e,k as G}from"./vendor-1e24e3ad-1782729249161v=1.0.0.js";import"./notData-926f7286-1782729249161v=1.0.0.js";import"./eleVendor-5008d1ec-1782729249161v=1.0.0.js";const H=m({name:"blackListIndex"}),L=m({...H,props:{gradeDetermId:{type:Number,default:null}},setup(g,{expose:c}){P(),T(),r({});const n=r(!1);r(null);const _=k(),d=g;B(()=>d.gradeDetermId,async l=>{l&&(i.value.gradeDetermId=l,await D())});const b=r([{type:"index",label:"\u5E8F\u53F7",width:70,fixed:"left"},{label:"\u8FD0\u52A8\u5458\u540D\u79F0",prop:"name"},{label:"\u5B66\u53F7",prop:"tsNo"},{label:"\u8D5B\u4E8B\u7C7B\u578B",prop:"eventTypeCn"},{label:"\u8D5B\u4E8B\u540D\u79F0",prop:"eventName"},{label:"\u8FD0\u52A8\u9879\u76EE",prop:"gradeDetermGradeDictName"},{label:"\u6240\u5728\u6821\u533A",prop:"campusCn"},{label:"\u6210\u7EE9\u7C7B\u578B",prop:"gradeDemandType",isFilterEnum:!0,enum:_.getEnumListByKey("gradeDemandType")},{label:"\u6210\u7EE9(\u540D\u6B21)",prop:"grade"}]),{tableData:f,pageable:t,baseParam:i,searchParam:U,totalParam:F,pageParam:Z,handleSizeChange:C,handleCurrentChange:y,getTableList:D,search:J,reset:K,loading:v}=S(w),x=async()=>{n.value=!0};return R(async()=>{i.value.gradeDetermId=d.gradeDetermId}),c({open:x}),(l,a)=>{const z=s("HZProTable"),I=s("el-pagination"),h=s("el-dialog");return V(),E(h,{width:"80%",title:"\u7ADE\u8D5B\u6210\u7EE9",modelValue:e(n),"onUpdate:modelValue":a[2]||(a[2]=o=>G(n)?n.value=o:null)},{pagination:p(()=>[u(I,{"current-page":e(t).page,"onUpdate:currentPage":a[0]||(a[0]=o=>e(t).page=o),"page-size":e(t).size,"onUpdate:pageSize":a[1]||(a[1]=o=>e(t).size=o),"page-sizes":[10,20,50,100],background:"",layout:"total, sizes, prev, pager, next",total:e(t).count,onSizeChange:e(C),onCurrentChange:e(y)},null,8,["current-page","page-size","total","onSizeChange","onCurrentChange"])]),default:p(()=>[u(z,{columns:e(b),data:e(f),isFlex:!1,loading:e(v)},{tableHeader:p(()=>a[3]||(a[3]=[])),_:1},8,["columns","data","loading"])]),_:1},8,["modelValue"])}}});const W=N(L,[["__scopeId","data-v-5ffa2191"]]);export{W as default};
