| | |
| | | export const getCardNumsTable = (params) => { |
| | | return postRequest('/ybg/webservice/app/social/getCardNumsTable.do',params) |
| | | } |
| | | |
| | | // 35. 查询历年社保基金数据分析图数据接口 |
| | | export const getStatisticsChart = (params) => { |
| | | return postRequest('/ybg/webservice/app/social/getStatisticsChart.do',params) |
| | | } |
| | |
| | | |
| | | <script> |
| | | import nowSize from "../../../../libs/nowSize"; |
| | | import {getStatisticsTable} from '@/api/shehuiBaozhang' |
| | | import {getStatisticsTable,getStatisticsChart } from '@/api/shehuiBaozhang' |
| | | export default { |
| | | name: "shebaoShouzhiZongbiao", |
| | | data() { |
| | | return { |
| | | tableHead:[], |
| | | tableData:[], |
| | | headerArry:[] |
| | | headerArry:[], |
| | | echartsSeries:{} |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.getStatisticsTable() |
| | | this.shebaoShouzhiZongbiaoEcharts() |
| | | this.getStatisticsChart() |
| | | }, |
| | | methods: { |
| | | getStatisticsTable() { |
| | |
| | | top: '15%', |
| | | left: '4%', |
| | | right: '18%', |
| | | bottom: '3%', |
| | | bottom: '9%', |
| | | containLabel: true |
| | | }, |
| | | xAxis: { |
| | | type: 'category', |
| | | boundaryGap: false, |
| | | data: ['2021/4', '2021/5', '2021/6', '2021/7', '2021/8', '2021/9', '2021/10'], |
| | | data: this.echartsSeries.years, |
| | | axisLabel: { |
| | | show: true, |
| | | textStyle: { |
| | |
| | | { |
| | | name: '年累计总收入', |
| | | type: 'line', |
| | | data: [370, 332, 401, 534, 490, 530, 910] |
| | | data: this.echartsSeries.income |
| | | }, |
| | | { |
| | | name: '年累计支出', |
| | | type: 'line', |
| | | data: [220, 182, 191, 234, 290, 330, 310] |
| | | data: this.echartsSeries.pay |
| | | }, |
| | | { |
| | | name: '年累计征缴收入', |
| | | type: 'line', |
| | | data: [150, 132, 201, 154, 190, 330, 410] |
| | | data: this.echartsSeries.taxes |
| | | }, |
| | | { |
| | | name: '年累计结余', |
| | | type: 'line', |
| | | data: [350, 112, 209, 164, 290, 310, 400] |
| | | data:this.echartsSeries.balance |
| | | } |
| | | ] |
| | | }; |
| | |
| | | return { background:'#51D2FF' } |
| | | } |
| | | }, |
| | | //35. 查询历年社保基金数据分析图数据接口 |
| | | getStatisticsChart() { |
| | | getStatisticsChart().then(res => { |
| | | if(res.code ===1000){ |
| | | this.echartsSeries = res.obj |
| | | this.shebaoShouzhiZongbiaoEcharts() |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | </script> |