const modalConfig = {
	pageName: 'contactPerson',
	addTitle: '新增行业外违法信息通报通讯录',
	editTitle: '编辑行业外违法信息通报通讯录',
	detailTitle: '查看行业外违法信息通报通讯录',
	labelWidth: '150px',
	formRules: {
		contactDeptName: [{ required: true, message: '请选择单位名称', trigger: 'change' }],
		userName: [{ required: true, message: '请输入联络人名称', trigger: 'change' }],
		updaterDeptId: [{ required: true, message: '请选择所属部门', trigger: 'change' }],
		dutyName: [{ required: true, message: '请选择所属职位', trigger: 'change' }],
		mobilePhone: [{ required: true, message: '请输入联络电话', trigger: 'change' }],
	},
	formItems: [
		{
			label: '创建人员',
			prop: 'createBy',
			type: 'input',
			disabled: true,
			placeholder: '请输入创建人员',
		},
		{
			label: '创建人员单位名称',
			prop: 'contactId',
			type: 'input',
			disabled: true,
			placeholder: '请输入创建人员单位名称',
		},
		{
			label: '创建时间',
			prop: 'createTime',
			type: 'input',
			disabled: true,
			placeholder: '请输入创建时间',
		},
		{
			label: '单位名称',
			prop: 'contactDeptName',
			type: 'select',
			placeholder: '请选择单位名称',
		},
		{
			label: '联络人名称',
			prop: 'userName',
			type: 'input',
			placeholder: '请输入联络人名称',
		},
		{
			label: '所属部门',
			prop: 'relName',
			type: 'select',
			placeholder: '请选择所属部门',
		},
		{
			label: '所属职务',
			prop: 'dutyName',
			type: 'select',
			placeholder: '请选择所属职务',
		},
		{
			label: '微信号',
			prop: 'wx',
			type: 'input',
			placeholder: '请输入微信号',
		},
		{
			label: '联系电话',
			prop: 'mobilePhone',
			type: 'input',
			placeholder: '请输入联系电话',
		},
		{
			label: '固定电话',
			prop: 'telephone',
			type: 'input',
			placeholder: '请输入固定电话',
		},
		{
			label: '传真号',
			prop: 'faxNum',
			type: 'input',
			placeholder: '请输入传真号',
		},
		{
			label: '电子邮箱',
			prop: 'email',
			type: 'input',
			placeholder: '请输入电子邮箱',
		},
	],
};

export default modalConfig;
