import{_ as D,__tla as b}from"./ContentWrap-e91b2b5a.js";import{d as M,p as w,O as x,r as m,B as E,o as T,l as A,w as t,i as e,a,j as l,t as s,_ as B,__tla as O}from"./index-b2b3c6c4.js";import{E as P,a as j,__tla as L}from"./el-descriptions-item-68c27ab4.js";import{_ as g,__tla as k}from"./DictTag-4199ec8d.js";import{D as q,__tla as z}from"./dict-7f0cc6d2.js";import{f as n,__tla as H}from"./formatTime-7e07ce72.js";import{g as R,__tla as U}from"./index-b785dbd1.js";import{__tla as V}from"./el-card-bd6e27c9.js";import"./color-6e929987.js";let i,X=Promise.all([(()=>{try{return b}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return k}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return V}catch{}})()]).then(async()=>{i=B(M({name:"BpmOALeaveDetail",__name:"detail",props:{id:w.number.def(void 0)},setup(f,{expose:c}){const{query:p}=x(),d=f,u=m(!1),r=m({}),y=p.id,o=async()=>{u.value=!0;try{r.value=await R(d.id||y)}finally{u.value=!1}};return c({open:o}),E(()=>{o()}),(C,F)=>{const v=g,_=P,Y=j,h=D;return T(),A(h,null,{default:t(()=>[e(Y,{column:1,border:""},{default:t(()=>[e(_,{label:"\u8BF7\u5047\u7C7B\u578B"},{default:t(()=>[e(v,{type:a(q).BPM_OA_LEAVE_TYPE,value:a(r).type},null,8,["type","value"])]),_:1}),e(_,{label:"\u5F00\u59CB\u65F6\u95F4"},{default:t(()=>[l(s(a(n)(a(r).startTime,"YYYY-MM-DD")),1)]),_:1}),e(_,{label:"\u7ED3\u675F\u65F6\u95F4"},{default:t(()=>[l(s(a(n)(a(r).endTime,"YYYY-MM-DD")),1)]),_:1}),e(_,{label:"\u539F\u56E0"},{default:t(()=>[l(s(a(r).reason),1)]),_:1})]),_:1})]),_:1})}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/bpm/oa/leave/detail.vue"]])});export{X as __tla,i as default};
