template_menuGroup.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "templateName":"菜单组",
  3. "templateCode":"menuGroup",
  4. "templateKey":"gId",
  5. "templateKeyName":"组Id",
  6. "searchCode": "name",
  7. "searchName": "组名称",
  8. "conditions": [
  9. {
  10. "name": "组名称",
  11. "inputType": "input",
  12. "code": "name",
  13. "whereCondition": "like"
  14. },
  15. {
  16. "name": "icon",
  17. "inputType": "input",
  18. "code": "icon",
  19. "whereCondition": "like"
  20. },
  21. {
  22. "name": "标签",
  23. "inputType": "select",
  24. "code": "label",
  25. "selectValue":"HOT,TOP",
  26. "selectValueName":"HOT,TOP",
  27. "whereCondition": "equal"
  28. }
  29. ],
  30. "columns":[
  31. {
  32. "code":"name",
  33. "cnCode":"组名称",
  34. "desc":"必填,请填写组名称",
  35. "required":true,
  36. "hasDefaultValue":false,
  37. "inputType":"input",
  38. "limit":"maxin",
  39. "limitParam":"2,10",
  40. "limitErrInfo":"组名称必须在2至10字符之间",
  41. "show": true
  42. },
  43. {
  44. "code":"icon",
  45. "cnCode":"icon",
  46. "desc":"必填,请填写icon",
  47. "required":true,
  48. "hasDefaultValue":false,
  49. "inputType":"input",
  50. "limit":"maxin",
  51. "limitParam":"2,20",
  52. "limitErrInfo":"icon必须在2至20字符之间",
  53. "show": true
  54. },
  55. {
  56. "code":"label",
  57. "cnCode":"标签",
  58. "desc":"必填,请填写标签",
  59. "required":true,
  60. "hasDefaultValue":false,
  61. "inputType":"select",
  62. "selectValue":"HOT,TOP",
  63. "selectValueName":"HOT,TOP",
  64. "limit":"maxin",
  65. "limitParam":"1,20",
  66. "limitErrInfo":"标签错误",
  67. "show": true
  68. },
  69. {
  70. "code":"seq",
  71. "cnCode":"序列",
  72. "desc":"必填,请填写序列",
  73. "required":true,
  74. "hasDefaultValue":false,
  75. "inputType":"input",
  76. "limit":"num",
  77. "limitParam":"",
  78. "limitErrInfo":"序列必须为整数",
  79. "show": true
  80. },
  81. {
  82. "code":"description",
  83. "cnCode":"描述",
  84. "desc":"可填,请填写描述",
  85. "required":false,
  86. "hasDefaultValue":false,
  87. "defaultValue":"",
  88. "inputType":"textarea",
  89. "limit":"maxLength",
  90. "limitParam":"200",
  91. "limitErrInfo":"备注内容不能超过200",
  92. "show": false
  93. }
  94. ]
  95. }