(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["personInfo"],{"1c5b":function(t,e,s){"use strict";s.r(e);var r=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"personInfo"},[s("div",{},[s("el-row",{attrs:{gutter:20}},[s("el-col",{attrs:{span:5}},[s("div",{staticClass:"leftImg"})]),s("el-col",{attrs:{span:19}},[s("div",[s("el-form",{ref:"userForm",staticClass:"demo-ruleForm",attrs:{"hide-required-asterisk":!0,model:t.userForm,rules:t.rules,"label-width":"100px"}},[s("el-row",{attrs:{gutter:10}},[s("el-col",{attrs:{span:8}},[s("el-form-item",{staticClass:"first",attrs:{label:"姓名"}},[s("div",[t._v(t._s(t.userForm.username))])]),s("el-form-item",{staticClass:"first",attrs:{label:"身份证"}},[s("div",[t._v(t._s(t.userForm.idCard))])]),s("el-form-item",{staticClass:"first",attrs:{prop:"email",label:"邮箱"}},[s("div",[t._v(t._s(t.userForm.email))])])],1),s("el-col",{attrs:{span:8}},[s("el-form-item",{staticClass:"first",attrs:{label:"电话1",prop:"phone1"}},[s("div",[t._v(t._s(t.userForm.phone1))])]),s("el-form-item",{staticClass:"first",attrs:{label:"地址",prop:"address"}},[s("div",[t._v(t._s(t.userForm.address))])])],1),s("el-col",{attrs:{span:8}},[s("el-form-item",{staticClass:"first",attrs:{label:"电话2",prop:"phone2"}},[s("div",[t._v(t._s(t.userForm.phone2))])]),s("el-form-item",{staticClass:"first",attrs:{label:"入职时间"}},[s("div",[t._v(t._s(t.userForm.entryTime))])])],1)],1),s("div",{staticClass:"roleDiv first",staticStyle:{width:"100%"}},[s("el-form-item",{staticClass:"first",attrs:{label:"部门"}},[s("span",{staticClass:"deSpan"},[t._v(t._s(t.nameDepartment(t.userForm.departmentIds)))])]),s("el-form-item",{staticClass:"first",attrs:{label:"岗位"}},[s("div",[t._v(t._s(t.userForm.jobs))])]),s("el-form-item",{attrs:{label:"角色"}},t._l(t.userForm.roles,(function(e,r){return s("span",{key:r,staticClass:"roleSpan"},[t._v(t._s(e.name))])})),0)],1)],1)],1)])],1)],1)])},a=[],o=(s("c354"),{name:"personInfo",components:{},data:function(){return{paramsData:"",userForm:{username:"",phone1:"",phone2:"",idCard:"",address:"",jobs:"",departmentIds:"",email:"",entryTime:""},rules:{},deOptions:[]}},computed:{},watch:{},methods:{postDepartmentList:function(){var t=this;this.$axios.getAllDepartment().then((function(e){console.log(e),200===e.request.status&&(t.deOptions=e.data)}))},nameDepartment:function(t){console.log(t);var e="";console.log(this.deOptions);for(var s=0;s<this.deOptions.length;s++)for(var r=0;r<t.length;r++)this.deOptions[s].id===t[r]&&(e=e+this.deOptions[s].name+"、");return e=e.substring(0,e.length-1),console.log(e),e}},created:function(){},mounted:function(){this.postDepartmentList();var t=this;setTimeout((function(){var e=JSON.parse(t.$Base64.decode(localStorage.getItem("infoPerson")));console.log(e),t.userForm=e}),300)},beforeCreate:function(){},beforeMount:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}}),n=o,i=(s("bfe2"),s("623f")),l=Object(i["a"])(n,r,a,!1,null,"0ccf5d20",null);e["default"]=l.exports},bfe2:function(t,e,s){"use strict";var r=s("cedc"),a=s.n(r);a.a},cedc:function(t,e,s){}}]);