Commit 20315ccb authored by youjie's avatar youjie

no message

parent e7d116ae
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
</div> </div>
</div> </div>
</div> </div>
<div style="display: flex;"> <div style="display: flex;" v-if="isAnnualBonus">
<div class="CommissionLadder Line" style="margin: 0;"> <div class="CommissionLadder Line" style="margin: 0;">
<div style="display: flex;justify-content: space-between;"> <div style="display: flex;justify-content: space-between;">
<span>年终奖(不含门票、包车、国内游)</span> <span>年终奖(不含门票、包车、国内游)</span>
...@@ -498,12 +498,21 @@ ...@@ -498,12 +498,21 @@
IsSelectCRM: 0,//1来源crm IsSelectCRM: 0,//1来源crm
IsMyOrder: 1,//1我的订单 IsMyOrder: 1,//1我的订单
}, },
isAnnualBonus:false
}; };
}, },
mounted() { mounted() {
this.getList() this.getList()
}, },
created() { created() {
let userInfo = this.getLocalStorage();
// 年终奖权限 销售, 引流, 市场, 票务 , 票務,总经理,总经理
if(userInfo.PostName.indexOf('销售')||userInfo.PostName.indexOf('引流')||
userInfo.PostName.indexOf('市场,')||userInfo.PostName.indexOf('票务')||
userInfo.PostName.indexOf('票務')||userInfo.PostName.indexOf('总经理')||
userInfo.PostName.indexOf('总经理')){
this.isAnnualBonus = true
}
let nowdays = new Date() let nowdays = new Date()
this.Year = new Date().getFullYear() this.Year = new Date().getFullYear()
this.LastMonthTime = new Date().getMonth() this.LastMonthTime = new Date().getMonth()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment