import{_ as b,__tla as D}from"./ContentWrap-07931e94.js";import{d as x,ai as M,K as w,r as m,m as E,o as T,x as A,w as t,g as _,a,q as l,t as s,_ as P,__tla as g}from"./index-7d5b26d3.js";import{E as q,a as z,__tla as B}from"./el-descriptions-item-bfa341f2.js";import{_ as L,__tla as O}from"./DictTag-89bfbd38.js";import{D as j,__tla as K}from"./dict-37d1dfe8.js";import{f as n,__tla as V}from"./formatTime-5152c108.js";import{g as k,__tla as C}from"./index-e0ecfe06.js";import{__tla as F}from"./ContentWrap.vue_vue_type_script_setup_true_lang-831d711e.js";import{__tla as G}from"./el-card-698191e2.js";import"./color-6e929987.js";let i,H=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return g}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return G}catch{}})()]).then(async()=>{i=P(x({name:"BpmOALeaveDetail",__name:"detail",props:{id:M.number.def(void 0)},setup(c,{expose:f}){const{query:p}=w(),y=c,o=m(!1),e=m({}),d=p.id,u=async()=>{o.value=!0;try{e.value=await k(y.id||d)}finally{o.value=!1}};return f({open:u}),E(()=>{u()}),(I,J)=>{const v=L,r=q,h=z,Y=b;return T(),A(Y,null,{default:t(()=>[_(h,{column:1,border:""},{default:t(()=>[_(r,{label:"\u8BF7\u5047\u7C7B\u578B"},{default:t(()=>[_(v,{type:a(j).BPM_OA_LEAVE_TYPE,value:a(e).type},null,8,["type","value"])]),_:1}),_(r,{label:"\u5F00\u59CB\u65F6\u95F4"},{default:t(()=>[l(s(a(n)(a(e).startTime,"YYYY-MM-DD")),1)]),_:1}),_(r,{label:"\u7ED3\u675F\u65F6\u95F4"},{default:t(()=>[l(s(a(n)(a(e).endTime,"YYYY-MM-DD")),1)]),_:1}),_(r,{label:"\u539F\u56E0"},{default:t(()=>[l(s(a(e).reason),1)]),_:1})]),_:1})]),_:1})}}}),[["__file","D:/zx/mall-newfeifan-zx-business/src/views/bpm/oa/leave/detail.vue"]])});export{H as __tla,i as default};
