mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-10-27 08:57:17 +08:00
style(system/user): 优化用户管理查询表单
This commit is contained in:
@@ -112,34 +112,28 @@ const [queryForm, resetForm] = useResetReactive({
|
|||||||
const queryFormColumns: ColumnItem[] = reactive([
|
const queryFormColumns: ColumnItem[] = reactive([
|
||||||
{
|
{
|
||||||
type: 'input',
|
type: 'input',
|
||||||
|
label: '用户名',
|
||||||
field: 'description',
|
field: 'description',
|
||||||
span: { xs: 24, sm: 8, xxl: 8 },
|
span: { xs: 24, sm: 8, xxl: 8 },
|
||||||
formItemProps: {
|
|
||||||
hideLabel: true,
|
|
||||||
},
|
|
||||||
props: {
|
props: {
|
||||||
placeholder: '搜索用户名/昵称/描述',
|
placeholder: '用户名/昵称/描述',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'select',
|
type: 'select',
|
||||||
|
label: '状态',
|
||||||
field: 'status',
|
field: 'status',
|
||||||
span: { xs: 24, sm: 6, xxl: 8 },
|
span: { xs: 24, sm: 6, xxl: 8 },
|
||||||
formItemProps: {
|
|
||||||
hideLabel: true,
|
|
||||||
},
|
|
||||||
props: {
|
props: {
|
||||||
options: DisEnableStatusList,
|
options: DisEnableStatusList,
|
||||||
placeholder: '请选择状态',
|
placeholder: '全部状态',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'range-picker',
|
type: 'range-picker',
|
||||||
|
label: '创建时间',
|
||||||
field: 'createTime',
|
field: 'createTime',
|
||||||
span: { xs: 24, sm: 10, xxl: 8 },
|
span: { xs: 24, sm: 10, xxl: 8 },
|
||||||
formItemProps: {
|
|
||||||
hideLabel: true,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user