image.png

    1. const schema = {
    2. "type": "object",
    3. "properties": {
    4. "category": {
    5. "type": "string",
    6. "title": "申报类别",
    7. "x-decorator": "FormItem",
    8. "x-component": "Select",
    9. "x-validator": [],
    10. "x-component-props": {},
    11. "x-decorator-props": {},
    12. "name": "category",
    13. "required": true,
    14. "x-designable-id": "nng9bp7f1a9",
    15. "x-index": 0
    16. },
    17. "teamLeader": {
    18. "title": "团队带头人",
    19. "x-decorator": "FormItem",
    20. "x-component": "Select",
    21. "x-validator": [],
    22. "x-component-props": {},
    23. "x-decorator-props": {},
    24. "name": "teamLeader",
    25. "required": true,
    26. "x-designable-id": "ylbdmeew5b1",
    27. "x-index": 1
    28. },
    29. "projectName": {
    30. "type": "string",
    31. "title": "项目名称",
    32. "x-decorator": "FormItem",
    33. "x-component": "Input.TextArea",
    34. "x-validator": [],
    35. "x-component-props": {
    36. "showCount": true,
    37. "maxLength": 100
    38. },
    39. "x-decorator-props": {},
    40. "name": "projectName",
    41. "required": true,
    42. "x-designable-id": "g372d2gzqvh",
    43. "x-index": 2
    44. },
    45. "bizUnit": {
    46. "type": "string",
    47. "title": "申报单位",
    48. "x-decorator": "FormItem",
    49. "x-component": "Input.TextArea",
    50. "x-validator": [],
    51. "x-component-props": {
    52. "maxLength": 200,
    53. "showCount": true
    54. },
    55. "x-decorator-props": {},
    56. "name": "bizUnit",
    57. "required": true,
    58. "x-designable-id": "tz9ujf1bii0",
    59. "x-index": 3
    60. },
    61. "city": {
    62. "title": "省市区",
    63. "x-decorator": "FormItem",
    64. "x-component": "Select",
    65. "x-validator": [],
    66. "x-component-props": {},
    67. "x-decorator-props": {},
    68. "name": "city",
    69. "required": true,
    70. "x-designable-id": "9iqrtci8fuc",
    71. "x-index": 4
    72. },
    73. "remark": {
    74. "type": "string",
    75. "title": "备注",
    76. "x-decorator": "FormItem",
    77. "x-component": "Input.TextArea",
    78. "x-validator": [],
    79. "x-component-props": {
    80. "maxLength": 200,
    81. "showCount": true,
    82. "autoSize": false
    83. },
    84. "x-decorator-props": {},
    85. "name": "remark",
    86. "required": false,
    87. "x-designable-id": "i2hjfhnniu8",
    88. "x-index": 5
    89. }
    90. },
    91. "x-designable-id": "j501chyszsr"
    92. }