Commit 2deb4908 authored by youjie's avatar youjie

no message

parent 8b1c2d35
......@@ -529,9 +529,13 @@ export default {
);
},
settStartDates() {
if(this.$route.query.tStartDates){
this.msg.tStartDates = this.$route.query.tStartDates
}else{
let date = moment().format('yyyy-MM-DD')
let start = moment().subtract(1, 'months').format('yyyy-MM-DD')
this.msg.tStartDates = [start, date]
}
},
handleClick(tab, event) {
this.msg.EnterID = 0;
......
......@@ -60,8 +60,11 @@
<div class="p_name">
<span>{{data.emName}}</span>
<span>{{data.postName}}</span>
<div style="padding: 5px 0 0 0;font-size: 14px;color: #333333;" v-if="rankingNum">
<a style="color: #FF8C00;margin-left: 3px;margin-right: 3px;font-size: 18px;font-weight: bold;">{{rankingNum}}</a>
<div style="padding: 5px 0 0 0;font-size: 14px;color: #333333;cursor: pointer;" v-if="rankingNum" @click="goAnticipate(5)">
<a style="color: #FF8C00;margin-left: 3px;margin-right: 3px;
font-size: 18px;font-weight: bold;">{{rankingNum}}</a
>
<a style="color: #666666;">( {{SumPreferPrice}} )</a>
</div>
</div>
<div style="display: flex;justify-content: space-between;">
......@@ -75,7 +78,7 @@
<p style="margin-bottom: 3px;">
<el-tag
v-if="data.peopelBonus" size="mini" type="danger"
effect="dark" style="color: #ffff;position: absolute;right: -10px;bottom: 22px;">奖+{{data.peopelBonus}}</el-tag>
effect="dark" style="color: #ffff;position: absolute;right: -10px;bottom: 23px;">奖+{{data.peopelBonus}}</el-tag>
<span style="color: #BDBDBD;font-size: 13px;
padding: 0 0 5px 0;font-weight: 100;">{{data.periodsName}}</span>
</p>
......@@ -658,8 +661,12 @@
},
methods: {
settStartDates() {
let date = moment().format('yyyy-MM-DD')
let start = moment().subtract(1, 'months').format('yyyy-MM-DD')
let nowdays = new Date()
let Year = new Date().getFullYear()
let MonthTime = new Date().getMonth() + 1
let MonthDayNum = new Date(Year, 12, 0).getDate();
let date = Year+'-12-'+(MonthDayNum>10?MonthDayNum:'0'+MonthDayNum)
let start = Year+'-01-01'
this.PMMsg.tStartDates = [start, date]
},
initData() {
......@@ -702,6 +709,7 @@
tableData.forEach((item,index)=>{
if(item.EnterID==Number(userInfo.EmployeeId)){
this.rankingNum = index+1
this.SumPreferPrice = item.SumPreferPrice
}
})
});
......@@ -719,7 +727,17 @@
name = 'ServiceCommissionUser'
}else if(type==4){
name = 'saleExpectedCommission'
}else if(type==5){
name = 'salesVolumeRank'
this.$router.push({
name: name,
query: {
tStartDates: this.PMMsg.tStartDates,
blank: 'y'
}
});
}
if(type!=5){
this.$router.push({
name: name,
query: {
......@@ -728,6 +746,8 @@
blank: 'y'
}
});
}
},
iWorkbench() {
this.apipost('customerIndex_post_GetMySelfSellInfo', {}, res => {
......
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