Commit 5bf1478b by 胡悦

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

1 parent e242f557
...@@ -38,10 +38,10 @@ ...@@ -38,10 +38,10 @@
<ul class="basic-ul"> <ul class="basic-ul">
<li v-for="(i, ind) in detail.performanceSalaryConfigItemList" :key="ind"> <li v-for="(i, ind) in detail.performanceSalaryConfigItemList" :key="ind">
<template v-if="i.assessmentType == 1"> <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>
<template v-if="i.assessmentType == 2"> <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> </template>
</li> </li>
</ul> </ul>
......
...@@ -156,6 +156,7 @@ export default { ...@@ -156,6 +156,7 @@ export default {
this.getMessageInfo() this.getMessageInfo()
this.getUnreadCount() this.getUnreadCount()
this.getSopCount() // 获取Ai集市未读个数 this.getSopCount() // 获取Ai集市未读个数
this.findBeiSenSSOToken() // 获取北森token
}, },
inject: ['showPage'], inject: ['showPage'],
methods: { methods: {
...@@ -293,12 +294,17 @@ export default { ...@@ -293,12 +294,17 @@ export default {
if (res.ids && res.ids.length > 0) { if (res.ids && res.ids.length > 0) {
console.log(res.contentType, res.contentType == 5, 'res') console.log(res.contentType, res.contentType == 5, 'res')
if (res.contentType == 5) { if (res.contentType == 5) {
const _token = uni.$storage.get('beisenToken')
if (_token) {
this.messageType = 'study' this.messageType = 'study'
this.messageData = res
this.$refs.kfRef.open()
}
} else { } else {
this.messageType = 'system' this.messageType = 'system'
}
this.messageData = res this.messageData = res
this.$refs.kfRef.open() this.$refs.kfRef.open()
}
} else { } else {
await this.getMessage() await this.getMessage()
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!