| | |
| | | <el-tab-pane label="总览" name="1"> |
| | | <shebaoZhengjiShouruTotal :totalTableData="totalTableData"></shebaoZhengjiShouruTotal> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="失业再就业" name="2"> |
| | | <shebaoZhengjiShouruForm :tableData="tableData"></shebaoZhengjiShouruForm> |
| | | <el-tab-pane label="企业职工养老保险" name="2"> |
| | | <shebaoZhengjiShouruForm :tableData="tableData" label="在职职工(人)" type="1"></shebaoZhengjiShouruForm> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="就业困难人员再就业" name="3"> |
| | | <shebaoZhengjiShouruForm :tableData="tableData"></shebaoZhengjiShouruForm> |
| | | <el-tab-pane label="城乡居民养老保险" name="3"> |
| | | <shebaoZhengjiShouruForm :tableData="tableData" label="参保人数(人)" type="3"></shebaoZhengjiShouruForm> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="登记失业率" name="4"> |
| | | <shebaoZhengjiShouruForm :tableData="tableData"></shebaoZhengjiShouruForm> |
| | | <el-tab-pane label="失业保险" name="4"> |
| | | <shebaoZhengjiShouruForm :tableData="tableData" label="参保人数(人)" type="4"></shebaoZhengjiShouruForm> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="工伤保险" name="5"> |
| | | <shebaoZhengjiShouruForm :tableData="tableData" label="参保人数(人)" type="5"></shebaoZhengjiShouruForm> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | |
| | | totalTableData: [], |
| | | tableData: [], |
| | | activeName: '1', |
| | | tabMenuList: [{ |
| | | name: '总览', |
| | | id: 1 |
| | | },{ |
| | | name: '企业职工养老保险', |
| | | id: 2 |
| | | },{ |
| | | name: '城乡居民养老保险', |
| | | id: 3 |
| | | },{ |
| | | name: '工伤保险', |
| | | id: 4 |
| | | },{ |
| | | name: '失业保险', |
| | | id: 5 |
| | | }] |
| | | type:'1', |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.getFundincomeTable() |
| | | this.getAverageTable() |
| | | |
| | | }, |
| | | methods: { |
| | | getFundincomeTable() { |
| | |
| | | }) |
| | | }, |
| | | getAverageTable() { |
| | | getAverageTable().then(res => { |
| | | getAverageTable({type: this.type}).then(res => { |
| | | if(res.code == 1000) { |
| | | this.tableData = res.list |
| | | } |
| | | }) |
| | | }, |
| | | tabHandleClick(tab) { |
| | | |
| | | console.log('tab------',tab) |
| | | this.type = tab.name |
| | | this.getAverageTable() |
| | | } |
| | | } |
| | | } |