template_notice.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "templateName":"公告",
  3. "templateCode":"notice",
  4. "templateKey":"noticeId",
  5. "templateKeyName":"公告ID",
  6. "columns":[
  7. {
  8. "code":"title",
  9. "cnCode":"标题",
  10. "desc":"必填,请填写标题",
  11. "required":true,
  12. "hasDefaultValue":false,
  13. "inputType":"input",
  14. "limit":"maxin",
  15. "limitParam":"4,100",
  16. "limitErrInfo":"小区名称必须在4至100字符之间"
  17. },
  18. {
  19. "code":"noticeTypeCd",
  20. "cnCode":"公告类型",
  21. "desc":"必填,请选择公告类型",
  22. "required":true,
  23. "hasDefaultValue":false,
  24. "inputType":"select",
  25. "selectValue":"1000,1001,1002",
  26. "selectValueName":"业主通知,员工通知,小区通知",
  27. "limit":"maxLength",
  28. "limitParam":"200",
  29. "limitErrInfo":"公告类型错误"
  30. },
  31. {
  32. "code":"context",
  33. "cnCode":"公告内容",
  34. "desc":"必填,请填写公告内容",
  35. "required":true,
  36. "hasDefaultValue":false,
  37. "inputType":"input",
  38. "limit":"maxLength",
  39. "limitParam":"500",
  40. "limitErrInfo":"公告内容不能超过500个字"
  41. },
  42. {
  43. "code":"startTime",
  44. "cnCode":"开始时间",
  45. "desc":"必选,请填写开始时间 2019-01-02",
  46. "required":true,
  47. "hasDefaultValue":false,
  48. "defaultValue":"",
  49. "inputType":"input",
  50. "limit":"date",
  51. "limitParam":"",
  52. "limitErrInfo":"开始时间不是有效的日志"
  53. }
  54. ]
  55. }