|
|
|
@ -81,9 +81,9 @@ $(function () {
|
|
|
|
|
// console.log(getData(), 'test111111')
|
|
|
|
|
var data2018 = []
|
|
|
|
|
$.when(
|
|
|
|
|
getData('A012', '2018', 'json'),
|
|
|
|
|
getData('A012', '2019', 'json'),
|
|
|
|
|
getData('A012', '2020', 'json')
|
|
|
|
|
getData('A012', '2020', 'json'),
|
|
|
|
|
getData('A012', '2021', 'json')
|
|
|
|
|
|
|
|
|
|
).done(function (a1, a2, a3) {
|
|
|
|
|
// console.log(JSON.parse(a1[0].result), 'test 2018')
|
|
|
|
@ -96,7 +96,7 @@ $(function () {
|
|
|
|
|
// console.log(data2018, 'data2018')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const year = ['2018', '2019', '2020']
|
|
|
|
|
const year = ['2019', '2020', '2021']
|
|
|
|
|
const product = ['product']
|
|
|
|
|
year.map((e, i) => {
|
|
|
|
|
product.push(e)
|
|
|
|
@ -275,9 +275,9 @@ $(function () {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$.when(
|
|
|
|
|
getData('A017', '2018', 'json'),
|
|
|
|
|
getData('A017', '2019', 'json'),
|
|
|
|
|
getData('A017', '2020', 'json')
|
|
|
|
|
getData('A017', '2020', 'json'),
|
|
|
|
|
getData('A017', '2021', 'json')
|
|
|
|
|
|
|
|
|
|
).done(function (a1, a2, a3) {
|
|
|
|
|
// console.log(JSON.parse(a1[0].result), 'test 2018')
|
|
|
|
@ -288,7 +288,7 @@ $(function () {
|
|
|
|
|
data2019 = JSON.parse(a2[0].result)
|
|
|
|
|
data2020 = JSON.parse(a3[0].result)
|
|
|
|
|
|
|
|
|
|
const year = ['2018', '2019', '2020']
|
|
|
|
|
const year = ['2019', '2020', '2021']
|
|
|
|
|
const product = ['product']
|
|
|
|
|
year.map((e, i) => {
|
|
|
|
|
product.push(e)
|
|
|
|
@ -452,9 +452,9 @@ $(function () {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$.when(
|
|
|
|
|
getData('A016', '2018', 'json'),
|
|
|
|
|
getData('A016', '2019', 'json'),
|
|
|
|
|
getData('A016', '2020', 'json')
|
|
|
|
|
getData('A016', '2020', 'json'),
|
|
|
|
|
getData('A016', '2021', 'json')
|
|
|
|
|
|
|
|
|
|
).done(function (a1, a2, a3) {
|
|
|
|
|
// console.log(JSON.parse(a1[0].result), 'test 2018')
|
|
|
|
@ -638,9 +638,9 @@ $(function () {
|
|
|
|
|
function echarts_3_cz() {
|
|
|
|
|
|
|
|
|
|
$.when(
|
|
|
|
|
getData('A016', '2018', 'json'),
|
|
|
|
|
getData('A016', '2019', 'json'),
|
|
|
|
|
getData('A016', '2020', 'json')
|
|
|
|
|
getData('A016', '2020', 'json'),
|
|
|
|
|
getData('A016', '2021', 'json')
|
|
|
|
|
|
|
|
|
|
).done(function (a1, a2, a3) {
|
|
|
|
|
// console.log(JSON.parse(a1[0].result), 'test 2018')
|
|
|
|
@ -826,9 +826,9 @@ $(function () {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$.when(
|
|
|
|
|
getData('A016', '2018', 'json'),
|
|
|
|
|
getData('A016', '2019', 'json'),
|
|
|
|
|
getData('A016', '2020', 'json')
|
|
|
|
|
getData('A016', '2020', 'json'),
|
|
|
|
|
getData('A016', '2021', 'json')
|
|
|
|
|
|
|
|
|
|
).done(function (a1, a2, a3) {
|
|
|
|
|
// console.log(JSON.parse(a1[0].result), 'test 2018')
|
|
|
|
@ -1015,9 +1015,9 @@ $(function () {
|
|
|
|
|
// console.log(getData(), 'test111111')
|
|
|
|
|
|
|
|
|
|
$.when(
|
|
|
|
|
getData('A013', '2018', 'json'),
|
|
|
|
|
getData('A013', '2019', 'json'),
|
|
|
|
|
getData('A013', '2020', 'json')
|
|
|
|
|
getData('A013', '2020', 'json'),
|
|
|
|
|
getData('A013', '2021', 'json')
|
|
|
|
|
|
|
|
|
|
).done(function (a1, a2, a3) {
|
|
|
|
|
console.log(JSON.parse(a1[0].result), 'test 2018')
|
|
|
|
@ -1030,7 +1030,7 @@ $(function () {
|
|
|
|
|
|
|
|
|
|
console.log(data2018, data2019, data2020)
|
|
|
|
|
|
|
|
|
|
const year = ['2018', '2019', '2020']
|
|
|
|
|
const year = ['2019', '2020', '2021']
|
|
|
|
|
const product = ['product']
|
|
|
|
|
year.map((e, i) => {
|
|
|
|
|
product.push(e)
|
|
|
|
@ -1086,7 +1086,7 @@ $(function () {
|
|
|
|
|
color: "rgba(255,255,255,.6)",
|
|
|
|
|
},
|
|
|
|
|
top: 0,
|
|
|
|
|
data: ['2018', '2019', '2020']
|
|
|
|
|
data: ['2019', '2020', '2021']
|
|
|
|
|
},
|
|
|
|
|
label: {
|
|
|
|
|
show: true,
|
|
|
|
@ -1217,9 +1217,9 @@ $(function () {
|
|
|
|
|
// console.log(getData(), 'test111111')
|
|
|
|
|
|
|
|
|
|
$.when(
|
|
|
|
|
getData('A013', '2018', 'json'),
|
|
|
|
|
getData('A013', '2019', 'json'),
|
|
|
|
|
getData('A013', '2020', 'json')
|
|
|
|
|
getData('A013', '2020', 'json'),
|
|
|
|
|
getData('A013', '2021', 'json')
|
|
|
|
|
|
|
|
|
|
).done(function (a1, a2, a3) {
|
|
|
|
|
console.log(JSON.parse(a1[0].result), 'test 2018')
|
|
|
|
@ -1232,7 +1232,7 @@ $(function () {
|
|
|
|
|
|
|
|
|
|
console.log(data2018, data2019, data2020)
|
|
|
|
|
|
|
|
|
|
const year = ['2018', '2019', '2020']
|
|
|
|
|
const year = ['2019', '2020', '2021']
|
|
|
|
|
const product = ['product']
|
|
|
|
|
year.map((e, i) => {
|
|
|
|
|
product.push(e)
|
|
|
|
@ -1288,7 +1288,7 @@ $(function () {
|
|
|
|
|
color: "rgba(255,255,255,.6)",
|
|
|
|
|
},
|
|
|
|
|
top: 0,
|
|
|
|
|
data: ['2018', '2019', '2020']
|
|
|
|
|
data: ['2019', '2020', '2021']
|
|
|
|
|
},
|
|
|
|
|
label: {
|
|
|
|
|
show: true,
|
|
|
|
@ -1419,9 +1419,9 @@ $(function () {
|
|
|
|
|
// console.log(getData(), 'test111111')
|
|
|
|
|
|
|
|
|
|
$.when(
|
|
|
|
|
getData('A013', '2018', 'json'),
|
|
|
|
|
getData('A013', '2019', 'json'),
|
|
|
|
|
getData('A013', '2020', 'json')
|
|
|
|
|
getData('A013', '2020', 'json'),
|
|
|
|
|
getData('A013', '2021', 'json')
|
|
|
|
|
|
|
|
|
|
).done(function (a1, a2, a3) {
|
|
|
|
|
console.log(JSON.parse(a1[0].result), 'test 2018')
|
|
|
|
|