|
@@ -232,10 +232,8 @@ function getAllMarket(obj, myChart) {
|
|
|
for (var i = 0; i < list.length; i++) {
|
|
|
|
|
|
var subData = list[i].totalNum;
|
|
|
- if (subData.length == 3) {
|
|
|
+ if (subData.length == 1) {
|
|
|
xdata.push(list[i].date + '年1季度');
|
|
|
- xdata.push(list[i].date + '年1-2季度');
|
|
|
- xdata.push(list[i].date + '年1-3季度');
|
|
|
array.push(...subData);
|
|
|
} else {
|
|
|
xdata.push(list[i].date + '年1季度');
|
|
@@ -288,10 +286,8 @@ function getinlandTradeL(obj, myChart) {
|
|
|
for (var i = 0; i < list.length; i++) {
|
|
|
|
|
|
var subData = list[i].totalNum;
|
|
|
- if (subData.length == 3) {
|
|
|
+ if (subData.length == 1) {
|
|
|
xdata.push(list[i].date + '年1季度');
|
|
|
- xdata.push(list[i].date + '年1-2季度');
|
|
|
- xdata.push(list[i].date + '年1-3季度');
|
|
|
array.push(...subData);
|
|
|
} else {
|
|
|
xdata.push(list[i].date + '年1季度');
|
|
@@ -344,10 +340,8 @@ function getAllConstruction(obj, myChart) {
|
|
|
for (var i = 0; i < list.length; i++) {
|
|
|
|
|
|
var subData = list[i].totalNum;
|
|
|
- if (subData.length == 3) {
|
|
|
+ if (subData.length == 1) {
|
|
|
xdata.push(list[i].date + '年1季度');
|
|
|
- xdata.push(list[i].date + '年1-2季度');
|
|
|
- xdata.push(list[i].date + '年1-3季度');
|
|
|
array.push(...subData);
|
|
|
} else {
|
|
|
xdata.push(list[i].date + '年1季度');
|
|
@@ -398,10 +392,8 @@ function getAllScale(obj, myChart) {
|
|
|
var xdata = [];
|
|
|
for (var i = 0; i < list.length; i++) {
|
|
|
var subData = list[i].growth;
|
|
|
- if (subData.length == 3) {
|
|
|
+ if (subData.length == 1) {
|
|
|
xdata.push(list[i].date + '年1季度');
|
|
|
- xdata.push(list[i].date + '年1-2季度');
|
|
|
- xdata.push(list[i].date + '年1-3季度');
|
|
|
array.push(...subData);
|
|
|
} else {
|
|
|
xdata.push(list[i].date + '年1季度');
|
|
@@ -614,8 +606,6 @@ function getinlandTrade(obj, myChart) {
|
|
|
xdata.push(list[i].date + '年1-4季度');
|
|
|
} else {
|
|
|
xdata.push(list[i].date + '年1季度');
|
|
|
- xdata.push(list[i].date + '年1-2季度');
|
|
|
- xdata.push(list[i].date + '年1-3季度');
|
|
|
}
|
|
|
for (var j = 0; j < subData.length; j++) {
|
|
|
if (obj.data.type == subData[j].type) {
|
|
@@ -688,8 +678,6 @@ function getFinancial(obj, myChart) {
|
|
|
xdata.push(list[i].date + '年1-4季度');
|
|
|
} else {
|
|
|
xdata.push(list[i].date + '年1季度');
|
|
|
- xdata.push(list[i].date + '年1-2季度');
|
|
|
- xdata.push(list[i].date + '年1-3季度');
|
|
|
}
|
|
|
|
|
|
for (var j = 0; j < subData.length; j++) {
|
|
@@ -741,8 +729,6 @@ function getFinancial(obj, myChart) {
|
|
|
}
|
|
|
} else {
|
|
|
str += '<th>' + list[j].date + '第一至一季度</th>'
|
|
|
- str += '<th>' + list[j].date + '第一至二季度</th>'
|
|
|
- str += '<th>' + list[j].date + '第一至三季度</th>'
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -770,8 +756,6 @@ function getBank(obj, myChart) {
|
|
|
xdata.push(list[i].date + '年1-4季度');
|
|
|
} else {
|
|
|
xdata.push(list[i].date + '年1季度');
|
|
|
- xdata.push(list[i].date + '年1-2季度');
|
|
|
- xdata.push(list[i].date + '年1-3季度');
|
|
|
}
|
|
|
for (var j = 0; j < subData.length; j++) {
|
|
|
if (obj.data.type == subData[j].type) {
|
|
@@ -845,8 +829,6 @@ function getIndustryByType(obj, myChart) {
|
|
|
xdata.push(list[i].date + '年1-4季度');
|
|
|
} else {
|
|
|
xdata.push(list[i].date + '年1季度');
|
|
|
- xdata.push(list[i].date + '年1-2季度');
|
|
|
- xdata.push(list[i].date + '年1-3季度');
|
|
|
}
|
|
|
|
|
|
for (var j = 0; j < subData.length; j++) {
|
|
@@ -913,8 +895,6 @@ function getIndustryByTypeAll(list, obj) {
|
|
|
xdata.push(list[i].date + '年1-4季度');
|
|
|
} else {
|
|
|
xdata.push(list[i].date + '年1季度');
|
|
|
- xdata.push(list[i].date + '年1-2季度');
|
|
|
- xdata.push(list[i].date + '年1-3季度');
|
|
|
}
|
|
|
for (var j = 0; j < subData.length; j++) {
|
|
|
if (obj.type == subData[j].type) {
|
|
@@ -958,8 +938,6 @@ function getScaleByTypeAll(list, obj) {
|
|
|
xdata.push(list[i].date + '年1-4季度');
|
|
|
} else {
|
|
|
xdata.push(list[i].date + '年1季度');
|
|
|
- xdata.push(list[i].date + '年1-2季度');
|
|
|
- xdata.push(list[i].date + '年1-3季度');
|
|
|
}
|
|
|
for (var j = 0; j < subData.length; j++) {
|
|
|
if (obj.type == subData[j].type) {
|
|
@@ -1526,16 +1504,18 @@ function getOtherBar(list, unit) {
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
- for (var j = 1; j <= 3; j++) {
|
|
|
- var str = ' ';
|
|
|
- if (j == 1) {
|
|
|
str = list[i].date + '年' + ' ' + '第1季度';
|
|
|
dateNum.push(str);
|
|
|
- } else {
|
|
|
- str = list[i].date + '年' + ' ' + '第1~' + j + '季度';
|
|
|
- dateNum.push(str);
|
|
|
- }
|
|
|
- }
|
|
|
+ // for (var j = 1; j <= 3; j++) {
|
|
|
+ // var str = ' ';
|
|
|
+ // if (j == 1) {
|
|
|
+ // str = list[i].date + '年' + ' ' + '第1季度';
|
|
|
+ // dateNum.push(str);
|
|
|
+ // } else {
|
|
|
+ // str = list[i].date + '年' + ' ' + '第1~' + j + '季度';
|
|
|
+ // dateNum.push(str);
|
|
|
+ // }
|
|
|
+ // }
|
|
|
}
|
|
|
|
|
|
|