Commit 5bf1478b by 胡悦

员工无北森权限,不强制弹窗

1 parent e242f557
......@@ -38,10 +38,10 @@
<ul class="basic-ul">
<li v-for="(i, ind) in detail.performanceSalaryConfigItemList" :key="ind">
<template v-if="i.assessmentType == 1">
月产值=0,且考勤 {{ i.minAssessmentValue ? i.minAssessmentValue : '' }} ≦ {{ i.maxAssessmentValue ? i.maxAssessmentValue : '' }} 绩效工资{{ i.performanceSalarDeductionRatio < 100 ? `扣减${i.performanceSalarDeductionRatio}%` : '不扣减' }}
月产值=0,且 {{ i.minAssessmentValue }} ≦ 考勤 < {{ i.maxAssessmentValue ? i.maxAssessmentValue : '' }} 绩效工资{{ i.performanceSalarDeductionRatio < 100 ? `扣减${i.performanceSalarDeductionRatio}%` : '不扣减' }}
</template>
<template v-if="i.assessmentType == 2">
月产值≠0,月度触客总数(含售前+售后触客){{ i.minAssessmentValue ? i.minAssessmentValue : '' }} ≦ {{ i.maxAssessmentValue ? i.maxAssessmentValue : '' }} 台,则绩效工资{{ i.performanceSalarDeductionRatio < 100 ? `扣减${i.performanceSalarDeductionRatio}%` : '不扣减' }}
月产值≠0,{{ i.minAssessmentValue }} ≦ 月度触客总数(含售前+售后触客)< {{ i.maxAssessmentValue ? i.maxAssessmentValue : '' }} 台,则绩效工资{{ i.performanceSalarDeductionRatio < 100 ? `扣减${i.performanceSalarDeductionRatio}%` : '不扣减' }}
</template>
</li>
</ul>
......
......@@ -156,6 +156,7 @@ export default {
this.getMessageInfo()
this.getUnreadCount()
this.getSopCount() // 获取Ai集市未读个数
this.findBeiSenSSOToken() // 获取北森token
},
inject: ['showPage'],
methods: {
......@@ -293,12 +294,17 @@ export default {
if (res.ids && res.ids.length > 0) {
console.log(res.contentType, res.contentType == 5, 'res')
if (res.contentType == 5) {
this.messageType = 'study'
const _token = uni.$storage.get('beisenToken')
if (_token) {
this.messageType = 'study'
this.messageData = res
this.$refs.kfRef.open()
}
} else {
this.messageType = 'system'
this.messageData = res
this.$refs.kfRef.open()
}
this.messageData = res
this.$refs.kfRef.open()
} else {
await this.getMessage()
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!