detail-86fce4cb.js 1.7 KB

1
  1. import{_ as v,__tla as D}from"./ContentWrap.vue_vue_type_script_setup_true_lang-bed37a76.js";import{d as E,ar as M,Z as A,r as m,b as T,o as P,C as x,A as t,f as r,a,D as l,E as s,__tla as B}from"./index-6e0fa573.js";import{E as L,a as O,__tla as g}from"./el-descriptions-item-868c8d3f.js";import{_ as j,__tla as q}from"./DictTag.vue_vue_type_script_lang-66c5118d.js";import{D as w,__tla as C}from"./dict-33efee75.js";import{f as n,__tla as V}from"./formatTime-4408999b.js";import{g as Z,__tla as k}from"./index-66925fbb.js";import{__tla as z}from"./el-card-f999e23d.js";import"./color-6e929987.js";let c,F=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return g}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return C}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 Z(y.id||d)}finally{o.value=!1}};return f({open:u}),T(()=>{u()}),(G,H)=>{const Y=j,e=L,h=O,b=v;return P(),x(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{F as __tla,c as default};