import{c as B,d as C}from"./report-DFMvpOlh.js";import{_ as D,r as p,A as N,B as q,c as _,d as F,e as L,k as m,f as e,h as t,i as l,I as O,v as T,m as d,y as s,p as A,q as E}from"./index-DpL4X0aS.js";const h=c=>(A("data-v-ef230414"),c=c(),E(),c),P={class:"app-container",style:{padding:"20px 50px"}},R=h(()=>m("div",{class:"basic-info"}," 基本信息 ",-1)),U={class:"submitForm"},$=h(()=>m("div",{class:"basic-info"}," 接站地 ",-1)),z={class:"submitForm"},G=O({name:"Post"}),H=Object.assign(G,{setup(c){const{proxy:x}=T();p([]);const f=p(!0);p("");const y=p([]),v=x.$route.query.id||"",w=N({form:{}}),{form:a}=q(w);I();function I(){f.value=!0,B({id:v}).then(r=>{a.value=r.data,f.value=!1})}S();function S(){f.value=!0,C({id:v}).then(r=>{y.value=r.data,f.value=!1})}return(r,g)=>{const o=_("el-form-item"),n=_("el-col"),u=_("el-row"),V=_("editor"),j=_("el-form"),b=_("el-table-column"),k=_("el-table");return F(),L("div",P,[R,m("div",U,[e(j,{model:l(a),"label-width":"120px"},{default:t(()=>[e(u,{gutter:80,type:"flex"},{default:t(()=>[e(n,{span:6},{default:t(()=>[e(o,{label:"项目编号"},{default:t(()=>[d(s(l(a).code),1)]),_:1})]),_:1}),e(n,{span:6},{default:t(()=>[e(o,{label:"项目名称"},{default:t(()=>[d(s(l(a).name),1)]),_:1})]),_:1}),e(n,{span:6},{default:t(()=>[e(o,{label:"招聘厂商"},{default:t(()=>[d(s(l(a).manufacturer),1)]),_:1})]),_:1})]),_:1}),e(u,{gutter:80,type:"flex"},{default:t(()=>[e(n,{span:6},{default:t(()=>[e(o,{label:"招聘人数"},{default:t(()=>[d(s(l(a).recruit_amount),1)]),_:1})]),_:1}),e(n,{span:6},{default:t(()=>[e(o,{label:"岗位"},{default:t(()=>[d(s(l(a).post),1)]),_:1})]),_:1}),e(n,{span:6},{default:t(()=>[e(o,{label:"项目开始日期"},{default:t(()=>[d(s(l(a).start_date),1)]),_:1})]),_:1})]),_:1}),e(u,{gutter:80,type:"flex"},{default:t(()=>[e(n,{span:6},{default:t(()=>[e(o,{label:"项目结束日期"},{default:t(()=>[d(s(l(a).end_date),1)]),_:1})]),_:1}),e(n,{span:6},{default:t(()=>[e(o,{label:"联系人"},{default:t(()=>[d(s(l(a).contacts),1)]),_:1})]),_:1}),e(n,{span:6},{default:t(()=>[e(o,{label:"紧急联系电话"},{default:t(()=>[d(s(l(a).contact_number),1)]),_:1})]),_:1})]),_:1}),e(u,{gutter:80,type:"flex"},{default:t(()=>[e(n,{span:6},{default:t(()=>[e(o,{label:"状态"},{default:t(()=>[d(s(l(a).state==="new"?"未发布":l(a).state==="release"?"已发布":l(a).state==="finish"?"已结束":"已关闭"),1)]),_:1})]),_:1}),e(n,{span:6},{default:t(()=>[e(o,{label:"可预支工资"},{default:t(()=>[d(s(l(a).able_advance=="1"?"是":"否"),1)]),_:1})]),_:1}),e(n,{span:6},{default:t(()=>[e(o,{label:"预支额度"},{default:t(()=>[d(s(l(a).limit_advance),1)]),_:1})]),_:1})]),_:1}),e(u,{gutter:80,type:"flex"},{default:t(()=>[e(n,{span:6},{default:t(()=>[e(o,{label:"创建时间"},{default:t(()=>[d(s(l(a).create_time),1)]),_:1})]),_:1}),e(n,{span:6},{default:t(()=>[e(o,{label:"招聘政策"},{default:t(()=>[d(s(l(a).channel_price_policy),1)]),_:1})]),_:1})]),_:1}),e(u,{gutter:80,type:"flex"},{default:t(()=>[e(n,null,{default:t(()=>[e(o,{label:"描述"},{default:t(()=>[e(V,{modelValue:l(a).describes,"onUpdate:modelValue":g[0]||(g[0]=i=>l(a).describes=i),"min-height":192,readOnly:!0},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),$,m("div",z,[e(k,{data:r.addressTable},{default:t(()=>[e(b,{label:"接站时间",align:"left",prop:"arrive_time",width:"150px"},{default:t(({row:i})=>[d(s(i.arrive_time)+" - "+s(i.finsh_arrive_time),1)]),_:1}),e(b,{label:"接站地点",align:"left",prop:"address"}),e(b,{label:"驻厂人员",align:"left",prop:"workers"})]),_:1},8,["data"])])])}}}),M=D(H,[["__scopeId","data-v-ef230414"]]);export{M as default};
