123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- const modalConfig = {
- pageName: 'ntlo',
- 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: '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: 'select',
- placeholder: '请选择单位名称',
- },
- {
- label: '联络人名称',
- prop: 'contactName',
- type: 'input',
- placeholder: '请输入联络人名称',
- },
- {
- label: '所属部门',
- prop: 'belongsDept',
- type: 'input',
- placeholder: '请输入所属部门',
- },
- {
- label: '所属职务',
- prop: 'position',
- type: 'input',
- placeholder: '请输入所属职务',
- },
- {
- label: '微信号',
- prop: 'wxNumber',
- type: 'input',
- placeholder: '请输入微信号',
- },
- {
- label: '联系电话',
- prop: 'contactNumber',
- type: 'input',
- placeholder: '请输入联系电话',
- },
- {
- label: '固定电话',
- prop: 'telephone',
- type: 'input',
- placeholder: '请输入固定电话',
- },
- {
- label: '传真号',
- prop: 'fixedTelephone',
- type: 'input',
- placeholder: '请输入传真号',
- },
- {
- label: '电子邮箱',
- prop: 'email',
- type: 'input',
- placeholder: '请输入电子邮箱',
- },
- ],
- };
- export default modalConfig;
|