const modalConfig = {
	pageName: 'ntlo',
	addTitle: '个人基本信息',
	editTitle: '个人基本信息',
	detailTitle: '个人基本信息',
	labelWidth: '150px',
	formRules: {
		unitName: [{ required: true, message: '请选择单位名称', trigger: 'change' }],
		contactName: [{ required: true, message: '请输入联络人名称', trigger: 'change' }],
		belongsDept: [{ required: true, message: '请选择所属部门', trigger: 'change' }],
		position: [{ required: true, message: '请选择所属职位', trigger: 'change' }],
		contactNumber: [{ required: true, message: '请输入联络电话', trigger: 'change' }],
		msgRecipient: [{ required: true, message: '请选择短信接收人', trigger: 'change' }],
	},
	pageListParams: {
		industryType: '1',
	},
	formItems: [
		{
			label: '创建人员',
			prop: 'addName',
			type: 'input',
			disabled: true,
			placeholder: '请输入创建人员',
		},
		{
			label: '创建人员单位名称',
			prop: 'addDept',
			type: 'input',
			disabled: true,
			placeholder: '请输入创建人员单位名称',
		},
		{
			label: '创建时间',
			prop: 'addDate',
			type: 'input',
			disabled: true,
			placeholder: '请输入创建时间',
		},
		{
			label: '单位名称',
			prop: 'unitName',
			type: 'unitName',
			placeholder: '请选择单位名称',
		},
		{
			label: '联络人名称',
			prop: 'contactName',
			type: 'input',
			placeholder: '请输入联络人名称',
		},
		{
			label: '所属部门',
			prop: 'belongsDept',
			type: 'belongsDept',
			placeholder: '请输入所属部门',
		},
		{
			label: '所属职务',
			prop: 'position',
			type: 'input',
			placeholder: '请输入所属职务',
		},
		{
			label: '微信号',
			prop: 'wxNumber',
			type: 'input',
			placeholder: '请输入微信号',
		},
		{
			label: '联系电话',
			prop: 'contactNumber',
			type: 'number',
			placeholder: '请输入联系电话',
		},
		{
			label: '固定电话',
			prop: 'fixedTelephone',
			type: 'input',
			placeholder: '请输入固定电话',
		},
		{
			label: '传真号',
			prop: 'faxNumber',
			type: 'input',
			placeholder: '请输入传真号',
		},
		{
			label: '电子邮箱',
			prop: 'email',
			type: 'input',
			placeholder: '请输入电子邮箱',
		},
		{
			label: '短信接收人',
			prop: 'msgRecipient',
			type: 'msgRecipient',
		},
		{
			label: '通讯录状态',
			prop: 'abStatus',
			type: 'abStatus',
		},
	],
};

export default modalConfig;
