wuxw
2019-07-20 39ceed7f60905297629a45978cc29b6fe8bd05d8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<div class="row">
    <div class="col-lg-12">
        <div class="ibox ">
            <div class="ibox-title">
                <h5>应用信息</h5>
                <div class="ibox-tools" style="top:10px;">
                    <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" v-if="viewAppInfo.index != 2" class="btn btn-primary btn-sm" v-on:click="_openAddAppInfoModel()">
                        <i class="glyphicon glyphicon-plus"></i> 添加应用</button>
                </div>
            </div>
            <div class="ibox-content">
                <div class="row">
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >应用ID:</label>
                            <label class="">{{viewAppInfo.appId}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">应用名称:</label>
                            <label class="">{{viewAppInfo.name}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >秘钥:</label>
                            <label class="">{{viewAppInfo.securityCode}}</label>
                        </div>
                    </div>
 
 
                </div>
 
                <div class="row">
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >白名单:</label>
                            <label class="">{{viewAppInfo.whileListIp}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >黑名单:</label>
                            <label class="">{{viewAppInfo.blackListIp}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">备注:</label>
                            <label class="">{{viewAppInfo.remark}}</label>
                        </div>
                    </div>
 
                </div>
            </div>
        </div>
    </div>
 
    <vc:create name="addApp"
               callBackListener="viewAppInfo"
               callBackFunction="chooseApp"
    ></vc:create>
 
 
    <vc:create name="chooseApp"
               emitChooseApp="viewAppInfo"
               emitLoadData="viewAppInfo"
    ></vc:create>
</div>