import{d as B,q as f,U as v,r as a,l as E,C as F,o as y,i as D,e as A,b as C,u as _,_ as b}from"./index-8184dd63-1780045603901v=1.0.0.js";import{I as h}from"./IndexPagePro-13c09835-1780045603901v=1.0.0.js";import g from"./EventDetail-8c6f9411-1780045603901v=1.0.0.js";import{b as x}from"./areaSupply-2a8dcd36-1780045603901v=1.0.0.js";import"./index-36c5e320-1780045603901v=1.0.0.js";import"./base64-db2ecc3a-1780045603901v=1.0.0.js";const q=B({__name:"detail",setup(k){const t=f(),o=v(),c=a(t.query.edit_id),s=a(t.query.report_type),p=E(()=>[`\u586B\u62A5\u5185\u5BB9\uFF1A${s.value==1?o.reporting_year:o.plan_year} \u4E3E\u529E\u4F53\u80B2\u8D5B\u4E8B${s.value==1?"\u5B9E\u9645\u60C5\u51B5":"\u8BA1\u5212\u60C5\u51B5"}`,"\u8BF4\u660E\uFF1A\u5728\u4F53\u80B2\u573A\u9986\u6838\u5FC3\u533A\u4E3E\u529E\u514D\u8D39\u6216\u4F4E\u6536\u8D39\u4F53\u80B2\u8D5B\u4E8B\u6D3B\u52A8\u540D\u79F0\u548C\u53C2\u52A0\u4EBA\u6B21"]),l=a(),m=async()=>{let n={sports_event_report_id:c.value},e=(await x(n)).data,i=[];if(e.event_cover_url&&e.event_cover_url.map(u=>{i.push(u.full_url)}),e.contract_document.length>0){let u=[];e.contract_document.map(r=>{u.push({url:r.full_url,file_path:r.url,name:r.name})}),e.contract_document_list=u}e.event_cover_list=i,l.value=e};return F(()=>{t.query.edit_id&&m()}),(n,d)=>(y(),D(h,null,{default:A(()=>[C(g,{alertList:_(p),baseForm:_(l)},null,8,["alertList","baseForm"])]),_:1}))}}),S=b(q,[["__file","D:/desktop/yunNan/vue-area-submit/src/views/stadium/supply/event/detail.vue"]]);export{S as default};
