| | |
| | | { |
| | | "templateName":"菜单组", |
| | | "templateCode":"menuGroup", |
| | | "templateKey":"gId", |
| | | "templateKeyName":"组Id", |
| | | "searchCode": "name", |
| | | "searchName": "组名称", |
| | | "templateName":"活动", |
| | | "templateCode":"activities", |
| | | "templateKey":"activitiesId", |
| | | "templateKeyName":"活动ID", |
| | | "searchCode": "title", |
| | | "searchName": "活动标题", |
| | | "conditions": [ |
| | | { |
| | | "name": "组名称", |
| | | "name": "活动标题", |
| | | "inputType": "input", |
| | | "code": "name", |
| | | "whereCondition": "like" |
| | | "code": "title", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "icon", |
| | | "inputType": "input", |
| | | "code": "icon", |
| | | "whereCondition": "like" |
| | | }, |
| | | { |
| | | "name": "标签", |
| | | "name": "活动类型", |
| | | "inputType": "select", |
| | | "code": "label", |
| | | "selectValue":"HOT,TOP", |
| | | "selectValueName":"HOT,TOP", |
| | | "selectValue":"10001,10002", |
| | | "selectValueName":"小区文化,其他", |
| | | "code": "typeCd", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "员工名称", |
| | | "inputType": "input", |
| | | "code": "userName", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "活动ID", |
| | | "inputType": "input", |
| | | "code": "activitiesId", |
| | | "whereCondition": "equal" |
| | | } |
| | | ], |
| | | "columns":[ |
| | | { |
| | | "code":"name", |
| | | "cnCode":"组名称", |
| | | "desc":"必填,请填写组名称", |
| | | "code":"title", |
| | | "cnCode":"活动标题", |
| | | "desc":"必填,请填写业活动标题", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "limit":"maxin", |
| | | "limitParam":"2,10", |
| | | "limitErrInfo":"组名称必须在2至10字符之间", |
| | | "limitParam":"1,200", |
| | | "limitErrInfo":"活动标题不能超过200位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"icon", |
| | | "cnCode":"icon", |
| | | "desc":"必填,请填写icon", |
| | | "code": "typeCd", |
| | | "cnCode":"活动类型", |
| | | "desc":"必填,请选择活动类型", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "limit":"maxin", |
| | | "limitParam":"2,20", |
| | | "limitErrInfo":"icon必须在2至20字符之间", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"label", |
| | | "cnCode":"标签", |
| | | "desc":"必填,请填写标签", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"select", |
| | | "selectValue":"HOT,TOP", |
| | | "selectValueName":"HOT,TOP", |
| | | "limit":"maxin", |
| | | "limitParam":"1,20", |
| | | "limitErrInfo":"标签错误", |
| | | "show": true |
| | | }, |
| | | |
| | | { |
| | | "code":"seq", |
| | | "cnCode":"序列", |
| | | "desc":"必填,请填写序列", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "inputType": "select", |
| | | "selectValue":"10001,10002", |
| | | "selectValueName":"小区文化,其他", |
| | | "limit":"num", |
| | | "limitParam":"", |
| | | "limitErrInfo":"序列必须为整数", |
| | | "limitErrInfo":"活动类型格式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"description", |
| | | "cnCode":"描述", |
| | | "desc":"可填,请填写描述", |
| | | "required":false, |
| | | "code": "headerImg", |
| | | "cnCode":"头部照片", |
| | | "desc":"必填,请选择头部照片", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "defaultValue":"", |
| | | "inputType":"textarea", |
| | | "limit":"maxLength", |
| | | "limitParam":"200", |
| | | "limitErrInfo":"备注内容不能超过200", |
| | | "show": false |
| | | "inputType": "input", |
| | | "limit":"maxin", |
| | | "limitParam":"1,200", |
| | | "limitErrInfo":"头部照片格式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "context", |
| | | "cnCode":"活动内容", |
| | | "desc":"必填,请填写活动内容", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"maxin", |
| | | "limitParam":"1,4000", |
| | | "limitErrInfo":"活动内容太长", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "startTime", |
| | | "cnCode":"开始时间", |
| | | "desc":"必填,请选择开始时间", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"date", |
| | | "limitParam":"", |
| | | "limitErrInfo":"开始时间格式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "endTime", |
| | | "cnCode":"结束时间", |
| | | "desc":"必填,请选择结束时间", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"date", |
| | | "limitParam":"", |
| | | "limitErrInfo":"结束时间格式错误", |
| | | "show": true |
| | | } |
| | | ] |
| | | } |