template_application_key.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. {
  2. "templateName":"钥匙申请",
  3. "templateCode":"applicationKey",
  4. "templateKey":"applicationKeyId",
  5. "templateKeyName":"钥匙申请ID",
  6. "searchCode": "name",
  7. "searchName": "名称",
  8. "conditions": [
  9. {
  10. "name": "名称",
  11. "inputType": "input",
  12. "code": "name",
  13. "whereCondition": "equal"
  14. },
  15. {
  16. "name": "用户类型",
  17. "inputType": "select",
  18. "code": "typeCd",
  19. "selectValue":"10001,10002,10003",
  20. "selectValueName":"保洁,保安,其他人员",
  21. "whereCondition": "equal"
  22. },
  23. {
  24. "name": "用户手机",
  25. "inputType": "input",
  26. "code": "tel",
  27. "whereCondition": "equal"
  28. },
  29. {
  30. "name": "身份证号",
  31. "inputType": "input",
  32. "code": "idCard",
  33. "whereCondition": "equal"
  34. }
  35. ],
  36. "columns":[
  37. {
  38. "code":"name",
  39. "cnCode":"姓名",
  40. "desc":"必填,请填写姓名",
  41. "required":true,
  42. "hasDefaultValue":false,
  43. "inputType":"input",
  44. "limit":"maxin",
  45. "limitParam":"1,64",
  46. "limitErrInfo":"姓名不能超过64位",
  47. "show": true
  48. },
  49. {
  50. "code": "tel",
  51. "cnCode":"手机号",
  52. "desc":"必填,请填写手机号",
  53. "required":true,
  54. "hasDefaultValue":false,
  55. "inputType": "input",
  56. "limit":"phone",
  57. "limitParam":"",
  58. "limitErrInfo":"手机号格式错误",
  59. "show": true
  60. },
  61. {
  62. "code": "typeCd",
  63. "cnCode":"用户类型",
  64. "desc":"必填,请选择用户类型",
  65. "required":true,
  66. "hasDefaultValue":false,
  67. "inputType": "select",
  68. "selectValue":"10001,10002,10003",
  69. "selectValueName":"保洁,保安,其他人员",
  70. "limit":"num",
  71. "limitParam":"",
  72. "limitErrInfo":"用户类型格式错误",
  73. "show": true
  74. },
  75. {
  76. "code": "sex",
  77. "cnCode":"性别",
  78. "desc":"必填,请选择性别",
  79. "required":true,
  80. "hasDefaultValue":false,
  81. "inputType": "select",
  82. "selectValue":"0,1",
  83. "selectValueName":"男,女",
  84. "limit":"num",
  85. "limitParam":"",
  86. "limitErrInfo":"性别格式错误",
  87. "show": true
  88. },
  89. {
  90. "code": "age",
  91. "cnCode":"年龄",
  92. "desc":"必填,请填写年龄",
  93. "required":true,
  94. "hasDefaultValue":false,
  95. "inputType": "input",
  96. "limit":"num",
  97. "limitParam":"",
  98. "limitErrInfo":"年龄不是有效数字",
  99. "show": true
  100. },
  101. {
  102. "code":"idCard",
  103. "cnCode":"身份证号",
  104. "desc":"必填,请填写身份证号",
  105. "required":true,
  106. "hasDefaultValue":false,
  107. "inputType":"input",
  108. "limit":"idCard",
  109. "limitParam":"",
  110. "limitErrInfo":"不是有效的身份证号",
  111. "show": true
  112. },
  113. {
  114. "code": "startTime",
  115. "cnCode":"开始时间",
  116. "desc":"必填,请选择开始时间",
  117. "required":true,
  118. "hasDefaultValue":false,
  119. "inputType": "input",
  120. "limit":"dateTime",
  121. "limitParam":"",
  122. "limitErrInfo":"不是有效的时间格式",
  123. "show": true
  124. },
  125. {
  126. "code": "endTime",
  127. "cnCode":"结束时间",
  128. "desc":"必填,请选择结束时间",
  129. "required":true,
  130. "hasDefaultValue":false,
  131. "inputType": "input",
  132. "limit":"dateTime",
  133. "limitParam":"",
  134. "limitErrInfo":"不是有效的时间格式",
  135. "show": true
  136. }
  137. ]
  138. }