feat: 自行开发设计 ui样式优化 超管端-控制台 相关的页面
This commit is contained in:
@@ -78,6 +78,21 @@ const UsersPage = () => {
|
||||
/>
|
||||
|
||||
<CardPro
|
||||
tableTitle={t('用户列表')}
|
||||
searchArea={
|
||||
<UsersFilters
|
||||
formInitValues={formInitValues}
|
||||
setFormApi={setFormApi}
|
||||
searchUsers={searchUsers}
|
||||
loadUsers={loadUsers}
|
||||
activePage={activePage}
|
||||
pageSize={pageSize}
|
||||
groupOptions={groupOptions}
|
||||
loading={loading}
|
||||
searching={searching}
|
||||
t={t}
|
||||
/>
|
||||
}
|
||||
type='type1'
|
||||
descriptionArea={
|
||||
<UsersDescription
|
||||
@@ -86,25 +101,9 @@ const UsersPage = () => {
|
||||
t={t}
|
||||
/>
|
||||
}
|
||||
actionsArea={
|
||||
<div className='flex flex-col md:flex-row justify-between items-center gap-2 w-full'>
|
||||
<UsersActions setShowAddUser={setShowAddUser} t={t} />
|
||||
|
||||
<UsersFilters
|
||||
formInitValues={formInitValues}
|
||||
setFormApi={setFormApi}
|
||||
searchUsers={searchUsers}
|
||||
loadUsers={loadUsers}
|
||||
activePage={activePage}
|
||||
pageSize={pageSize}
|
||||
groupOptions={groupOptions}
|
||||
loading={loading}
|
||||
searching={searching}
|
||||
t={t}
|
||||
/>
|
||||
</div>
|
||||
}
|
||||
tableActions={<UsersActions setShowAddUser={setShowAddUser} t={t} />}
|
||||
paginationArea={createCardProPagination({
|
||||
showRange: false,
|
||||
currentPage: usersData.activePage,
|
||||
pageSize: usersData.pageSize,
|
||||
total: usersData.userCount,
|
||||
|
||||
Reference in New Issue
Block a user