import{y,c as B,r as o,al as i,z as P,I as V,J as s,R as p,u as e,k}from"./vendor-866bb149-1782572373740v=1.0.0.js";const H=y({__name:"RefereeingRecordDialog",props:{visible:{type:Boolean,default:!1},title:{default:""}},emits:["update:visible","update:value","submit","update:loading"],setup(f,{emit:b}){const r=f,d=b,u=B({get:()=>r.visible,set:l=>{d("update:visible",l)}}),v=()=>{d("update:visible",!1)};o({}),o([]),o({}),o({});const C=o([{type:"index",label:"\u5E8F\u53F7",width:70,fixed:"left"},{prop:"eventName",label:"\u8D5B\u4E8B\u540D\u79F0",minWidth:160},{prop:"serviceTime",label:"\u670D\u52A1\u65F6\u95F4",minWidth:160},{prop:"serviceLocation",label:"\u670D\u52A1\u5730\u70B9",minWidth:160},{prop:"serviceDuration",label:"\u670D\u52A1\u65F6\u957F",minWidth:120}]),g=o([]),c=o(!1),a=o({page:1,size:10,count:0}),z=l=>{a.value.size=l,m()},_=l=>{a.value.page=l,m()},m=async()=>{c.value=!0,g.value=[],a.value.count=0};return(l,t)=>{const h=i("HZProTable"),x=i("el-pagination"),D=i("HZPageLayout"),F=i("el-dialog");return P(),V(F,{modelValue:e(u),"onUpdate:modelValue":t[2]||(t[2]=n=>k(u)?u.value=n:null),width:"800px",title:r.title,"before-close":v},{footer:s(()=>t[3]||(t[3]=[])),default:s(()=>[p(D,{isCard:!1},{pagination:s(()=>[p(x,{"current-page":e(a).page,"onUpdate:currentPage":t[0]||(t[0]=n=>e(a).page=n),"page-size":e(a).size,"onUpdate:pageSize":t[1]||(t[1]=n=>e(a).size=n),"page-sizes":[10,20,50,100],background:"",layout:"total, sizes, prev, pager, next",total:e(a).count,onSizeChange:z,onCurrentChange:_},null,8,["current-page","page-size","total"])]),default:s(()=>[p(h,{columns:e(C),data:e(g),isFlex:!1,loading:e(c),showColSet:!1},null,8,["columns","data","loading"])]),_:1})]),_:1},8,["modelValue","title"])}}});export{H as default};
