mitao
2024-06-06 3d2b51ea4520533de5e78f88dddf5b5c7dce4247
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>营销员管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <div class="input-group">
                                    <span class="input-group-addon">时间</span>
                                    <input type="text" class="form-control layer-date" id="beginTime">
                                    <span class="input-group-addon">-</span>
                                    <input type="text" class="form-control layer-date" id="endTime"/>
                                </div>
                            </div>
 
                            <div class="col-sm-3">
                                <#NameCon id="nickName" name="用户姓名" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="phone" name="用户电话" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="showId" name="工号" />
                            </div>
                        </div>
 
                        <div class="row">
                            <div class="col-sm-3">
                                <div class="input-group">
                                    <span class="input-group-addon">状态</span>
                                    <select id="isLeaveOffice" class="form-control">
                                        <option value="-1">全部</option>
                                        <option value="0">在职</option>
                                        <option value="1">离职</option>
                                    </select>
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <div class="input-group">
                                    <span class="input-group-addon">佣金等级</span>
                                    <select id="memberGradeId" class="form-control">
                                        <option value="-1">全部</option>
                                        <!--<option value="1">普通会员</option>
                                        <option value="2">VIP会员</option>
                                        <option value="3">黄金营销员</option>
                                        <option value="4">城市合伙人</option>
                                        <option value="5">市场总监</option>-->
                                        <option value="1">Y</option>
                                        <option value="2">Y</option>
                                        <option value="3">S</option>
                                        <option value="4">E</option>
                                        <option value="5">X</option>
                                    </select>
                                </div>
                            </div>
 
                            <div class="col-sm-2 pull-right">
                                <#button name="搜索" icon="fa-search" clickFun="MemUserSales.search()"/>
                                <#button name="重置" icon="fa-trash" clickFun="MemUserSales.resetSearch()" space="true"/>
                            </div>
                        </div>
                    </div>
                    <div class="hidden-xs" id="MemUserTableToolbar" role="group">
                        @if(shiro.hasPermission("/memUserSales/audit")){
                        <button type="button" class="btn btn-primary" onclick="MemUserSales.openMemUserAudit()">立即审核</button>
                        @}
                        @if(shiro.hasPermission("/memUserSales/detail/")){
                        <button type="button" class="btn btn-primary" onclick="MemUserSales.openMemUserDetail()">查看详情</button>
                        @}
                        @if(shiro.hasPermission("/memUserSales/editCreditScore")){
                        <button type="button" class="btn btn-primary" onclick="MemUserSales.openEditCreditScore()">修改品行分</button>
                        @}
                        @if(shiro.hasPermission("/memUserSales/export")){
                        <button type="button" class="btn btn-primary" onclick="MemUserSales.export()"><i class="fa fa-external-link"></i>&nbsp;导出</button>
                        @}
                        @if(shiro.hasPermission("/memUserSales/team")){
                        <button type="button" class="btn btn-primary" onclick="MemUserSales.openMemUserTeam()">查看团队</button>
                        @}
                        @if(shiro.hasPermission("/memUserSales/updateLeaveOffice")){
                        <button type="button" class="btn btn-primary" onclick="MemUserSales.updateLeaveOffice()">离职</button>
                        @}
                        @if(shiro.hasPermission("/memUserSales/editUserLevel")){
                        <button type="button" class="btn btn-primary" onclick="MemUserSales.openEditUserLevel()">调整职级</button>
                        @}
                        @if(shiro.hasPermission("/memUserSales/editCityCode")){
                        <button type="button" class="btn btn-primary" onclick="MemUserSales.openEditCityCode()">修改城市</button>
                        @}
                        @if(shiro.hasPermission("/memUserSales/updateState")){
                        <input id='updateStateAuth' type="hidden" value='true'>
                        @}
                    </div>
                    <table id="MemUserTable" class="table_list_box" data-mobile-responsive="true" data-click-to-select="true">
                        <thead>
                        <tr>
                            <th data-field="selectItem" data-checkbox="true"></th>
                        </tr>
                        </thead>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<script src="${ctxPath}/static/modular/member/memUserSales/memUserSalesAuth.js"></script>
@}