| | |
| | | import FileSaver from "file-saver"; |
| | | import XLSX from "xlsx"; |
| | | import { mapGetters } from "vuex"; |
| | | import { selectYw } from "../../api/statisticalQueryManagement/statisticalQueryManagement"; |
| | | import { |
| | | selectYw, |
| | | dictionaryList |
| | | } from "../../api/statisticalQueryManagement/statisticalQueryManagement"; |
| | | import { lazyTreeJu } from "../../api/index/index"; |
| | | export default { |
| | | name: "业务情况统计", |
| | |
| | | searchSpan: 4, |
| | | display: false |
| | | }, |
| | | |
| | | { |
| | | label: "单位类型", |
| | | prop: "stats", |
| | | search: true, |
| | | searchSpan: 4, |
| | | display: false, |
| | | type: "select", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | | }, |
| | | dicData: [] |
| | | }, |
| | | { |
| | | label: "所属辖区", |
| | | prop: "jurname", |
| | |
| | | } |
| | | }); |
| | | }, |
| | | getDictionaryList() { |
| | | dictionaryList().then(res => { |
| | | if (res.data.code === 200) { |
| | | this.tableOption.column.forEach(item => { |
| | | if (item.label == "单位类型") { |
| | | item.dicData = res.data.data; |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | | searchChange(params, done) { |
| | | this.query = params; |
| | | this.page.currentPage = 1; |
| | |
| | | onLoad(page, params = {}) { |
| | | this.loading = true; |
| | | let param = {}; |
| | | param["jurisdiction"] = params["jurname"] ? params["jurname"] : ""; |
| | | param["deptid"] = params["enterpriseName"] |
| | | ? params["enterpriseName"] |
| | | : ""; |
| | | param["jurisdiction"] = params["jurname"] || ""; |
| | | param["deptid"] = params["enterpriseName"] || ""; |
| | | param["stats"] = params["stats"] || ""; |
| | | param["current"] = page.currentPage; |
| | | param["size"] = page.pageSize; |
| | | selectYw(param).then(res => { |
| | |
| | | }, |
| | | mounted() { |
| | | this.getSubOfficeData(); |
| | | this.getDictionaryList(); |
| | | } |
| | | }; |
| | | </script> |