search.config.ts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. interface OptionsType {
  2. label: string;
  3. value: string;
  4. }
  5. const searchConfig = {
  6. pageName: 'rentalCompany',
  7. formItems: [
  8. {
  9. label: '违法事件编号',
  10. prop: 'violationNumber',
  11. type: 'input',
  12. placeholder: '请输入选违法事件编号',
  13. span: 6,
  14. },
  15. {
  16. label: '通报类型',
  17. prop: 'notificationCategory',
  18. type: 'select',
  19. options: [],
  20. placeholder: '请选择通报类型',
  21. span: 6,
  22. },
  23. {
  24. label: '通报事项类别',
  25. prop: 'notificationMattersTypes',
  26. type: 'select',
  27. options: [] as OptionsType[],
  28. span: 6,
  29. placeholder: '请选择通报事项类别',
  30. },
  31. {
  32. label: '通报事项',
  33. prop: 'notificationMatters',
  34. type: 'input',
  35. span: 6,
  36. placeholder: '请输入通报事项',
  37. },
  38. {
  39. label: '发出单位',
  40. prop: 'releasedUnit',
  41. type: 'select',
  42. multiple: true,
  43. options: [] as OptionsType[],
  44. span: 6,
  45. placeholder: '请选择发出单位',
  46. },
  47. {
  48. label: '接收单位',
  49. prop: 'receivingUnitName',
  50. type: 'select',
  51. multiple: true,
  52. options: [] as OptionsType[],
  53. span: 6,
  54. placeholder: '请选择接收单位',
  55. },
  56. {
  57. label: '通报状态',
  58. prop: 'TODO',
  59. type: 'select',
  60. multiple: true,
  61. options: [] as OptionsType[],
  62. span: 6,
  63. placeholder: '请选择通报状态',
  64. },
  65. {
  66. label: '采取措施',
  67. prop: 'TODO',
  68. type: 'select',
  69. multiple: true,
  70. options: [] as OptionsType[],
  71. span: 6,
  72. placeholder: '请选择采取措施',
  73. },
  74. {
  75. label: '超期状态',
  76. prop: 'TODO',
  77. type: 'select',
  78. multiple: true,
  79. options: [] as OptionsType[],
  80. span: 6,
  81. placeholder: '请选择超期状态',
  82. },
  83. {
  84. label: '船舶名称',
  85. prop: 'vesselName',
  86. type: 'input',
  87. span: 6,
  88. placeholder: '请输入船舶名称',
  89. },
  90. {
  91. label: '船舶所有人',
  92. prop: 'TODO',
  93. type: 'input',
  94. span: 6,
  95. placeholder: '请输入船舶所有人',
  96. },
  97. {
  98. label: '船舶经营人',
  99. prop: 'TODO',
  100. type: 'input',
  101. span: 6,
  102. placeholder: '请输入船舶经营人',
  103. },
  104. {
  105. label: '是否需要反馈',
  106. prop: 'wfir',
  107. type: 'select',
  108. multiple: true,
  109. options: [] as OptionsType[],
  110. span: 6,
  111. placeholder: '请选择是否需要反馈',
  112. },
  113. {
  114. label: '发布日期',
  115. prop: 'releasedDate',
  116. type: 'date-picker',
  117. span: 6,
  118. placeholder: '请选择发布日期',
  119. },
  120. {
  121. label: '受理日期',
  122. prop: 'TODO',
  123. type: 'date-picker',
  124. span: 6,
  125. placeholder: '请选择发布日期',
  126. },
  127. ],
  128. };
  129. export default searchConfig;