| src/views/manage/index.vue | ●●●●● 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)'