template_unit.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "templateName":"单元",
  3. "templateCode":"unit",
  4. "templateKey":"unitId",
  5. "templateKeyName":"单元ID",
  6. "searchCode": "unitNum",
  7. "searchName": "单元编号",
  8. "columns":[
  9. {
  10. "code":"unitNum",
  11. "cnCode":"单元编号",
  12. "desc":"必填,请填写单元编号,如1",
  13. "required":true,
  14. "hasDefaultValue":false,
  15. "inputType":"input",
  16. "limit":"num",
  17. "limitParam":"",
  18. "limitErrInfo":"单元编号必须是数字"
  19. },
  20. {
  21. "code":"layerCount",
  22. "cnCode":"总层数",
  23. "desc":"必填,请填写单元总层数",
  24. "required":true,
  25. "hasDefaultValue":false,
  26. "inputType":"input",
  27. "limit":"num",
  28. "limitParam":"",
  29. "limitErrInfo":"单元总层数必须是数字"
  30. },
  31. {
  32. "code":"lift",
  33. "cnCode":"电梯",
  34. "desc":"必填,请选择是否有电梯",
  35. "required":true,
  36. "hasDefaultValue":false,
  37. "inputType":"select",
  38. "selectValue":"1010,2020",
  39. "selectValueName":"有,无",
  40. "limit":"maxLength",
  41. "limitParam":"10",
  42. "limitErrInfo":"电梯错误"
  43. },
  44. {
  45. "code":"remark",
  46. "cnCode":"备注",
  47. "desc":"可填,请填写备注",
  48. "required":false,
  49. "hasDefaultValue":false,
  50. "defaultValue":"",
  51. "inputType":"textarea",
  52. "limit":"maxLength",
  53. "limitParam":"200",
  54. "limitErrInfo":"备注内容不能超过200"
  55. }
  56. ]
  57. }