import{_ as v,__tla as D}from"./ContentWrap.vue_vue_type_script_setup_true_lang-c7ede7df.js";import{d as E,ar as M,$ as A,r as m,b as B,o as P,A as T,B as t,f as r,a,E as l,G as s,__tla as x}from"./index-92ad187a.js";import{E as L,a as O,__tla as g}from"./el-descriptions-item-809b8296.js";import{_ as j,__tla as q}from"./DictTag.vue_vue_type_script_lang-96bcb962.js";import{D as w,__tla as G}from"./dict-221f3e01.js";import{f as n,__tla as V}from"./formatTime-c7f253d6.js";import{g as $,__tla as k}from"./index-9af66f0b.js";import{__tla as z}from"./el-card-93209b1d.js";import"./color-6e929987.js";let c,C=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return x}catch{}})(),(()=>{try{return g}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return k}catch{}})(),(()=>{try{return z}catch{}})()]).then(async()=>{c=E({name:"BpmOALeaveDetail",__name:"detail",props:{id:M.number.def(void 0)},setup(i,{expose:f}){const{query:p}=A(),y=i,o=m(!1),_=m({}),d=p.id,u=async()=>{o.value=!0;try{_.value=await $(y.id||d)}finally{o.value=!1}};return f({open:u}),B(()=>{u()}),(F,H)=>{const Y=j,e=L,h=O,b=v;return P(),T(b,null,{default:t(()=>[r(h,{column:1,border:""},{default:t(()=>[r(e,{label:"\u8BF7\u5047\u7C7B\u578B"},{default:t(()=>[r(Y,{type:a(w).BPM_OA_LEAVE_TYPE,value:a(_).type},null,8,["type","value"])]),_:1}),r(e,{label:"\u5F00\u59CB\u65F6\u95F4"},{default:t(()=>[l(s(a(n)(a(_).startTime,"YYYY-MM-DD")),1)]),_:1}),r(e,{label:"\u7ED3\u675F\u65F6\u95F4"},{default:t(()=>[l(s(a(n)(a(_).endTime,"YYYY-MM-DD")),1)]),_:1}),r(e,{label:"\u539F\u56E0"},{default:t(()=>[l(s(a(_).reason),1)]),_:1})]),_:1})]),_:1})}}})});export{C as __tla,c as default};
