| | |
| | | }, |
| | | data:{ |
| | | addServiceInfo:{ |
| | | serviceId:'', |
| | | name:'', |
| | | serviceCode:'', |
| | | businessTypeCd:'API', |
| | |
| | | }, |
| | | saveServiceInfo:function(){ |
| | | if(!vc.component.addServiceValidate()){ |
| | | vc.message(vc.validate.errInfo); |
| | | vc.toast(vc.validate.errInfo); |
| | | |
| | | return ; |
| | | } |
| | | |
| | | vc.component.addServiceInfo.communityId = vc.getCurrentCommunity().communityId; |
| | | //vc.component.addServiceInfo.communityId = vc.getCurrentCommunity().communityId; |
| | | //不提交数据将数据 回调给侦听处理 |
| | | if(vc.notNull($props.callBackListener)){ |
| | | vc.emit($props.callBackListener,$props.callBackFunction,vc.component.addServiceInfo); |