webpackJsonp([11],{Bpxv:function(a,t){a.exports="data:image/png;base64,[encoded data, 10684 characters]"},CSjr:function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("3Xzz"),i={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"staff-info-panel"},[e("div",{staticClass:"info-title m-b-50 font-16 color-303133"},[a._v("员工档案信息将应用在以下两个地方")]),a._v(" "),a._m(0),a._v(" "),e("div",{staticClass:"info-btn m-t-60 font-14"},[e("el-button",{attrs:{type:"primary"},on:{click:function(t){a.$router.push("/staffRecordsTemplate")}}},[a._v("进入档案设置")])],1)])},staticRenderFns:[function(){var a=this.$createElement,t=this._self._c||a;return t("div",{staticClass:"flex flex-align-center"},[t("div",{staticClass:"flex-1"},[t("img",{attrs:{src:e("aNcm"),alt:""}}),this._v(" "),t("p",{staticClass:"m-t-20 font-14 color-606266"},[this._v("个人信息页展示")])]),this._v(" "),t("div",{staticClass:"flex-1"},[t("img",{attrs:{src:e("Bpxv"),alt:""}}),this._v(" "),t("p",{staticClass:"m-t-20 font-14 color-606266"},[this._v("员工档案")])])])}]};var s=e("VU/8")({name:"staff-info-set",data:function(){return{}},methods:{},components:{}},i,!1,function(a){e("lHV3")},"data-v-6bb7dfa2",null).exports,r=e("3E4D"),o=e("Ch4/"),c=e("PI0u"),m=e("P9l9"),l={name:"staff-info-set",data:function(){return{activeName:"",brandList:[],probObj:{probationDay:"",probationMonth:""}}},methods:{handleChange:function(a){},saveSet:Object(c.a)(function(){var a=this;if(""!=a.probObj.probationDay&&""!=a.probObj.probationMonth){var t={day:a.probObj.probationDay,month:a.probObj.probationMonth};Object(m.e)("/haoban-manage-web/enterprise-probation-period-setting.json",t).then(function(a){var t=a.data;1!=t.errorCode?o.a.errorMsg(t):r.a.showmsg("保存成功","success")}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}else a.$message.error({duration:1e3,message:"请设置时间"})},500),getBrandData:function(){var a=this;Object(m.e)("/haoban-manage-web/brand/list",{}).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):e.result&&e.result.length&&(a.brandList=e.result,a.activeName=e.result[0].groupId,a.getStoreAuth(e.result[0].groupId,0))}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},getProbData:function(){var a=this;Object(m.e)("/haoban-manage-web/find-enterprise-probation-period",{}).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):e.result&&e.result.length&&(a.probObj=e.result)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getProbData()},components:{}},u={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"staff-prob-panel"},[e("div",{staticClass:"depart-cell"},[e("div",{staticClass:"m-t-24"},[e("span",{staticClass:"font-14 color-606266 p-r-12"},[a._v("设置企业试用期时间")]),e("el-input-number",{attrs:{"controls-position":"right",min:0,max:31},on:{change:a.handleChange},model:{value:a.probObj.probationDay,callback:function(t){a.$set(a.probObj,"probationDay",t)},expression:"probObj.probationDay"}}),e("span",{staticClass:"font-14 color-606266 p-l-12"},[a._v(" 天 ")]),e("span",{staticClass:"font-14 color-606266 p-l-12 p-r-12"},[a._v(" + ")]),e("el-input-number",{attrs:{"controls-position":"right",min:0,max:6},on:{change:a.handleChange},model:{value:a.probObj.probationMonth,callback:function(t){a.$set(a.probObj,"probationMonth",t)},expression:"probObj.probationMonth"}}),e("span",{staticClass:"font-14 color-606266 p-l-12"},[a._v("月")])],1),a._v(" "),e("div",{staticClass:"p-l-138 m-t-24"},[e("el-button",{attrs:{type:"primary"},on:{click:a.saveSet}},[a._v("保 存")])],1)])])},staticRenderFns:[]};var b=e("VU/8")(l,u,!1,function(a){e("ExTW")},"data-v-3a4b91e2",null).exports,p={name:"fileSet",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/administrativeFrame"},{name:"档案设置",path:""}],activeName:"first"}},computed:{},methods:{},mounted:function(){},components:{navCrumb:n.a,staffInfoSet:s,staffProbSet:b}},A={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"fileSet-wrap"},[e("nav-crumb",{attrs:{navpath:a.navpath}}),a._v(" "),e("div",{staticClass:"staff-contain-set"},[e("el-tabs",{model:{value:a.activeName,callback:function(t){a.activeName=t},expression:"activeName"}},[e("el-tab-pane",{attrs:{label:"档案字段设置",name:"first"}},[e("staffInfoSet")],1),a._v(" "),e("el-tab-pane",{attrs:{label:"试用期时间设置",name:"second"}},[e("staffProbSet")],1)],1)],1),a._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var f=e("VU/8")(p,A,!1,function(a){e("Ksec")},"data-v-1d4d9ccb",null);t.default=f.exports},ExTW:function(a,t){},Ksec:function(a,t){},aNcm:function(a,t){a.exports="data:image/png;base64,[encoded data, 9268 characters]"},lHV3:function(a,t){}});