template_owner.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {
  2. "templateName":"添加业主",
  3. "templateCode":"addOwner",
  4. "templateKey":"ownerId",
  5. "templateKeyName":"业主ID",
  6. "package": "ownerPackage",
  7. "successUrl": "/flow/ownerFlow",
  8. "needAffirm": false,
  9. "flows":[
  10. {
  11. "index": 0,
  12. "code":"floor",
  13. "flowKey": "floorId",
  14. "cnCode":"选择楼栋",
  15. "vcName":"viewFloorInfo",
  16. "businessName": "businessFloor",
  17. "businessType": "BUSINESS_TYPE_SAVE_FLOOR_INFO",
  18. "existsComponent": true
  19. },
  20. {
  21. "index": 1,
  22. "code":"room",
  23. "flowKey": "roomId",
  24. "cnCode":"选择房屋",
  25. "vcName":"sellRoomSelectRoom",
  26. "businessName": "businessRoom",
  27. "businessType": "BUSINESS_TYPE_SAVE_ROOM_INFO",
  28. "existsComponent": true
  29. },
  30. {
  31. "index": 2,
  32. "code":"owner",
  33. "flowKey": "ownerId",
  34. "cnCode":"填写业主信息",
  35. "vcName":"addOwner",
  36. "businessName": "businessOwner",
  37. "businessType": "BUSINESS_TYPE_SAVE_OWNER_INFO",
  38. "existsComponent": false
  39. }
  40. ],
  41. "components": {
  42. "addOwner": {
  43. "templateName":"添加业主",
  44. "templateCode":"addOwner",
  45. "package": "ownerPackage",
  46. "columns":[
  47. {
  48. "code":"name",
  49. "cnCode":"名称",
  50. "desc":"必填,名称不能为空",
  51. "required":true,
  52. "hasDefaultValue":false,
  53. "inputType":"input",
  54. "limit":"maxin",
  55. "limitParam":"2,10",
  56. "limitErrInfo":"名称长度必须在2位至10位",
  57. "show": true
  58. },
  59. {
  60. "code":"sex",
  61. "cnCode":"性别",
  62. "desc":"必填,请选择性别",
  63. "required":true,
  64. "hasDefaultValue":false,
  65. "inputType":"select",
  66. "selectValue":"1,0",
  67. "selectValueName":"男,女",
  68. "limit":"num",
  69. "limitParam":"",
  70. "limitErrInfo":"性别不能为空",
  71. "show": true
  72. },
  73. {
  74. "code":"age",
  75. "cnCode":"年龄",
  76. "desc":"必填,请填写年龄",
  77. "required":true,
  78. "hasDefaultValue":false,
  79. "defaultValue":"",
  80. "inputType":"input",
  81. "limit":"num",
  82. "limitParam":"",
  83. "limitErrInfo":"年龄不是有效的数字",
  84. "show": false
  85. },
  86. {
  87. "code":"link",
  88. "cnCode":"手机",
  89. "desc":"必填,请填写联系方式",
  90. "required":false,
  91. "hasDefaultValue":false,
  92. "defaultValue":"",
  93. "inputType":"textarea",
  94. "limit":"maxLength",
  95. "limitParam":"2000",
  96. "limitErrInfo":"输出模板不能超过2000",
  97. "show": false
  98. },
  99. {
  100. "code":"remark",
  101. "cnCode":"备注",
  102. "desc":"可填,请填写备注",
  103. "required":false,
  104. "hasDefaultValue":false,
  105. "defaultValue":"",
  106. "inputType":"textarea",
  107. "limit":"maxLength",
  108. "limitParam":"200",
  109. "limitErrInfo":"备注长度不能超过200位",
  110. "show": false
  111. }
  112. ]
  113. }
  114. }
  115. }