import{useColumns as _}from"./columns-5142a822.js";const d={class:"w-[600px] m-4"},h=Vue.defineComponent({__name:"index",setup(g){const n=Vue.ref(),t=Vue.ref(),{columns:u,pagination:e,selectValue:o,tableDataEdit:a,onClear:r,onSure:c,removeTag:s,handleSelectionChange:V}=_(n,t);return(C,l)=>{const p=Vue.resolveComponent("pure-table"),f=Vue.resolveComponent("el-button"),i=Vue.resolveComponent("el-select");return Vue.openBlock(),Vue.createBlock(i,{class:"w-[160px]",ref_key:"selectRef",ref:n,modelValue:Vue.unref(o),"onUpdate:modelValue":l[0]||(l[0]=m=>Vue.isRef(o)?o.value=m:null),placeholder:"请选择",clearable:"",multiple:"","collapse-tags":"","collapse-tags-tooltip":"",onRemoveTag:Vue.unref(s),onClear:Vue.unref(r)},{empty:Vue.withCtx(()=>[Vue.createElementVNode("div",d,[Vue.createVNode(p,{ref_key:"tableRef",ref:t,height:"355","row-key":"id","header-cell-style":{background:"#f5f7fa",color:"#303133"},data:Vue.unref(a).slice((Vue.unref(e).currentPage-1)*Vue.unref(e).pageSize,Vue.unref(e).currentPage*Vue.unref(e).pageSize),columns:Vue.unref(u),pagination:Vue.unref(e),onSelectionChange:Vue.unref(V)},null,8,["data","columns","pagination","onSelectionChange"]),Vue.createVNode(f,{class:"absolute bottom-[17px]",type:"primary",size:"small",text:"",bg:"",onClick:Vue.unref(c)},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 确定 ")]),_:1},8,["onClick"])])]),_:1},8,["modelValue","onRemoveTag","onClear"])}}});export{h as _};
