mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 20:26:44 +08:00
优化代码
This commit is contained in:
@@ -89,10 +89,7 @@
|
||||
</div>
|
||||
</div>-->
|
||||
</div>
|
||||
<div
|
||||
class="h40 bg-red footer absolute bottom0 text-center fs14 fw500 white"
|
||||
@click="checkTeam(obj)" v-if="mask1!==1"
|
||||
>查看团队业绩</div>
|
||||
<div class="h40 bg-red footer absolute bottom0 text-center fs14 fw500 white" @click="checkTeam(obj)" v-if="!mask1">查看团队业绩</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@@ -134,7 +131,7 @@ export default {
|
||||
code: '',
|
||||
isShowImg: true,
|
||||
buName:'',
|
||||
mask1:''
|
||||
mask1:false
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -247,7 +244,7 @@ export default {
|
||||
(this.deptCode = res.deptCode),
|
||||
(this.areaCode = res.areaCode)
|
||||
if (this.agentGrade.slice(0, 2) == 'A1') {
|
||||
this.mask1 = 1
|
||||
this.mask1 = true
|
||||
}else if (this.agentGrade.slice(0, 2) == 'A2') {
|
||||
;(this.obj.unitName = this.unitName), (this.obj.code = this.branchCode)
|
||||
} else if (this.agentGrade.slice(0, 2) == 'A3') {
|
||||
|
||||
@@ -165,22 +165,6 @@ export default {
|
||||
// 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()
|
||||
if (this.code == '') {
|
||||
this.getPerformanceHeader1()
|
||||
@@ -197,9 +181,7 @@ export default {
|
||||
mounted() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
|
||||
methods: {
|
||||
timePopup() {
|
||||
this.dateShow = true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user