| | |
| | | <div class="col-md-10"></div> |
| | | <div class="col-md-2 " style="margin-bottom:10px; text-align:right"> |
| | | <button type="button" class="btn btn-secondary" v-on:click="_prevStep()">上一步</button> |
| | | <button type="button" class="btn btn-primary" style="margin-left:10px;" v-on:click="_nextStep()">下一步</button> |
| | | <button v-if="serviceBindingInfo.index != 2" type="button" class="btn btn-primary" style="margin-left:10px;" v-on:click="_nextStep()">下一步</button> |
| | | <button v-if="serviceBindingInfo.index == 2" type="button" class="btn btn-primary" style="margin-left:10px;" v-on:click="_finishStep()">完成</button> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | } |
| | | vc.component.serviceBindingInfo.$step.nextStep(); |
| | | vc.component.serviceBindingInfo.index = vc.component.serviceBindingInfo.$step.getIndex(); |
| | | |
| | | vc.emit('viewAppInfo', 'onIndex', vc.component.serviceBindingInfo.index); |
| | | vc.emit('viewServiceInfo', 'onIndex', vc.component.serviceBindingInfo.index); |
| | | }, |
| | | _finishStep:function(){ |
| | | |
| | | } |
| | | } |
| | | }); |
| | |
| | | <div class="ibox-title"> |
| | | <h5>应用信息</h5> |
| | | <div class="ibox-tools" style="top:10px;"> |
| | | <button type="button" class="btn btn-primary btn-sm" style="margin-right:10px;" v-on:click="_openSelectAppInfoModel()"> |
| | | <button type="button" v-if="viewAppInfo.index != 2" class="btn btn-primary btn-sm" style="margin-right:10px;" v-on:click="_openSelectAppInfoModel()"> |
| | | <i class="glyphicon glyphicon-search"></i> 选择应用</button> |
| | | |
| | | <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddAppInfoModel()"> |
| | | <button type="button" v-if="viewAppInfo.index != 2" class="btn btn-primary btn-sm" v-on:click="_openAddAppInfoModel()"> |
| | | <i class="glyphicon glyphicon-plus"></i> 添加应用</button> |
| | | </div> |
| | | </div> |
| | |
| | | }, |
| | | data:{ |
| | | viewAppInfo:{ |
| | | index:0, |
| | | appId:"", |
| | | name:"", |
| | | securityCode:"", |
| | |
| | | vc.emit($props.callBackListener,$props.callBackFunction,_app); |
| | | }); |
| | | |
| | | vc.on('viewAppInfo', 'onIndex', function(_index){ |
| | | vc.component.viewAppInfo.index = _index; |
| | | }); |
| | | |
| | | }, |
| | | methods:{ |
| | | |
| | |
| | | <div class="ibox-title"> |
| | | <h5>服务信息</h5> |
| | | <div class="ibox-tools" style="top:10px;"> |
| | | <button type="button" class="btn btn-primary btn-sm" style="margin-right:10px;" v-on:click="_openSelectServiceInfoModel()"> |
| | | <button type="button" v-if="viewServiceInfo.index != 2" class="btn btn-primary btn-sm" style="margin-right:10px;" v-on:click="_openSelectServiceInfoModel()"> |
| | | <i class="glyphicon glyphicon-search"></i> 选择服务</button> |
| | | |
| | | <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddServiceInfoModel()"> |
| | | <button type="button" v-if="viewServiceInfo.index != 2" class="btn btn-primary btn-sm" v-on:click="_openAddServiceInfoModel()"> |
| | | <i class="glyphicon glyphicon-plus"></i> 添加服务</button> |
| | | </div> |
| | | </div> |
| | |
| | | }, |
| | | data:{ |
| | | viewServiceInfo:{ |
| | | index:0, |
| | | serviceId:"", |
| | | name:"", |
| | | securityCode:"", |
| | |
| | | vc.emit($props.callBackListener,$props.callBackFunction,_service); |
| | | }); |
| | | |
| | | vc.on('viewServiceInfo', 'onIndex', function(_index){ |
| | | vc.component.viewAppInfo.index = _index; |
| | | }); |
| | | |
| | | }, |
| | | methods:{ |
| | | |