用户管理-分页数量修改
This commit is contained in:
@@ -71,7 +71,7 @@ const rules = {
|
||||
const userModal = ref<boolean>(false);
|
||||
const pagination = ref({
|
||||
page: 1,
|
||||
pageSize: 3,
|
||||
pageSize: 20,
|
||||
itemCount: 0,
|
||||
})
|
||||
const list = ref<{ id: number, name: string, dept: string[], mobile: string, email: string, account: string, role: string | null, dataPermission: string[], status: number, gender: number }[]>([])
|
||||
@@ -230,6 +230,7 @@ const addUser = () => {
|
||||
currentUser.value = {
|
||||
id: 0,
|
||||
real_name: '',
|
||||
dept_ids: [],
|
||||
det_ids: null,
|
||||
mobile: '',
|
||||
email: '',
|
||||
@@ -255,6 +256,7 @@ const handleEdit = (row: any) => {
|
||||
id: row.id,
|
||||
real_name: row.real_name,
|
||||
username: row.username,
|
||||
dept_ids: row.user_departments || [],
|
||||
det_ids: row.user_departments?row.user_departments[0]:null,
|
||||
mobile: row.mobile,
|
||||
email: row.email,
|
||||
|
||||
Reference in New Issue
Block a user