|
|
@@ -31,6 +31,7 @@ export default function UserManagement({ subMenu }: UserManagementProps) {
|
|
|
const [queryParams, setQueryParams] = useState({
|
|
|
pageNo: 1,
|
|
|
pageSize: 10,
|
|
|
+ nickname:'',
|
|
|
username: '',
|
|
|
mobile: '',
|
|
|
status: undefined as number | undefined,
|
|
|
@@ -278,7 +279,7 @@ export default function UserManagement({ subMenu }: UserManagementProps) {
|
|
|
width: '10%',
|
|
|
},
|
|
|
{
|
|
|
- title: '用户昵称',
|
|
|
+ title: '用户名',
|
|
|
dataIndex: 'nickname',
|
|
|
width: '10%',
|
|
|
},
|
|
|
@@ -338,7 +339,7 @@ export default function UserManagement({ subMenu }: UserManagementProps) {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- title: '人脸',
|
|
|
+ title: '人脸照片',
|
|
|
width: '8%',
|
|
|
render: (_: any, record: UserVO) => (
|
|
|
<Button
|
|
|
@@ -464,6 +465,17 @@ export default function UserManagement({ subMenu }: UserManagementProps) {
|
|
|
<div className="flex items-center justify-between gap-3 lg:gap-4 flex-wrap min-w-0">
|
|
|
{/* 搜索输入框 */}
|
|
|
<div className="flex items-center gap-2 lg:gap-3 flex-wrap flex-1 min-w-0">
|
|
|
+ <div className="flex items-center gap-2 lg:gap-3 flex-shrink-0">
|
|
|
+ <label className="text-sm font-medium text-gray-700 whitespace-nowrap">用户名:</label>
|
|
|
+ <Input
|
|
|
+ value={queryParams.nickname}
|
|
|
+ onChange={(e) => setQueryParams({ ...queryParams, nickname: e.target.value })}
|
|
|
+ onPressEnter={handleQuery}
|
|
|
+ placeholder="请输入用户名"
|
|
|
+ className="min-w-[150px] max-w-[200px]"
|
|
|
+ allowClear
|
|
|
+ />
|
|
|
+ </div>
|
|
|
<div className="flex items-center gap-2 lg:gap-3 flex-shrink-0">
|
|
|
<label className="text-sm font-medium text-gray-700 whitespace-nowrap">账号:</label>
|
|
|
<Input
|