import{d as h,G as B,a as i,r as C,b as E,e as a,o as t,f as c,w as l,n as r,t as u,h as s,g as p,c as _,L as w,M as V,p as b,l as F,I as N,_ as D}from"./index-17740f03-1778929502341v=1.0.0.js";import{u as I}from"./useFormEdit-1c6a5713-1778929502341v=1.0.0.js";import{g as L}from"./operat-65158dfc-1778929502341v=1.0.0.js";import"./tabs-07c00c0d-1778929502341v=1.0.0.js";const M={class:"record-container"},P={class:"c-time mt20 pb20"},q={key:0,class:"pl10"},G=h({__name:"detail",setup(O){const{closeCurrent:m}=I(),f=B(),v=i(()=>f.query.id),y=i(()=>`${e.value.c_time_str} ${e.value.organ_unit_name}${e.value.operator}${e.value.handle}${e.value.title}`),e=C({});return E(async()=>{const{data:d}=await L({id:v.value});e.value=d}),(d,n)=>{const g=a("el-card"),$=a("el-empty"),k=a("el-col"),x=a("el-button");return t(),c(N,null,{default:l(()=>[r("div",M,[r("div",P,u(s(y)),1),p(k,{span:20},{default:l(()=>[s(e).content&&s(e).content.length?(t(),c(g,{key:0,shadow:"always"},{default:l(()=>[(t(!0),_(w,null,V(s(e).content,o=>(t(),_("div",{key:o,class:"record-item"},[r("span",null,u(o.split("$")[0]),1),o.split("$").length>1?(t(),_("span",q,u(o.split("$")[1]),1)):b("v-if",!0)]))),128))]),_:1})):(t(),c($,{key:1,description:"\u6682\u65E0\u4FEE\u6539\u5185\u5BB9"}))]),_:1}),p(x,{class:"mt20",onClick:n[0]||(n[0]=o=>s(m)())},{default:l(()=>n[1]||(n[1]=[F("\u8FD4\u56DE")])),_:1})])]),_:1})}}});const z=D(G,[["__scopeId","data-v-f853315f"]]);export{z as default};
