import{_ as a,p as e,s as l,q as s,G as t,v as c,x as o,a as i,w as n,l as u,o as d,k as p,y as r,z as f,b as _,r as m,F as y,U as g,H as v,j as b}from"./index-BoIbtAZO.js";import{_ as j}from"./uni-icons.SM4XIXQc.js";import{_ as x}from"./dict-Label.Dsm7GAlr.js";const h=a({__name:"UnitDetails",setup(a){const{$api:h,navTo:k}=e("globalFunction"),z=l({page:0,list:[],total:0,maxPage:1,pageSize:10}),S=s({});return t((a=>{var e;console.log(a),e=a.companyId,h.createRequest(`/app/company/${e}`).then((a=>{S.value=a.data,function(a="add"){"refresh"===a&&(z.page=0,z.maxPage=1),"add"===a&&z.page<z.maxPage&&(z.page+=1);let e={current:z.page,pageSize:z.pageSize};h.createRequest(`/app/company/job/${S.value.companyId}`,e).then((a=>{z.list=a.rows,z.total=a.total,z.maxPage=Math.ceil(z.total/z.pageSize)}))}()}))})),(a,e)=>{const l=g,s=c(o("uni-icons"),j),t=u;return d(),i(t,{class:"container"},{default:n((()=>[p(t,{class:"company-header"},{default:n((()=>[p(l,{class:"company-name"},{default:n((()=>[r(f(S.value.name),1)])),_:1}),p(t,{class:"company-info"},{default:n((()=>[p(t,{class:"location"},{default:n((()=>[p(s,{type:"location-filled",color:"#4778EC",size:"24"}),r(" 青岛 "+f(S.value.location),1)])),_:1}),p(t,{class:"industry",style:{display:"inline-block"}},{default:n((()=>[r(f(S.value.industry)+" ",1),p(x,{dictType:"scale",value:S.value.scale},null,8,["value"])])),_:1})])),_:1})])),_:1}),p(t,{class:"hr"}),p(t,{class:"company-description"},{default:n((()=>[p(t,{class:"section-title"},{default:n((()=>[r("单位介绍")])),_:1}),p(l,{class:"description"},{default:n((()=>[r(f(S.value.description),1)])),_:1})])),_:1}),p(t,{class:"job-list"},{default:n((()=>[p(l,{class:"section-title"},{default:n((()=>[r("在招职位")])),_:1}),(d(!0),_(y,null,m(z.list,(a=>(d(),i(t,{class:"job-row",key:a.id,onClick:e=>v(k)(`/packageA/pages/post/post?jobId=${a.jobId}`)},{default:n((()=>[p(t,{class:"left"},{default:n((()=>[p(l,{class:"job-title"},{default:n((()=>[r(f(a.jobTitle),1)])),_:2},1024),p(t,{class:"job-tags"},{default:n((()=>[p(t,{class:"tag"},{default:n((()=>[p(x,{dictType:"education",value:a.education},null,8,["value"])])),_:2},1024),p(t,{class:"tag"},{default:n((()=>[p(x,{dictType:"experience",value:a.experience},null,8,["value"])])),_:2},1024),p(t,{class:"tag"},{default:n((()=>[r(f(a.vacancies)+"人",1)])),_:2},1024)])),_:2},1024),p(l,{class:"location"},{default:n((()=>[r(" 青岛 "),p(x,{dictType:"area",value:a.jobLocationAreaCode},null,8,["value"])])),_:2},1024)])),_:2},1024),p(t,{class:"right"},{default:n((()=>[p(l,{class:"salary"},{default:n((()=>[r(f(a.minSalary)+"-"+f(a.maxSalary)+"/月",1)])),_:2},1024),a.isHot?(d(),i(l,{key:0,class:"hot"},{default:n((()=>[r("🔥")])),_:1})):b("",!0)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})}}},[["__scopeId","data-v-1fe8fba7"]]);export{h as default};
