| | |
| | | { |
| | | "templateName":"服务", |
| | | "templateCode":"service", |
| | | "templateKey":"serviceId", |
| | | "templateKeyName":"服务ID", |
| | | "searchCode": "name", |
| | | "searchName": "服务名称", |
| | | "columns":[ |
| | | "templateName":"添加员工", |
| | | "templateCode":"addStaffStep", |
| | | "templateKey":"userId", |
| | | "templateKeyName":"员工ID", |
| | | "package": "staffPackage", |
| | | "successUrl": "/flow/staff", |
| | | "needAffirm": false, |
| | | "flows":[ |
| | | { |
| | | "code":"name", |
| | | "cnCode":"服务名称", |
| | | "desc":"必填,请填写服务名称", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "limit":"maxLength", |
| | | "limitParam":"50", |
| | | "limitErrInfo":"服务名称不能超过50" |
| | | "index": 0, |
| | | "code":"branchOrg", |
| | | "flowKey": "branchOrgId", |
| | | "cnCode":"选择分公司", |
| | | "vcName":"viewOrgInfo", |
| | | "businessName": "businessOrg", |
| | | "businessType": "BUSINESS_TYPE_SAVE_ORG_INFO", |
| | | "existsComponent": true |
| | | }, |
| | | { |
| | | "code":"serviceCode", |
| | | "cnCode":"服务编码", |
| | | "desc":"必填,请填写服务编码如 service.saveService", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "limit":"maxin", |
| | | "limitParam":"2,50", |
| | | "limitErrInfo":"服务编码必须在2至50字符之间" |
| | | "index": 1, |
| | | "code":"departmentOrg", |
| | | "flowKey": "departmentOrgId", |
| | | "cnCode":"选择部门", |
| | | "vcName":"viewOrgInfo", |
| | | "businessName": "businessOrg", |
| | | "businessType": "BUSINESS_TYPE_SAVE_ORG_INFO", |
| | | "existsComponent": true |
| | | }, |
| | | { |
| | | "code":"businessTypeCd", |
| | | "cnCode":"秘钥", |
| | | "desc":"可填,请填写秘钥,如果填写了需要加密传输", |
| | | "required":true, |
| | | "hasDefaultValue":true, |
| | | "defaultValue":"API", |
| | | "inputType":"none", |
| | | "limit":"maxin", |
| | | "limitParam":"2,4", |
| | | "limitErrInfo":"业务类型必须为API" |
| | | }, |
| | | |
| | | { |
| | | "code":"seq", |
| | | "cnCode":"序列", |
| | | "desc":"必填,请填写序列", |
| | | "required":true, |
| | | "hasDefaultValue":true, |
| | | "defaultValue":"1", |
| | | "inputType":"none", |
| | | "limit":"maxLength", |
| | | "limitParam":"1", |
| | | "limitErrInfo":"序列格式错误" |
| | | }, |
| | | |
| | | { |
| | | "code":"messageQueueName", |
| | | "cnCode":"消息队列", |
| | | "desc":"可填,请填写消息队列,订单在异步调用时使用", |
| | | "required":false, |
| | | "hasDefaultValue":false, |
| | | "defaultValue":"", |
| | | "inputType":"input", |
| | | "limit":"maxLength", |
| | | "limitParam":"50", |
| | | "limitErrInfo":"消息队列不能超过50" |
| | | "index": 2, |
| | | "code":"staff", |
| | | "flowKey": "userId", |
| | | "cnCode":"填写员工信息", |
| | | "vcName":"addStaff", |
| | | "businessName": "businessStaff", |
| | | "businessType": "BUSINESS_TYPE_SAVE_STAFF_INFO", |
| | | "existsComponent": false |
| | | } |
| | | , |
| | | |
| | | { |
| | | "code":"isInstance", |
| | | "cnCode":"是否实例", |
| | | "desc":"可填,请填写实例 Y 或N", |
| | | "required":true, |
| | | "hasDefaultValue":true, |
| | | "defaultValue":"Y", |
| | | "inputType":"input", |
| | | "limit":"maxLength", |
| | | "limitParam":"50", |
| | | "limitErrInfo":"实例不能超过50" |
| | | } |
| | | , |
| | | |
| | | { |
| | | "code":"url", |
| | | "cnCode":"调用地址", |
| | | "desc":"可填,请填写调用地址", |
| | | "required":false, |
| | | "hasDefaultValue":true, |
| | | "defaultValue":"http://order-service/orderApi/service", |
| | | "inputType":"input", |
| | | "limit":"maxLength", |
| | | "limitParam":"200", |
| | | "limitErrInfo":"调用地址不能超过200" |
| | | }, |
| | | { |
| | | "code":"method", |
| | | "cnCode":"调用方式", |
| | | "desc":"必填,请填写调用方式", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"select", |
| | | "selectValue":"GET,POST", |
| | | "selectValueName":"http get,http post", |
| | | "limit":"maxLength", |
| | | "limitParam":"50", |
| | | "limitErrInfo":"调用方式不能超过50" |
| | | }, |
| | | { |
| | | "code":"timeout", |
| | | "cnCode":"超时时间", |
| | | "desc":"必填,请填写超时时间", |
| | | "required":true, |
| | | "hasDefaultValue":true, |
| | | "defaultValue":"60", |
| | | "inputType":"input", |
| | | "limit":"num", |
| | | "limitParam":"", |
| | | "limitErrInfo":"超时时间必须为数字" |
| | | }, |
| | | { |
| | | "code":"retryCount", |
| | | "cnCode":"重试次数", |
| | | "desc":"必填,请填写重试次数", |
| | | "required":true, |
| | | "hasDefaultValue":true, |
| | | "defaultValue":"3", |
| | | "inputType":"input", |
| | | "limit":"num", |
| | | "limitParam":"", |
| | | "limitErrInfo":"重试次数必须为数字" |
| | | }, |
| | | { |
| | | "code":"provideAppId", |
| | | "cnCode":"提供服务", |
| | | "desc":"必填,请填写提供服务", |
| | | "required":true, |
| | | "hasDefaultValue":true, |
| | | "defaultValue":"8000418002", |
| | | "inputType":"none", |
| | | "limit":"num", |
| | | "limitParam":"", |
| | | "limitErrInfo":"重试次数必须为数字" |
| | | } |
| | | |
| | | ] |
| | | ], |
| | | "components": { |
| | | "addStaff": { |
| | | "templateName":"添加员工", |
| | | "templateCode":"addStaff", |
| | | "package": "staffPackage", |
| | | "columns":[ |
| | | { |
| | | "code":"username", |
| | | "cnCode":"员工名称", |
| | | "desc":"必填,员工名称不能为空", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "limit":"maxin", |
| | | "limitParam":"2,10", |
| | | "limitErrInfo":"员工名称长度必须在2位至10位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"sex", |
| | | "cnCode":"员工性别", |
| | | "desc":"必填,请选择员工性别", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"select", |
| | | "selectValue":"1,0", |
| | | "selectValueName":"男,女", |
| | | "limit":"num", |
| | | "limitParam":"", |
| | | "limitErrInfo":"员工性别不能为空", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"email", |
| | | "cnCode":"员工邮箱", |
| | | "desc":"必填,请填写员工邮箱", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "defaultValue":"", |
| | | "inputType":"input", |
| | | "limit":"email", |
| | | "limitParam":"", |
| | | "limitErrInfo":"员工邮箱不是有效邮箱", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"tel", |
| | | "cnCode":"手机", |
| | | "desc":"必填,请填写联系方式", |
| | | "required":false, |
| | | "hasDefaultValue":false, |
| | | "defaultValue":"", |
| | | "inputType":"input", |
| | | "limit":"photo", |
| | | "limitParam":"", |
| | | "limitErrInfo":"联系方式不是有效手机", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"address", |
| | | "cnCode":"家庭住址", |
| | | "desc":"必填,写家庭住址", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "defaultValue":"", |
| | | "inputType":"input", |
| | | "limit":"maxLength", |
| | | "limitParam":"200", |
| | | "limitErrInfo":"家庭住址不能超过200位", |
| | | "show": false |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |