old mode 100644
new mode 100755
| | |
| | | { |
| | | "templateName": "活动规则", |
| | | "directories": "property", |
| | | "templateCode": "activitiesRule", |
| | | "templateKey": "ruleId", |
| | | "templateKeyName": "规则ID", |
| | | "searchCode": "ruleId", |
| | | "searchName": "规则ID", |
| | | "conditions": [ |
| | | { |
| | | "name": "活动类型", |
| | | "inputType": "select", |
| | | "selectValue": "6666", |
| | | "selectValueName": "最美员工", |
| | | "code": "ruleType", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "规则名称", |
| | | "inputType": "input", |
| | | "code": "ruleName", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "活动对象", |
| | | "inputType": "select", |
| | | "selectValue": "2222,3333,4444", |
| | | "selectValueName": "大众,业主,员工", |
| | | "code": "activitiesObj", |
| | | "whereCondition": "equal" |
| | | } |
| | | ], |
| | | "templateKeyName": "组件ID", |
| | | "templateName": "报表组件", |
| | | "columns": [ |
| | | { |
| | | "code": "ruleType", |
| | | "cnCode": "活动类型", |
| | | "desc": "必填,请填写活动类型", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "inputType": "select", |
| | | "selectValue": "6666", |
| | | "selectValueName": "最美员工", |
| | | "limit": "num", |
| | | "limitParam": "", |
| | | "limitErrInfo": "活动类型格式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "ruleName", |
| | | "cnCode": "规则名称", |
| | | "desc": "必填,请填写规则名称", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "inputType": "input", |
| | | "limitParam": "64", |
| | | "code": "name", |
| | | "limitErrInfo": "组件名称不能超过64", |
| | | "cnCode": "组件名称", |
| | | "limit": "maxLength", |
| | | "limitParam": "128", |
| | | "limitErrInfo": "规则名称太长", |
| | | "show": true |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,组件名称" |
| | | }, |
| | | { |
| | | "code": "startTime", |
| | | "cnCode": "开始时间", |
| | | "desc": "必填,请填写开始时间", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "inputType": "input", |
| | | "limit": "datetime", |
| | | "limitParam": "128", |
| | | "limitErrInfo": "开始时间格式错误", |
| | | "show": true |
| | | },{ |
| | | "code": "endTime", |
| | | "cnCode": "结束时间", |
| | | "desc": "必填,请填写结束时间", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "inputType": "input", |
| | | "limit": "datetime", |
| | | "limitParam": "", |
| | | "limitErrInfo": "结束时间格式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "activitiesObj", |
| | | "cnCode": "活动对象", |
| | | "desc": "必填,请选择活动对象", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "inputType": "select", |
| | | "selectValue": "2222,3333,4444", |
| | | "selectValueName": "大众,业主,员工", |
| | | "limit": "num", |
| | | "limitParam": "", |
| | | "limitErrInfo": "活动对象格式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "remark", |
| | | "cnCode": "规则说明", |
| | | "desc": "必填,请填写规则说明", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "inputType": "input", |
| | | "limitParam": "12", |
| | | "code": "componentType", |
| | | "limitErrInfo": "组件类型不能超过12", |
| | | "cnCode": "组件类型", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,组件类型" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "1", |
| | | "code": "queryModel", |
| | | "limitErrInfo": "查询方式不能超过1", |
| | | "cnCode": "查询方式", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,查询方式" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "1024", |
| | | "limitErrInfo": "规则说明太长", |
| | | "show": true |
| | | "code": "sql", |
| | | "limitErrInfo": "执行sql不能超过1024", |
| | | "cnCode": "执行sql", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": false, |
| | | "desc": "执行sql" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "1024", |
| | | "code": "javaScript", |
| | | "limitErrInfo": "执行java脚本代码不能超过1024", |
| | | "cnCode": "执行java脚本代码", |
| | | "limit": "maxLength", |
| | | "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" |
| | | } |