Commit efd6fdd7 authored by youjie's avatar youjie

no message

parent 28dcb46f
......@@ -226,12 +226,12 @@
<el-col :span="12" style="padding-right: 0;">
<div class="el-col-div ownScrollbarStyle PersonalData_l" style="height: auto;background: #fff;">
<div class="l_top" style="position: relative;">
<img v-if="data.icon !=null && data.icon !='' " :src="data.icon" alt="" class="tx_img"
<img v-if="userInfo.Icon !=null && userInfo.Icon !='' " :src="userInfo.Icon" alt="" class="tx_img"
:onerror='defaultHeadImg'>
<img v-else src="../../assets/img/default_head_img.jpg" alt="" alt="" class="tx_img">
<div class="p_name" style="margin-top:20px">
<span>{{data.emName}}</span>
<span>{{data.postName}}</span>
<span>{{userInfo.emName}}</span>
<span>{{userInfo.PostName}}</span>
</div>
<div style="display: flex;justify-content: space-between;">
<div style="cursor: pointer;cursor: pointer;position: relative;" class="royalty" @click="goAnticipate(1)">
......@@ -558,6 +558,7 @@
export default {
data (){
return{
userInfo: {},
isBranchCompany: false,
isVisa: false,
jianjin: 0,
......@@ -762,24 +763,9 @@
},
// 近期提成
iWorkbench() {
let Info
this.apipost('customerIndex_post_GetMySelfSellInfo', {}, res => {
this.apipost('opcommission_GetLatelyOPCommission', {}, res => {
if (res.data.resultCode == 1) {
this.data = res.data.data;
Info = res.data.data
if(Info.postName.indexOf('签证')==-1){
this.isVisa = true
}
this.apipost('opcommission_GetLatelyOPCommission', {}, res => {
if (res.data.resultCode == 1) {
this.data = res.data.data;
this.data.icon = Info.icon
this.data.emName = Info.emName
this.data.postName = Info.postName
} else {
this.$message.error(res.data.message)
}
}, err => {})
} else {
this.$message.error(res.data.message)
}
......@@ -818,6 +804,10 @@
}
let userInfo = this.getLocalStorage();
this.userInfo = userInfo
if(userInfo.PostName.indexOf('签证')==-1){
this.isVisa = true
}
if(userInfo.RB_Branch_id>0){
this.isBranchCompany = true
}
......
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