|
@@ -394,11 +394,17 @@ var vNode = {
|
|
|
data:storageSet ? Object.assign(data, storageSet) : data,
|
|
|
success:function(res) {
|
|
|
if(res.error_code == 0) {
|
|
|
+ that.reqCount++;
|
|
|
if(res.data && Object.keys(res.data).length > 0) {
|
|
|
that.chartLoading = false;
|
|
|
that.initChartData('', res.data)
|
|
|
} else {
|
|
|
- that.getSectionChartData('a')
|
|
|
+ // that.getSectionChartData('a')
|
|
|
+ if (that.reqCount < 5) {
|
|
|
+ that.getChartData()
|
|
|
+ } else {
|
|
|
+ that.chartLoading = false;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -415,7 +421,7 @@ var vNode = {
|
|
|
url:'/bigmember/portrait/buyer/getData',
|
|
|
data:{
|
|
|
buyer: decodeURIComponent(utils.getParam('entName')),
|
|
|
- flag: type
|
|
|
+ flag: type //先a再b再c
|
|
|
},
|
|
|
success:function(res) {
|
|
|
if(res.error_code == 0) {
|