task#14196,二级tab切换bugfix
This commit is contained in:
@ -29,7 +29,7 @@ export default {
|
|||||||
// 接单率
|
// 接单率
|
||||||
if(column.property=='threeMinutesReceivingRate'){
|
if(column.property=='threeMinutesReceivingRate'){
|
||||||
if(columnIndex){
|
if(columnIndex){
|
||||||
const rate = parseFloat(row.threeMinutesReceivingRate.replace('%', ''));
|
const rate = parseFloat(row.threeMinutesReceivingRate && row.threeMinutesReceivingRate.replace('%', ''));
|
||||||
if(rate < 95){
|
if(rate < 95){
|
||||||
return {backgroundColor: '#88C9F2'}
|
return {backgroundColor: '#88C9F2'}
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ export default {
|
|||||||
//聚合成功率《80
|
//聚合成功率《80
|
||||||
if(column.property=='polymerizationSuccessRate'){
|
if(column.property=='polymerizationSuccessRate'){
|
||||||
if(columnIndex){
|
if(columnIndex){
|
||||||
const rate = parseFloat(row.polymerizationSuccessRate.replace('%', ''));
|
const rate = parseFloat(row.polymerizationSuccessRate && row.polymerizationSuccessRate.replace('%', ''));
|
||||||
if(rate < 80){
|
if(rate < 80){
|
||||||
return {backgroundColor: '#88C9F2'}
|
return {backgroundColor: '#88C9F2'}
|
||||||
}
|
}
|
||||||
@ -63,7 +63,7 @@ export default {
|
|||||||
//app使用率《95
|
//app使用率《95
|
||||||
if(column.property=='appRate'){
|
if(column.property=='appRate'){
|
||||||
if(columnIndex){
|
if(columnIndex){
|
||||||
const rate = parseFloat(row.appRate.replace('%', ''));
|
const rate = parseFloat(row.appRate && row.appRate.replace('%', ''));
|
||||||
if(rate < 95){
|
if(rate < 95){
|
||||||
return {backgroundColor: '#88C9F2'}
|
return {backgroundColor: '#88C9F2'}
|
||||||
}
|
}
|
||||||
@ -72,7 +72,7 @@ export default {
|
|||||||
//催促率》3
|
//催促率》3
|
||||||
if(column.property=='urgeRate'){
|
if(column.property=='urgeRate'){
|
||||||
if(columnIndex){
|
if(columnIndex){
|
||||||
const rate = parseFloat(row.urgeRate.replace('%', ''));
|
const rate = parseFloat(row.urgeRate && row.urgeRate.replace('%', ''));
|
||||||
if(rate > 3){
|
if(rate > 3){
|
||||||
return {backgroundColor: '#88C9F2'}
|
return {backgroundColor: '#88C9F2'}
|
||||||
}
|
}
|
||||||
|
@ -176,7 +176,6 @@
|
|||||||
:loading="loading"></noFit-table>
|
:loading="loading"></noFit-table>
|
||||||
</div>
|
</div>
|
||||||
<el-pagination
|
<el-pagination
|
||||||
v-if="active !== 9"
|
|
||||||
small
|
small
|
||||||
:current-page.sync="pageNum"
|
:current-page.sync="pageNum"
|
||||||
:page-size.sync="pageSize"
|
:page-size.sync="pageSize"
|
||||||
@ -947,7 +946,6 @@ export default {
|
|||||||
this.v5 = []
|
this.v5 = []
|
||||||
this.v6 = []
|
this.v6 = []
|
||||||
await this.twoTabHanldeData()
|
await this.twoTabHanldeData()
|
||||||
// console.log(this.v1,this.v2,this.v3,this.v4,this.v5,this.v6)
|
|
||||||
this.loadingData = false
|
this.loadingData = false
|
||||||
if (this.active === 1) {
|
if (this.active === 1) {
|
||||||
await this.drawLine()
|
await this.drawLine()
|
||||||
|
Reference in New Issue
Block a user