wfy
2021-09-18 0417d31de9980cbc1735daffffb308d050ce35b4
java110-generator/src/main/resources/web/template_1.json
@@ -1,126 +1,68 @@
{
  "templateName": "返省上报",
  "templateCode": "reportInfoBackCity",
  "templateKey": "backId",
  "templateKeyName": "返回ID",
  "searchCode": "backId",
  "searchName": "返回ID",
  "templateName":"收据模板",
  "directories": "property",
  "templateCode":"feePrintPage",
  "templateKey":"pageId",
  "templateKeyName":"收据ID",
  "searchCode": "pageId",
  "searchName": "收据ID",
  "conditions": [
    {
      "name": "姓名",
      "inputType": "input",
      "code": "name",
      "whereCondition": "equal"
      "whereCondition": "equal",
      "code": "pageId",
      "name": "页面ID",
      "inputType": "input"
    },
    {
      "name": "身份证",
      "inputType": "input",
      "code": "idCard",
      "whereCondition": "equal"
      "whereCondition": "equal",
      "code": "pageName",
      "name": "名称",
      "inputType": "input"
    },
    {
      "name": "手机号",
      "inputType": "input",
      "code": "tel",
      "whereCondition": "equal"
    },
    {
      "name": "来源地",
      "inputType": "select",
      "selectValue":"1001,2002",
      "selectValueName":"国内,国外",
      "code": "source",
      "whereCondition": "equal"
      "whereCondition": "equal",
      "code": "state",
      "name": "状态",
      "inputType": "input"
    }
  ],
  "columns": [
    {
      "code": "name",
      "cnCode": "姓名",
      "desc": "必填,请填写姓名",
      "required": true,
      "hasDefaultValue": false,
      "inputType": "input",
      "limitParam": "128",
      "code": "pageName",
      "limitErrInfo": "名称不能超过128",
      "cnCode": "名称",
      "limit": "maxLength",
      "limitParam": "64",
      "limitErrInfo": "姓名超过64位",
      "show": true
      "show": true,
      "inputType": "input",
      "required": true,
      "desc": "必填,名称"
    },
    {
      "code": "idCard",
      "cnCode": "身份证",
      "desc": "必填,请填写身份证",
      "required": true,
      "hasDefaultValue": false,
      "inputType": "input",
      "limitParam": "30",
      "code": "communityId",
      "limitErrInfo": "小区ID不能超过30",
      "cnCode": "小区ID",
      "limit": "maxLength",
      "limitParam": "64",
      "limitErrInfo": "身份证不能为空",
      "show": true
    },
    {
      "code": "tel",
      "cnCode": "手机号",
      "desc": "必填,请填写手机号",
      "required": true,
      "hasDefaultValue": false,
      "show": true,
      "inputType": "input",
      "limit": "phone",
      "limitParam": "",
      "limitErrInfo": "手机号格式错误",
      "show": true
      "required": true,
      "desc": "必填,小区ID"
    },
    {
      "code": "source",
      "cnCode": "来源地",
      "desc": "必填,请填写来源地",
      "required": true,
      "hasDefaultValue": false,
      "inputType": "select",
      "selectValue":"1001,2002",
      "selectValueName":"国内,国外",
      "limit": "num",
      "limitParam": "",
      "limitErrInfo": "来源地格式错误",
      "show": true
    },
    {
      "code": "sourceCityName",
      "cnCode": "城市名称",
      "desc": "必填,请填写城市名称",
      "required": true,
      "hasDefaultValue": false,
      "inputType": "input",
      "limitParam": "512",
      "code": "pageUrl",
      "limitErrInfo": "收据页面不能超过512",
      "cnCode": "收据页面",
      "limit": "maxLength",
      "limitParam": "64",
      "limitErrInfo": "城市名称格式错误",
      "show": true
    },
    {
      "code": "backTime",
      "cnCode": "返回时间",
      "desc": "必填,请填写返回时间",
      "show": true,
      "inputType": "input",
      "required": true,
      "hasDefaultValue": false,
      "inputType": "input",
      "limit": "dateTime",
      "limitParam": "",
      "limitErrInfo": "返回时间格式错误",
      "show": true
    },
    {
      "code": "remark",
      "cnCode": "备注",
      "desc": "可填,请填写备注",
      "required": false,
      "hasDefaultValue": false,
      "defaultValue": "",
      "inputType": "input",
      "limit": "maxLength",
      "limitParam": "200",
      "limitErrInfo": "备注内容不能超过200",
      "show": false
      "desc": "必填,收据页面"
    }
  ]
}
}