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