import{u as D}from"./useTable-34acff72-1782572373740v=1.0.0.js";import{b as F,u as H,a as I,_ as O}from"./index-f6f689f9-1782572373740v=1.0.0.js";import{r as i,y as b,m as L,al as r,z as V,I as Z,J as a,R as p,u as t,O as _,M as C}from"./vendor-866bb149-1782572373740v=1.0.0.js";import{d as A}from"./scoreCertificateApi-e42b5e9e-1782572373740v=1.0.0.js";import"./notData-cef8761e-1782572373740v=1.0.0.js";import"./eleVendor-48a7d3b8-1782572373740v=1.0.0.js";const N=()=>{F(),i([]),(async()=>{})(),i([]),(async()=>{})();const s=i([{prop:"name",label:"\u540D\u79F0",search:{el:"input",placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"}},{prop:"dictTypeSign",label:"\u5B57\u5178\u6807\u8BC6",search:{el:"select",placeholder:"\u8BF7\u9009\u62E9\u5B57\u5178\u6807\u8BC6"}},{prop:"status",label:"\u72B6\u6001",search:{el:"select",placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001"}}]),c=i([{type:"index",label:"\u5E8F\u53F7",width:70,fixed:"left"},{label:"\u6A21\u677F\u540D\u79F0",prop:"title"},{label:"\u72B6\u6001",prop:"status",isFilterEnum:!0,enum:[{label:"\u542F\u7528",value:1,tagType:"success"},{label:"\u505C\u7528",value:0,tagType:"danger"}],tag:!0},{label:"\u64CD\u4F5C",prop:"operation",fixed:"right",width:200}]);return{columns:s,tableColumns:c,dataCallBack:o=>(o.listData.forEach(m=>{}),o),paramCallBack:o=>o}},R=N,q=b({name:"scoreIndex"}),M=b({...q,setup(f){const u=H(),s=I(),{tableColumns:c,columns:y,dataCallBack:d,paramCallBack:o}=R(),{tableData:m,pageable:n,baseParam:U,searchParam:$,totalParam:J,pageParam:j,handleSizeChange:k,handleCurrentChange:h,getTableList:x,search:G,reset:K,loading:S}=D(A,d,o),B=()=>{u.push({name:"scoreCertificateAdd"})},z=g=>{u.push({name:"scoreCertificateEdit",query:{...s.query,certificateId:g.certificateId}})};return L(async()=>{await x()}),(g,e)=>{const T=r("el-button"),P=r("el-link"),v=r("HZProTable"),w=r("el-pagination"),E=r("HZPageLayout");return V(),Z(E,{title:t(s).meta.title},{pagination:a(()=>[p(w,{"current-page":t(n).page,"onUpdate:currentPage":e[0]||(e[0]=l=>t(n).page=l),"page-size":t(n).size,"onUpdate:pageSize":e[1]||(e[1]=l=>t(n).size=l),"page-sizes":[10,20,50,100],background:"",layout:"total, sizes, prev, pager, next",total:t(n).count,onSizeChange:t(k),onCurrentChange:t(h)},null,8,["current-page","page-size","total","onSizeChange","onCurrentChange"])]),dialog:a(()=>e[5]||(e[5]=[])),default:a(()=>[p(v,{columns:t(c),data:t(m),isFlex:!1,loading:t(S)},{tableHeader:a(()=>e[2]||(e[2]=[])),toolButton:a(()=>[p(T,{type:"primary",onClick:B},{default:a(()=>e[3]||(e[3]=[_(" \u65B0\u589E\u8BC1\u4E66\u6A21\u677F ",-1)])),_:1,__:[3]})]),operation:a(l=>[C(' <el-link type="primary" @click="handleView(scope.row)"> \u67E5\u770B </el-link> '),p(P,{type:"primary",onClick:Q=>z(l.row)},{default:a(()=>e[4]||(e[4]=[_(" \u7F16\u8F91 ",-1)])),_:2,__:[4]},1032,["onClick"]),C(' <el-link type="danger" @click="handleDel(scope.row)"> \u5220\u9664 </el-link> ')]),_:1},8,["columns","data","loading"])]),_:1},8,["title"])}}});const oe=O(M,[["__scopeId","data-v-289b9170"]]);export{oe as default};
