1 |
- import{_ as D,__tla as b}from"./ContentWrap-5f2f4872.js";import{d as M,ag as x,J as E,r as o,l as w,o as A,v as P,w as t,f as e,a,n as l,t as s,_ as T,__tla as g}from"./index-e3afde76.js";import{E as z,a as B,__tla as L}from"./el-descriptions-item-10fdd34c.js";import{_ as O,__tla as j}from"./DictTag-715a7ef1.js";import{D as q,__tla as J}from"./dict-a141296d.js";import{f as m,__tla as V}from"./formatTime-cee700cd.js";import{g as k,__tla as C}from"./index-87ae53fb.js";import{__tla as F}from"./el-card-6198c22a.js";import"./color-6e929987.js";let i,G=Promise.all([(()=>{try{return b}catch{}})(),(()=>{try{return g}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return F}catch{}})()]).then(async()=>{i=T(M({name:"BpmOALeaveDetail",__name:"detail",props:{id:x.number.def(void 0)},setup(c,{expose:f}){const{query:p}=E(),d=c,u=o(!1),r=o({}),y=p.id,n=async()=>{u.value=!0;try{r.value=await k(d.id||y)}finally{u.value=!1}};return f({open:n}),w(()=>{n()}),(H,I)=>{const v=O,_=z,Y=B,h=D;return A(),P(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(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","D:/zx/mall-newfeifan-zx-admin/src/views/bpm/oa/leave/detail.vue"]])});export{G as __tla,i as default};
|