You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.1 KiB
62 lines
1.1 KiB
import { FormSchema } from '@/components/Form';
|
|
import { BasicColumn } from '@/components/Table';
|
|
|
|
export const columns: BasicColumn[] = [
|
|
|
|
{
|
|
title: '项目名称',
|
|
dataIndex: 'projectName',
|
|
width: 150,
|
|
},
|
|
{
|
|
title: '行政区划',
|
|
dataIndex: 'adminDivision',
|
|
width: 150,
|
|
},
|
|
{
|
|
title: '用户名',
|
|
dataIndex: 'username',
|
|
width: 150,
|
|
},
|
|
{
|
|
title: '姓名',
|
|
dataIndex: 'nickname',
|
|
width: 150,
|
|
},
|
|
{
|
|
title: '单位名称',
|
|
dataIndex: 'workplace',
|
|
width: 200,
|
|
},
|
|
{
|
|
title: '手机号',
|
|
width: 150,
|
|
dataIndex: 'phoneNumber',
|
|
},
|
|
];
|
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
{
|
|
label: '姓名',
|
|
field: 'realname',
|
|
component: 'Input',
|
|
//colProps: { span: 6 },
|
|
},
|
|
{
|
|
label: '用户名',
|
|
field: 'username',
|
|
component: 'Input',
|
|
//colProps: { span: 6 },
|
|
},
|
|
// {
|
|
// label: '',
|
|
// field: 'status',
|
|
// component: 'JDictSelectTag',
|
|
// componentProps: {
|
|
// dictCode: 'user_status',
|
|
// placeholder: '请选择状态',
|
|
// stringToNumber: true,
|
|
// },
|
|
// //colProps: { span: 6 },
|
|
// },
|
|
];
|
|
|