shiyj
2019-09-02 b784175e978b0fcfca8ca8bed7953ae4eacf49e8
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
<div id = "chooseMenuModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="chooseMenuModelLabel" aria-hidden="true" >
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title" id="chooseMenuModelLabel">选择菜单</h3>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class=" row">
                    <div class="col-lg-12">
                        <div class="ibox ">
                            <div class="row">
 
                                <div class="col-sm-7 m-b-xs">
                                </div>
                                <div class="col-sm-5">
                                    <div class="input-group">
                                        <input placeholder="输入菜单名称" type="text" v-model="chooseMenuInfo._currentMenuName" class="form-control form-control-sm">
                                        <span class="input-group-append">
                                                <button type="button" class="btn btn-sm btn-primary" v-on:click="queryMenus()">查询</button>
                                            </span>
                                    </div>
                                </div>
                            </div>
                            <div class="table-responsive" style="margin-top:15px">
                                <table class="table table-striped">
                                    <thead>
                                        <tr>
                                                                        <th class="text-center">菜单ID</th>
                            <th class="text-center">菜单名称</th>
                            <th class="text-center">菜单地址</th>
                            <th class="text-center">序列</th>
                            <th class="text-center">菜单显示</th>
                            <th class="text-center">描述</th>
                            <th class="text-center">操作</th>
 
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr v-for="menu in chooseMenuInfo.menus">
                                                                        <td class="text-center">{{menu.mId}}</td>
                            <td class="text-center">{{menu.name}}</td>
                            <td class="text-center">{{menu.url}}</td>
                            <td class="text-center">{{menu.seq}}</td>
                            <td class="text-center">{{menu.isShow}}</td>
                            <td class="text-center">{{menu.description}}</td>
 
                                            <td>
                                                <button class="btn btn-primary btn-xs" v-on:click="chooseMenu(menu)">选择</button>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
 
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>