import{_}from"./log-drawer-DaQyKcwN.js";import{d as y,k as f,u as g,r as c,a as k,$ as e,o as v,b as $,f as I,l as b}from"./index-BlU6DPnP.js";import"./CollapseItem-nfFVmwOd.js";const h={class:"h-full"},T=y({name:"log",__name:"index",setup(j){const o=f(),{routerPushByKey:i}=g(),t=c(o.query.type),a=c(),{taskBatchId:s,jobId:r,taskId:n,groupName:u,uniqueId:l}=o.query;function p(){["job","retry"].includes(t.value)||i("404"),t.value==="job"&&(a.value={taskBatchId:s,jobId:r,id:n}),t.value==="retry"&&(a.value={groupName:u,uniqueId:l})}p();const d=k(()=>t.value==="job"?`${e("common.systemTaskType.job")+e("page.log.title")} ------ JobId: ${r}, TaskId: ${n}, TaskBatchId: ${s}`:t.value==="retry"?`${e("common.systemTaskType.retry")+e("page.log.title")} ------ ${e("page.retryLog.groupName")}: ${u}, ${e("page.retryLog.UniqueId")}: ${l}`:e("page.log.title"));return(x,B)=>{const m=_;return v(),$("div",h,[I(m,{drawer:!1,title:d.value,type:t.value,"task-data":a.value},null,8,["title","type","task-data"])])}}}),w=b(T,[["__scopeId","data-v-11a1c841"]]);export{w as default};
