mitao
2024-04-30 ab4ea7b8f10c9b66aed9c2ea161a08b25c3851a7
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
@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>
            <style>
                .form-control {
                    display: inline !important;
                    width: 100px !important;
                }
                #lineTh {
                    background: #fff url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxsaW5lIHgxPSIwIiB5MT0iMCIgeDI9IjEwMCUiIHkyPSIxMDAlIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEiLz48L3N2Zz4=) no-repeat 100% center;
                }
            </style>
            <div class="ibox-content">
                <div class="row">
                    <table class="table table-bordered">
                        <thead>
                            <tr>
                                <th rowspan="3" id="lineTh" style="text-align: center;">
                                    <span style="float:left;margin-top:20px;">职级</span>
                                    <span style="float:right;margin-top:-10px;">产品</span>
                                </th>
                                <th colspan="3" style="text-align: center;">套餐商品</th>
                                <th colspan="3" style="text-align: center;">普通商品</th>
                                <th style="text-align: center;">育成奖</th>
                            </tr>
                            <tr>
                                <th rowspan="2" style="text-align: center;">个人销售佣金</th>
                                <th colspan="2" style="text-align: center;">管理利益</th>
                                <th rowspan="2" style="text-align: center;">个人销售佣金</th>
                                <th colspan="2" style="text-align: center;">管理利益</th>
                                <th rowspan="2" style="text-align: center;">育成平级 团队直辖(有血缘关系,同职级直辖团队)</th>
                            </tr>
                            <tr>
                                <th style="text-align: center;">直属团队</th>
                                <th style="text-align: center;">直直辖团队</th>
                                <th style="text-align: center;">直属团队</th>
                                <th style="text-align: center;">直直辖团队</th>
                            </tr>
                        </thead>
 
                        <tbody>
                            <tr>
                                <th style="text-align: center;">黄金营销员</th>
                                <td style="text-align: center;">
                                    <input class="form-control" id="t_201" value="${t_201}" />%
                                </td>
                                <td style="text-align: center;">—</td>
                                <td style="text-align: center;">—</td>
                                <td style="text-align: center;">
                                    <input class="form-control" id="t_204" value="${t_204}" />%
                                </td>
                                <td style="text-align: center;">—</td>
                                <td style="text-align: center;">—</td>
                                <td style="text-align: center;">—</td>
                            </tr>
                            <tr>
                                <th style="text-align: center;">城市合伙人</th>
                                <td style="text-align: center;">
                                    <input class="form-control" id="t_211" value="${t_211}" />%
                                </td>
                                <td style="text-align: center;">
                                    <input class="form-control" id="t_212" value="${t_212}" />%
                                </td>
                                <td style="text-align: center;">—</td>
                                <td style="text-align: center;">
                                    <input class="form-control" id="t_214" value="${t_214}" />%
                                </td>
                                <td style="text-align: center;">
                                    <input class="form-control" id="t_215" value="${t_215}" />%
                                </td>
                                <td style="text-align: center;">—</td>
                                <td style="text-align: center;">
                                    <input class="form-control" id="t_217" value="${t_217}" />%
                                </td>
                            </tr>
                            <tr>
                                <th style="text-align: center;">市场总监</th>
                                <td style="text-align: center;">
                                    <input class="form-control" id="t_221" value="${t_221}" />%
                                </td>
                                <td style="text-align: center;">
                                    <input class="form-control" id="t_222" value="${t_222}" />%
                                </td>
                                <td style="text-align: center;">
                                    <input class="form-control" id="t_223" value="${t_223}" />%
                                </td>
                                <td style="text-align: center;">
                                    <input class="form-control" id="t_224" value="${t_224}" />%
                                </td>
                                <td style="text-align: center;">
                                    <input class="form-control" id="t_225" value="${t_225}" />%
                                </td>
                                <td style="text-align: center;">
                                    <input class="form-control" id="t_226" value="${t_226}" />%
                                </td>
                                <td style="text-align: center;">
                                    <input class="form-control" id="t_227" value="${t_227}" />%
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
 
    @if(shiro.hasPermission("/tSystemSet/update_200_audit")){
    <div class="col-sm-12">
        <div class="ibox-content">
            <div class="form-horizontal">
                <div class="row">
                    <input type="hidden" id="id" value="${id}">
                    <div class="col-sm-4 col-sm-offset-2">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">审核状态</label>
                            <div class="col-sm-9">
                                <select class="form-control" id="state">
                                    <option value="1">通过</option>
                                    <option value="2">拒绝</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">备注说明</label>
                            <div class="col-sm-9">
                                <textarea class="form-control" style="width: 300px !important" id="remark"></textarea>
                            </div>
                        </div>
                    </div>
                </div>
 
                <div class="row btn-group-m-t">
                    <div class="col-sm-10 col-sm-offset-5">
                        <#button btnCss="info" name="&nbsp;确&nbsp;认&nbsp;审&nbsp;核&nbsp;" id="ensure" icon="fa-check" clickFun="SetDlg.editSubmit();"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
    @}
</div>
<script type="text/javascript">
    /**
     * 初始化对话框
     */
    var SetDlg = {};
 
    SetDlg.editSubmit = function() {
        // 提交信息
        var ajax = new $ax(Feng.ctxPath + "/tSystemSet/update_200_audit", function(data){
            Feng.success("操作成功!!");
            parent.layer.close(window.parent.NoticeDlg.layerIndex);
        },function(data){
            Feng.error("操作失败!");
        });
        ajax.set("id", $("#id").val());
        ajax.set("state", $("#state").val());
        ajax.start();
    }
</script>
@}