You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
2.4 KiB
1 line
2.4 KiB
4 years ago
|
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-d0ae"],{HcSC:function(a,t,s){"use strict";var e=s("Njpt");s.n(e).a},Njpt:function(a,t,s){},bE0L:function(a,t,s){"use strict";s.r(t);var e={name:"XrUserView",components:{},props:{data:Object,src:String},data:function(){return{}},computed:{showName:function(){return this.data.realname&&this.data.realname.length>2?this.data.realname.slice(-2):this.data.realname},sexIcon:function(){return 1===this.data.sex?"wk wk-man":2===this.data.sex?"wk wk-woman":""},dataSrc:function(){return this.src||this.data.img}},watch:{},mounted:function(){},beforeDestroy:function(){},methods:{}},i=(s("HcSC"),s("KHd+")),l=Object(i.a)(e,function(){var a=this,t=a.$createElement,s=a._self._c||t;return s("div",{staticClass:"xr-user-view"},[a.data?s("div",{staticClass:"xr-mian"},[s("flexbox",{staticClass:"xr-mian__hd user"},[s("div",{staticClass:"user-info"},[s("div",{staticClass:"user-info__name"},[s("span",[a._v(a._s(a.data.realname))]),a._v(" "),a.sexIcon?s("i",{class:a.sexIcon}):a._e()]),a._v(" "),s("div",{staticClass:"user-info__company"},[a._v("\n "+a._s(a.data.companyName)+"\n ")])]),a._v(" "),s("el-avatar",{staticClass:"user-img",attrs:{src:a.dataSrc,size:44}},[a._v(a._s(a.showName))])],1),a._v(" "),s("div",{staticClass:"xr-mian__bd"},[s("flexbox",{staticClass:"info-cell"},[s("i",{staticClass:"wk wk-department"}),a._v(" "),s("div",{staticClass:"info-cell__label"},[a._v("部门")]),a._v(" "),s("div",{staticClass:"info-cell__value text-one-line"},[a._v(a._s(a.data.structure_name))])]),a._v(" "),s("flexbox",{staticClass:"info-cell"},[s("i",{staticClass:"wk wk-tie"}),a._v(" "),s("div",{staticClass:"info-cell__label"},[a._v("岗位")]),a._v(" "),s("div",{staticClass:"info-cell__value text-one-line"},[a._v(a._s(a.data.post))])]),a._v(" "),s("flexbox",{staticClass:"info-cell"},[s("i",{staticClass:"wk wk-b-mobile"}),a._v(" "),s("div",{staticClass:"info-cell__label"},[a._v("手机")]),a._v(" "),s("div",{staticClass:"info-cell__value text-one-line",attrs:{title:a.data.mobile}},[a._v(a._s(a.data.mobile))])]),a._v(" "),s("flexbox",{staticClass:"info-cell"},[s("i",{staticClass:"wk wk-email"}),a._v(" "),s("div",{staticClass:"info-cell__label"},[a._v("邮箱")]),a._v(" "),s("div",{staticClass:"info-cell__value text-one-line",attrs:{title:a.data.email}},[a._v(a._s(a.data.email))])])],1)],1):a._e()])},[],!1,null,"391c8b99",null);l.options.__file="index.vue";t.default=l.exports}}]);
|