| | |
| | | { |
| | | "templateName": "业务轨迹", |
| | | "templateCode": "businessTableHis", |
| | | "templateKey": "hisId", |
| | | "templateKeyName": "轨迹ID", |
| | | "searchCode": "hisId", |
| | | "searchName": "轨迹ID", |
| | | "directories": "dev", |
| | | "conditions": [ |
| | | { |
| | | "name": "动作", |
| | | "inputType": "select", |
| | | "selectValue":"ADD,MOD,DEL", |
| | | "selectValueName":"添加,修改,删除", |
| | | "code": "action", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "表名", |
| | | "inputType": "input", |
| | | "code": "actionObj", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "业务类型", |
| | | "inputType": "input", |
| | | "code": "businessTypeCd", |
| | | "whereCondition": "equal" |
| | | } |
| | | ], |
| | | "templateKeyName": "组件ID", |
| | | "templateName": "报表组件", |
| | | "columns": [ |
| | | { |
| | | "code": "businessTypeCd", |
| | | "cnCode": "业务类型", |
| | | "desc": "必填,请填写业务类型", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "inputType": "input", |
| | | "limitParam": "64", |
| | | "code": "name", |
| | | "limitErrInfo": "组件名称不能超过64", |
| | | "cnCode": "组件名称", |
| | | "limit": "maxLength", |
| | | "limitParam": "30", |
| | | "limitErrInfo": "业务类型超过30位", |
| | | "show": true |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,组件名称" |
| | | }, |
| | | { |
| | | "code": "action", |
| | | "cnCode": "动作", |
| | | "desc": "必填,请选择动作", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "inputType": "select", |
| | | "selectValue":"ADD,MOD,DEL", |
| | | "selectValueName":"添加,修改,删除", |
| | | "limit": "maxLength", |
| | | "limitParam": "12", |
| | | "limitErrInfo": "动作不能为空", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "actionObj", |
| | | "cnCode": "表名", |
| | | "desc": "必填,请填写表名", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "inputType": "input", |
| | | "code": "componentType", |
| | | "limitErrInfo": "组件类型不能超过12", |
| | | "cnCode": "组件类型", |
| | | "limit": "maxLength", |
| | | "limitParam": "64", |
| | | "limitErrInfo": "表名超过64位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "actionObjHis", |
| | | "cnCode": "轨迹表名", |
| | | "desc": "必填,请填写轨迹表名", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "show": true, |
| | | "inputType": "input", |
| | | "limit": "maxLength", |
| | | "limitParam": "64", |
| | | "limitErrInfo": "轨迹表名超过64位", |
| | | "show": true |
| | | "required": true, |
| | | "desc": "必填,组件类型" |
| | | }, |
| | | { |
| | | "code": "remark", |
| | | "cnCode": "备注", |
| | | "desc": "可填,请填写备注", |
| | | "hasDefaultValue": false, |
| | | "limitParam": "1", |
| | | "code": "queryModel", |
| | | "limitErrInfo": "查询方式不能超过1", |
| | | "cnCode": "查询方式", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,查询方式" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "1024", |
| | | "code": "sql", |
| | | "limitErrInfo": "执行sql不能超过1024", |
| | | "cnCode": "执行sql", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": false, |
| | | "desc": "执行sql" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "defaultValue": "", |
| | | "inputType": "input", |
| | | "limitParam": "1024", |
| | | "code": "javaScript", |
| | | "limitErrInfo": "执行java脚本代码不能超过1024", |
| | | "cnCode": "执行java脚本代码", |
| | | "limit": "maxLength", |
| | | "limitParam": "200", |
| | | "limitErrInfo": "备注内容不能超过200", |
| | | "show": false |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": false, |
| | | "desc": "执行java脚本代码" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "512", |
| | | "code": "remark", |
| | | "limitErrInfo": "描述不能超过512", |
| | | "cnCode": "描述", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": false, |
| | | "desc": "描述" |
| | | } |
| | | ] |
| | | ], |
| | | "searchName": "组件ID", |
| | | "directories": "dev", |
| | | "searchCode": "componentId", |
| | | "templateCode": "reportCustomComponent", |
| | | "conditions": [ |
| | | { |
| | | "whereCondition": "equal", |
| | | "code": "componentId", |
| | | "name": "组件ID", |
| | | "inputType": "input" |
| | | }, |
| | | { |
| | | "whereCondition": "equal", |
| | | "code": "name", |
| | | "name": "组件名称", |
| | | "inputType": "input" |
| | | }, |
| | | { |
| | | "whereCondition": "equal", |
| | | "code": "componentType", |
| | | "name": "组件类型", |
| | | "inputType": "input" |
| | | } |
| | | ], |
| | | "templateKey": "componentId" |
| | | } |