const modalConfig = {
	pageName: 'rentalCompany',
	addTitle: '违法信息通报事项清单信息',
	editTitle: '违法信息通报事项清单信息',
	detailTitle: '违法信息通报事项清单信息',
	labelWidth: '140px',
	dialogWidth: '70%',
	formRules: {
		reportType: [{ required: true, message: '请选择通报类型', trigger: 'select' }],
		reportMattersType: [{ required: true, message: '请选择通报类型', trigger: 'select' }],
		mattersContent: [{ required: true, message: '请输入通报事项', trigger: 'change' }],
		reportBasis: [{ required: true, message: '请输入通报依据', trigger: 'change' }],
		sendDeptIds: [{ required: true, message: '请选择发出单位', trigger: 'select' }],
		receiveDeptName: [{ required: true, message: '请选择接收单位', trigger: 'change' }],
		reportStandard: [{ required: true, message: '请选择通报标准或具体行为列举', trigger: 'select' }],
	},
	formItems: [
		{
			label: '发布单位',
			prop: 'releaseDeptName',
			type: 'input',
			span: 6,
			placeholder: '请输入发布单位',
		},
		{
			label: '创建日期',
			prop: 'createTime',
			type: 'date',
			span: 6,
			placeholder: '请选择创建日期',
		},
		{
			label: '创建人员',
			prop: 'createBy',
			type: 'input',
			span: 6,
			placeholder: '请输入创建人员',
		},
		{
			label: '发布状态',
			prop: 'reportStatus',
			span: 6,
			type: 'select',
			options: [
				{
					label: '待发布',
					value: 'inner',
				},
				{
					label: '已发布',
					value: 'outer',
				},
				{
					label: '已结案',
					value: 'outer',
				},
			],
			placeholder: '请选择发布状态',
		},
		{
			label: '通报类型',
			prop: 'reportType',
			span: 8,
			type: 'select',
			options: [
				{
					label: '内部',
					value: 'inner',
				},
				{
					label: '外部',
					value: 'outer',
				},
			],
			placeholder: '请选择通报类型',
		},
		{
			label: '通报事项类别',
			prop: 'reportMattersType',
			type: 'select',
			options: [
				{
					label: '信息告知类',
					value: 'msg',
				},
				{
					label: '协助处理类',
					value: 'assist',
				},
			],
			span: 8,
			placeholder: '请选择通报事项类别',
		},
		{
			label: '事项编号',
			prop: 'mattersListCode',
			type: 'input',
			span: 8,
			placeholder: '请输入事项编号',
		},
		{
			label: '通报事项',
			prop: 'mattersContent',
			type: 'textarea',
			span: 24,
			maxlength: 200,
			placeholder: '根据要求，请输入通报内容，内容200字以内。',
		},
		{
			label: '通报标准或具体行为列举',
			prop: 'reportStandard',
			type: 'textarea',
			maxlength: 1000,
			span: 24,
			placeholder: '请输入通报标准或具体行为列举,内容1000字以内',
		},
		{
			label: '通报依据',
			prop: 'reportBasis',
			type: 'textarea',
			maxlength: 200,
			span: 24,
			placeholder: '根据要求，请输入通报依据，内容200字以内。',
		},
		{
			label: '发出单位',
			prop: 'sendDeptIds',
			type: 'select',
			options: [
				{
					label: '上海海事',
					value: 'msg',
				},
				{
					label: '广州海事',
					value: 'assist',
				},
			],
			span: 24,
			placeholder: '请选择发出单位',
		},
		{
			label: '接收单位',
			prop: 'receiveDeptName',
			type: 'input',
			span: 24,
			placeholder: ' 请输入接收单位',
		},
	],
};

export default modalConfig;
