import{useColumns as i}from"./columns-86f93a56.js";const f={class:"w-[600px] m-4"},_=Vue.defineComponent({__name:"index",setup(p){const o=Vue.ref(),{columns:t,pagination:e,selectValue:n,tableDataEdit:l,rowStyle:r,onRowClick:a}=i(o);return(m,u)=>{const c=Vue.resolveComponent("pure-table"),s=Vue.resolveComponent("el-select");return Vue.openBlock(),Vue.createBlock(s,{ref_key:"selectRef",ref:o,modelValue:Vue.unref(n),"onUpdate:modelValue":u[0]||(u[0]=V=>Vue.isRef(n)?n.value=V:null),placeholder:"请选择",clearable:""},{empty:Vue.withCtx(()=>[Vue.createElementVNode("div",f,[Vue.createVNode(c,{height:"355","row-key":"id","header-cell-style":{background:"#f5f7fa",color:"#303133"},"row-style":Vue.unref(r),data:Vue.unref(l).slice((Vue.unref(e).currentPage-1)*Vue.unref(e).pageSize,Vue.unref(e).currentPage*Vue.unref(e).pageSize),columns:Vue.unref(t),pagination:Vue.unref(e),onRowClick:Vue.unref(a)},null,8,["row-style","data","columns","pagination","onRowClick"])])]),_:1},8,["modelValue"])}}});export{_};
