import{I as a}from"./IndexPagePro-44077094-1780912037814v=1.0.0.js";import{u as s}from"./useFormEdit-098e87f9-1780912037814v=1.0.0.js";import{g as e}from"./operat-2ad66163-1780912037814v=1.0.0.js";import{d as t,u as l,s as n,r as o,o as r,a as i,b as d,c,w as u,k as p,t as m,f as v,e as f,h as _,F as y,i as $,l as j,j as k,_ as b}from"./index-d052b22f-1780912037814v=1.0.0.js";import"./tabs-f13d13c5-1780912037814v=1.0.0.js";const g={class:"record-container"},h={class:"c-time mt20 pb20"},w={key:0,class:"pl10"},x=b(t({__name:"detail",setup(t){const{closeCurrent:b}=s(),x=l(),I=n((()=>x.query.id)),C=n((()=>`${F.value.c_time_str} ${F.value.organ_unit_name}${F.value.operator}${F.value.handle}${F.value.title}`)),F=o({});return r((async()=>{const{data:a}=await e({id:I.value});F.value=a})),(s,e)=>{const t=i("el-card"),l=i("el-empty"),n=i("el-col"),o=i("el-button");return d(),c(a,null,{default:u((()=>[p("div",g,[p("div",h,m(v(C)),1),f(n,{span:20},{default:u((()=>[v(F).content&&v(F).content.length?(d(),c(t,{key:0,shadow:"always"},{default:u((()=>[(d(!0),_(y,null,$(v(F).content,(a=>(d(),_("div",{key:a,class:"record-item"},[p("span",null,m(a.split("$")[0]),1),a.split("$").length>1?(d(),_("span",w,m(a.split("$")[1]),1)):j("v-if",!0)])))),128))])),_:1})):(d(),c(l,{key:1,description:"暂无修改内容"}))])),_:1}),f(o,{class:"mt20",onClick:e[0]||(e[0]=a=>v(b)())},{default:u((()=>e[1]||(e[1]=[k("返回")]))),_:1})])])),_:1})}}}),[["__scopeId","data-v-f853315f"]]);export{x as default};
