| | |
| | | import XLSX from "xlsx"; |
| | | import { mapGetters } from "vuex"; |
| | | import { selectJj } from "../../api/securityUnitOperation/securityUnitOperation"; |
| | | import { lazyTreeJu } from "../../api/index/index"; |
| | | import { lazyTreeJu,lazyTrees } from "../../api/index/index"; |
| | | export default { |
| | | name: "公司经济情况智能分析详情表", |
| | | data() { |
| | |
| | | currentPage: 1, |
| | | total: 0 |
| | | }, |
| | | query:{}, |
| | | query: {}, |
| | | value1: "", |
| | | value2: "", |
| | | tableData: [ |
| | |
| | | prop: "enterpriseName", |
| | | search: true, |
| | | searchSpan: 4, |
| | | width:300, |
| | | display: false |
| | | }, |
| | | { |
| | |
| | | { |
| | | label: "社保缴纳总额(万)", |
| | | prop: "sbcount", |
| | | display: false |
| | | display: false, |
| | | formatter: function(row, value) { |
| | | return (value = value / 10000); |
| | | } |
| | | }, |
| | | { |
| | | label: "公司派遣人数", |
| | |
| | | display: false |
| | | }, |
| | | { |
| | | label: "社保缴纳人数占比(%)", |
| | | label: "社保缴纳人数占比", |
| | | prop: "zb", |
| | | display: false |
| | | display: false, |
| | | formatter: function(row, value) { |
| | | return (value = value * 100 + "%"); |
| | | } |
| | | }, |
| | | { |
| | | label: "备注", |
| | |
| | | } |
| | | ], |
| | | subofficeValue: "0", |
| | | subofficeOptions: [ |
| | | { |
| | | value: "0", |
| | | label: "南昌市公安局" |
| | | }, |
| | | { |
| | | value: "2", |
| | | label: "东湖分局" |
| | | }, |
| | | { |
| | | value: "3", |
| | | label: "西湖分局" |
| | | }, |
| | | { |
| | | value: "4", |
| | | label: "青云谱分局" |
| | | }, |
| | | { |
| | | value: "5", |
| | | label: "青山湖分局" |
| | | } |
| | | ], |
| | | companyName: "", |
| | | loading: true |
| | | }; |
| | |
| | | }); |
| | | }, |
| | | getSubOfficeData() { |
| | | lazyTreeJu().then(res => { |
| | | lazyTrees().then(res => { |
| | | if (res.data.code === 200) { |
| | | this.tableOption.column.forEach(item => { |
| | | if (item.label == "所属辖区") { |
| | |
| | | } |
| | | let jurisdiction = object["jurisdiction1"] || ""; |
| | | let enterpriseName = object["enterpriseName"] || ""; |
| | | let obj = { jurisdiction: jurisdiction, enterpriseName: enterpriseName }; |
| | | this.onLoad(this.page, obj); |
| | | this.query = { |
| | | jurisdiction: jurisdiction, |
| | | enterpriseName: enterpriseName |
| | | }; |
| | | this.onLoad(this.page, this.query); |
| | | } |
| | | }, |
| | | mounted() { |