| | |
| | | @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: { |
| | |
| | | tip: false, |
| | | searchShowBtn: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 3, |
| | | searchMenuSpan: 10, |
| | | index: true, |
| | | viewBtn: true, |
| | | dialogClickModal: false, |
| | |
| | | // searchLabelWidth: 90, |
| | | prop: "real_name", |
| | | search: true, |
| | | searchSpan: 3, |
| | | searchSpan: 4, |
| | | display: false |
| | | }, |
| | | { |
| | |
| | | { |
| | | label: "是否持证", |
| | | prop: "hold", |
| | | searchSpan: 3, |
| | | searchSpan: 4, |
| | | type: "select", |
| | | props: { |
| | | label: "label", |
| | |
| | | { |
| | | label: "是否派遣", |
| | | prop: "dispatch", |
| | | searchSpan: 3, |
| | | searchSpan: 4, |
| | | type: "select", |
| | | props: { |
| | | label: "label", |
| | |
| | | // params = { current: page.currentPage, size: page.pageSize }; |
| | | // } |
| | | let param = {}; |
| | | param["deptid"] = this.deptid; |
| | | param["deptid"] = this.fwdeptId; |
| | | param["name"] = params["real_name"] || ""; |
| | | param["hold"] = |
| | | params["hold"] || params["hold"] == "0" ? Number(params["hold"]) : ""; |
| | |
| | | }); |
| | | }, |
| | | |
| | | getLocationParams() { |
| | | let url = window.location.href; |
| | | let urlArr = url.split("?")[1].split("&"); |
| | | var object = new Object(); |
| | | for (var i = 0; i < urlArr.length; i++) { |
| | | let mm = urlArr[i].split("="); |
| | | object[decodeURIComponent(mm[0])] = decodeURIComponent(mm[1]); |
| | | } |
| | | this.deptid = object["deptid"] || ""; |
| | | this.query = { deptid: this.deptid }; |
| | | this.onLoad(this.page, this.query); |
| | | } |
| | | // getLocationParams() { |
| | | // let url = window.location.href; |
| | | // let urlArr = url.split("?")[1].split("&"); |
| | | // var object = new Object(); |
| | | // for (var i = 0; i < urlArr.length; i++) { |
| | | // let mm = urlArr[i].split("="); |
| | | // object[decodeURIComponent(mm[0])] = decodeURIComponent(mm[1]); |
| | | // } |
| | | // this.deptid = object["deptid"] || ""; |
| | | // this.query = { deptid: this.deptid }; |
| | | // this.onLoad(this.page, this.query); |
| | | // } |
| | | }, |
| | | mounted() { |
| | | // this.getTableData(); |
| | | this.getLocationParams(); |
| | | // this.getLocationParams(); |
| | | } |
| | | }; |
| | | </script> |