template_acitvities.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. "templateName":"活动",
  3. "templateCode":"activities",
  4. "templateKey":"activitiesId",
  5. "templateKeyName":"活动ID",
  6. "searchCode": "title",
  7. "searchName": "活动标题",
  8. "conditions": [
  9. {
  10. "name": "活动标题",
  11. "inputType": "input",
  12. "code": "title",
  13. "whereCondition": "equal"
  14. },
  15. {
  16. "name": "活动类型",
  17. "inputType": "select",
  18. "selectValue":"10001,10002",
  19. "selectValueName":"小区文化,其他",
  20. "code": "typeCd",
  21. "whereCondition": "equal"
  22. },
  23. {
  24. "name": "员工名称",
  25. "inputType": "input",
  26. "code": "userName",
  27. "whereCondition": "equal"
  28. },
  29. {
  30. "name": "活动ID",
  31. "inputType": "input",
  32. "code": "activitiesId",
  33. "whereCondition": "equal"
  34. }
  35. ],
  36. "columns":[
  37. {
  38. "code":"title",
  39. "cnCode":"活动标题",
  40. "desc":"必填,请填写业活动标题",
  41. "required":true,
  42. "hasDefaultValue":false,
  43. "inputType":"input",
  44. "limit":"maxin",
  45. "limitParam":"1,200",
  46. "limitErrInfo":"活动标题不能超过200位",
  47. "show": true
  48. },
  49. {
  50. "code": "typeCd",
  51. "cnCode":"活动类型",
  52. "desc":"必填,请选择活动类型",
  53. "required":true,
  54. "hasDefaultValue":false,
  55. "inputType": "select",
  56. "selectValue":"10001,10002",
  57. "selectValueName":"小区文化,其他",
  58. "limit":"num",
  59. "limitParam":"",
  60. "limitErrInfo":"活动类型格式错误",
  61. "show": true
  62. },
  63. {
  64. "code": "headerImg",
  65. "cnCode":"头部照片",
  66. "desc":"必填,请选择头部照片",
  67. "required":true,
  68. "hasDefaultValue":false,
  69. "inputType": "input",
  70. "limit":"maxin",
  71. "limitParam":"1,200",
  72. "limitErrInfo":"头部照片格式错误",
  73. "show": true
  74. },
  75. {
  76. "code": "context",
  77. "cnCode":"活动内容",
  78. "desc":"必填,请填写活动内容",
  79. "required":true,
  80. "hasDefaultValue":false,
  81. "inputType": "input",
  82. "limit":"maxin",
  83. "limitParam":"1,4000",
  84. "limitErrInfo":"活动内容太长",
  85. "show": true
  86. },
  87. {
  88. "code": "startTime",
  89. "cnCode":"开始时间",
  90. "desc":"必填,请选择开始时间",
  91. "required":true,
  92. "hasDefaultValue":false,
  93. "inputType": "input",
  94. "limit":"date",
  95. "limitParam":"",
  96. "limitErrInfo":"开始时间格式错误",
  97. "show": true
  98. },
  99. {
  100. "code": "endTime",
  101. "cnCode":"结束时间",
  102. "desc":"必填,请选择结束时间",
  103. "required":true,
  104. "hasDefaultValue":false,
  105. "inputType": "input",
  106. "limit":"date",
  107. "limitParam":"",
  108. "limitErrInfo":"结束时间格式错误",
  109. "show": true
  110. }
  111. ]
  112. }