| | |
| | | { |
| | | "templateName":"菜单", |
| | | "templateCode":"menu", |
| | | "templateKey":"mId", |
| | | "templateKeyName":"菜单ID", |
| | | "templateName":"小程序管理", |
| | | "templateCode":"smallWeChat", |
| | | "templateKey":"weChatId", |
| | | "templateKeyName":"编码", |
| | | "searchCode": "name", |
| | | "searchName": "菜单名称", |
| | | "searchName": "小程序名称", |
| | | "conditions": [ |
| | | { |
| | | "name": "菜单组名称", |
| | | "inputType": "choose", |
| | | "componentName": "chooseMenuGroup", |
| | | "code": "gName", |
| | | "key": "gId", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "菜单ID", |
| | | "name": "小程序名称", |
| | | "inputType": "input", |
| | | "code": "mId", |
| | | "code": "name", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "菜单名称", |
| | | "name": "appId", |
| | | "inputType": "input", |
| | | "code": "mName", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "权限ID", |
| | | "inputType": "input", |
| | | "code": "pId", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "权限名称", |
| | | "inputType": "input", |
| | | "code": "pName", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "商户类型", |
| | | "inputType": "select", |
| | | "code": "domain", |
| | | "selectValue":"800900000001,800900000002,800900000003,800900000000", |
| | | "selectValueName":"运营团队,代理商,物业,开发团队", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "用户名称", |
| | | "inputType": "input", |
| | | "code": "uName", |
| | | "code": "appId", |
| | | "whereCondition": "equal" |
| | | } |
| | | ], |
| | | "columns":[ |
| | | { |
| | | "code":"name", |
| | | "cnCode":"菜单名称", |
| | | "desc":"必填,请填写菜单名称", |
| | | "cnCode":"小程序名称", |
| | | "desc":"必填,请填写小程序名称", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "inputType": "input", |
| | | "limit":"max", |
| | | "limitParam":"1,100", |
| | | "limitErrInfo":"小程序名称不能超过100位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "appId", |
| | | "cnCode":"appId", |
| | | "desc":"必填,请填写appId", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"maxin", |
| | | "limitParam":"2,10", |
| | | "limitErrInfo":"菜单名称必须在2至10字符之间", |
| | | "limitParam":"1,100", |
| | | "limitErrInfo":"appId不能超过100位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"url", |
| | | "cnCode":"菜单地址", |
| | | "desc":"必填,请菜单菜单地址", |
| | | "code":"appSecret", |
| | | "cnCode":"应用密钥", |
| | | "desc":"必填,请填写应用密钥", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "inputType": "input", |
| | | "limit":"maxin", |
| | | "limitParam":"2,10", |
| | | "limitErrInfo":"菜单名称必须在2至10字符之间", |
| | | "limitParam":"1,200", |
| | | "limitErrInfo":"应用密钥不能超过200个字符", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"seq", |
| | | "cnCode":"序列", |
| | | "desc":"必填,请填写序列", |
| | | "code": "payPassword", |
| | | "cnCode":"支付密码", |
| | | "desc":"必填,请填写支付密码", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "limit":"num", |
| | | "limitParam":"", |
| | | "limitErrInfo":"序列必须为整数", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"isShow", |
| | | "cnCode":"菜单显示", |
| | | "desc":"必填,请选择是否显示菜单", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"select", |
| | | "selectValue":"Y,N", |
| | | "selectValueName":"显示菜单,不显示菜单", |
| | | "inputType": "input", |
| | | "limit":"maxin", |
| | | "limitParam":"1,12", |
| | | "limitErrInfo":"菜单显示错误", |
| | | "limitParam":"1,200", |
| | | "limitErrInfo":"支付密码不能超过200个字符", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"description", |
| | | "cnCode":"描述", |
| | | "desc":"可填,请填写描述", |
| | | "required":false, |
| | | "hasDefaultValue":false, |
| | | "defaultValue":"", |
| | | "inputType":"textarea", |
| | | "limit":"maxLength", |
| | | "limitParam":"200", |
| | | "limitErrInfo":"备注内容不能超过200", |
| | | "show": false |
| | | } |
| | | ] |
| | | } |