|
@@ -453,8 +453,13 @@ var vNode = {
|
|
|
var pro_count_list = res.data.project_buyerclass_count.filter(function (item, index) {
|
|
|
return (item['buyerclass'] != '其它' && item['count']!=0)
|
|
|
})
|
|
|
- that.curMonthCountTop.list = that.formatterWinData(pro_count_list,'count')
|
|
|
+ if(pro_count_list && pro_count_list.length > 0){
|
|
|
that.isShow.show_7 = true;
|
|
|
+ } else {
|
|
|
+ that.isShow.show_7 = false
|
|
|
+ }
|
|
|
+ that.curMonthCountTop.list = that.formatterWinData(pro_count_list,'count')
|
|
|
+
|
|
|
} else {
|
|
|
that.isShow.show_7 = false;
|
|
|
}
|
|
@@ -464,8 +469,12 @@ var vNode = {
|
|
|
var pro_bidamount_list = data.filter(function (item, index) {
|
|
|
return (item['buyerclass'] != '其它' && item['bidamount']!=0)
|
|
|
})
|
|
|
+ if (pro_bidamount_list && pro_bidamount_list.length >0 ) {
|
|
|
+ that.isShow.show_8 = true;
|
|
|
+ } else {
|
|
|
+ that.isShow.show_8 = false
|
|
|
+ }
|
|
|
that.curMonthScaleTop.list = that.formatterWinData(pro_bidamount_list,'scale')
|
|
|
- that.isShow.show_8 = true;
|
|
|
} else {
|
|
|
that.isShow.show_8 = false;
|
|
|
}
|
|
@@ -475,8 +484,12 @@ var vNode = {
|
|
|
var pro_average_list = d.filter(function (item, index) {
|
|
|
return (item['buyerclass'] != '其它' && item['average']!=0)
|
|
|
})
|
|
|
+ if (pro_average_list && pro_average_list.length > 0) {
|
|
|
+ that.isShow.show_9 = true;
|
|
|
+ } else {
|
|
|
+ that.isShow.show_9 = false
|
|
|
+ }
|
|
|
that.averageScaleTop.list = that.formatterWinData(pro_average_list,'average')
|
|
|
- that.isShow.show_9 = true;
|
|
|
} else {
|
|
|
that.isShow.show_9 = false;
|
|
|
}
|