Commit a7b393de by 冷斌

update

parent aafe31f2
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
$type=array("income"=>"收入","expend"=>"支出"); $type=array("income"=>"收入","expend"=>"支出");
$action=array("sendgift"=>"赠送礼物","sendbarrage"=>"弹幕","loginbonus"=>"登录奖励","buyvip"=>"购买VIP","buycar"=>"购买坐骑","buyliang"=>"购买靓号",'game_bet'=>'游戏下注','game_return'=>'游戏退还','game_win'=>'游戏获胜','game_banker'=>'庄家收益','set_deposit'=>'上庄扣除','deposit_return'=>'下庄退还','roomcharge'=>'房间扣费','timecharge'=>'计时扣费','sendred'=>'发送红包','robred'=>'抢红包','buyguard'=>'开通守护','reg_reward'=>'注册奖励'); $action=array("sendgift"=>"赠送礼物","sendbarrage"=>"弹幕","loginbonus"=>"登录奖励","buyvip"=>"购买VIP","buycar"=>"购买坐骑","buyliang"=>"购买靓号",'game_bet'=>'游戏下注','game_return'=>'游戏退还','game_win'=>'游戏获胜','game_banker'=>'庄家收益','set_deposit'=>'上庄扣除','deposit_return'=>'下庄退还','roomcharge'=>'房间扣费','timecharge'=>'计时扣费','sendred'=>'发送红包','robred'=>'抢红包','buyguard'=>'开通守护','reg_reward'=>'注册奖励');
</php> </php>
<form class="well form-search" method="post" action="{:U('Coinrecord/index')}"> <form class="well form-search" name="form1" method="post" action="{:U('Coinrecord/index')}">
<if condition="$showlevel eq 0"> <if condition="$showlevel eq 0">
代理商: 代理商:
<select class="select_2" name="proxyid" id="proxyid"> <select class="select_2" name="proxyid" id="proxyid">
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
<option value="">全部</option> <option value="">全部</option>
<volist name="promoterlist" id="v"> <volist name="promoterlist" id="v">
<option value="{$v['id']}" <if condition="$formget.promoterid eq $v['id']">selected</if> >{$v['user_nicename']}</option> <option value="{$v['id']}" <if condition="$formget.promoterid eq $v['id']">selected</if> >{$v['user_nicename']}</option>
</volist> </volist>
</select> </select>
</if> </if>
收支类型: 收支类型:
<select class="select_2" name="type"> <select class="select_2" name="type">
<option value="">全部</option> <option value="">全部</option>
<volist name="type" id="v"> <volist name="type" id="v">
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
</volist> </volist>
</select> &nbsp;&nbsp; </select> &nbsp;&nbsp;
收支行为: 收支行为:
<select class="select_2" name="action"> <select class="select_2" name="action">
<option value="">全部</option> <option value="">全部</option>
<volist name="action" id="v"> <volist name="action" id="v">
...@@ -43,15 +43,16 @@ ...@@ -43,15 +43,16 @@
赠送时间: 赠送时间:
<input type="text" name="start_time" class="js-date date" value="{$formget.start_time}" style="width: 80px;" autocomplete="off">- <input type="text" name="start_time" class="js-date date" value="{$formget.start_time}" style="width: 80px;" autocomplete="off">-
<input type="text" class="js-date date" name="end_time" value="{$formget.end_time}" style="width: 80px;" autocomplete="off"> &nbsp; &nbsp; <input type="text" class="js-date date" name="end_time" value="{$formget.end_time}" style="width: 80px;" autocomplete="off"> &nbsp; &nbsp;
会员: 会员:
<input type="text" name="uid" style="width: 200px;" value="{$formget.uid}" placeholder="请输入会员ID值..."> <input type="text" name="uid" style="width: 200px;" value="{$formget.uid}" placeholder="请输入会员ID值...">
主播: 主播:
<input type="text" name="touid" style="width: 200px;" value="{$formget.touid}" placeholder="请输入主播ID值..."> <input type="text" name="touid" style="width: 200px;" value="{$formget.touid}" placeholder="请输入主播ID值...">
<input type="submit" class="btn btn-primary" value="搜索"> <input type="submit" class="btn btn-primary" value="搜索">
</form> <input type="button" class="btn btn-primary" style="background-color: #1dccaa;" value="导出" onclick="form1.action='{:U('Userauth/export')}';form1.submit();"/>
</form>
<form method="post" class="js-ajax-form"> <form method="post" class="js-ajax-form">
<table class="table table-hover table-bordered"> <table class="table table-hover table-bordered">
<thead> <thead>
<tr> <tr>
...@@ -70,7 +71,7 @@ ...@@ -70,7 +71,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<foreach name="lists" item="vo"> <foreach name="lists" item="vo">
<tr> <tr>
<td align="center">{$vo.id}</td> <td align="center">{$vo.id}</td>
...@@ -82,7 +83,7 @@ ...@@ -82,7 +83,7 @@
<td>{$vo['giftcount']}</td> <td>{$vo['giftcount']}</td>
<td>{$vo['totalcoin']}</td> <td>{$vo['totalcoin']}</td>
<td>{$vo['showid']}</td> <td>{$vo['showid']}</td>
<td>{$vo.addtime|date="Y-m-d H:i:s",###}</td> <td>{$vo.addtime|date="Y-m-d H:i:s",###}</td>
<!-- <td align="center"> --> <!-- <td align="center"> -->
...@@ -106,8 +107,8 @@ ...@@ -106,8 +107,8 @@
if(list){ if(list){
lists=typeof(list)=='object'?list:JSON.parse(list); lists=typeof(list)=='object'?list:JSON.parse(list);
} }
function cteateProxyid(){ function cteateProxyid(){
if(!lists){ if(!lists){
return !1; return !1;
...@@ -121,19 +122,19 @@ ...@@ -121,19 +122,19 @@
proxy_html+='<option value="'+v.id+'">'+v.user_nicename+'</option>'; proxy_html+='<option value="'+v.id+'">'+v.user_nicename+'</option>';
} }
} }
$("#proxyid").html(proxy_html); $("#proxyid").html(proxy_html);
if(proxyid){ if(proxyid){
cteatePromoterid(); cteatePromoterid();
} }
} }
function cteatePromoterid(){ function cteatePromoterid(){
if(!lists){ if(!lists){
return !1; return !1;
} }
var promoter_html='<option value="">全部</option>'; var promoter_html='<option value="">全部</option>';
if(proxyid){ if(proxyid){
var list2=lists[proxyid]['list']; var list2=lists[proxyid]['list'];
...@@ -144,7 +145,7 @@ ...@@ -144,7 +145,7 @@
}else{ }else{
promoter_html+='<option value="'+v.id+'">'+v.user_nicename+'</option>'; promoter_html+='<option value="'+v.id+'">'+v.user_nicename+'</option>';
} }
} }
} }
$("#promoterid").html(promoter_html); $("#promoterid").html(promoter_html);
...@@ -156,7 +157,7 @@ ...@@ -156,7 +157,7 @@
proxyid=$(this).val(); proxyid=$(this).val();
cteatePromoterid(); cteatePromoterid();
}) })
</script> </script>
</body> </body>
</html> </html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment