智慧农业大数据平台
zengh
2022-07-11 b19ac7f3347b0d82a685b4bb5387a9ea8ecd1337
市场流通
1 files modified
6 ■■■■ changed files
src/views/manage/index.vue 6 ●●●● patch | view | raw | blame | history
src/views/manage/index.vue
@@ -316,11 +316,8 @@
                const that = this
                const chartDom = document.getElementById(dom)
                const myChart = this.$echarts.init(chartDom)
               var x = []
               var y = []
                for (let i = 0; i < that.taskNum.length; i++) {
                    x.push(that.taskNum[i].y)
                    y.push(that.taskNum[i].count)
                }
@@ -334,7 +331,7 @@
                    },
                    xAxis: {
                        type: 'category',
                        data: x,
                        data: ['已完成', '未完成', '超期完成'],
                        axisLine: {
                            lineStyle: {
                                color: 'rgba(153,153,153,.4)'
@@ -349,7 +346,6 @@
                        }
                    },
                    yAxis: {
                        max: 50,
                        name: '(次)',
                        nameTextStyle: {
                            color: 'rgba(255,255,255,.4)'