|
@@ -179,18 +179,18 @@
|
|
|
const searchForm: Partial<FormProps> = {
|
|
|
labelWidth: 100,
|
|
|
schemas: [
|
|
|
- {
|
|
|
- field: 'nickName',
|
|
|
- label: t('routes.staff.userName'),
|
|
|
- component: 'Input',
|
|
|
- componentProps: {
|
|
|
- maxLength: 15,
|
|
|
- },
|
|
|
- colProps: {
|
|
|
- xl: 6,
|
|
|
- xxl: 6,
|
|
|
- },
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // field: 'nickName',
|
|
|
+ // label: t('routes.staff.userName'),
|
|
|
+ // component: 'Input',
|
|
|
+ // componentProps: {
|
|
|
+ // maxLength: 15,
|
|
|
+ // },
|
|
|
+ // colProps: {
|
|
|
+ // xl: 6,
|
|
|
+ // xxl: 6,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
{
|
|
|
field: 'userName',
|
|
|
label: '账号',
|
|
@@ -202,19 +202,19 @@
|
|
|
xl: 6,
|
|
|
xxl: 6,
|
|
|
},
|
|
|
- },{
|
|
|
- field: 'roleId',
|
|
|
- label: '角色',
|
|
|
- component: 'ApiSelect',
|
|
|
- componentProps: {
|
|
|
- api: getRoleListByParam,
|
|
|
- labelField: 'roleName',
|
|
|
- valueField: 'id',
|
|
|
- },
|
|
|
- colProps: {
|
|
|
- xl: 6,
|
|
|
- xxl: 6,
|
|
|
- },
|
|
|
+ // },{
|
|
|
+ // field: 'roleId',
|
|
|
+ // label: '角色',
|
|
|
+ // component: 'ApiSelect',
|
|
|
+ // componentProps: {
|
|
|
+ // api: getRoleListByParam,
|
|
|
+ // labelField: 'roleName',
|
|
|
+ // valueField: 'id',
|
|
|
+ // },
|
|
|
+ // colProps: {
|
|
|
+ // xl: 6,
|
|
|
+ // xxl: 6,
|
|
|
+ // },
|
|
|
},
|
|
|
],
|
|
|
};
|