优化打款权限

master
chenzhi 4 years ago
parent bed393c5a0
commit 213b152398

@ -414,6 +414,12 @@ function set_pagination($count, $row,$request='') {
function set_pagination_all($count, $row,$request='') { function set_pagination_all($count, $row,$request='') {
$aside = '<script>function pagechange(that){url = location.href.replace(".html","").replace(/(&|\/)row(=|\/)\d*/gi,"").replace(/\/p\/\d*/gi,"");if(url.indexOf("?")>0){url += "&row="+that.value;}else{url += "?row="+that.value;} window.location.href = url;}</script><select id="pagechange" name="row" onchange="pagechange(this)">'; $aside = '<script>function pagechange(that){url = location.href.replace(".html","").replace(/(&|\/)row(=|\/)\d*/gi,"").replace(/\/p\/\d*/gi,"");if(url.indexOf("?")>0){url += "&row="+that.value;}else{url += "?row="+that.value;} window.location.href = url;}</script><select id="pagechange" name="row" onchange="pagechange(this)">';
if($row == 999999){
$aside .= '<option value="999999" selected>全部显示</option>';
}else{
$aside .= '<option value="999999">全部显示</option>';
}
if($row == 10){ if($row == 10){
$aside .= '<option value="10" selected>每页10条</option>'; $aside .= '<option value="10" selected>每页10条</option>';
}else{ }else{
@ -425,15 +431,11 @@ function set_pagination_all($count, $row,$request='') {
$aside .= '<option value="50">每页50条</option>'; $aside .= '<option value="50">每页50条</option>';
} }
if($row == 100){ if($row == 100){
$aside .= '<option value="100" selected>每页100条</option>'; $aside .= '<option value="100" selected>每页100条</option></select>';
}else{
$aside .= '<option value="100">每页100条</option>';
}
if($row == 999999){
$aside .= '<option value="999999" selected>全部显示</option></select>';
}else{ }else{
$aside .= '<option value="999999">全部显示</option></select>'; $aside .= '<option value="100">每页100条</option></select>';
} }
$count=$count?$count:0; $count=$count?$count:0;
$row=$row?$row:10; $row=$row?$row:10;
if ($count > $row) { if ($count > $row) {

@ -80,6 +80,7 @@
<th>市场员</th> <th>市场员</th>
<th>下游性质</th> <th>下游性质</th>
<th>产品</th> <th>产品</th>
<th>产品类型</th>
<th>结算时间</th> <th>结算时间</th>
<th>推广流水</th> <th>推广流水</th>
<th>分成比例</th> <th>分成比例</th>
@ -103,6 +104,7 @@
<td>秦汉风云</td> <td>秦汉风云</td>
<td>策略</td> <td>策略</td>
<td>2020.6.22-2020.6.28 5626</td> <td>2020.6.22-2020.6.28 5626</td>
<td>5626</td>
<td>1%</td> <td>1%</td>
<td>0%</td> <td>0%</td>
<td>0</td> <td>0</td>

@ -168,9 +168,11 @@
</div> </div>
<div class="butnbox" > <div class="butnbox" >
<div class="butnlist jscheckbutn" style="margin-left: 2px"> <if condition="session('payment_user.is_payment') eq 1">
<a class='butn' id='doPayment'>批量打款</a> <div class="butnlist jscheckbutn" style="margin-left: 2px">
</div> <a class='butn' id='doPayment'>批量打款</a>
</div>
</if>
</div> </div>
<!-- 数据列表 --> <!-- 数据列表 -->

Loading…
Cancel
Save