(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-52e22ec8"],{1165:function(e,a,s){"use strict";s.r(a);var t=function(){var e=this,a=e.$createElement,s=e._self._c||a;return s("div",[s("div",{staticClass:"privacy_box"},[e._m(0),s("div",{staticClass:"radio_box"},[s("el-radio",{attrs:{label:"1"},on:{change:e.showResume},model:{value:e.display,callback:function(a){e.display=a},expression:"display"}},[e._v("开启")])],1),s("div",{staticClass:"radio_box"},[s("el-radio",{attrs:{label:"0"},on:{change:e.showResume},model:{value:e.display,callback:function(a){e.display=a},expression:"display"}},[e._v("关闭")])],1)]),s("div",{staticClass:"privacy_box"},[e._m(1),s("div",{staticClass:"radio_box"},[s("el-radio",{attrs:{label:"1"},on:{change:e.showName},model:{value:e.display_name,callback:function(a){e.display_name=a},expression:"display_name"}},[e._v("实名显示(如：王创明)")])],1),s("div",{staticClass:"radio_box"},[s("el-radio",{attrs:{label:"0"},on:{change:e.showName},model:{value:e.display_name,callback:function(a){e.display_name=a},expression:"display_name"}},[e._v("匿名显示(如：王先生/女士)")])],1)])])},i=[function(){var e=this,a=e.$createElement,s=e._self._c||a;return s("div",{staticClass:"privacy_title"},[e._v(" 简历公开状态 "),s("span",[e._v("简历状态关闭后，企业无法看到您的简历")])])},function(){var e=this,a=e.$createElement,s=e._self._c||a;return s("div",{staticClass:"privacy_title"},[e._v(" 简历姓名显示 "),s("span",[e._v("选中匿名展示后，HR无法看到您的真实姓名")])])}],n=s("751a"),l=s("d722"),o={data:function(){return{display:"1",display_name:"1"}},created:function(){var e=this;n["a"].get(l["a"].resume_privates_info).then((function(a){console.log(a),200==parseInt(a.code)?e.initData(a.data):e.$message({message:a.message,type:"error"})}))},methods:{initData:function(e){this.display=e.is_display+"",this.display_name=e.display_name+""},showResume:function(e){var a=this;n["a"].post(l["a"].resume_privates_set_display,{display:e}).then((function(e){200==parseInt(e.code)?a.$message({message:e.message,type:"success"}):a.$message({message:e.message,type:"error"})}))},showName:function(e){var a=this;n["a"].post(l["a"].resume_privates_set_display_name,{display:e}).then((function(e){200==parseInt(e.code)?a.$message({message:e.message,type:"success"}):a.$message({message:e.message,type:"error"})}))}}},c=o,r=(s("e11c"),s("2877")),d=Object(r["a"])(c,t,i,!1,null,"925fbef2",null);a["default"]=d.exports},"6dd2":function(e,a,s){},e11c:function(e,a,s){"use strict";var t=s("6dd2"),i=s.n(t);i.a}}]);