Browse Source

分析选中问题

weibingbing 3 years ago
parent
commit
67b3ba0d93
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/webapp/static/js/analysis/special_analysis.js

+ 2 - 2
src/main/webapp/static/js/analysis/special_analysis.js

@@ -588,7 +588,7 @@ function getProductRankList(){
588 588
 		if(res.code == 1 && res.data){
589 589
 			if(res.data.length > 0){
590 590
 				$.each(res.data, function(index, item){
591
-					html += "<tr class='"+(cur_brand == item.productName && cur_secondInd == item.secondInd && $("#type").val() == 0 ? 'trHover':'')+"'>"+
591
+					html += "<tr class='"+(cur_brand == item.productName && cur_secondInd == item.secondInd ? 'trHover':'')+"'>"+
592 592
 						"<td>"+(index+1)+"</td>"+
593 593
 						"<td>"+item.productName+"</td>"+
594 594
 						"<td>"+item.secondInd+"</td>"+
@@ -617,7 +617,7 @@ function getPlatformRankList(){
617 617
 		if(res.code == 1 && res.data){
618 618
 			if(res.data.length > 0){
619 619
 				$.each(res.data, function(index, item){
620
-					html += "<tr class='"+(cur_brand == item.productName && cur_secondInd == item.secondInd && $("#type").val() == 1 ? 'trHover':'')+"'>"+
620
+					html += "<tr class='"+(cur_brand == item.productName && cur_secondInd == item.secondInd ? 'trHover':'')+"'>"+
621 621
 						"<td>"+(index+1)+"</td>"+
622 622
 						"<td>"+item.productName+"</td>"+
623 623
 						"<td>"+item.secondInd+"</td>"+