java110
2021-08-23 1d4e7dc07b0ef56d852a02ffc6f02df0d28d4549
java110-generator/src/main/resources/web/template_1.json
old mode 100644 new mode 100755
@@ -1,106 +1,72 @@
{
  "templateName":"合同信息",
  "directories": "admin",
  "templateCode":"contract",
  "templateKey":"contractId",
  "templateKeyName":"合同ID",
  "searchCode": "appointmentId",
  "searchName": "预约ID",
  "templateName": "流程实例",
  "templateCode": "oaWorkflow",
  "templateKey": "flowId",
  "templateKeyName": "工作流ID",
  "searchCode": "flowId",
  "searchName": "工作流ID",
  "directories": "property",
  "conditions": [
    {
      "name": "租客名称",
      "name": "流程名称",
      "inputType": "input",
      "code": "tenantName",
      "code": "flowName",
      "whereCondition": "equal"
    },
    {
      "name": "租客手机号",
      "name": "描述",
      "inputType": "input",
      "code": "tenantTel",
      "code": "describle",
      "whereCondition": "equal"
    },
    {
      "name": "预约房屋编号",
      "inputType": "input",
      "code": "appointmentRoomId",
      "name": "流程类型",
      "inputType": "select",
      "selectValue":"1001,2002",
      "selectValueName":"国内,国外",
      "code": "flowType",
      "whereCondition": "equal"
    }
  ],
  "columns":[
  "columns": [
    {
      "code": "tenantName",
      "cnCode":"租客名称",
      "desc":"必填,请填写租客名称",
      "required":true,
      "hasDefaultValue":false,
      "code": "flowName",
      "cnCode": "流程名称",
      "desc": "必填,请填写流程名称",
      "required": true,
      "hasDefaultValue": false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"64",
      "limitErrInfo":"租客名称不能超过64位",
      "limit": "maxLength",
      "limitParam": "64",
      "limitErrInfo": "流程名称超过64位",
      "show": true
    },
    {
      "code": "tenantSex",
      "cnCode":"租客性别",
      "desc":"选填,请选择租客性别",
      "required":true,
      "hasDefaultValue":false,
      "code": "flowType",
      "cnCode": "流程类型",
      "desc": "必填,请填写流程类型",
      "required": true,
      "hasDefaultValue": false,
      "inputType": "select",
      "selectValue":"0,1",
      "selectValueName":"男,女",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"年龄格式错误",
      "selectValue":"1001",
      "selectValueName":"普通流程",
      "limit": "maxLength",
      "limitParam": "12",
      "limitErrInfo": "流程类型不能为空",
      "show": true
    },
    {
      "code": "tenantTel",
      "cnCode":"租客电话",
      "desc":"必填,请填写租客电话",
      "required":true,
      "hasDefaultValue":false,
      "code": "describle",
      "cnCode": "备注",
      "desc": "可填,请填写备注",
      "required": false,
      "hasDefaultValue": false,
      "defaultValue": "",
      "inputType": "input",
      "limit":"phone",
      "limitParam":"",
      "limitErrInfo":"手机号格式错误",
      "show": true
    },
    {
      "code": "appointmentTime",
      "cnCode":"预约时间",
      "desc":"必填,请填写预约时间",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"datetime",
      "limitParam":"",
      "limitErrInfo":"预约时间格式错误",
      "show": true
    },
    {
      "code": "appointmentRoomId",
      "cnCode":"预约房屋",
      "desc":"选填,请填写预约房屋",
      "required":false,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"预约房屋格式错误",
      "show": true
    },
    {
      "code": "remark",
      "cnCode":"备注",
      "desc":"选填,请填写备注",
      "required":false,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"500",
      "limitErrInfo":"备注不能超过500字",
      "show": true
      "limit": "maxLength",
      "limitParam": "200",
      "limitErrInfo": "备注内容不能超过200",
      "show": false
    }
  ]
}