| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { listUser, deptTreeSelect } from "@/api/system/user"; |
| | | import {listUser, deptTreeSelect, deptTreeSelectNoAuth, listUserNoAuth} from "@/api/system/user"; |
| | | import Treeselect from "@riophae/vue-treeselect"; |
| | | import "@riophae/vue-treeselect/dist/vue-treeselect.css"; |
| | | import {StrUtil} from '@/utils/StrUtil' |
| | |
| | | /** 查询用户列表 */ |
| | | getList() { |
| | | this.loading = true; |
| | | listUser(this.queryParams).then(response => { |
| | | listUserNoAuth(this.queryParams).then(response => { |
| | | this.userList = response.rows; |
| | | this.total = response.total; |
| | | this.loading = false; |
| | |
| | | }, |
| | | /** 查询部门下拉树结构 */ |
| | | getDeptTree() { |
| | | deptTreeSelect().then(response => { |
| | | deptTreeSelectNoAuth().then(response => { |
| | | this.deptOptions = response.data; |
| | | }); |
| | | }, |