团队长

This commit is contained in:
huichao
2020-07-27 21:17:35 +08:00
parent 45fd171cfd
commit 9e7edc9fe8
5 changed files with 14 additions and 33 deletions

View File

@@ -33,7 +33,6 @@
<span class="red">{{Name}}</span>
</div>
<div class="flex align-items-c h86 content1 bg-white mt10">
<div class="absolute h60 ml20 mt20 fs13 white captain">团队长</div>
<div
class="w40 h60 ml15 text-center relative header-box"
v-for="(item, index) in headerList"
@@ -42,6 +41,7 @@
<div @click="(InfoDetails(index))">
<!-- <img v-if="item.agentHeadUrl!==null" class="h40 w40" :src="item.agentHeadUrl" alt /> -->
<img class="h40 w40" src="@/assets/images/u188.png" alt />
<div class="absolute h60 top15 left8 fs13 white captain" v-if="String(item.agentName)==String(Name).split('组')[0]">团队长</div>
<div :class="[item.isShowImg?'active':'']"></div>
<div class="fs13">{{item.agentName}}</div>
</div>
@@ -162,7 +162,7 @@ export default {
(this.Name = JSON.parse(window.localStorage.getItem('parmas1')).Name),
(this.code = JSON.parse(window.localStorage.getItem('parmas1')).code),
this.buName=JSON.parse(window.localStorage.getItem('parmas1')).buName
window.localStorage.removeItem('parmas1');
// window.localStorage.removeItem('parmas1');
}
@@ -226,8 +226,8 @@ export default {
this.timeCode = JSON.parse(window.localStorage.getItem('parmas2')).date
}
if(window.localStorage.getItem('parmas1') !== null){
this.titleTime = JSON.parse(window.localStorage.getItem('parmas2')).date.slice(0, 7),
this.timeCode = JSON.parse(window.localStorage.getItem('parmas2')).date
this.titleTime = JSON.parse(window.localStorage.getItem('parmas1')).date.slice(0, 7),
this.timeCode = JSON.parse(window.localStorage.getItem('parmas1')).date
}
this.obj.date = this.timeCode
// console.log(this.titleTime)