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

const searchConfig = {
	pageName: 'rentalCompany',
	formItems: [
		{
			label: '违法事件编号',
			prop: 'violationNumber',
			type: 'input',
			placeholder: '请输入选违法事件编号',
			span: 6,
		},
		{
			label: '通报类型',
			prop: 'report_type',
			type: 'select',
			options: [
				{
					label: '内部',
					value: 'inner',
				},
				{
					label: '外部',
					value: 'outer',
				},
			] as Array<Inew>,
			placeholder: '请选择通报类型',
			span: 6,
		},
		{
			label: '通报事项类别',
			prop: 'report_event_type',
			type: 'select',
			options: [
				{
					label: '信息告知类',
					value: 'msg',
				},
				{
					label: '协助处理类',
					value: 'assist',
				},
			] as Array<Inew>,
			span: 6,
			placeholder: '请选择通报事项类别',
		},
		{
			label: '通报事项',
			prop: 'report_event',
			type: 'input',
			span: 6,
			placeholder: '请输入通报事项',
		},
		{
			label: '发出单位',
			prop: 'send_unit',
			type: 'select',
			multiple: true,
			options: [
				{
					label: '全部',
					value: 'all',
				},
				{
					label: '上海海事',
					value: 'msg',
				},
				{
					label: '广州海事',
					value: 'assist',
				},
			] as Array<Inew>,
			span: 6,
			placeholder: '请选择发出单位',
		},
		{
			label: '接收单位',
			prop: 'receive_unit',
			type: 'select',
			multiple: true,
			options: [
				{
					label: '全部',
					value: 'all',
				},
				{
					label: '上海海事',
					value: 'msg',
				},
				{
					label: '广州海事',
					value: 'assist',
				},
			] as Array<Inew>,
			span: 6,
			placeholder: '请选择接收单位',
		},
		{
			label: '通报状态',
			prop: 'report_status',
			type: 'select',
			multiple: true,
			options: [
				{
					label: '全部',
					value: 'all',
				},
				{
					label: '已发布待处置',
					value: '1',
				},
				{
					label: '已接收待处置',
					value: '2',
				},
				{
					label: '已退回',
					value: '3',
				},
				{
					label: '已提出补正要求',
					value: '4',
				},
				{
					label: '已处理待处置完整',
					value: '5',
				},
				{
					label: '待接收',
					value: '6',
				},
				{
					label: '已接收',
					value: '7',
				},
				{
					label: '已处置完成',
					value: '8',
				},
			] as Array<Inew>,
			span: 6,
			placeholder: '请选择通报状态',
		},
		{
			label: '采取措施',
			prop: 'take_steps',
			type: 'select',
			multiple: true,
			options: [
				{
					label: '全部',
					value: 'all',
				},
				{
					label: '约谈',
					value: '1',
				},
				{
					label: '通报',
					value: '2',
				},
				{
					label: '审慎发证',
					value: '3',
				},
				{
					label: '信用管理',
					value: '4',
				},
				{
					label: '其他',
					value: '5',
				},
			] as Array<Inew>,
			span: 6,
			placeholder: '请选择采取措施',
		},
		{
			label: '超期状态',
			prop: 'over_status',
			type: 'select',
			multiple: true,
			options: [
				{
					label: '全部',
					value: 'all',
				},
				{
					label: '正常',
					value: '1',
				},
				{
					label: '接收超期',
					value: '2',
				},
				{
					label: '处理超期',
					value: '4',
				},
				{
					label: '处置完成超期',
					value: '4',
				},
			] as Array<Inew>,
			span: 6,
			placeholder: '请选择采取措施',
		},
		{
			label: '船舶名称',
			prop: 'ship_name',
			type: 'input',
			span: 6,
			placeholder: '请输入船舶名称',
		},
		{
			label: '船舶所有人',
			prop: 'ship_owner',
			type: 'input',
			span: 6,
			placeholder: '请输入船舶所有人',
		},
		{
			label: '船舶经营人',
			prop: 'ship_operator',
			type: 'input',
			span: 6,
			placeholder: '请输入船舶经营人',
		},
		{
			label: '是否需要反馈',
			prop: 'is_feedback',
			type: 'select',
			multiple: true,
			options: [
				{
					label: '全部',
					value: 'all',
				},
				{
					label: '是',
					value: '1',
				},
				{
					label: '否',
					value: '2',
				},
			] as Array<Inew>,
			span: 6,
			placeholder: '请选择采取措施',
		},
		{
			label: '发布日期',
			prop: 'createDate',
			type: 'date-picker',
			span: 6,
			placeholder: '请选择发布日期',
		},
		{
			label: '受理日期',
			prop: 'accept_date',
			type: 'date-picker',
			span: 6,
			placeholder: '请选择发布日期',
		},
	],
};

export default searchConfig;
