detail-6cc8aca7.js 1.7 KB

1
  1. import{_ as b,__tla as D}from"./ContentWrap-0aca5216.js";import{d as M,ac as x,L as w,r as m,q as E,o as T,x as A,w as t,f as e,a,y as l,t as s,_ as L,__tla as P}from"./index-8dc1e40a.js";import{E as q,a as B,__tla as O}from"./el-descriptions-item-bf830d0d.js";import{_ as g,__tla as j}from"./DictTag-85aade2b.js";import{D as k,__tla as z}from"./dict-f13a3c8f.js";import{f as n,__tla as H}from"./formatTime-8a155b2e.js";import{g as R,__tla as U}from"./index-5f567f8a.js";import{__tla as V}from"./el-card-18df90f0.js";import"./color-6e929987.js";let i,X=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return V}catch{}})()]).then(async()=>{i=L(M({name:"BpmOALeaveDetail",__name:"detail",props:{id:x.number.def(void 0)},setup(f,{expose:c}){const{query:p}=w(),d=f,u=m(!1),r=m({}),y=p.id,o=async()=>{u.value=!0;try{r.value=await R(d.id||y)}finally{u.value=!1}};return c({open:o}),E(()=>{o()}),(C,F)=>{const v=g,_=q,Y=B,h=b;return T(),A(h,null,{default:t(()=>[e(Y,{column:1,border:""},{default:t(()=>[e(_,{label:"\u8BF7\u5047\u7C7B\u578B"},{default:t(()=>[e(v,{type:a(k).BPM_OA_LEAVE_TYPE,value:a(r).type},null,8,["type","value"])]),_:1}),e(_,{label:"\u5F00\u59CB\u65F6\u95F4"},{default:t(()=>[l(s(a(n)(a(r).startTime,"YYYY-MM-DD")),1)]),_:1}),e(_,{label:"\u7ED3\u675F\u65F6\u95F4"},{default:t(()=>[l(s(a(n)(a(r).endTime,"YYYY-MM-DD")),1)]),_:1}),e(_,{label:"\u539F\u56E0"},{default:t(()=>[l(s(a(r).reason),1)]),_:1})]),_:1})]),_:1})}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/bpm/oa/leave/detail.vue"]])});export{X as __tla,i as default};