用户管理-分页数量修改

This commit is contained in:
2026-10-08 11:27:46 +08:00
parent 3d1f91e814
commit 99ab0a1183
+3 -1
View File
@@ -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,