import{d as F,q as E,U as f,r as a,l as A,C as B,o as C,i as g,e as v,b as y,u as _,_ as D}from"./index-8184dd63-1780045603901v=1.0.0.js";import{I as h}from"./IndexPagePro-13c09835-1780045603901v=1.0.0.js";import b from"./OrganizingDetail-5268634b-1780045603901v=1.0.0.js";import{d 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=F({__name:"detail",setup(k){const e=E(),o=f(),c=a(e.query.edit_id),s=a(e.query.report_type),p=A(()=>[`\u586B\u62A5\u5185\u5BB9\uFF1A${s.value==1?o.reporting_year:o.plan_year} \u56E2\u961F\u7EC4\u7EC7${s.value==1?"\u5F00\u653E\u8BA1\u5212":"\u5F00\u653E\u5B9E\u9645\u60C5\u51B5"}`,"\u8BF4\u660E\uFF1A\u514D\u8D39\u6216\u4F4E\u6536\u8D39\u4F7F\u7528\u4F53\u80B2\u573A\u9986\u573A\u5730\u4F5C\u4E3A\u56FA\u5B9A\u8FD0\u52A8\u573A\u6240\u7684\u7B7E\u7EA6\u516C\u76CA\u6027\u9752\u5C11\u5E74\u4F53\u80B2\u4FF1\u4E50\u90E8\u3001\u793E\u4F1A\u56E2\u4F53\u3001\u57FA\u5C42\u6587\u5316\u4F53\u80B2\u7EC4\u7EC7\u540D\u79F0\u53CA\u53D7\u76CA\u4EBA\u6570"]),i=a(),m=async()=>{let n={group_organization_report_id:c.value},u=(await x(n)).data,l=[];if(u.train_cover_url&&(u.train_cover_url.map(t=>{l.push(t.full_url)}),u.train_cover_list=l),u.contract_document.length>0){let t=[];u.contract_document.map(r=>{t.push({url:r.full_url,file_path:r.url,name:r.name})}),u.contract_document_list=t}i.value=u};return B(()=>{e.query.edit_id&&m()}),(n,d)=>(C(),g(h,null,{default:v(()=>[y(b,{alertList:_(p),baseForm:_(i)},null,8,["alertList","baseForm"])]),_:1}))}}),R=D(q,[["__file","D:/desktop/yunNan/vue-area-submit/src/views/stadium/supply/organizing/detail.vue"]]);export{R as default};
