mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 11:22:52 +08:00
bug解决
This commit is contained in:
@@ -91,12 +91,12 @@
|
||||
</div>
|
||||
<div
|
||||
class="h40 bg-red footer absolute bottom0 text-center fs14 fw500 white"
|
||||
@click="checkTeam(obj)"
|
||||
@click="checkTeam(obj)" v-if="mask1!==1"
|
||||
>查看团队业绩</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { getBaseAgentInfo, getPerformanceHeader, getPerformanceDetail, getHeader } from '@/api/ebiz/performance/performance'
|
||||
import { getBaseAgentInfo, getPerformanceDetail, getHeader } from '@/api/ebiz/performance/performance'
|
||||
import utils from '@/assets/js/utils/date-utils'
|
||||
import { Popup, DatetimePicker } from 'vant'
|
||||
export default {
|
||||
@@ -133,7 +133,8 @@ export default {
|
||||
Name: '',
|
||||
code: '',
|
||||
isShowImg: true,
|
||||
buName:''
|
||||
buName:'',
|
||||
mask1:''
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -184,9 +185,7 @@ export default {
|
||||
|
||||
|
||||
// this.performanceData()
|
||||
if (this.code == '') {
|
||||
this.getPerformanceHeader1()
|
||||
}
|
||||
|
||||
if(this.mask=="1"){
|
||||
this.getPerformanceDetailC()
|
||||
}
|
||||
@@ -288,26 +287,13 @@ export default {
|
||||
} else if (this.agentGrade.slice(0, 2) == 'A4') {
|
||||
}
|
||||
if (this.agentGrade == 'A101') {
|
||||
this.mask = 1
|
||||
this.mask1 = 1
|
||||
}
|
||||
this.getPerformanceDetailC()
|
||||
}
|
||||
})
|
||||
},
|
||||
//获取代理人下级头像
|
||||
getPerformanceHeader1() {
|
||||
let date = {}
|
||||
getPerformanceHeader(date).then((res) => {
|
||||
console.log('==' + res)
|
||||
if (res.result == 0) {
|
||||
for (let i = 0; i < res.content.length; i++) {
|
||||
res.content[i].isShowImg = true
|
||||
}
|
||||
this.headerList = res.content
|
||||
console.log(this.headerList)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
getHeader1() {
|
||||
console.log(1111)
|
||||
let code = {
|
||||
|
||||
Reference in New Issue
Block a user