import{r as C,x as h,k as Z,al as r,y as w,H as E,I as o,M as b,Q as p,u as e}from"./vendor-6ae0c374-1783405707921v=1.0.0.js";import{u as D}from"./useTable-ad933c16-1783405707921v=1.0.0.js";import{u as f,b as L,_ as N}from"./index-71d7b18c-1783405707921v=1.0.0.js";import{g as T}from"./collageManageApi-e21931eb-1783405707921v=1.0.0.js";import"./eleVendor-d42abce8-1783405707921v=1.0.0.js";const V=()=>{const u=f(),c=C([{label:"\u5B66\u5E74",prop:"schoolYearId",isFilterEnum:!0,enum:u.academicYearOptions,search:{el:"select",placeholder:"\u8BF7\u9009\u62E9\u5B66\u5E74",props:{clearable:!1}}},{prop:"semester",label:"\u5B66\u671F",isFilterEnum:!0,enum:u.getEnumListByKey("semesterDev"),search:{el:"select",placeholder:"\u8BF7\u9009\u62E9\u5B66\u671F",props:{clearable:!1}}}]),l=C([{type:"index",label:"\u5E8F\u53F7",width:70,fixed:"left"},{label:"\u5B66\u5E74",prop:"schoolYearIdCn"},{label:"\u5B66\u671F",prop:"semesterCn"},{label:"\u9662\u7CFB\u7F16\u53F7",prop:"collegeNo"},{label:"\u9662\u7CFB\u540D\u79F0",prop:"collegeName"},{label:"\u9662\u7CFB\u7B80\u79F0",prop:"collegeSimpleName"}]);return{columns:c,tableColumns:l,dataCallBack:t=>(t.listData.forEach(g=>{}),t),paramCallBack:t=>t}},U=V,$=h({name:"collageManageIndex"}),q=h({...$,setup(u){const c=L(),l=f(),{tableColumns:i,columns:m,dataCallBack:t,paramCallBack:g}=U(),{tableData:k,pageable:n,baseParam:A,searchParam:d,totalParam:K,pageParam:O,handleSizeChange:x,handleCurrentChange:y,getTableList:B,search:v,reset:z,loading:I}=D(T,t,g);Z(async()=>{d.value={schoolYearId:l.schoolYearId,semester:l.semester},await B()});const S=_=>{c.push({name:"collageManageDetail",query:{id:_.collegeId}})};return(_,a)=>{const M=r("HZSearchForm"),P=r("el-link"),H=r("HZProTable"),F=r("el-pagination"),Y=r("HZPageLayout");return w(),E(Y,null,{title:o(()=>a[2]||(a[2]=[b(" \u9662\u7CFB\u7BA1\u7406 ",-1)])),searchForm:o(()=>[p(M,{"search-param":e(d),columns:e(m),search:e(v),reset:()=>{e(z)(null,{schoolYearId:e(l).schoolYearId,semester:e(l).semester})}},null,8,["search-param","columns","search","reset"])]),pagination:o(()=>[p(F,{"current-page":e(n).page,"onUpdate:currentPage":a[0]||(a[0]=s=>e(n).page=s),"page-size":e(n).size,"onUpdate:pageSize":a[1]||(a[1]=s=>e(n).size=s),"page-sizes":[10,20,50,100],background:"",layout:"total, sizes, prev, pager, next",total:e(n).count,onSizeChange:e(x),onCurrentChange:e(y)},null,8,["current-page","page-size","total","onSizeChange","onCurrentChange"])]),dialog:o(()=>a[6]||(a[6]=[])),default:o(()=>[p(H,{columns:e(i),data:e(k),isFlex:!1,loading:e(I)},{tableHeader:o(()=>a[3]||(a[3]=[])),toolButton:o(()=>a[4]||(a[4]=[])),operation:o(s=>[p(P,{type:"primary",onClick:Q=>S(s.row)},{default:o(()=>a[5]||(a[5]=[b(" \u67E5\u770B ",-1)])),_:2,__:[5]},1032,["onClick"])]),_:1},8,["columns","data","loading"])]),_:1})}}});const X=N(q,[["__scopeId","data-v-b6ca0903"],["__file","D:/desktop/huaZhong/huazhong-common/apps/vue-admin/src/views/baseManage/collageManage/index.vue"]]);export{X as default};
