detail-fc4d56f8.js 1.8 KB

1
  1. import{_ as D,__tla as b}from"./ContentWrap-4a402efa.js";import{d as M,ag as x,J as w,r as n,l as E,o as g,v as A,w as t,f as _,a,n as l,t as s,_ as P,__tla as T}from"./index-7db069d5.js";import{E as z,a as B,__tla as L}from"./el-descriptions-item-b01bf7d8.js";import{_ as O,__tla as j}from"./DictTag-5478680f.js";import{D as q,__tla as J}from"./dict-62516d0e.js";import{f as u,__tla as V}from"./formatTime-4c85479f.js";import{g as k,__tla as C}from"./index-e9edde59.js";import{__tla as F}from"./ContentWrap.vue_vue_type_script_setup_true_lang-4f367f62.js";import{__tla as G}from"./el-card-52ebe6e4.js";import"./color-6e929987.js";let i,H=Promise.all([(()=>{try{return b}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return G}catch{}})()]).then(async()=>{i=P(M({name:"BpmOALeaveDetail",__name:"detail",props:{id:x.number.def(void 0)},setup(f,{expose:c}){const{query:p}=w(),d=f,o=n(!1),e=n({}),y=p.id,m=async()=>{o.value=!0;try{e.value=await k(d.id||y)}finally{o.value=!1}};return c({open:m}),E(()=>{m()}),(I,K)=>{const v=O,r=z,h=B,Y=D;return g(),A(Y,null,{default:t(()=>[_(h,{column:1,border:""},{default:t(()=>[_(r,{label:"\u8BF7\u5047\u7C7B\u578B"},{default:t(()=>[_(v,{type:a(q).BPM_OA_LEAVE_TYPE,value:a(e).type},null,8,["type","value"])]),_:1}),_(r,{label:"\u5F00\u59CB\u65F6\u95F4"},{default:t(()=>[l(s(a(u)(a(e).startTime,"YYYY-MM-DD")),1)]),_:1}),_(r,{label:"\u7ED3\u675F\u65F6\u95F4"},{default:t(()=>[l(s(a(u)(a(e).endTime,"YYYY-MM-DD")),1)]),_:1}),_(r,{label:"\u539F\u56E0"},{default:t(()=>[l(s(a(e).reason),1)]),_:1})]),_:1})]),_:1})}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/bpm/oa/leave/detail.vue"]])});export{H as __tla,i as default};