wuxw
2019-07-20 39ceed7f60905297629a45978cc29b6fe8bd05d8
优化服务绑定功能
6个文件已修改
27 ■■■■ 已修改文件
WebService/src/main/resources/components/service-binding/serviceBinding.html 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebService/src/main/resources/components/service-binding/serviceBinding.js 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebService/src/main/resources/components/view-app-info/viewAppInfo.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebService/src/main/resources/components/view-app-info/viewAppInfo.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebService/src/main/resources/components/view-service-info/viewServiceInfo.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebService/src/main/resources/components/view-service-info/viewServiceInfo.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebService/src/main/resources/components/service-binding/serviceBinding.html
@@ -26,7 +26,8 @@
        <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>
WebService/src/main/resources/components/service-binding/serviceBinding.js
@@ -43,6 +43,12 @@
                }
                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(){
            }
        }
    });
WebService/src/main/resources/components/view-app-info/viewAppInfo.html
@@ -4,10 +4,10 @@
            <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>
WebService/src/main/resources/components/view-app-info/viewAppInfo.js
@@ -10,6 +10,7 @@
        },
        data:{
            viewAppInfo:{
                index:0,
                appId:"",
                name:"",
                securityCode:"",
@@ -28,6 +29,10 @@
                vc.emit($props.callBackListener,$props.callBackFunction,_app);
            });
            vc.on('viewAppInfo', 'onIndex', function(_index){
                vc.component.viewAppInfo.index = _index;
            });
        },
        methods:{
WebService/src/main/resources/components/view-service-info/viewServiceInfo.html
@@ -4,10 +4,10 @@
            <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>
WebService/src/main/resources/components/view-service-info/viewServiceInfo.js
@@ -10,6 +10,7 @@
        },
        data:{
            viewServiceInfo:{
                index:0,
                serviceId:"",
                name:"",
                securityCode:"",
@@ -28,6 +29,10 @@
                vc.emit($props.callBackListener,$props.callBackFunction,_service);
            });
             vc.on('viewServiceInfo', 'onIndex', function(_index){
                vc.component.viewAppInfo.index = _index;
            });
        },
        methods:{