import{d as z,h as V,Y as R,ai as T,r as o,aj as x,o as s,f as c,w as t,b as e,k as r,a2 as A,a7 as H,H as C,l as i}from"./index.e3896b23.js";const L=i("\u67E5\u8BE2"),S=i("\u5220\u9664"),I=i("\u672A\u901A\u8FC7"),N=i("\u901A\u8FC7"),U=i("\u5220\u9664"),Y=z({__name:"task-column",setup($,{expose:k}){const d=V(!1),a=R({createdIsNeed:!1,dataListUrl:"/data-governance/quality-task-column/page",deleteUrl:"/data-governance/quality-task-column",queryForm:{qualityTaskTableId:"",checkResult:""}});k({init:h=>{d.value=!0,a.queryForm.qualityTaskTableId=h,p()}});const{getDataList:p,selectionChangeHandle:y,sizeChangeHandle:v,currentChangeHandle:w,deleteBatchHandle:m}=T(a);return(h,n)=>{const F=o("fast-select"),_=o("el-form-item"),g=o("el-button"),b=o("el-form"),u=o("el-table-column"),f=o("el-tag"),B=o("el-table"),D=o("el-pagination"),E=o("el-dialog"),q=x("loading");return s(),c(E,{modelValue:d.value,"onUpdate:modelValue":n[4]||(n[4]=l=>d.value=l),title:"\u68C0\u6D4B\u8BE6\u60C5",width:"65%"},{default:t(()=>[e(b,{inline:!0,model:a.queryForm,onKeyup:n[3]||(n[3]=A(l=>r(p)(),["enter"]))},{default:t(()=>[e(_,null,{default:t(()=>[e(F,{modelValue:a.queryForm.checkResult,"onUpdate:modelValue":n[0]||(n[0]=l=>a.queryForm.checkResult=l),"dict-type":"yes_or_no",placeholder:"\u68C0\u6D4B\u7ED3\u679C",clearable:""},null,8,["modelValue"])]),_:1}),e(_,null,{default:t(()=>[e(g,{onClick:n[1]||(n[1]=l=>r(p)())},{default:t(()=>[L]),_:1})]),_:1}),e(_,null,{default:t(()=>[e(g,{type:"danger",onClick:n[2]||(n[2]=l=>r(m)())},{default:t(()=>[S]),_:1})]),_:1})]),_:1},8,["model"]),H((s(),c(B,{data:a.dataList,border:"",style:{width:"100%"},onSelectionChange:r(y)},{default:t(()=>[e(u,{type:"selection","header-align":"center",align:"center",width:"50"}),e(u,{prop:"id",label:"\u5E8F\u53F7","header-align":"center",align:"center"}),e(u,{"show-overflow-tooltip":"",prop:"checkRow",label:"\u6570\u636E\u4FE1\u606F","header-align":"center",align:"center"}),e(u,{"show-overflow-tooltip":"",prop:"notPassInfo",label:"\u672A\u901A\u8FC7\u4FE1\u606F","header-align":"center",align:"center"}),e(u,{"show-overflow-tooltip":"",prop:"checkTime",label:"\u68C0\u6D4B\u65F6\u95F4","header-align":"center",align:"center"}),e(u,{prop:"checkResult",label:"\u68C0\u6D4B\u7ED3\u679C","header-align":"center",align:"center"},{default:t(l=>[l.row.checkResult==0?(s(),c(f,{key:0,type:"danger"},{default:t(()=>[I]),_:1})):C("",!0),l.row.checkResult==1?(s(),c(f,{key:1,type:"success"},{default:t(()=>[N]),_:1})):C("",!0)]),_:1}),e(u,{"show-overflow-tooltip":"",prop:"createTime",label:"\u521B\u5EFA\u65F6\u95F4","header-align":"center",align:"center"}),e(u,{label:"\u64CD\u4F5C",fixed:"right","header-align":"center",align:"center",width:"150"},{default:t(l=>[e(g,{type:"primary",link:"",onClick:K=>r(m)(l.row.id)},{default:t(()=>[U]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data","onSelectionChange"])),[[q,a.dataListLoading]]),e(D,{"current-page":a.page,"page-sizes":a.pageSizes,"page-size":a.limit,total:a.total,layout:"total, sizes, prev, pager, next, jumper",onSizeChange:r(v),onCurrentChange:r(w)},null,8,["current-page","page-sizes","page-size","total","onSizeChange","onCurrentChange"])]),_:1},8,["modelValue"])}}});export{Y as _};
