import{d,q as f,U as B,r as i,l as F,C as g,o as E,i as C,e as D,b as v,u as n,_ as A}from"./index-8184dd63-1780045603901v=1.0.0.js";import{I as h}from"./IndexPagePro-13c09835-1780045603901v=1.0.0.js";import y from"./OrganizingDetail-5268634b-1780045603901v=1.0.0.js";import{d as b}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 x=d({__name:"detail",setup(k){const r=f(),l=B(),_=i(r.query.edit_id),c=F(()=>[`\u586B\u62A5\u5185\u5BB9\uFF1A${l.reporting_year} \u56E2\u961F\u7EC4\u7EC7\u5B9E\u9645\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"]),a=i(),p=async()=>{let o={group_organization_report_id:_.value},u=(await b(o)).data,s=[];if(u.train_cover_url&&(u.train_cover_url.map(t=>{s.push(t.full_url)}),u.train_cover_list=s),u.contract_document.length>0){let t=[];u.contract_document.map(e=>{t.push({url:e.full_url,file_path:e.url,name:e.name})}),u.contract_document_list=t}a.value=u};return g(()=>{r.query.edit_id&&p()}),(o,m)=>(E(),C(h,null,{default:D(()=>[v(y,{alertList:n(c),baseForm:n(a)},null,8,["alertList","baseForm"])]),_:1}))}}),P=A(x,[["__file","D:/desktop/yunNan/vue-area-submit/src/views/manage/supply/organizing/detail.vue"]]);export{P as default};
