import{_ as b,__tla as D}from"./ContentWrap-0137c911.js";import{d as x,ah as E,J as M,r as n,l as w,o as T,v as A,w as t,f as _,a,n as l,t as s,_ as P,__tla as z}from"./index-04f8d540.js";import{E as B,a as L,__tla as O}from"./el-descriptions-item-acdf7c6c.js";import{_ as g,__tla as j}from"./DictTag-774e4f97.js";import{D as q,__tla as J}from"./dict-ef06f7f7.js";import{f as m,__tla as V}from"./formatTime-81f0c591.js";import{g as k,__tla as C}from"./index-f29af519.js";import{__tla as F}from"./ContentWrap.vue_vue_type_script_setup_true_lang-d7df3a9f.js";import{__tla as G}from"./el-card-3a265a8d.js";import"./color-6e929987.js";let i,H=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return J}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:E.number.def(void 0)},setup(f,{expose:c}){const{query:p}=M(),y=f,o=n(!1),e=n({}),d=p.id,u=async()=>{o.value=!0;try{e.value=await k(y.id||d)}finally{o.value=!1}};return c({open:u}),w(()=>{u()}),(I,K)=>{const v=g,r=B,h=L,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(q).BPM_OA_LEAVE_TYPE,value:a(e).type},null,8,["type","value"])]),_:1}),_(r,{label:"\u5F00\u59CB\u65F6\u95F4"},{default:t(()=>[l(s(a(m)(a(e).startTime,"YYYY-MM-DD")),1)]),_:1}),_(r,{label:"\u7ED3\u675F\u65F6\u95F4"},{default:t(()=>[l(s(a(m)(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};
