| | |
| | | const myChart = this.$echarts.init(chartDom) |
| | | myChart.clear() |
| | | var temp = deepClone(this.nztr) |
| | | temp.forEach(e=>{ |
| | | e.cnum = unitConversion(e.cnum,e.specsValue1) |
| | | }) |
| | | let idArr = [] //相同id放在同一数组中 |
| | | let resultArr = [] //最终结果数组 |
| | | for(let i = 0;i < temp.length; i++){ |
| | |
| | | params.year = e |
| | | pageCountNz(Object.assign(params)).then((res) => { |
| | | this.nztr = res.data.data.records |
| | | this.nztr.forEach(e=>{ |
| | | e.cnum = unitConversion(e.cnum,e.specsValue1) |
| | | }) |
| | | this.nztrAll = res.data.data.records |
| | | // 投入品监管图表 |
| | | // this.initTrpBar("TrpEcharts") |