mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-23 01:46:44 +08:00
内勤人员不能使用增员分享问题处理 --提交人:白金岩
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<!-- 导航 元素 -->
|
||||
<template>
|
||||
<!-- <div class="nav-item"> -->
|
||||
<van-cell is-link v-if="config.isShow" class="relative" @click="rout(config)">
|
||||
<van-cell is-link v-if="!config.isNotShow" class="relative" @click="rout(config)">
|
||||
<template slot="title">
|
||||
<van-icon v-if="config.icon" color="#ee0a24" class="t-cell-icon" size="6.4vw" :name="config.icon" />
|
||||
<img v-else class="t-cell-icon" :src="config.src" alt="config" />
|
||||
|
||||
@@ -39,19 +39,17 @@ export default {
|
||||
path: '/',
|
||||
share: true,
|
||||
shareConfig: null,
|
||||
isShow: ''
|
||||
isNotShow: ''
|
||||
},
|
||||
{
|
||||
title: '增员审批',
|
||||
icon: 'comment-o',
|
||||
path: '/agentEenter/approve/ApproveList',
|
||||
isShow: true
|
||||
path: '/agentEenter/approve/ApproveList'
|
||||
},
|
||||
{
|
||||
title: '审批记录',
|
||||
src: record,
|
||||
path: '/agentEenter/approve/recordList',
|
||||
isShow: true
|
||||
path: '/agentEenter/approve/recordList'
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -93,8 +91,8 @@ export default {
|
||||
if (resAgent.result == 0) {
|
||||
// res.branchType 以N打头的是内勤 其他是外勤
|
||||
let isInner = /^N{1}/.test(resAgent.branchType)
|
||||
// 内勤不展示 增员分享
|
||||
this.navList[0].isShow = !isInner
|
||||
// 内勤人员不展示 增员分享
|
||||
this.navList[0].isNotShow = isInner
|
||||
|
||||
} else {
|
||||
return this.$toast(res.resultMessage)
|
||||
|
||||
Reference in New Issue
Block a user