|
@@ -1,13 +1,14 @@
|
|
|
/*
|
|
|
* @Author: Badguy
|
|
|
* @Date: 2022-04-11 11:00:32
|
|
|
- * @LastEditTime: 2022-04-14 13:34:22
|
|
|
+ * @LastEditTime: 2022-04-15 10:33:27
|
|
|
* @LastEditors: your name
|
|
|
* @Description: 用户列表
|
|
|
* have a nice day!
|
|
|
*/
|
|
|
|
|
|
-import { GetUserList } from '@/api/apiAuthority'
|
|
|
+// import { GetUserList } from '@/api/apiAuthority'
|
|
|
+import { GetOfficerList } from '@/api/section'
|
|
|
|
|
|
export default {
|
|
|
data() {
|
|
@@ -18,13 +19,13 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
userCheckChangeHandler(checkedKeys) {
|
|
|
- this.checkedUsers = this.userList.filter(item => checkedKeys.includes(item.UserId))
|
|
|
- // console.log(this.checkedUsers)
|
|
|
+ this.checkedUsers = this.userList.filter(item => checkedKeys.includes(item.OfficerId))
|
|
|
+ console.log(this.checkedUsers)
|
|
|
},
|
|
|
async loadUserList(keyWords = '', pageSize = 20, pageNum = 1) {
|
|
|
try {
|
|
|
this.$refs['userList'].setLoading(true)
|
|
|
- const res = await GetUserList({
|
|
|
+ const res = await GetOfficerList({
|
|
|
QueryName: keyWords,
|
|
|
PageSize: pageSize,
|
|
|
PageIndex: pageNum
|