| | |
| | | { |
| | | "templateName":"开发服务提供", |
| | | "templateCode":"devServiceProvide", |
| | | "templateKey":"id", |
| | | "templateKeyName":"提供ID", |
| | | "package": "serviceProvidePackage", |
| | | "successUrl": "/flow/devServiceProvideFlow", |
| | | "templateName":"添加员工", |
| | | "templateCode":"addStaffStep", |
| | | "templateKey":"userId", |
| | | "templateKeyName":"员工ID", |
| | | "package": "staffPackage", |
| | | "successUrl": "/flow/staff", |
| | | "needAffirm": false, |
| | | "flows":[ |
| | | { |
| | | "index": 0, |
| | | "code":"service", |
| | | "flowKey": "serviceId", |
| | | "cnCode":"选择服务", |
| | | "vcName":"viewServiceInfo", |
| | | "businessName": "businessService", |
| | | "businessType": "BUSINESS_TYPE_SAVE_SERVICE_INFO", |
| | | "code":"branchOrg", |
| | | "flowKey": "branchOrgId", |
| | | "cnCode":"选择分公司", |
| | | "vcName":"viewOrgInfo", |
| | | "businessName": "businessOrg", |
| | | "businessType": "BUSINESS_TYPE_SAVE_ORG_INFO", |
| | | "existsComponent": true |
| | | }, |
| | | { |
| | | "index": 1, |
| | | "code":"devServiceProvide", |
| | | "flowKey": "devId", |
| | | "cnCode":"开发服务实现", |
| | | "vcName":"devServiceProvideView", |
| | | "businessName": "businessDev", |
| | | "businessType": "BUSINESS_TYPE_SAVE_DEV_INFO", |
| | | "existsComponent": false |
| | | "code":"departmentOrg", |
| | | "flowKey": "departmentOrgId", |
| | | "cnCode":"选择部门", |
| | | "vcName":"viewOrgInfo", |
| | | "businessName": "businessOrg", |
| | | "businessType": "BUSINESS_TYPE_SAVE_ORG_INFO", |
| | | "existsComponent": true |
| | | }, |
| | | { |
| | | "index": 2, |
| | | "code":"serviceProvideRemark", |
| | | "flowKey": "remarkId", |
| | | "cnCode":"备注信息", |
| | | "vcName":"serviceProvideRemarkView", |
| | | "businessName": "businessServiceProvideRemark", |
| | | "businessType": "BUSINESS_TYPE_SAVE_REMARK_INFO", |
| | | "code":"staff", |
| | | "flowKey": "userId", |
| | | "cnCode":"填写员工信息", |
| | | "vcName":"addStaff", |
| | | "businessName": "businessStaff", |
| | | "businessType": "BUSINESS_TYPE_SAVE_STAFF_INFO", |
| | | "existsComponent": false |
| | | } |
| | | ], |
| | | "components": { |
| | | "devServiceProvideView": { |
| | | "templateName":"开发服务实现", |
| | | "templateCode":"devServiceProvide", |
| | | "package": "serviceProvidePackage", |
| | | "addStaff": { |
| | | "templateName":"添加员工", |
| | | "templateCode":"addStaff", |
| | | "package": "staffPackage", |
| | | "columns":[ |
| | | { |
| | | "code":"queryModel", |
| | | "cnCode":"实现方式", |
| | | "desc":"必填,请选择是否显示菜单", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"select", |
| | | "selectValue":"1,3,2", |
| | | "selectValueName":"sql方式,java方式,存储过程方式", |
| | | "limit":"maxin", |
| | | "limitParam":"1,12", |
| | | "limitErrInfo":"实现方式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"params", |
| | | "cnCode":"参数", |
| | | "desc":"必填,请填写参数", |
| | | "code":"username", |
| | | "cnCode":"员工名称", |
| | | "desc":"必填,员工名称不能为空", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "limit":"maxLength", |
| | | "limitParam":"500", |
| | | "limitErrInfo":"参数内容不能超过200", |
| | | "limit":"maxin", |
| | | "limitParam":"2,10", |
| | | "limitErrInfo":"员工名称长度必须在2位至10位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"sql", |
| | | "cnCode":"sql", |
| | | "desc":"可填,请填写sql", |
| | | "required":false, |
| | | "code":"sex", |
| | | "cnCode":"员工性别", |
| | | "desc":"必填,请选择员工性别", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "defaultValue":"", |
| | | "inputType":"textarea", |
| | | "limit":"maxLength", |
| | | "limitParam":"2000", |
| | | "limitErrInfo":"sql不能超过2000", |
| | | "show": false |
| | | "inputType":"select", |
| | | "selectValue":"1,0", |
| | | "selectValueName":"男,女", |
| | | "limit":"num", |
| | | "limitParam":"", |
| | | "limitErrInfo":"员工性别不能为空", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"template", |
| | | "cnCode":"输出模板", |
| | | "desc":"可填,请填写输出模板", |
| | | "required":false, |
| | | "code":"email", |
| | | "cnCode":"员工邮箱", |
| | | "desc":"必填,请填写员工邮箱", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "defaultValue":"", |
| | | "inputType":"textarea", |
| | | "limit":"maxLength", |
| | | "limitParam":"2000", |
| | | "limitErrInfo":"输出模板不能超过2000", |
| | | "show": false |
| | | "inputType":"input", |
| | | "limit":"email", |
| | | "limitParam":"", |
| | | "limitErrInfo":"员工邮箱不是有效邮箱", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"proc", |
| | | "cnCode":"存储过程", |
| | | "desc":"可填,请填写存储过程", |
| | | "code":"tel", |
| | | "cnCode":"手机", |
| | | "desc":"必填,请填写联系方式", |
| | | "required":false, |
| | | "hasDefaultValue":false, |
| | | "defaultValue":"", |
| | | "inputType":"textarea", |
| | | "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 |
| | | }, |
| | | { |
| | | "code":"javaScript", |
| | | "cnCode":"java", |
| | | "desc":"可填,请填写java语句", |
| | | "required":false, |
| | | "hasDefaultValue":false, |
| | | "defaultValue":"", |
| | | "inputType":"textarea", |
| | | "limit":"maxLength", |
| | | "limitParam":"2000", |
| | | "limitErrInfo":"java不能超过2000", |
| | | "limitErrInfo":"家庭住址不能超过200位", |
| | | "show": false |
| | | } |
| | | ] |
| | | }, |
| | | "serviceProvideRemarkView": { |
| | | "templateName":"备注信息", |
| | | "templateCode":"serviceProvideRemark", |
| | | "package": "serviceProvidePackage", |
| | | "columns":[ |
| | | { |
| | | "code":"description", |
| | | "cnCode":"描述", |
| | | "desc":"可填,请填写描述", |
| | | "required":false, |
| | | "hasDefaultValue":false, |
| | | "defaultValue":"", |
| | | "inputType":"textarea", |
| | | "limit":"maxLength", |
| | | "limitParam":"200", |
| | | "limitErrInfo":"备注内容不能超过200", |
| | | "show": false |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |