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'}
|
||||
}
|
||||
|
@ -176,7 +176,6 @@
|
||||
:loading="loading"></noFit-table>
|
||||
</div>
|
||||
<el-pagination
|
||||
v-if="active !== 9"
|
||||
small
|
||||
:current-page.sync="pageNum"
|
||||
:page-size.sync="pageSize"
|
||||
@ -947,7 +946,6 @@ export default {
|
||||
this.v5 = []
|
||||
this.v6 = []
|
||||
await this.twoTabHanldeData()
|
||||
// console.log(this.v1,this.v2,this.v3,this.v4,this.v5,this.v6)
|
||||
this.loadingData = false
|
||||
if (this.active === 1) {
|
||||
await this.drawLine()
|
||||
|
Reference in New Issue
Block a user