| | |
| | | @current-change="currentChange" |
| | | @size-change="sizeChange" |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad" |
| | | > |
| | | </avue-crud> |
| | | </basic-container> |
| | |
| | | import { selectUIn } from "../../api/statisticalQueryManagement/statisticalQueryManagement"; |
| | | export default { |
| | | name: "公司人员详情", |
| | | props: ["fwdeptId"], |
| | | data() { |
| | | return { |
| | | page: { |
| | |
| | | // dateBtn: true, |
| | | align: "center", |
| | | height: "auto", |
| | | calcHeight: 90, |
| | | calcHeight: 30, |
| | | tip: false, |
| | | searchShowBtn: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | | searchMenuSpan: 10, |
| | | index: true, |
| | | indexLabel:'序号', |
| | | viewBtn: true, |
| | | dialogClickModal: false, |
| | | column: [ |
| | | { |
| | | label: "保安姓名", |
| | | searchLabelWidth: 110, |
| | | // searchLabelWidth: 90, |
| | | prop: "real_name", |
| | | search: true, |
| | | searchSpan: 4, |
| | | 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: "是否缴纳社保", |
| | | // labelWidth: 120, |
| | | searchLabelWidth: 110, |
| | | searchLabelWidth: 100, |
| | | prop: "soil", |
| | | searchSpan: 4, |
| | | type: "select", |
| | |
| | | }, |
| | | { |
| | | label: "资格审查情况", |
| | | searchLabelWidth: 110, |
| | | searchLabelWidth: 100, |
| | | prop: "examination_type", |
| | | searchSpan: 4, |
| | | type: "select", |
| | |
| | | ] |
| | | }, |
| | | companyName: "", |
| | | loading: true |
| | | loading: true, |
| | | deptid: "" |
| | | }; |
| | | }, |
| | | computed: { |
| | |
| | | // params = { current: page.currentPage, size: page.pageSize }; |
| | | // } |
| | | let param = {}; |
| | | param["deptid"] = params["deptid"] || ""; |
| | | param["deptid"] = this.fwdeptId; |
| | | param["name"] = params["real_name"] || ""; |
| | | param["hold"] = |
| | | params["hold"] || params["hold"] == "0" ? Number(params["hold"]) : ""; |
| | |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | |
| | | |
| | | getLocationParams() { |
| | | let url = window.location.href; |
| | | let urlArr = url.split("?")[1].split("&"); |
| | |
| | | let mm = urlArr[i].split("="); |
| | | object[decodeURIComponent(mm[0])] = decodeURIComponent(mm[1]); |
| | | } |
| | | let deptid = object["deptid"] || ""; |
| | | let obj = { deptid: deptid }; |
| | | this.onLoad(this.page, obj); |
| | | this.deptid = object["deptid"] || ""; |
| | | this.query = { deptid: this.deptid }; |
| | | this.onLoad(this.page, this.query); |
| | | } |
| | | }, |
| | | mounted() { |
| | | // this.getTableData(); |
| | | this.getLocationParams(); |
| | | // this.getLocationParams(); |
| | | } |
| | | }; |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | /deep/ .avue-crud__menu { |
| | | height: 130px !important; |
| | | } |
| | | // /deep/ .avue-crud__menu { |
| | | // height: 130px !important; |
| | | // } |
| | | </style> |