| | |
| | | { |
| | | "templateName":"添加业主", |
| | | "templateCode":"addOwner", |
| | | "templateKey":"ownerId", |
| | | "templateKeyName":"业主ID", |
| | | "package": "ownerPackage", |
| | | "successUrl": "/flow/ownerFlow", |
| | | "templateName":"添加员工", |
| | | "templateCode":"addStaffStep", |
| | | "templateKey":"userId", |
| | | "templateKeyName":"员工ID", |
| | | "package": "staffPackage", |
| | | "successUrl": "/flow/staff", |
| | | "needAffirm": false, |
| | | "flows":[ |
| | | { |
| | | "index": 0, |
| | | "code":"floor", |
| | | "flowKey": "floorId", |
| | | "cnCode":"选择楼栋", |
| | | "vcName":"viewFloorInfo", |
| | | "businessName": "businessFloor", |
| | | "businessType": "BUSINESS_TYPE_SAVE_FLOOR_INFO", |
| | | "code":"branchOrg", |
| | | "flowKey": "branchOrgId", |
| | | "cnCode":"选择分公司", |
| | | "vcName":"viewOrgInfo", |
| | | "businessName": "businessOrg", |
| | | "businessType": "BUSINESS_TYPE_SAVE_ORG_INFO", |
| | | "existsComponent": true |
| | | }, |
| | | { |
| | | "index": 1, |
| | | "code":"room", |
| | | "flowKey": "roomId", |
| | | "cnCode":"选择房屋", |
| | | "vcName":"sellRoomSelectRoom", |
| | | "businessName": "businessRoom", |
| | | "businessType": "BUSINESS_TYPE_SAVE_ROOM_INFO", |
| | | "code":"departmentOrg", |
| | | "flowKey": "departmentOrgId", |
| | | "cnCode":"选择部门", |
| | | "vcName":"viewOrgInfo", |
| | | "businessName": "businessOrg", |
| | | "businessType": "BUSINESS_TYPE_SAVE_ORG_INFO", |
| | | "existsComponent": true |
| | | }, |
| | | { |
| | | "index": 2, |
| | | "code":"owner", |
| | | "flowKey": "ownerId", |
| | | "cnCode":"填写业主信息", |
| | | "vcName":"addOwner", |
| | | "businessName": "businessOwner", |
| | | "businessType": "BUSINESS_TYPE_SAVE_OWNER_INFO", |
| | | "code":"staff", |
| | | "flowKey": "userId", |
| | | "cnCode":"填写员工信息", |
| | | "vcName":"addStaff", |
| | | "businessName": "businessStaff", |
| | | "businessType": "BUSINESS_TYPE_SAVE_STAFF_INFO", |
| | | "existsComponent": false |
| | | } |
| | | ], |
| | | "components": { |
| | | "addOwner": { |
| | | "templateName":"添加业主", |
| | | "templateCode":"addOwner", |
| | | "package": "ownerPackage", |
| | | "addStaff": { |
| | | "templateName":"添加员工", |
| | | "templateCode":"addStaff", |
| | | "package": "staffPackage", |
| | | "columns":[ |
| | | { |
| | | "code":"name", |
| | | "cnCode":"名称", |
| | | "desc":"必填,名称不能为空", |
| | | "code":"username", |
| | | "cnCode":"员工名称", |
| | | "desc":"必填,员工名称不能为空", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "limit":"maxin", |
| | | "limitParam":"2,10", |
| | | "limitErrInfo":"名称长度必须在2位至10位", |
| | | "limitErrInfo":"员工名称长度必须在2位至10位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"sex", |
| | | "cnCode":"性别", |
| | | "desc":"必填,请选择性别", |
| | | "cnCode":"员工性别", |
| | | "desc":"必填,请选择员工性别", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"select", |
| | |
| | | "selectValueName":"男,女", |
| | | "limit":"num", |
| | | "limitParam":"", |
| | | "limitErrInfo":"性别不能为空", |
| | | "limitErrInfo":"员工性别不能为空", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"age", |
| | | "cnCode":"年龄", |
| | | "desc":"必填,请填写年龄", |
| | | "code":"email", |
| | | "cnCode":"员工邮箱", |
| | | "desc":"必填,请填写员工邮箱", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "defaultValue":"", |
| | | "inputType":"input", |
| | | "limit":"num", |
| | | "limit":"email", |
| | | "limitParam":"", |
| | | "limitErrInfo":"年龄不是有效的数字", |
| | | "show": false |
| | | "limitErrInfo":"员工邮箱不是有效邮箱", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"link", |
| | | "code":"tel", |
| | | "cnCode":"手机", |
| | | "desc":"必填,请填写联系方式", |
| | | "required":false, |
| | | "hasDefaultValue":false, |
| | | "defaultValue":"", |
| | | "inputType":"textarea", |
| | | "limit":"maxLength", |
| | | "limitParam":"2000", |
| | | "limitErrInfo":"输出模板不能超过2000", |
| | | "show": false |
| | | "inputType":"input", |
| | | "limit":"photo", |
| | | "limitParam":"", |
| | | "limitErrInfo":"联系方式不是有效手机", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"remark", |
| | | "cnCode":"备注", |
| | | "desc":"可填,请填写备注", |
| | | "required":false, |
| | | "code":"address", |
| | | "cnCode":"家庭住址", |
| | | "desc":"必填,写家庭住址", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "defaultValue":"", |
| | | "inputType":"textarea", |
| | | "inputType":"input", |
| | | "limit":"maxLength", |
| | | "limitParam":"200", |
| | | "limitErrInfo":"备注长度不能超过200位", |
| | | "limitErrInfo":"家庭住址不能超过200位", |
| | | "show": false |
| | | } |
| | | ] |