| | |
| | | { |
| | | "templateName":"设备", |
| | | "templateCode":"machine", |
| | | "templateKey":"machineId", |
| | | "templateKeyName":"设备ID", |
| | | "searchCode": "machineName", |
| | | "searchName": "设备名称", |
| | | "templateName":"旧货", |
| | | "templateCode":"junkRequirement", |
| | | "templateKey":"junkRequirementId", |
| | | "templateKeyName":"旧货编码", |
| | | "searchCode": "junkRequirementId", |
| | | "searchName": "旧货编码", |
| | | "conditions": [ |
| | | { |
| | | "name": "设备编码", |
| | | "inputType": "input", |
| | | "code": "machineCode", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "设备类型", |
| | | "name": "类别", |
| | | "inputType": "select", |
| | | "code": "machineTypeCd", |
| | | "selectValue":"9999,9998", |
| | | "selectValueName":"锐目门禁,其他", |
| | | "selectValue":"10001,10002", |
| | | "selectValueName":"家具,电器", |
| | | "code": "classification", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "设备名称", |
| | | "name": "发布人", |
| | | "inputType": "input", |
| | | "code": "machineName", |
| | | "code": "publishUserName", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "设备IP", |
| | | "inputType": "input", |
| | | "code": "machineIp", |
| | | "name": "状态", |
| | | "inputType": "select", |
| | | "selectValue":"12001,13001,14001,15001", |
| | | "selectValueName":"未审核,审核通过,审核失败,处理完成", |
| | | "code": "publishUserLink", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "设备MAC", |
| | | "name": "发布电话", |
| | | "inputType": "input", |
| | | "code": "machineMac", |
| | | "code": "publishUserLink", |
| | | "whereCondition": "equal" |
| | | } |
| | | ], |
| | | "columns":[ |
| | | { |
| | | "code":"machineCode", |
| | | "cnCode":"设备编码", |
| | | "desc":"必填,请填写设备编码", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "limit":"maxin", |
| | | "limitParam":"1,30", |
| | | "limitErrInfo":"设备编码不能超过30位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "machineVersion", |
| | | "cnCode":"版本号", |
| | | "desc":"必填,请填写设备版本号", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limitParam":"1,30", |
| | | "limitParam":"", |
| | | "limitErrInfo":"设备版本号不能超过30位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "machineName", |
| | | "cnCode":"设备名称", |
| | | "desc":"必填,请填写设备名称", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limitParam":"1,200", |
| | | "limitParam":"", |
| | | "limitErrInfo":"设备名称不能超过200位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"machineTypeCd", |
| | | "cnCode":"设备类型", |
| | | "desc":"必填,请选择设备类型", |
| | | "code":"classification", |
| | | "cnCode":"类别", |
| | | "desc":"必填,请选择类别", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "select", |
| | | "selectValue":"9999,9998", |
| | | "selectValueName":"锐目门禁,其他", |
| | | "selectValue":"10001,10002", |
| | | "selectValueName":"家具,电器", |
| | | "limit":"num", |
| | | "limitParam":"", |
| | | "limitErrInfo":"设备类型格式错误", |
| | | "limitErrInfo":"任务编码格式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"authCode", |
| | | "cnCode":"鉴权编码", |
| | | "desc":"必填,请填写鉴权编码", |
| | | "code": "inspectionPlanId", |
| | | "cnCode":"巡检计划", |
| | | "desc":"必填,请填写收费项目", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "inputType": "input", |
| | | "limit":"maxin", |
| | | "limitParam":"1,100", |
| | | "limitErrInfo":"收费项目不能超过100位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"context", |
| | | "cnCode":"内容", |
| | | "desc":"必填,请选择内容", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"maxLength", |
| | | "limitParam":"64", |
| | | "limitErrInfo":"鉴权编码不能大于64位", |
| | | "limitParam":"200", |
| | | "limitErrInfo":"内容不能超过200个字符", |
| | | "show": false |
| | | }, |
| | | { |
| | | "code":"machineIp", |
| | | "cnCode":"设备IP", |
| | | "desc":"可选,请填写设备IP", |
| | | "required":false, |
| | | "code": "referencePrice", |
| | | "cnCode":"参考价格", |
| | | "desc":"必填,请填写参考价格", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "limit":"maxLength", |
| | | "limitParam":"64", |
| | | "limitErrInfo":"设备IP格式错误", |
| | | "inputType": "input", |
| | | "limit":"money", |
| | | "limitParam":"", |
| | | "limitErrInfo":"参考价格格式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"machineMac", |
| | | "cnCode":"设备MAC", |
| | | "desc":"可选,请填写设备MAC", |
| | | "required":false, |
| | | "code": "publishUserName", |
| | | "cnCode":"发布人", |
| | | "desc":"必填,发布人不能为空", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "inputType": "input", |
| | | "limit":"maxLength", |
| | | "limitParam":"64", |
| | | "limitErrInfo":"设备MAC 格式错误", |
| | | "limitParam":"50", |
| | | "limitErrInfo":"发布人不能超过50", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"publishUserLink", |
| | | "cnCode":"联系方式", |
| | | "desc":"必填,请填写联系方式", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"phone", |
| | | "limitParam":"", |
| | | "limitErrInfo":"联系方式不是有效的电话格式", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"state", |
| | | "cnCode":"状态", |
| | | "desc":"必填,请填写状态", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "select", |
| | | "selectValue":"12001,13001,14001,15001", |
| | | "selectValueName":"未审核,审核通过,审核失败,处理完成", |
| | | "limit":"num", |
| | | "limitParam":"", |
| | | "limitErrInfo":"状态格式错误", |
| | | "show": true |
| | | } |
| | | ] |