智慧农业大数据平台
guoshilong
2022-10-24 9b833abc83546891b3d213cf25028b3c1a1ec8f7
修改经营概况,农资投入单位换算
1 files modified
6 ■■■■ changed files
src/views/manage/index.vue 6 ●●●● patch | view | raw | blame | history
src/views/manage/index.vue
@@ -1054,9 +1054,6 @@
            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++){
@@ -1539,6 +1536,9 @@
            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")