import{d as N,h as g,Y as B,r as s,o as _,f,w as l,b as e,k as t,l as i,t as D,H as E}from"./index.e3896b23.js";const U=i("\u5931\u8D25"),k=i("\u6210\u529F"),v=i("\u5173\u95ED"),T=N({__name:"detail",setup(w,{expose:F}){const p=g(!1);let a=B({jobId:"",jobName:"",jobGroup:"",beanName:"",method:"",params:"",error:"",times:0,status:0,createTime:""});return F({init:V=>{p.value=!0,Object.assign(a,V)}}),(V,o)=>{const m=s("el-input"),d=s("el-form-item"),n=s("el-col"),r=s("el-row"),j=s("fast-select"),b=s("el-tag"),c=s("el-form"),y=s("el-button"),C=s("el-dialog");return _(),f(C,{modelValue:p.value,"onUpdate:modelValue":o[9]||(o[9]=u=>p.value=u),title:"\u65E5\u5FD7\u8BE6\u60C5","close-on-click-modal":!1,draggable:""},{footer:l(()=>[e(y,{type:"primary",onClick:o[8]||(o[8]=u=>p.value=!1)},{default:l(()=>[v]),_:1})]),default:l(()=>[e(c,{"label-width":"100px"},{default:l(()=>[e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(d,{label:"\u4EFB\u52A1ID",prop:"jobId"},{default:l(()=>[e(m,{modelValue:t(a).jobId,"onUpdate:modelValue":o[0]||(o[0]=u=>t(a).jobId=u),disabled:""},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:12},{default:l(()=>[e(d,{label:"\u4EFB\u52A1\u540D\u79F0",prop:"jobName"},{default:l(()=>[e(m,{modelValue:t(a).jobName,"onUpdate:modelValue":o[1]||(o[1]=u=>t(a).jobName=u),disabled:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(d,{label:"\u4EFB\u52A1\u7EC4\u540D",prop:"jobGroup"},{default:l(()=>[e(j,{modelValue:t(a).jobGroup,"onUpdate:modelValue":o[2]||(o[2]=u=>t(a).jobGroup=u),"dict-type":"schedule_group",disabled:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:12},{default:l(()=>[e(d,{label:"bean\u540D\u79F0",prop:"beanName"},{default:l(()=>[e(m,{modelValue:t(a).beanName,"onUpdate:modelValue":o[3]||(o[3]=u=>t(a).beanName=u),disabled:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(d,{label:"\u65B9\u6CD5\u540D\u79F0",prop:"beanName"},{default:l(()=>[e(m,{modelValue:t(a).method,"onUpdate:modelValue":o[4]||(o[4]=u=>t(a).method=u),disabled:""},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:12},{default:l(()=>[e(d,{label:"\u65B9\u6CD5\u53C2\u6570",prop:"params"},{default:l(()=>[e(m,{modelValue:t(a).params,"onUpdate:modelValue":o[5]||(o[5]=u=>t(a).params=u),disabled:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(n,{span:12},{default:l(()=>[e(d,{label:"\u6267\u884C\u65F6\u95F4",prop:"createTime"},{default:l(()=>[e(m,{modelValue:t(a).createTime,"onUpdate:modelValue":o[6]||(o[6]=u=>t(a).createTime=u),disabled:""},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{span:6},{default:l(()=>[e(d,{label:"\u6267\u884C\u65F6\u957F",prop:"status"},{default:l(()=>[e(b,{type:"danger"},{default:l(()=>[i(D(t(a).times)+"ms",1)]),_:1})]),_:1})]),_:1}),e(n,{span:6},{default:l(()=>[e(d,{label:"\u4EFB\u52A1\u72B6\u6001",prop:"status"},{default:l(()=>[t(a).status===0?(_(),f(b,{key:0,type:"danger"},{default:l(()=>[U]),_:1})):(_(),f(b,{key:1,type:"success"},{default:l(()=>[k]),_:1}))]),_:1})]),_:1})]),_:1}),t(a).status===0?(_(),f(d,{key:0,label:"\u9519\u8BEF\u4FE1\u606F",prop:"error"},{default:l(()=>[e(m,{modelValue:t(a).error,"onUpdate:modelValue":o[7]||(o[7]=u=>t(a).error=u),rows:12,type:"textarea",disabled:""},null,8,["modelValue"])]),_:1})):E("",!0)]),_:1})]),_:1},8,["modelValue"])}}});export{T as _};
