"use strict";(self["webpackChunkyos_manage"]=self["webpackChunkyos_manage"]||[]).push([[210],{210:function(t,e,n){n.r(e),n.d(e,{default:function(){return f}});var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"container normal-panel normal-margin"},[n("el-descriptions",{attrs:{title:"用户信息"}},[n("el-descriptions-item",{attrs:{label:"账号"}},[t._v(t._s(t.minaInfo.accountno))]),n("el-descriptions-item",{attrs:{label:"账号类型"}},[t._v(t._s(t.minaInfo.usertypename))]),n("el-descriptions-item",{attrs:{label:"状态"}},[n("span",{style:"ACTIVE"===t.minaInfo.status?"color:#52C41A":"color:#FF3B30"},[t._v(t._s("ACTIVE"===t.minaInfo.status?"启用":"INACTIVE"===t.minaInfo.status?"停用":"其他"))])]),n("el-descriptions-item",{attrs:{label:"手机号"}},[t._v(t._s(t.minaInfo.phonenumber))]),n("el-descriptions-item",{attrs:{label:"账号密码"}},[t._v(" ******** ")])],1)],1),n("div",{staticClass:"container normal-panel normal-margin"},[n("el-descriptions",{attrs:{title:"员工信息",column:6}},[n("el-descriptions-item",{attrs:{label:"编号"}},[t._v(t._s(t.minaInfo.hrmsg.hrcode?t.minaInfo.hrmsg.hrcode:"--"))]),n("el-descriptions-item",{attrs:{label:"身份证号"}},[t._v(t._s(t.minaInfo.hrmsg.idcard?t.minaInfo.hrmsg.idcard:"--"))]),n("el-descriptions-item",{attrs:{label:"部门"}},[t._v(t._s(t.minaInfo.hrmsg.depname?t.minaInfo.hrmsg.depname:"--"))]),n("el-descriptions-item",{attrs:{label:"是否部门负责人"}},[t._v(t._s(1===t.minaInfo.hrmsg.isleader?"是":"否"))]),n("el-descriptions-item",{attrs:{label:"职位"}},[t._v(t._s(t.minaInfo.hrmsg.position?t.minaInfo.hrmsg.position:"--"))]),n("el-descriptions-item",{attrs:{label:"办公电话"}},[t._v(t._s(t.minaInfo.hrmsg.officetelephone?t.minaInfo.hrmsg.officetelephone:"--"))]),n("el-descriptions-item",{attrs:{label:"姓名"}},[t._v(t._s(t.minaInfo.hrmsg.name?t.minaInfo.hrmsg.name:"--"))]),n("el-descriptions-item",{attrs:{label:"电话"}},[t._v(t._s(t.minaInfo.hrmsg.phonenumber?t.minaInfo.hrmsg.phonenumber:"--"))]),n("el-descriptions-item",{attrs:{label:"性别"}},[t._v(t._s(t.minaInfo.hrmsg.sex?t.minaInfo.hrmsg.sex:"--"))]),n("el-descriptions-item",{attrs:{label:"电子邮箱"}},[t._v(t._s(t.minaInfo.hrmsg.email?t.minaInfo.hrmsg.email:"--"))])],1)],1),n("div",{staticClass:"container normal-panel normal-margin"},[n("el-descriptions",{attrs:{title:"角色信息"}}),n("tableLayout",{attrs:{layout:t.table_roleinfo,data:t.roleData,opwidth:200,custom:!1},scopedSlots:t._u([{key:"opreation",fn:function(e){return[n("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return t.$router.push({path:"/roleDetail",query:{id:e.data.roleid}})}}},[t._v("详 情")])]}}])})],1)])},s=[];n(82526),n(41817),n(41539),n(32165),n(78783),n(33948);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=n(16198),i=(n(35666),n(68309),n(96505)),l={components:{tableLayout:i.Z},data:function(){return{minaInfo:{},table_userinfo:[],table_hrinfo:[],table_roleinfo:[],list:[],hrmsg:[],roleData:[]}},methods:{userMian:function(){var t=this;return(0,r.Z)(regeneratorRuntime.mark((function e(){var n,a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$api.requested({classname:"webmanage.users.users",method:"query_userMain",content:{userid:t.$route.query.id}});case 2:n=e.sent,t.minaInfo=n.data,a=[{accountno:n.data.accountno,phonenumber:n.data.phonenumber,usertypename:n.data.usertypename,status:n.data.status}],t.list=a,"object"===o(n.data.hrmsg)&&(n.data.hrmsg.systemname=n.data.name,s=[n.data.hrmsg],t.hrmsg=s),t.roleData=n.data.userrole;case 8:case"end":return e.stop()}}),e)})))()}},mounted:function(){this.userMian(),this.table_userinfo=this.tool.tabelCol(this.$route.name).detailUserinfo.tablecols,this.table_hrinfo=this.tool.tabelCol(this.$route.name).detailHrInfo.tablecols,this.table_roleinfo=this.tool.tabelCol(this.$route.name).detailRoleInfo.tablecols}},m=l,u=n(1001),c=(0,u.Z)(m,a,s,!1,null,"b598169c",null),f=c.exports}}]);