mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-16 14:22:48 +00:00
修复后台首页统计无数据js报错bug
This commit is contained in:
parent
45c51f0719
commit
2298ae2a96
@ -273,14 +273,17 @@
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
that.cyclecount = res.data.data.cycle.count.data;
|
var data=res.data.data;
|
||||||
that.cyclecount_percent = res.data.data.cycle.count.percent;
|
if(data.length) {
|
||||||
that.cyclecount_is_plus = res.data.data.cycle.count.is_plus;
|
that.cyclecount = data.cycle.count.data;
|
||||||
that.cycleprice = res.data.data.cycle.price.data;
|
that.cyclecount_percent = data.cycle.count.percent;
|
||||||
that.cycleprice_percent = res.data.data.cycle.price.percent;
|
that.cyclecount_is_plus = data.cycle.count.is_plus;
|
||||||
that.cycleprice_is_plus = res.data.data.cycle.price.is_plus;
|
that.cycleprice = data.cycle.price.data;
|
||||||
that.pre_cyclecount = res.data.data.pre_cycle.count.data;
|
that.cycleprice_percent = data.cycle.price.percent;
|
||||||
that.pre_cycleprice = res.data.data.pre_cycle.price.data;
|
that.cycleprice_is_plus = data.cycle.price.is_plus;
|
||||||
|
that.pre_cyclecount = data.pre_cycle.count.data;
|
||||||
|
that.pre_cycleprice = data.pre_cycle.price.data;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
orderchartsetoption:function(data){
|
orderchartsetoption:function(data){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user