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

const searchConfig = {
	pageName: 'rentalCompany',
	formItems: [
		{
			label: '发布单位',
			prop: 'releaseDeptName',
			type: 'select',
			multiple: true,
			options: [
				{
					label: '全部',
					value: 'all',
				},
				{
					label: '上海海事',
					value: 'msg',
				},
				{
					label: '广州海事',
					value: 'assist',
				},
			] as Array<Inew>,
			placeholder: '请选择发出单位',
		},
		{
			label: '通报类型',
			prop: 'reportType',
			type: 'select',
			multiple: true,
			options: [
				{
					label: '全部',
					value: 'all',
				},
				{
					label: '内部',
					value: 'inner',
				},
				{
					label: '外部',
					value: 'outer',
				},
			] as Array<Inew>,
			placeholder: '请选择通报类型',
		},
		{
			label: '通报事项类别',
			prop: 'reportMattersType',
			type: 'select',
			multiple: true,
			options: [
				{
					label: '全部',
					value: 'all',
				},
				{
					label: '信息告知类',
					value: 'msg',
				},
				{
					label: '协助处理类',
					value: 'assist',
				},
			] as Array<Inew>,
			placeholder: '请选择通报事项类别',
		},
		{
			label: '通报事项',
			prop: 'mattersContent',
			type: 'input',
			placeholder: '请输入通报事项',
		},
		{
			label: '通报依据',
			prop: 'reportBasis',
			type: 'input',
			placeholder: '请输入通报依据',
		},
		{
			label: '发出单位',
			prop: 'sendDeptIds',
			type: 'select',
			multiple: true,
			options: [
				{
					label: '全部',
					value: 'all',
				},
				{
					label: '上海海事',
					value: 'msg',
				},
				{
					label: '广州海事',
					value: 'assist',
				},
			] as Array<Inew>,
			placeholder: '请选择发出单位',
		},
		{
			label: '接收单位',
			prop: 'receiveDeptName',
			type: 'select',
			multiple: true,
			options: [
				{
					label: '全部',
					value: 'all',
				},
				{
					label: '上海海事',
					value: 'msg',
				},
				{
					label: '广州海事',
					value: 'assist',
				},
			] as Array<Inew>,
			placeholder: '请选择接收单位',
		},
		{
			label: '发布状态',
			prop: 'reportStatus',
			type: 'select',
			multiple: true,
			options: [
				{
					label: '全部',
					value: '0',
				},
				{
					label: '待提交',
					value: '1',
				},
				{
					label: '可用',
					value: '2',
				},
				{
					label: '废止',
					value: '3',
				},
			] as Array<Inew>,
			placeholder: '请选择接收单位',
		},
		{
			label: '创建时间',
			prop: 'createTime',
			type: 'date-picker',
			placeholder: '请选择创建时间',
		},
		{
			label: '创建人员',
			prop: 'createBy',
			type: 'select',
			multiple: true,
			options: [
				{
					label: '张三',
					value: 'inner',
				},
				{
					label: '李四',
					value: 'outer',
				},
				{
					label: '王五',
					value: 'outer',
				},
			] as Array<Inew>,
			placeholder: '请选择创建人员',
		},
	],
};

export default searchConfig;
