detail-c2d38734.js 1.7 KB

1
  1. import{_ as h,__tla as D}from"./ContentWrap-60842994.js";import{d as M,ag as x,J as w,r as o,k as E,o as T,v as A,w as t,f as e,a,m as l,t as s,_ as P,__tla as g}from"./index-430b3151.js";import{E as z,a as B,__tla as L}from"./el-descriptions-item-f31a472b.js";import{_ as O,__tla as j}from"./DictTag-c94c3188.js";import{D as k,__tla as q}from"./dict-603b6a58.js";import{f as n,__tla as J}from"./formatTime-00eecbb7.js";import{g as V,__tla as C}from"./index-72277e02.js";import{__tla as F}from"./el-card-dee5b36b.js";import"./color-6e929987.js";let i,G=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return g}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return F}catch{}})()]).then(async()=>{i=P(M({name:"BpmOALeaveDetail",__name:"detail",props:{id:x.number.def(void 0)},setup(c,{expose:f}){const{query:p}=w(),d=c,u=o(!1),r=o({}),y=p.id,m=async()=>{u.value=!0;try{r.value=await V(d.id||y)}finally{u.value=!1}};return f({open:m}),E(()=>{m()}),(H,I)=>{const v=O,_=z,Y=B,b=h;return T(),A(b,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","D:/zx/mall-newfeifan-zx-admin/src/views/bpm/oa/leave/detail.vue"]])});export{G as __tla,i as default};