v.top5 = v.commissions.slice(0,5);
v.topAll = v.commissions.slice(0,v.length-1);
deep(r): void {
for (let i of r) {
i["statusName"] = ''
if (i.status == 1) {
i["statusName"] = '待审核'
} else if (i.status == 2) {
i["statusName"] = '审核通过'
} else if (i.status == -1) {
i["statusName"] = '审核未通过'
}
i["startTime"] = this._commonService.time2Date(i.start_time, true, '-')
i["endTime"] = this._commonService.time2Date(i.end_time, true, '-')
}
return r
}
网友评论