| | |
| | | :data="data1" |
| | | :page.sync="page1" |
| | | :table-loading="loading1" |
| | | @sort-change="sortChange" |
| | | @on-load="getPractitionersPageInfo(page1)" |
| | | @search-change="searchChange" |
| | | @search-reset="searchReset" |
| | |
| | | search = false; |
| | | } |
| | | return { |
| | | sort: "", |
| | | sortName: "", |
| | | securityid1: "", |
| | | ExperienceVisible: false, |
| | | loading1: true, |
| | |
| | | // prop: "deptName", |
| | | prop: "deptId", |
| | | type: "tree", |
| | | sort:true, |
| | | dicUrl: dicUrl, |
| | | props: { |
| | | label: "title", |
| | |
| | | ], |
| | | }, |
| | | { |
| | | label: "保安证编号", |
| | | prop: "securitynumber", |
| | | disabled: true, |
| | | }, |
| | | { |
| | | label: "发证时间", |
| | | prop: "paperTime", |
| | | disabled: true, |
| | |
| | | }; |
| | | }, |
| | | methods: { |
| | | //排序 |
| | | sortChange(value) { |
| | | // console.log(value, 51151515); |
| | | if (value.order == "ascending") { |
| | | this.sort = "asc"; |
| | | } |
| | | if (value.order == "descending") { |
| | | this.sort = "desc"; |
| | | } |
| | | this.sortName = value.prop; |
| | | //字段匹配 |
| | | if (value.prop == "sexs") { |
| | | this.sortName = "sex"; |
| | | } |
| | | if (value.prop == "examinationType") { |
| | | this.sortName = "examination_type"; |
| | | } |
| | | if (value.prop == "userType") { |
| | | this.sortName = "user_type"; |
| | | } |
| | | this.onLoad(this.page, this.query); |
| | | }, |
| | | //清空按钮 |
| | | selectionClear() { |
| | | // this.selectionList = []; |
| | | this.sort = ""; |
| | | this.sortName = ""; |
| | | // this.$refs.crud.toggleSelection(); |
| | | }, |
| | | getPractitionersPageInfo(page, params = {}) { |
| | | if (this.card.jurisdiction == 1372091709474910209) { |
| | | this.card.jurisdiction = ""; |