(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{403:function(t,e,r){},449:function(t,e,r){"use strict";var n=r(403);r.n(n).a},495:function(t,e,r){"use strict";r.r(e);r(31);var n=r(3),c={data:function(){return{recruitId:"",recruitData:{developers:[]}}},mounted:function(){this.recruitId=this.$route.query.id,this.getRecruit()},methods:{getRecruit:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,data,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.recruitId,data={recruitId:r},e.next=4,t.$post("/api/admin/recruit/getRecruit",data);case 4:(n=e.sent)&&1===n.status&&(t.recruitData=n.data,console.log(t.recruitData));case 6:case"end":return e.stop()}}),e)})))()},handleOwnerClick:function(){var t=this.recruitData;window.open(this.$store.state.domainConfig.siteUrl+"/rooter/user/".concat(t.uid))},openUser:function(t){var e;window.location.href;e=this.$store.state.domainConfig.siteUrl+"/wo/".concat(t),window.open(e,"_black")}}},o=(r(449),r(2)),component=Object(o.a)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.recruitData?r("div",[r("div",{staticClass:"header"},[r("div",{staticClass:"header-left"},[r("div",{staticClass:"title-wrapper"},[r("div",{staticClass:"title"},[t._v(t._s(t.recruitData.title))]),t._v(" "),r("div",{staticClass:"status",style:{color:t.recruitData.statusColor}},[t._v(t._s(t.recruitData.statusName))])]),t._v(" "),r("div",{staticClass:"salary"},[t._v("薪酬范围："+t._s(t.recruitData.salaryName))]),t._v(" "),r("div",{staticClass:"skill"},[t._v("\n        技能：\n        "),t._l(t.recruitData.skills,(function(e,n){return r("span",{key:n},[n>0?r("span",[t._v(",")]):t._e(),t._v(" "),r("span",[t._v(t._s(e.name))])])}))],2),t._v(" "),r("div",{staticClass:"experience"},[t._v("经验："+t._s(t.recruitData.experienceName))])]),t._v(" "),r("div",{staticClass:"owner-wrapper",on:{click:function(e){return t.handleOwnerClick()}}},[r("img",{staticClass:"owner-img",attrs:{src:t.recruitData.ownerInfo&&t.recruitData.ownerInfo.iconUrl||"",alt:""}}),t._v(" "),r("div",{staticClass:"owner-name"},[t._v(t._s(t.recruitData.ownerInfo&&t.recruitData.ownerInfo.nickname||""))])])]),t._v(" "),r("div",{staticClass:"description-wrapper"},[r("div",{staticClass:"description-title"},[t._v("工作描述")]),t._v(" "),r("div",{staticClass:"description-content"},[t._v(t._s(t.recruitData.description))])]),t._v(" "),r("div",{staticClass:"description-wrapper"},[r("div",{staticClass:"description-title"},[t._v("招聘评价")]),t._v(" "),r("div",{staticClass:"description-content"},[r("el-row",[r("el-col",{attrs:{span:4}},[r("div",{staticClass:"owner-wrapper",staticStyle:{"margin-left":"0"},on:{click:function(e){return t.handleOwnerClick()}}},[r("img",{staticClass:"owner-img",attrs:{src:t.recruitData.ownerInfo&&t.recruitData.ownerInfo.iconUrl||"",alt:""}}),t._v(" "),r("div",{staticClass:"owner-name"},[t._v(t._s(t.recruitData.ownerInfo&&t.recruitData.ownerInfo.nickname||""))])])]),t._v(" "),r("el-col",{attrs:{span:18}},[0!=t.recruitData.recruitResult?r("div",[r("div",[t._v(t._s(t.recruitData.companyCommentAtFormat))]),t._v(" "),r("div",[4==t.recruitData.status?r("span",[t._v("停止招聘")]):r("span",[t._v("删除岗位")]),t._v("\n              ；招聘结果：\n              "+t._s(t.recruitData.recruitResultName)+"\n              "),t.recruitData.problemsName?r("span",[t._v("；存在问题："+t._s(t.recruitData.problemsName))]):t._e(),t._v(" "),t.recruitData.advice?r("span",[t._v("；意见反馈："+t._s(t.recruitData.advice))]):t._e()])]):t._e()])],1)],1)]),t._v(" "),r("div",{staticClass:"description-wrapper"},[r("div",{staticClass:"description-title"},[t._v("\n      招聘数据（已投递\n      "),r("span",[t._v(t._s(t.recruitData.countApplied||0))]),t._v("人，沟通中\n      "),r("span",[t._v(t._s(t.recruitData.countTalk||0))]),t._v("人）\n    ")]),t._v(" "),r("div",{staticClass:"description-content"},[r("el-table",{staticStyle:{width:"540px"},attrs:{data:t.recruitData.developers}},[r("el-table-column",{attrs:{label:"UID",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("el-link",{attrs:{type:"primary",target:"_blank"},on:{click:function(r){return t.openUser(e.row.uid)}}},[t._v("\n              "+t._s(e.row.uid)+"\n            ")])]}}],null,!1,582208104)}),t._v(" "),r("el-table-column",{attrs:{label:"已投递",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(0===Number(e.row.application_state)?"否":"是"))]}}],null,!1,554754124)}),t._v(" "),r("el-table-column",{attrs:{label:"沟通中",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(0===Number(e.row.talk_state)?"否":"是"))]}}],null,!1,2199979236)})],1)],1)])]):t._e()}),[],!1,null,"5214e0fd",null);e.default=component.exports}}]);