interface OptionsType {
	label: string;
	value: string;
}

const searchConfig = {
	pageName: 'rentalCompany',
	formItems: [
		{
			label: '违法事件编号',
			prop: 'violationNumber',
			type: 'input',
			placeholder: '请输入选违法事件编号',
			span: 6,
		},
		{
			label: '通报类型',
			prop: 'notificationCategory',
			type: 'select',
			options: [],
			placeholder: '请选择通报类型',
			span: 6,
		},
		{
			label: '通报事项类别',
			prop: 'notificationMattersTypes',
			type: 'select',
			options: [] as OptionsType[],
			span: 6,
			placeholder: '请选择通报事项类别',
		},
		{
			label: '通报事项',
			prop: 'notificationMatters',
			type: 'input',
			span: 6,
			placeholder: '请输入通报事项',
		},
		{
			label: '发出单位',
			prop: 'releasedUnit',
			type: 'select',
			multiple: true,
			options: [] as OptionsType[],
			span: 6,
			placeholder: '请选择发出单位',
		},
		{
			label: '接收单位',
			prop: 'receivingUnitName',
			type: 'select',
			multiple: true,
			options: [] as OptionsType[],
			span: 6,
			placeholder: '请选择接收单位',
		},
		{
			label: '通报状态',
			prop: 'TODO',
			type: 'select',
			multiple: true,
			options: [] as OptionsType[],
			span: 6,
			placeholder: '请选择通报状态',
		},
		{
			label: '采取措施',
			prop: 'TODO',
			type: 'select',
			multiple: true,
			options: [] as OptionsType[],
			span: 6,
			placeholder: '请选择采取措施',
		},
		{
			label: '超期状态',
			prop: 'TODO',
			type: 'select',
			multiple: true,
			options: [] as OptionsType[],
			span: 6,
			placeholder: '请选择超期状态',
		},
		{
			label: '船舶名称',
			prop: 'vesselName',
			type: 'input',
			span: 6,
			placeholder: '请输入船舶名称',
		},
		{
			label: '船舶所有人',
			prop: 'TODO',
			type: 'input',
			span: 6,
			placeholder: '请输入船舶所有人',
		},
		{
			label: '船舶经营人',
			prop: 'TODO',
			type: 'input',
			span: 6,
			placeholder: '请输入船舶经营人',
		},
		{
			label: '是否需要反馈',
			prop: 'wfir',
			type: 'select',
			multiple: true,
			options: [] as OptionsType[],
			span: 6,
			placeholder: '请选择是否需要反馈',
		},
		{
			label: '发布日期',
			prop: 'releasedDate',
			type: 'date-picker',
			span: 6,
			placeholder: '请选择发布日期',
		},
		{
			label: '受理日期',
			prop: 'TODO',
			type: 'date-picker',
			span: 6,
			placeholder: '请选择发布日期',
		},
	],
};

export default searchConfig;
