import{d as h,Y as V,h as N,ai as x,r as a,aj as L,o as m,f as g,w as n,b as e,k as r,a2 as k,a7 as s,a as f,a8 as y,l as d}from"./index.e3896b23.js";const E=d("\u67E5\u8BE2"),H=d("\u5355\u9009"),S=d("\u591A\u9009"),U=h({name:"Data-governanceQuality-ruleIndex"}),I=h({...U,setup(M){const t=V({dataListUrl:"/data-governance/quality-rule/page",deleteUrl:"/data-governance/quality-rule",queryForm:{name:"",engName:""}});N();const{getDataList:p,selectionChangeHandle:j,sizeChangeHandle:C,currentChangeHandle:b,deleteBatchHandle:K}=x(t);return($,l)=>{const c=a("el-input"),i=a("el-form-item"),v=a("el-button"),F=a("el-form"),u=a("el-table-column"),B=a("fast-table-column"),_=a("el-tag"),w=a("el-table"),q=a("el-pagination"),z=a("el-card"),D=L("loading");return m(),g(z,null,{default:n(()=>[e(F,{inline:!0,model:t.queryForm,onKeyup:l[3]||(l[3]=k(o=>r(p)(),["enter"]))},{default:n(()=>[e(i,null,{default:n(()=>[e(c,{modelValue:t.queryForm.name,"onUpdate:modelValue":l[0]||(l[0]=o=>t.queryForm.name=o),placeholder:"\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(i,null,{default:n(()=>[e(c,{modelValue:t.queryForm.engName,"onUpdate:modelValue":l[1]||(l[1]=o=>t.queryForm.engName=o),placeholder:"\u82F1\u6587\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(i,null,{default:n(()=>[e(v,{type:"primary",onClick:l[2]||(l[2]=o=>r(p)())},{default:n(()=>[E]),_:1})]),_:1})]),_:1},8,["model"]),s((m(),g(w,{data:t.dataList,border:"",style:{width:"100%"}},{default:n(()=>[e(u,{prop:"name",label:"\u540D\u79F0","header-align":"center",align:"center"}),e(u,{prop:"engName",label:"\u82F1\u6587\u540D\u79F0","header-align":"center",align:"center"}),e(B,{"dict-type":"quality_rule_type",prop:"type",label:"\u7C7B\u578B","header-align":"center",align:"center"}),e(u,{prop:"ifColumnMultiple",label:"\u5B57\u6BB5\u914D\u7F6E","header-align":"center",align:"center"},{default:n(o=>[s(f("span",null,[e(_,null,{default:n(()=>[H]),_:1})],512),[[y,o.row.ifColumnMultiple==0]]),s(f("span",null,[e(_,{type:"success"},{default:n(()=>[S]),_:1})],512),[[y,o.row.ifColumnMultiple==1]])]),_:1}),e(u,{"show-overflow-tooltip":"",prop:"description",label:"\u8BF4\u660E","header-align":"center",align:"center"})]),_:1},8,["data"])),[[D,t.dataListLoading]]),e(q,{"current-page":t.page,"page-sizes":t.pageSizes,"page-size":t.limit,total:t.total,layout:"total, sizes, prev, pager, next, jumper",onSizeChange:r(C),onCurrentChange:r(b)},null,8,["current-page","page-sizes","page-size","total","onSizeChange","onCurrentChange"])]),_:1})}}});export{I as default};
