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