1 |
- import{_ as b,__tla as D}from"./ContentWrap.vue_vue_type_script_setup_true_lang-5a63038a.js";import{d as M,af as E,I as T,r as m,k as A,o as P,q as g,w as t,f as r,a,m as l,t as s,__tla as q}from"./index-2eab2d23.js";import{E as w,a as x,__tla as B}from"./el-descriptions-item-fd42286f.js";import{_ as L,__tla as O}from"./DictTag.vue_vue_type_script_lang-cb1e47ff.js";import{D as j,__tla as k}from"./dict-1ad71b6f.js";import{f as n,__tla as I}from"./formatTime-41155543.js";import{g as V,__tla as z}from"./index-5c801681.js";import{__tla as C}from"./el-card-c558f0ec.js";import"./color-6e929987.js";let c,F=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return k}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return C}catch{}})()]).then(async()=>{c=M({name:"BpmOALeaveDetail",__name:"detail",props:{id:E.number.def(void 0)},setup(f,{expose:i}){const{query:p}=T(),y=f,o=m(!1),_=m({}),d=p.id,u=async()=>{o.value=!0;try{_.value=await V(y.id||d)}finally{o.value=!1}};return i({open:u}),A(()=>{u()}),(G,H)=>{const Y=L,e=w,h=x,v=b;return P(),g(v,null,{default:t(()=>[r(h,{column:1,border:""},{default:t(()=>[r(e,{label:"\u8BF7\u5047\u7C7B\u578B"},{default:t(()=>[r(Y,{type:a(j).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{F as __tla,c as default};
|