Commit 027c76a3 authored by 罗超's avatar 罗超

个人中心

parent 2f739f2d
......@@ -23,12 +23,12 @@
<span class="k">所属部门</span>
<span class="v">{{u.DepartName}}</span>
</div>
<div class="item">
<!-- <div class="item">
<span class="k">工作年限</span>
<span class="v">
<span style="font-size:22px">2年</span> (900天)
</span>
</div>
</div> -->
</div>
<div class="n-info">
<div class="item" @click="changeBoard(0)">
......
<template>
<div class="newpersonal-c">
<div class="item" v-for="(item, index) in users" :key="index">
<img :src="item.EmPhoto" :onerror='defaultHeadImg'/>
<img :src="item.EmPhoto" :onerror="defaultHeadImg" />
<div class="content">
<div class="name-box">
{{item.EmName}}
<i class="iconfont icon-nan nan"></i>
<el-tag size="mini" style="margin-left:10px">{{item.PostName}}</el-tag>
</div>
<div class="last-msg">{{item.CompanyName}} · {{item.DepartmentName}} · 6月3日入职</div>
<div class="last-msg">{{item.CompanyName}} · {{item.DepartmentName}} · {{EmEntryStr}}入职</div>
</div>
<i class="iconfont icon-chat send-msg" title="认识一下"></i>
<i class="iconfont icon-chat send-msg" title="认识一下" @click="openChart(item)"></i>
</div>
</div>
</template>
<script>
export default {
props:{
users:{
type:Array,
default:[]
props: {
users: {
type: Array,
default: []
}
},
data() {
return {
defaultHeadImg:
'this.src="' + require("../../assets/img/default_head_img.jpg") + '"',
}
},
mounted() {
'this.src="' + require("../../assets/img/default_head_img.jpg") + '"'
};
},
mounted() {},
methods: {
},
openChart(obj) {
this.MsgBus.$emit("openChat", {
account: obj.EmLoginMobile,
alias: obj.EmName,
avatar: obj.EmPhoto
});
}
}
};
</script>
<style scoped>
.newpersonal-c {
margin-top: 0px;
height: 204px;
overflow-y:auto;
overflow-y: auto;
}
.newpersonal-c .item {
padding: 12px 30px;
......
......@@ -76,7 +76,7 @@
<div class="sq-block-left"></div>
<div class="t">订单来源占比</div>
<div class="c">
<pingtai :data="result.OrderJoinTypeRatioList"></pingtai>
<pingtai :data="result.OrderFormRatioList"></pingtai>
</div>
</div>
<div class="item-box" style="width:346px;">
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment