template_1.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "templateName":"小区",
  3. "templateCode":"community",
  4. "templateKey":"communityId",
  5. "templateKeyName":"小区ID",
  6. "columns":[
  7. {
  8. "code":"name",
  9. "cnCode":"小区名称",
  10. "desc":"必填,请填写小区名称",
  11. "required":true,
  12. "hasDefaultValue":false,
  13. "inputType":"input",
  14. "limit":"maxin",
  15. "limitParam":"10,20",
  16. "limitErrInfo":"小区名称必须在10至20字符之间"
  17. },
  18. {
  19. "code":"address",
  20. "cnCode":"小区地址",
  21. "desc":"必填,请填写小区地址",
  22. "required":true,
  23. "hasDefaultValue":false,
  24. "inputType":"input",
  25. "limit":"maxin",
  26. "limitParam":"50",
  27. "limitErrInfo":"小区地址不能大于50个字符"
  28. },
  29. {
  30. "code":"nearbyLandmarks",
  31. "cnCode":"附近地标",
  32. "desc":"必填,请填写小区附近地标",
  33. "required":true,
  34. "hasDefaultValue":false,
  35. "inputType":"input",
  36. "limit":"maxin",
  37. "limitParam":"50",
  38. "limitErrInfo":"小区附近地标不能大于50个字符"
  39. },
  40. {
  41. "code":"cityCode",
  42. "cnCode":"城市编码",
  43. "desc":"",
  44. "required":false,
  45. "hasDefaultValue":true,
  46. "defaultValue":"0971",
  47. "inputType":"none",
  48. "limit":"maxin",
  49. "limitParam":"12",
  50. "limitErrInfo":"小区城市编码不能大于4个字符"
  51. },
  52. {
  53. "code":"mapX",
  54. "cnCode":"小区维度",
  55. "desc":"",
  56. "required":false,
  57. "hasDefaultValue":true,
  58. "defaultValue":"101.33",
  59. "inputType":"none",
  60. "limit":"maxin",
  61. "limitParam":"20",
  62. "limitErrInfo":"小区城市编码不能大于4个字符"
  63. },
  64. {
  65. "code":"mapY",
  66. "cnCode":"小区经度",
  67. "desc":"",
  68. "required":false,
  69. "hasDefaultValue":true,
  70. "defaultValue":"101.33",
  71. "inputType":"none",
  72. "limit":"maxin",
  73. "limitParam":"20",
  74. "limitErrInfo":"小区城市编码不能大于4个字符"
  75. }
  76. ]
  77. }