import{_ as b,__tla as D}from"./ContentWrap-f1610353.js";import{d as E,p as M,O as w,r as n,B as A,o as O,l as P,w as t,i as e,a,j as l,t as s,_ as T,__tla as B}from"./index-2c56227b.js";import{E as j,a as x,__tla as L}from"./el-descriptions-item-1b67c432.js";import{_ as g,__tla as q}from"./DictTag-cfe1898d.js";import{D as G,__tla as H}from"./dict-763dd292.js";import{f as m,__tla as V}from"./formatTime-7f0ec2bf.js";import{g as k,__tla as z}from"./index-23048859.js";import{__tla as C}from"./el-card-9c148b4f.js";import"./color-6e929987.js";let i,F=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return C}catch{}})()]).then(async()=>{i=T(E({name:"BpmOALeaveDetail",__name:"detail",props:{id:M.number.def(void 0)},setup(p,{expose:c}){const{query:f}=w(),d=p,u=n(!1),r=n({}),y=f.id,o=async()=>{u.value=!0;try{r.value=await k(d.id||y)}finally{u.value=!1}};return c({open:o}),A(()=>{o()}),(I,J)=>{const v=g,_=j,Y=x,h=b;return O(),P(h,null,{default:t(()=>[e(Y,{column:1,border:""},{default:t(()=>[e(_,{label:"\u8BF7\u5047\u7C7B\u578B"},{default:t(()=>[e(v,{type:a(G).BPM_OA_LEAVE_TYPE,value:a(r).type},null,8,["type","value"])]),_:1}),e(_,{label:"\u5F00\u59CB\u65F6\u95F4"},{default:t(()=>[l(s(a(m)(a(r).startTime,"YYYY-MM-DD")),1)]),_:1}),e(_,{label:"\u7ED3\u675F\u65F6\u95F4"},{default:t(()=>[l(s(a(m)(a(r).endTime,"YYYY-MM-DD")),1)]),_:1}),e(_,{label:"\u539F\u56E0"},{default:t(()=>[l(s(a(r).reason),1)]),_:1})]),_:1})]),_:1})}}}),[["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/bpm/oa/leave/detail.vue"]])});export{F as __tla,i as default};
