Merge branch 'master' of http://192.168.0.105:10010/r/zhba_regulatory
| | |
| | | }); |
| | | }; |
| | | |
| | | // 单位类型 |
| | | export const dictionaryList = () => { |
| | | return request({ |
| | | url: "/api/blade-system/dict-biz/dictionary?code=stats", |
| | | method: "get", |
| | | }); |
| | | }; |
| | | |
| | |
| | | } |
| | | .leftEchartTitle4 { |
| | | margin-top: 37px; |
| | | right: 22px; |
| | | right: 36px; |
| | | .block1 { |
| | | background: #ffb980; |
| | | } |
| | | span:nth-child(2) { |
| | | width: 77px; |
| | | } |
| | | span:nth-child(3) { |
| | | color: #ffb980; |
| | |
| | | height: 77%; |
| | | } |
| | | } |
| | | |
| | |
| | | </div> |
| | | <div class="leftEchartTitle leftEchartTitle3"> |
| | | <div class="block1"></div> |
| | | <span>保安服务公司</span> |
| | | <span>本市保安公司</span> |
| | | <span>{{ leftData.fw }}</span> |
| | | <span>个</span> |
| | | </div> |
| | |
| | | </div> --> |
| | | <div class="leftEchartTitle leftEchartTitle4"> |
| | | <div class="block1"></div> |
| | | <span>跨区域保安公司</span> |
| | | <span>分公司</span> |
| | | <span>{{ leftData.kqy }}</span> |
| | | <span>个</span> |
| | | </div> |
| | |
| | | return "警告"; |
| | | } else if (row.punishtype === "1") { |
| | | return "罚款"; |
| | | }else if (row.punishtype === "2") { |
| | | } else if (row.punishtype === "2") { |
| | | return "没收违法所得"; |
| | | }else if (row.punishtype === "3") { |
| | | } else if (row.punishtype === "3") { |
| | | return "没收非法财物"; |
| | | }else if (row.punishtype === "4") { |
| | | } else if (row.punishtype === "4") { |
| | | return "责令停止施工"; |
| | | }else if (row.punishtype === "5") { |
| | | } else if (row.punishtype === "5") { |
| | | return "责令停止使用"; |
| | | }else if (row.punishtype === "6") { |
| | | } else if (row.punishtype === "6") { |
| | | return "责令停止违法行为"; |
| | | }else if (row.punishtype === "7") { |
| | | } else if (row.punishtype === "7") { |
| | | return "责令停业"; |
| | | } |
| | | }, |
| | |
| | | let params = { |
| | | current: this.gridData.current, |
| | | size: 10, |
| | | jurisdiction: this.value1 |
| | | jurisdiction: this.value2 |
| | | }; |
| | | punishList(params).then(res => { |
| | | if (res.data.code === 200) { |
| | |
| | | }, |
| | | // 公司受处罚数量 |
| | | getPunishNum() { |
| | | selectCf({ jurisdiction: this.value2 }).then(res => { |
| | | // selectCf({ jurisdiction: this.value2 }).then(res => { |
| | | // if (res.data.code === 200) { |
| | | // this.rightData.punishNum = res.data.data.count; |
| | | // } else { |
| | | // this.$message.error(res.msg); |
| | | // } |
| | | // this.right2loading = false; |
| | | // }); |
| | | let params = { |
| | | current: this.gridData.current, |
| | | size: 10, |
| | | jurisdiction: this.value2 |
| | | }; |
| | | punishList(params).then(res => { |
| | | if (res.data.code === 200) { |
| | | this.rightData.punishNum = res.data.data.count; |
| | | } else { |
| | | this.$message.error(res.msg); |
| | | this.gridData.data = res.data.data.records; |
| | | this.gridData.total = res.data.data.total; |
| | | this.rightData.punishNum = res.data.data.total; |
| | | } |
| | | this.right2loading = false; |
| | | this.dialogloading = false; |
| | | }); |
| | | }, |
| | | // 经营不善 |
| | |
| | | data: data2 |
| | | }, |
| | | { |
| | | name: "保安服务公司", |
| | | name: "本市保安公司", |
| | | type: "bar", |
| | | stack: "total", |
| | | emphasis: { |
| | |
| | | data: data4 |
| | | }, |
| | | { |
| | | name: "跨区域保安公司", |
| | | name: "分公司", |
| | | type: "bar", |
| | | stack: "total", |
| | | emphasis: { |
| | |
| | | prop: "enterpriseName", |
| | | search: true, |
| | | searchSpan: 4, |
| | | width:300, |
| | | display: false |
| | | }, |
| | | { |
| | |
| | | prop: "enterpriseName", |
| | | search: true, |
| | | searchSpan: 4, |
| | | width:300, |
| | | display: false |
| | | }, |
| | | { |
| | |
| | | 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> |
| | |
| | | // dateBtn: true, |
| | | align: "center", |
| | | height: "auto", |
| | | calcHeight: 90, |
| | | calcHeight: 30, |
| | | tip: false, |
| | | searchShowBtn: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | | searchMenuSpan: 3, |
| | | index: true, |
| | | viewBtn: true, |
| | | dialogClickModal: false, |
| | | column: [ |
| | | { |
| | | label: "保安姓名", |
| | | searchLabelWidth: 110, |
| | | // searchLabelWidth: 90, |
| | | prop: "real_name", |
| | | search: true, |
| | | searchSpan: 4, |
| | | searchSpan: 3, |
| | | display: false |
| | | }, |
| | | { |
| | | label: "所属保安公司", |
| | | prop: "enterpriseName", |
| | | width: 300, |
| | | display: false |
| | | }, |
| | | |
| | | { |
| | | label: "保安证编号", |
| | | prop: "securitynumber", |
| | | width: 180, |
| | | display: false |
| | | }, |
| | | { |
| | | label: "身份证号", |
| | | prop: "cardid", |
| | | width: 180, |
| | | display: false |
| | | }, |
| | | { |
| | | label: "联系方式", |
| | | prop: "phone", |
| | | width: 180, |
| | | display: false |
| | | }, |
| | | { |
| | | label: "是否持证", |
| | | prop: "hold", |
| | | searchSpan: 4, |
| | | searchSpan: 3, |
| | | type: "select", |
| | | props: { |
| | | label: "label", |
| | |
| | | { |
| | | label: "是否缴纳社保", |
| | | // labelWidth: 120, |
| | | searchLabelWidth: 110, |
| | | searchLabelWidth: 100, |
| | | prop: "soil", |
| | | searchSpan: 4, |
| | | type: "select", |
| | |
| | | }, |
| | | { |
| | | label: "资格审查情况", |
| | | searchLabelWidth: 110, |
| | | searchLabelWidth: 100, |
| | | prop: "examination_type", |
| | | searchSpan: 4, |
| | | type: "select", |
| | |
| | | { |
| | | label: "是否派遣", |
| | | prop: "dispatch", |
| | | searchSpan: 4, |
| | | searchSpan: 3, |
| | | type: "select", |
| | | props: { |
| | | label: "label", |
| | |
| | | }, |
| | | companyName: "", |
| | | loading: true, |
| | | deptid:'' |
| | | deptid: "" |
| | | }; |
| | | }, |
| | | computed: { |
| | |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | |
| | | |
| | | getLocationParams() { |
| | | let url = window.location.href; |
| | | let urlArr = url.split("?")[1].split("&"); |
| | |
| | | }; |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | /deep/ .avue-crud__menu { |
| | | height: 130px !important; |
| | | } |
| | | // /deep/ .avue-crud__menu { |
| | | // height: 130px !important; |
| | | // } |
| | | </style> |
| | |
| | | prop: "realName", |
| | | search: true, |
| | | searchSpan: 4, |
| | | display: false, |
| | | width: 78 |
| | | display: false |
| | | }, |
| | | { |
| | | label: "性别", |
| | |
| | | } |
| | | ], |
| | | slot: true, |
| | | display: false, |
| | | width: 48 |
| | | display: false |
| | | }, |
| | | { |
| | | label: "保安公司", |
| | | prop: "deptName", |
| | | // width: 120, |
| | | width: 300, |
| | | // search: true, |
| | | // searchSpan: 4, |
| | | overHidden: true, |
| | |
| | | prop: "securitynumber", |
| | | display: false, |
| | | searchSpan: 5, |
| | | searchLabelWidth: 110 |
| | | searchLabelWidth: 110, |
| | | width: 180 |
| | | // search: true, |
| | | }, |
| | | { |
| | |
| | | prop: "cardid", |
| | | slot: true, |
| | | display: false, |
| | | width: 145 |
| | | width: 180 |
| | | }, |
| | | { |
| | | label: "联系方式", |
| | | prop: "phone", |
| | | slot: true, |
| | | display: false, |
| | | width: 100 |
| | | width: 180 |
| | | }, |
| | | { |
| | | label: "联系地址", |
| | | prop: "address", |
| | | slot: true, |
| | | display: false, |
| | | hide: true |
| | | }, |
| | | // { |
| | | // label: "联系地址", |
| | | // prop: "address", |
| | | // slot: true, |
| | | // display: false, |
| | | // hide: true |
| | | // }, |
| | | { |
| | | label: "入职时间", |
| | | prop: "rtime", |
| | | slot: true, |
| | | display: false, |
| | | width: 82 |
| | | width: 180 |
| | | }, |
| | | { |
| | | label: "所属角色", |
| | | prop: "roleName", |
| | | slot: true, |
| | | display: false, |
| | | width: 78, |
| | | hide: true |
| | | }, |
| | | // { |
| | | // label: "所属角色", |
| | | // prop: "roleName", |
| | | // slot: true, |
| | | // display: false, |
| | | // width: 78, |
| | | // hide: true |
| | | // }, |
| | | |
| | | // { |
| | | // label: "所属辖区", |
| | |
| | | ], |
| | | slot: true, |
| | | display: false, |
| | | width: 70 |
| | | }, |
| | | { |
| | | label: "是否持证", |
| | |
| | | ], |
| | | slot: true, |
| | | display: false, |
| | | width: 70 |
| | | } |
| | | ] |
| | | }, |
| | |
| | | import FileSaver from "file-saver"; |
| | | import XLSX from "xlsx"; |
| | | import { mapGetters } from "vuex"; |
| | | import { selectLi } from "../../api/statisticalQueryManagement/statisticalQueryManagement"; |
| | | import { |
| | | selectLi, |
| | | dictionaryList |
| | | } from "../../api/statisticalQueryManagement/statisticalQueryManagement"; |
| | | import { lazyTreeJu } from "../../api/index/index"; |
| | | export default { |
| | | name: "业务情况统计", |
| | |
| | | prop: "deptname", |
| | | search: true, |
| | | searchSpan: 4, |
| | | width: 300, |
| | | display: false |
| | | }, |
| | | { |
| | | label: "单位类型", |
| | | prop: "stats", |
| | | search: true, |
| | | searchSpan: 4, |
| | | display: false, |
| | | type: "select", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | | }, |
| | | dicData: [] |
| | | }, |
| | | { |
| | | label: "所属辖区", |
| | | prop: "jurname", |
| | | searchSpan: 4, |
| | | type: "select", |
| | | type: "tree", |
| | | props: { |
| | | label: "title", |
| | | value: "value" |
| | |
| | | if (res.data.code === 200) { |
| | | this.tableOption.column.forEach(item => { |
| | | if (item.label == "所属辖区") { |
| | | // let data = res.data.data; |
| | | item.dicData = res.data.data; |
| | | } |
| | | }); |
| | | } else { |
| | | this.$message.error(res.msg); |
| | | } |
| | | }); |
| | | }, |
| | | // searchChildren(data) { |
| | | // data.forEach(item => { |
| | | // if(item.hasChildren)( |
| | | |
| | | // ) |
| | | // else { |
| | | // this.searchChildren() |
| | | // } |
| | | // }); |
| | | // }, |
| | | getDictionaryList() { |
| | | dictionaryList().then(res => { |
| | | if (res.data.code === 200) { |
| | | this.tableOption.column.forEach(item => { |
| | | if (item.label == "单位类型") { |
| | | item.dicData = res.data.data; |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | |
| | | }, |
| | | currentChange(currentPage) { |
| | | this.page.currentPage = currentPage; |
| | | this.onLoad(this.page, this.query) |
| | | this.onLoad(this.page, this.query); |
| | | }, |
| | | sizeChange(pageSize) { |
| | | this.page.pageSize = pageSize; |
| | | this.onLoad(this.page, this.query) |
| | | this.onLoad(this.page, this.query); |
| | | }, |
| | | refreshChange() { |
| | | this.onLoad(this.page, this.query); |
| | |
| | | let param = {}; |
| | | param["jurisdiction"] = params["jurname"] || ""; |
| | | param["deptid"] = params["deptname"] || ""; |
| | | param["stats"] = params["stats"] || ""; |
| | | param["current"] = page.currentPage; |
| | | param["size"] = page.pageSize; |
| | | selectLi(param).then(res => { |
| | |
| | | }, |
| | | mounted() { |
| | | this.getSubOfficeData(); |
| | | this.getDictionaryList(); |
| | | } |
| | | }; |
| | | </script> |