mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-15 11:46:43 +08:00
团队长
This commit is contained in:
@@ -229,7 +229,7 @@ export default {
|
|||||||
let arr1 = []
|
let arr1 = []
|
||||||
let obj1 = {}
|
let obj1 = {}
|
||||||
let date1 = []
|
let date1 = []
|
||||||
obj1.color = '#FFA500'
|
obj1.color = '#000000'
|
||||||
for (let i = 0; i < res.content.rest.length; i++) {
|
for (let i = 0; i < res.content.rest.length; i++) {
|
||||||
let workTime = res.content.rest[i].split(' ')
|
let workTime = res.content.rest[i].split(' ')
|
||||||
let workTime1 = workTime[0]
|
let workTime1 = workTime[0]
|
||||||
@@ -258,7 +258,7 @@ export default {
|
|||||||
// arr3=arr3.concat(arr1,arr)
|
// arr3=arr3.concat(arr1,arr)
|
||||||
|
|
||||||
this.markDate = arr
|
this.markDate = arr
|
||||||
// console.log(this.mask)
|
console.log(this.mask)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="page">
|
||||||
<div class="border-gb header mh-auto h50 flex align-items-c header">
|
<div class="border-gb header mh-auto h50 flex align-items-c header">
|
||||||
<van-button
|
<van-button
|
||||||
round
|
round
|
||||||
@@ -131,6 +131,9 @@ export default {
|
|||||||
this.titleTime = JSON.parse(window.localStorage.getItem('parmas1')).date.slice(0, 7)
|
this.titleTime = JSON.parse(window.localStorage.getItem('parmas1')).date.slice(0, 7)
|
||||||
;(this.dateTime = JSON.parse(window.localStorage.getItem('parmas1')).date), (this.code = JSON.parse(window.localStorage.getItem('parmas1')).code)
|
;(this.dateTime = JSON.parse(window.localStorage.getItem('parmas1')).date), (this.code = JSON.parse(window.localStorage.getItem('parmas1')).code)
|
||||||
this.getBranchInfos1()
|
this.getBranchInfos1()
|
||||||
|
},
|
||||||
|
mounted(){
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
timePopup() {
|
timePopup() {
|
||||||
@@ -198,7 +201,7 @@ export default {
|
|||||||
}
|
}
|
||||||
// console.log(code)
|
// console.log(code)
|
||||||
getPerformanceDetail(code).then((res) => {
|
getPerformanceDetail(code).then((res) => {
|
||||||
// console.log(res)
|
console.log(res)
|
||||||
if (res.result == 0) {
|
if (res.result == 0) {
|
||||||
this.list = res.content.list
|
this.list = res.content.list
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -340,30 +340,7 @@ export default {
|
|||||||
(this.ysbb = res.content.list[0].ysbb),(this.agentCode = res.content.list[0].code)
|
(this.ysbb = res.content.list[0].ysbb),(this.agentCode = res.content.list[0].code)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
|
||||||
// 点击头像
|
|
||||||
InfoDetails(item) {
|
|
||||||
console.log(item)
|
|
||||||
for (let i = 0; i < this.headerList.length; i++) {
|
|
||||||
this.headerList[i].isShowImg = true
|
|
||||||
}
|
}
|
||||||
this.headerList[item].isShowImg = false
|
|
||||||
|
|
||||||
let code = {
|
|
||||||
date: this.timeCode,
|
|
||||||
agentCode: this.headerList[item].agentCode,
|
|
||||||
}
|
|
||||||
getPerformanceDetail(code).then((res) => {
|
|
||||||
console.log(res)
|
|
||||||
if (res.result == 0) {
|
|
||||||
;(this.cbbb = res.content.list[0].cbbb),
|
|
||||||
(this.cbjs = res.content.list[0].cbjs),
|
|
||||||
(this.ysjs = res.content.list[0].ysjs),
|
|
||||||
(this.ysbb = res.content.list[0].ysbb),
|
|
||||||
(this.agentCode = res.content.list[0].code)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
destroyed: function () {
|
destroyed: function () {
|
||||||
console.log("我已经离开了!");
|
console.log("我已经离开了!");
|
||||||
|
|||||||
@@ -33,7 +33,6 @@
|
|||||||
<span class="red">{{Name}}</span>
|
<span class="red">{{Name}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex align-items-c h86 content1 bg-white mt10">
|
<div class="flex align-items-c h86 content1 bg-white mt10">
|
||||||
<div class="absolute h60 ml20 mt20 fs13 white captain">团队长</div>
|
|
||||||
<div
|
<div
|
||||||
class="w40 h60 ml15 text-center relative header-box"
|
class="w40 h60 ml15 text-center relative header-box"
|
||||||
v-for="(item, index) in headerList"
|
v-for="(item, index) in headerList"
|
||||||
@@ -42,6 +41,7 @@
|
|||||||
<div @click="(InfoDetails(index))">
|
<div @click="(InfoDetails(index))">
|
||||||
<!-- <img v-if="item.agentHeadUrl!==null" class="h40 w40" :src="item.agentHeadUrl" alt /> -->
|
<!-- <img v-if="item.agentHeadUrl!==null" class="h40 w40" :src="item.agentHeadUrl" alt /> -->
|
||||||
<img class="h40 w40" src="@/assets/images/u188.png" 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="[item.isShowImg?'active':'']"></div>
|
||||||
<div class="fs13">{{item.agentName}}</div>
|
<div class="fs13">{{item.agentName}}</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -162,7 +162,7 @@ export default {
|
|||||||
(this.Name = JSON.parse(window.localStorage.getItem('parmas1')).Name),
|
(this.Name = JSON.parse(window.localStorage.getItem('parmas1')).Name),
|
||||||
(this.code = JSON.parse(window.localStorage.getItem('parmas1')).code),
|
(this.code = JSON.parse(window.localStorage.getItem('parmas1')).code),
|
||||||
this.buName=JSON.parse(window.localStorage.getItem('parmas1')).buName
|
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
|
this.timeCode = JSON.parse(window.localStorage.getItem('parmas2')).date
|
||||||
}
|
}
|
||||||
if(window.localStorage.getItem('parmas1') !== null){
|
if(window.localStorage.getItem('parmas1') !== null){
|
||||||
this.titleTime = JSON.parse(window.localStorage.getItem('parmas2')).date.slice(0, 7),
|
this.titleTime = JSON.parse(window.localStorage.getItem('parmas1')).date.slice(0, 7),
|
||||||
this.timeCode = JSON.parse(window.localStorage.getItem('parmas2')).date
|
this.timeCode = JSON.parse(window.localStorage.getItem('parmas1')).date
|
||||||
}
|
}
|
||||||
this.obj.date = this.timeCode
|
this.obj.date = this.timeCode
|
||||||
// console.log(this.titleTime)
|
// console.log(this.titleTime)
|
||||||
|
|||||||
@@ -189,6 +189,7 @@ export default {
|
|||||||
path: `/performance/PerformanceInfo`,
|
path: `/performance/PerformanceInfo`,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
localStorage.parmas1 = JSON.stringify(parmas)
|
||||||
} else if (this.agentGrade.slice(0, 2) == 'A3') {
|
} else if (this.agentGrade.slice(0, 2) == 'A3') {
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
@@ -199,8 +200,8 @@ export default {
|
|||||||
path: `/performance/AttendanceInfo`,
|
path: `/performance/AttendanceInfo`,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
|
||||||
localStorage.parmas1 = JSON.stringify(parmas)
|
localStorage.parmas1 = JSON.stringify(parmas)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
getBranchInfos1(code) {
|
getBranchInfos1(code) {
|
||||||
getBranchInfos(code).then((res) => {
|
getBranchInfos(code).then((res) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user