| | |
| | | const option = { |
| | | color: ['#FF5151', '#51FF5D', '#FFD151'], |
| | | title: { |
| | | text: '历年全市居民人均可支配收入分析图', |
| | | text: '近一年事业数量变化趋势图', |
| | | left: 'center', |
| | | top: '5%', |
| | | textStyle: { |
| | |
| | | }, |
| | | series: [ |
| | | { |
| | | name: '居民人均可支配收入', |
| | | name: '全市', |
| | | type: 'line', |
| | | data: this.echartSeries.quanshi |
| | | }, |
| | | { |
| | | name: '城镇居民', |
| | | name: '市直', |
| | | type: 'line', |
| | | data: this.echartSeries.shizhi |
| | | }, |
| | | { |
| | | name: '农村居民', |
| | | name: '县(市、区)', |
| | | type: 'line', |
| | | data: this.echartSeries.xian |
| | | } |
| | |
| | | this.selectIndex.type = index + 1 |
| | | this.getUnitLine() |
| | | this.Init_echarts() |
| | | // switch(index){ |
| | | // case 0: |
| | | // this.isShow = true; |
| | | // this.getUnitLine() |
| | | // this.Init_echarts() |
| | | // break; |
| | | // // case 1: |
| | | // // this.getUnitLine() |
| | | // // this.Init_echarts() |
| | | // // console.log('我是1'); |
| | | // // break; |
| | | // default: |
| | | // this.isShow = false; |
| | | // break; |
| | | // } |
| | | }, |
| | | // 29. 查询事业单位人员情况表格数据接口 |
| | | getPersonTable() { |