detail-73207307.js 1.7 KB

1
  1. import{_ as v,__tla as D}from"./ContentWrap.vue_vue_type_script_setup_true_lang-33dea697.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-e8bff8cb.js";import{E as L,a as O,__tla as g}from"./el-descriptions-item-d429ad13.js";import{_ as j,__tla as q}from"./DictTag.vue_vue_type_script_lang-23f1740b.js";import{D as w,__tla as G}from"./dict-4a54e490.js";import{f as n,__tla as V}from"./formatTime-4fdd5566.js";import{g as $,__tla as k}from"./index-530e8044.js";import{__tla as z}from"./el-card-f9558d99.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};