| | |
| | | * @Author: Morpheus |
| | | * @Date: 2021-07-05 16:31:54 |
| | | * @Last Modified by: liu |
| | | * @Last Modified time: 2021-09-09 09:53:49 |
| | | * @Last Modified time: 2021-09-10 16:47:56 |
| | | * menu-name 保安员注册查询 |
| | | */ |
| | | <template> |
| | |
| | | searchChange(params, done) { |
| | | this.query = params; |
| | | this.page.currentPage = 1; |
| | | var deptId; |
| | | // var deptId; |
| | | if (params.deptId) { |
| | | deptId = params.deptId; |
| | | this.query["deptId"] = params.deptId; |
| | | } |
| | | this.onLoad(this.page, params, deptId); |
| | | this.onLoad(this.page, params); |
| | | done(); |
| | | }, |
| | | selectionChange(list) { |
| | |
| | | refreshChange() { |
| | | this.onLoad(this.page, this.query); |
| | | }, |
| | | onLoad(page, params = {}, deptId) { |
| | | onLoad(page, params = {}) { |
| | | this.loading = true; |
| | | params["jurisdiction"] = this.jurisdiction; |
| | | console.log(params, 1, this.query, 2); |
| | | getListSecurity( |
| | | page.currentPage, |
| | | page.pageSize, |
| | | Object.assign(params, this.query), |
| | | deptId |
| | | Object.assign(params, this.query) |
| | | ).then((res) => { |
| | | const data = res.data.data; |
| | | this.page.total = data.total; |