import{I as x}from"./IndexPagePro-904e4e7b.js";import{u as B}from"./useFormEdit-3c660b22.js";import{g as C}from"./operat-aafeedcb.js";import{d as E,O as F,f as i,p as V,o as w,i as a,a as t,z as c,m as r,j as l,t as u,e as s,k as p,c as _,F as N,q as R,l as b,v as D,_ as I}from"./index-deffec86.js";import"./tabs-96386b59.js";const q={class:"record-container"},L={class:"c-time mt20 pb20"},O={key:0,class:"pl10"},P=E({__name:"historyRecord",setup(j){const{closeCurrent:m}=B(),f=F(),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=V({});return w(async()=>{const{data:d}=await C({id:v.value});e.value=d}),(d,n)=>{const g=a("el-card"),k=a("el-empty"),$=a("el-col"),h=a("el-button");return t(),c(x,null,{default:r(()=>[l("div",q,[l("div",L,u(s(y)),1),p($,{span:20},{default:r(()=>[s(e).content&&s(e).content.length?(t(),c(g,{key:0,shadow:"always"},{default:r(()=>[(t(!0),_(N,null,R(s(e).content,o=>(t(),_("div",{key:o,class:"record-item"},[l("span",null,u(o.split("$")[0]),1),o.split("$").length>1?(t(),_("span",O,u(o.split("$")[1]),1)):b("v-if",!0)]))),128))]),_:1})):(t(),c(k,{key:1,description:"\u6682\u65E0\u4FEE\u6539\u5185\u5BB9"}))]),_:1}),p(h,{class:"mt20",onClick:n[0]||(n[0]=o=>s(m)())},{default:r(()=>n[1]||(n[1]=[D("\u8FD4\u56DE")])),_:1})])]),_:1})}}});const G=I(P,[["__scopeId","data-v-9014135a"]]);export{G as default};
