250.501b3292.js 3.6 KB

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