import{d,q as f,U as B,r as i,l as F,C as D,o as A,i as E,e as v,b as C,u as n,_ as g}from"./index-8184dd63-1780045603901v=1.0.0.js";import{I as h}from"./IndexPagePro-13c09835-1780045603901v=1.0.0.js";import y from"./TrainDetail-82e2028f-1780045603901v=1.0.0.js";import{i 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} \u57F9\u8BAD\u5B9E\u9645\u5F00\u653E\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(),m=async()=>{let o={sports_train_report_id:_.value},t=(await b(o)).data,s=[];if(t.train_cover_url&&(t.train_cover_url.map(u=>{s.push(u.full_url)}),t.train_cover_list=s),t.contract_document.length>0){let u=[];t.contract_document.map(e=>{u.push({url:e.full_url,file_path:e.url,name:e.name})}),t.contract_document_list=u}a.value=t};return D(()=>{r.query.edit_id&&m()}),(o,p)=>(A(),E(h,null,{default:v(()=>[C(y,{alertList:n(c),baseForm:n(a)},null,8,["alertList","baseForm"])]),_:1}))}}),R=g(x,[["__file","D:/desktop/yunNan/vue-area-submit/src/views/manage/supply/train/detail.vue"]]);export{R as default};
