| | |
| | | import * as echarts from 'echarts' |
| | | import { weeks } from '@/utils/config' |
| | | import { |
| | | getWorkbenchBody, |
| | | getWorkbenchHead, |
| | | getWorkbenchData, |
| | | getAppHeaderNav |
| | | } from '@/api' |
| | | const colors = ['#52a4f7', '#7678f7', '#5fc6d5'] |
| | |
| | | this.initEchart4() |
| | | }, |
| | | getWorkBody() { |
| | | getWorkbenchBody() |
| | | getWorkbenchData({queryType: 2}) |
| | | }, |
| | | getWorkHead() { |
| | | getWorkbenchHead() |
| | | getWorkbenchData({queryType: 1}) |
| | | }, |
| | | initEchart1() { |
| | | const myChart = echarts.init(document.getElementById('echart1')) |
| | |
| | | symbol: 'circle', |
| | | symbolSize: 10, |
| | | itemStyle: { |
| | | normal: { |
| | | color: '#207FF7' // 折线点的颜色 |
| | | } |
| | | borderWidth: 1, |
| | | borderColor: '#fff', |
| | | color: '#207FF7' |
| | | }, |
| | | smooth: false |
| | | } |
| | |
| | | symbol: 'circle', |
| | | symbolSize: 10, |
| | | itemStyle: { |
| | | normal: { |
| | | color: '#42D49D' // 折线点的颜色 |
| | | } |
| | | borderWidth: 1, |
| | | borderColor: '#fff', |
| | | color: '#42D49D' // 折线点的颜色 |
| | | }, |
| | | smooth: false |
| | | } |