| | |
| | | data:{ |
| | | addServiceImplInfo:{ |
| | | serviceBusinessId:'', |
| | | serviceBusinessId:'', |
| | | businessTypeCd:'', |
| | | name:'', |
| | | invokeType:'', |
| | | url:'1000', |
| | | url:'', |
| | | messageTopic:'', |
| | | timeout:'60', |
| | | retryCount:'3', |
| | |
| | | return vc.validate.validate({ |
| | | addServiceImplInfo:vc.component.addServiceImplInfo |
| | | },{ |
| | | 'addServiceImplInfo.serviceBusinessId':[ |
| | | { |
| | | limit:"required", |
| | | param:"", |
| | | errInfo:"服务实现ID不能为空" |
| | | }, |
| | | { |
| | | limit:"maxLength", |
| | | param:"50", |
| | | errInfo:"服务实现ID不能超过50" |
| | | }, |
| | | ], |
| | | |
| | | 'addServiceImplInfo.businessTypeCd':[ |
| | | { |
| | | limit:"required", |
| | |
| | | errInfo:"调用地址不能为空" |
| | | }, |
| | | { |
| | | limit:"num", |
| | | param:"", |
| | | errInfo:"调用次数错误" |
| | | limit:"maxLength", |
| | | param:"200", |
| | | errInfo:"调用地址超过200位" |
| | | }, |
| | | ], |
| | | 'addServiceImplInfo.messageTopic':[ |