detail.nonIndustry.config.ts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. const modalConfig = {
  2. pageName: 'ntlo',
  3. addTitle: '个人基本信息',
  4. editTitle: '个人基本信息',
  5. detailTitle: '个人基本信息',
  6. labelWidth: '150px',
  7. formRules: {
  8. contactDeptName: [{ required: true, message: '请选择单位名称', trigger: 'change' }],
  9. userName: [{ required: true, message: '请输入联络人名称', trigger: 'change' }],
  10. updaterDeptId: [{ required: true, message: '请选择所属部门', trigger: 'change' }],
  11. dutyName: [{ required: true, message: '请选择所属职位', trigger: 'change' }],
  12. mobilePhone: [{ required: true, message: '请输入联络电话', trigger: 'change' }],
  13. },
  14. formItems: [
  15. {
  16. label: '创建人员',
  17. prop: 'addName',
  18. type: 'input',
  19. disabled: true,
  20. placeholder: '请输入创建人员',
  21. },
  22. {
  23. label: '创建人员单位名称',
  24. prop: 'addDept',
  25. type: 'input',
  26. disabled: true,
  27. placeholder: '请输入创建人员单位名称',
  28. },
  29. {
  30. label: '创建时间',
  31. prop: 'addDate',
  32. type: 'input',
  33. disabled: true,
  34. placeholder: '请输入创建时间',
  35. },
  36. {
  37. label: '单位名称',
  38. prop: 'unitName',
  39. type: 'select',
  40. placeholder: '请选择单位名称',
  41. },
  42. {
  43. label: '联络人名称',
  44. prop: 'contactName',
  45. type: 'input',
  46. placeholder: '请输入联络人名称',
  47. },
  48. {
  49. label: '所属部门',
  50. prop: 'belongsDept',
  51. type: 'input',
  52. placeholder: '请输入所属部门',
  53. },
  54. {
  55. label: '所属职务',
  56. prop: 'position',
  57. type: 'input',
  58. placeholder: '请输入所属职务',
  59. },
  60. {
  61. label: '微信号',
  62. prop: 'wxNumber',
  63. type: 'input',
  64. placeholder: '请输入微信号',
  65. },
  66. {
  67. label: '联系电话',
  68. prop: 'contactNumber',
  69. type: 'input',
  70. placeholder: '请输入联系电话',
  71. },
  72. {
  73. label: '固定电话',
  74. prop: 'telephone',
  75. type: 'input',
  76. placeholder: '请输入固定电话',
  77. },
  78. {
  79. label: '传真号',
  80. prop: 'fixedTelephone',
  81. type: 'input',
  82. placeholder: '请输入传真号',
  83. },
  84. {
  85. label: '电子邮箱',
  86. prop: 'email',
  87. type: 'input',
  88. placeholder: '请输入电子邮箱',
  89. },
  90. ],
  91. };
  92. export default modalConfig;