const modalConfig = {
    pageName: 'rentalCompany',
    detailTitle: '查看安全检查通告信息',
    labelWidth: '150px',
    formRules: {
        rentalCompanyCode: [{ required: true, message: '请选择单位名称', trigger: 'change' }],
        rentalCompanyName: [{ required: true, message: '请输入联络人名称', trigger: 'change' }],
        deptId: [{ required: true, message: '请选择关联部门', trigger: 'change' }],
        calculationFormulaName: [{ required: true, message: '请输入费用计算公式', trigger: 'change' }],
    },
    formItems: [
        {
            label: '单位名称',
            prop: 'rentalCompanyCode',
            type: 'select',
            placeholder: '请选择单位名称',
        },
        {
            label: '联络人名称',
            prop: 'rentalCompanyName',
            type: 'input',
            placeholder: '请输入联络人名称',
        },
        {
            label: '所属部门',
            prop: 'rentalCompanyCode',
            type: 'select',
            placeholder: '请选择所属部门',
        },
        {
            label: '所属职务',
            prop: 'rentalCompanyCode',
            type: 'select',
            placeholder: '请选择所属职务',
        },
        {
            label: '微信号',
            prop: 'rentalCompanyName',
            type: 'input',
            placeholder: '请输入微信号',
        },
        {
            label: '联系电话',
            prop: 'rentalCompanyName',
            type: 'input',
            placeholder: '请输入联系电话',
        },
        {
            label: '固定电话',
            prop: 'rentalCompanyName',
            type: 'input',
            placeholder: '请输入固定电话',
        },
        {
            label: '传真号',
            prop: 'rentalCompanyName',
            type: 'input',
            placeholder: '请输入传真号',
        },
        {
            label: '电子邮箱',
            prop: 'rentalCompanyName',
            type: 'input',
            placeholder: '请输入电子邮箱',
        },
        {
            label: '短信接收人',
            prop: 'textMessage',
            type: 'textMessage',
        },
    ],
};

export default modalConfig;
