detail-9d4b31bb.js 1.7 KB

1
  1. import{_ as v,__tla as D}from"./ContentWrap.vue_vue_type_script_setup_true_lang-6b7b4656.js";import{d as E,ar as M,Z as A,r as m,b as x,o as P,C as T,A as t,f as r,a,D as l,E as s,__tla as B}from"./index-a9d538d5.js";import{E as L,a as O,__tla as g}from"./el-descriptions-item-fc5f9080.js";import{_ as j,__tla as q}from"./DictTag.vue_vue_type_script_lang-9e4dd0a0.js";import{D as w,__tla as C}from"./dict-0e53af99.js";import{f as n,__tla as V}from"./formatTime-8985a9d0.js";import{g as Z,__tla as k}from"./index-fc518393.js";import{__tla as z}from"./el-card-0ea446a3.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}),x(()=>{u()}),(G,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{F as __tla,c as default};