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