import{d,Y as v,ai as B,r as o,aj as S,o as p,c as z,b as e,w as l,k as r,a2 as D,a7 as N,f as k,F as q,l as A}from"./index.e3896b23.js";const L=A("\u67E5\u8BE2"),T=d({name:"OdsTaskDetailIndex"}),I=d({...T,setup(V,{expose:g}){const t=v({createdIsNeed:!1,dataListUrl:"/data-integrate/access/task-detail-page",queryForm:{ifSuccess:"",tableName:"",projectId:""}}),m=(s,n)=>{t.queryForm.projectId=s,t.queryForm.tableName=n,u()},{getDataList:u,selectionChangeHandle:_,sizeChangeHandle:h,currentChangeHandle:f,deleteBatchHandle:j}=B(t);return g({init:m}),(s,n)=>{const w=o("fast-select"),c=o("el-form-item"),F=o("el-button"),b=o("el-form"),a=o("el-table-column"),C=o("fast-table-column"),E=o("el-table"),y=o("el-pagination"),x=S("loading");return p(),z(q,null,[e(b,{inline:!0,model:t.queryForm,onKeyup:n[2]||(n[2]=D(i=>r(u)(),["enter"]))},{default:l(()=>[e(c,null,{default:l(()=>[e(w,{modelValue:t.queryForm.ifSuccess,"onUpdate:modelValue":n[0]||(n[0]=i=>t.queryForm.ifSuccess=i),placeholder:"\u662F\u5426\u6210\u529F","dict-type":"yes_or_no",clearable:""},null,8,["modelValue"])]),_:1}),e(c,null,{default:l(()=>[e(F,{type:"primary",onClick:n[1]||(n[1]=i=>r(u)())},{default:l(()=>[L]),_:1})]),_:1})]),_:1},8,["model"]),N((p(),k(E,{data:t.dataList,border:"",style:{width:"100%"},onSelectionChange:r(_)},{default:l(()=>[e(a,{prop:"id",label:"\u6267\u884C\u5E8F\u53F7","header-align":"center",align:"center",width:"130px"}),e(a,{"show-overflow-tooltip":"",prop:"sourceSchemaName",label:"\u6E90\u7AEF\u5E93\u540D","header-align":"center",align:"center",width:"150px"}),e(a,{"show-overflow-tooltip":"",prop:"targetSchemaName",label:"\u76EE\u7684\u7AEF\u5E93\u540D","header-align":"center",align:"center",width:"130px"}),e(a,{"show-overflow-tooltip":"",prop:"sourceTableName",label:"\u6E90\u7AEF\u8868\u540D","header-align":"center",align:"center",width:"130px"}),e(a,{"show-overflow-tooltip":"",prop:"targetTableName",label:"\u76EE\u7684\u7AEF\u8868\u540D","header-align":"center",align:"center",width:"130px"}),e(a,{prop:"syncCount",label:"\u540C\u6B65\u8BB0\u5F55\u6570","header-align":"center",align:"center",width:"150px"}),e(a,{prop:"syncBytes",label:"\u540C\u6B65\u6570\u636E\u91CF","header-align":"center",align:"center",width:"150px"}),e(C,{prop:"ifSuccess",label:"\u662F\u5426\u6210\u529F","header-align":"center",align:"center","dict-type":"yes_or_no",width:"130px"}),e(a,{"show-overflow-tooltip":"",prop:"successMsg",label:"\u6210\u529F\u4FE1\u606F","header-align":"center",align:"center",width:"150px"}),e(a,{"show-overflow-tooltip":"",prop:"errorMsg",label:"\u5931\u8D25\u4FE1\u606F","header-align":"center",align:"center",width:"150px"}),e(a,{prop:"createTime",label:"\u521B\u5EFA\u65F6\u95F4","header-align":"center",align:"center",width:"130px"})]),_:1},8,["data","onSelectionChange"])),[[x,t.dataListLoading]]),e(y,{"current-page":t.page,"page-sizes":t.pageSizes,"page-size":t.limit,total:t.total,layout:"total, sizes, prev, pager, next, jumper",onSizeChange:r(h),onCurrentChange:r(f)},null,8,["current-page","page-sizes","page-size","total","onSizeChange","onCurrentChange"])],64)}}});export{I as _};
