task#14196,二级tab切换bugfix
This commit is contained in:
@ -29,7 +29,7 @@ export default {
|
||||
// 接单率
|
||||
if(column.property=='threeMinutesReceivingRate'){
|
||||
if(columnIndex){
|
||||
const rate = parseFloat(row.threeMinutesReceivingRate.replace('%', ''));
|
||||
const rate = parseFloat(row.threeMinutesReceivingRate && row.threeMinutesReceivingRate.replace('%', ''));
|
||||
if(rate < 95){
|
||||
return {backgroundColor: '#88C9F2'}
|
||||
}
|
||||
@ -54,7 +54,7 @@ export default {
|
||||
//聚合成功率《80
|
||||
if(column.property=='polymerizationSuccessRate'){
|
||||
if(columnIndex){
|
||||
const rate = parseFloat(row.polymerizationSuccessRate.replace('%', ''));
|
||||
const rate = parseFloat(row.polymerizationSuccessRate && row.polymerizationSuccessRate.replace('%', ''));
|
||||
if(rate < 80){
|
||||
return {backgroundColor: '#88C9F2'}
|
||||
}
|
||||
@ -63,7 +63,7 @@ export default {
|
||||
//app使用率《95
|
||||
if(column.property=='appRate'){
|
||||
if(columnIndex){
|
||||
const rate = parseFloat(row.appRate.replace('%', ''));
|
||||
const rate = parseFloat(row.appRate && row.appRate.replace('%', ''));
|
||||
if(rate < 95){
|
||||
return {backgroundColor: '#88C9F2'}
|
||||
}
|
||||
@ -72,7 +72,7 @@ export default {
|
||||
//催促率》3
|
||||
if(column.property=='urgeRate'){
|
||||
if(columnIndex){
|
||||
const rate = parseFloat(row.urgeRate.replace('%', ''));
|
||||
const rate = parseFloat(row.urgeRate && row.urgeRate.replace('%', ''));
|
||||
if(rate > 3){
|
||||
return {backgroundColor: '#88C9F2'}
|
||||
}
|
||||
|
Reference in New Issue
Block a user