mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 14:26:43 +08:00
优化代码
This commit is contained in:
@@ -89,10 +89,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>-->
|
</div>-->
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="h40 bg-red footer absolute bottom0 text-center fs14 fw500 white" @click="checkTeam(obj)" v-if="!mask1">查看团队业绩</div>
|
||||||
class="h40 bg-red footer absolute bottom0 text-center fs14 fw500 white"
|
|
||||||
@click="checkTeam(obj)" v-if="mask1!==1"
|
|
||||||
>查看团队业绩</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -134,7 +131,7 @@ export default {
|
|||||||
code: '',
|
code: '',
|
||||||
isShowImg: true,
|
isShowImg: true,
|
||||||
buName:'',
|
buName:'',
|
||||||
mask1:''
|
mask1:false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -247,7 +244,7 @@ export default {
|
|||||||
(this.deptCode = res.deptCode),
|
(this.deptCode = res.deptCode),
|
||||||
(this.areaCode = res.areaCode)
|
(this.areaCode = res.areaCode)
|
||||||
if (this.agentGrade.slice(0, 2) == 'A1') {
|
if (this.agentGrade.slice(0, 2) == 'A1') {
|
||||||
this.mask1 = 1
|
this.mask1 = true
|
||||||
}else if (this.agentGrade.slice(0, 2) == 'A2') {
|
}else if (this.agentGrade.slice(0, 2) == 'A2') {
|
||||||
;(this.obj.unitName = this.unitName), (this.obj.code = this.branchCode)
|
;(this.obj.unitName = this.unitName), (this.obj.code = this.branchCode)
|
||||||
} else if (this.agentGrade.slice(0, 2) == 'A3') {
|
} else if (this.agentGrade.slice(0, 2) == 'A3') {
|
||||||
|
|||||||
@@ -165,22 +165,6 @@ export default {
|
|||||||
// window.localStorage.removeItem('parmas1');
|
// window.localStorage.removeItem('parmas1');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (this.mask !== '1') {
|
|
||||||
setTimeout(() => {
|
|
||||||
// eslint-disable-next-line no-undef
|
|
||||||
EWebBridge.webCallAppInJs('webview_right_button', {
|
|
||||||
btns: [
|
|
||||||
{
|
|
||||||
title: '考勤记录',
|
|
||||||
titleColor: 'FF0000',
|
|
||||||
route: { flag: '', extra: {} },
|
|
||||||
},
|
|
||||||
],
|
|
||||||
})
|
|
||||||
}, 1000)
|
|
||||||
}
|
|
||||||
|
|
||||||
// this.performanceData()
|
// this.performanceData()
|
||||||
if (this.code == '') {
|
if (this.code == '') {
|
||||||
this.getPerformanceHeader1()
|
this.getPerformanceHeader1()
|
||||||
@@ -198,8 +182,6 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
|
|
||||||
timePopup() {
|
timePopup() {
|
||||||
this.dateShow = true
|
this.dateShow = true
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user