import{u as P}from"./useFormEdit-1c6a5713-1778929502341v=1.0.0.js";import{b as M}from"./processReleaseApi-51d788e8-1778929502341v=1.0.0.js";import{d as k,r as l,G as q,b as A,e as a,o as _,f as I,w as i,n as t,t as r,h as o,l as d,c as p,L as N,M as R,g as u,ak as y,K as V,_ as H}from"./index-17740f03-1778929502341v=1.0.0.js";import"./tabs-07c00c0d-1778929502341v=1.0.0.js";const S={class:"container"},$={class:"topTitle"},G={class:"pushTime"},J={class:"pushTime"},K=["innerHTML"],O={class:"fileBox"},j={class:"files",style:{flex:"1"}},z={class:"pt20 mt30"},Q=k({name:"processReleaseDetail"}),U=k({...Q,setup(W){const v=l({xs:24,sm:22,md:20,lg:14,xl:23}),x=l({xs:24,sm:24,md:12,lg:12,xl:12}),b=l({xs:24,sm:22,md:18,lg:16,xl:8}),{closeCurrent:g}=P(),s=l({}),c=q(),B=l("");l([{key:"title",col:1,label:"\u6807\u9898"},{key:"type",col:1,label:"\u6D41\u7A0B\u7C7B\u578B"},{key:"publishTime",col:1,label:"\u53D1\u5E03\u65F6\u95F4"},{key:"content",col:1,label:"\u6B63\u6587"},{key:"file",col:1,label:"\u9644\u4EF6",type:"file"},{key:"status",col:2,label:"\u72B6\u6001"},{key:"uTime",col:2,label:"\u66F4\u65B0\u65E5\u671F"}]),l({1:v,2:x,3:b});const F=async f=>{let e=await M({administration_standard_flow_id:f});if(e.code!==200){V.error(e.msg);return}e.data,e.data.file&&(e.data.file=JSON.parse(e.data.file||"[]")),s.value={...e.data}};A(()=>{c.query.id&&(B.value=c.query.id,s.value.id=c.query.id,F(c.query.id))});const C=()=>{g()};return(f,e)=>{const D=a("Link"),E=a("el-icon"),m=a("el-link"),L=a("el-button"),h=a("PaIndexPage");return _(),I(h,null,{default:i(()=>[t("div",S,[t("div",$,r(o(s).title),1),t("div",G,"\u53D1\u5E03\u65F6\u95F4:"+r(o(s).publish_time),1),t("div",J,"\u6D41\u7A0B\u7C7B\u578B:"+r(o(s).administration_notice_type_id_str),1),e[3]||(e[3]=t("div",null,"\u6B63\u6587\uFF1A",-1)),t("div",{class:"content",innerHTML:o(s).content},null,8,K),t("div",O,[e[1]||(e[1]=d(" \u9644\u4EF6\uFF1A ")),t("div",j,[(_(!0),p(N,null,R(o(s).file,(n,T)=>(_(),p("div",{key:T,style:{"margin-bottom":"10px"}},[u(m,{type:"primary",onClick:w=>o(y)(n.url||n.file_url)},{default:i(()=>[u(E,null,{default:i(()=>[u(D)]),_:1}),d(" "+r(n.file_name),1)]),_:2},1032,["onClick"]),u(m,{style:{"margin-left":"10px"},class:"file",onClick:w=>o(y)(n.url||n.file_url,0,n.file_name,!0)},{default:i(()=>e[0]||(e[0]=[d("\u4E0B\u8F7D")])),_:2},1032,["onClick"])]))),128))])]),t("div",z,[u(L,{onClick:C},{default:i(()=>e[2]||(e[2]=[d("\u8FD4\u56DE")])),_:1})])])]),_:1})}}});const te=H(U,[["__scopeId","data-v-5941bb70"]]);export{te as default};
