|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>游戏登陆列表|----软件管理平台</title>
|
|
|
|
<link href="http://admin.vlcms.com/Public/icon.ico" type="image/x-icon" rel="shortcut icon">
|
|
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/base.css" media="all">
|
|
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/common.css" media="all">
|
|
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/module.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/style.css" media="all">
|
|
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/default_color.css" media="all">
|
|
|
|
<script type="text/javascript" src="__STATIC__/jquery-2.0.3.min.js"></script>
|
|
|
|
<script src="__STATIC__/table2excel.js"></script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<block name="body">
|
|
|
|
<link rel="stylesheet" href="__CSS__/select2.min.css" type="text/css" />
|
|
|
|
<script type="text/javascript" src="__JS__/bootstrap.min.js"></script>
|
|
|
|
<script type="text/javascript" src="__JS__/select2.min.js"></script>
|
|
|
|
<style>
|
|
|
|
.select2-container--default .select2-selection--single {
|
|
|
|
color: #000;
|
|
|
|
resize: none;
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: #a7b5bc #ced9df #ced9df #a7b5bc;
|
|
|
|
box-shadow: 0px 3px 3px #F7F8F9 inset;height:35px;
|
|
|
|
height:28px;border-radius:3px;font-size:12px;
|
|
|
|
}
|
|
|
|
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
|
|
|
line-height:35px;
|
|
|
|
line-height:28px;
|
|
|
|
}
|
|
|
|
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
|
|
|
height:26px;
|
|
|
|
}
|
|
|
|
.select2-container--default .select2-search--dropdown .select2-search__field {
|
|
|
|
height:26px;line-height:26px;font-size:12px;
|
|
|
|
}
|
|
|
|
.select2-results__option[aria-selected] {font-size:12px;}
|
|
|
|
|
|
|
|
.tooltip {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
color: #056dae;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip .tooltiptext {
|
|
|
|
visibility: hidden;
|
|
|
|
width: 250%;
|
|
|
|
background-color: #fff;
|
|
|
|
color: #fff;
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 6px;
|
|
|
|
padding: 5px 0;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1;
|
|
|
|
bottom: 80%;
|
|
|
|
left: 0;
|
|
|
|
margin-left: -70%;
|
|
|
|
border: #000 solid 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip .tooltiptext::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 100%;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -5px;
|
|
|
|
border-width: 5px;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: black transparent transparent transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip:hover .tooltiptext {
|
|
|
|
|
|
|
|
color: #000;
|
|
|
|
visibility: visible;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
<div style="margin:auto;font-size: 20px;color: red;line-height: 3;padding: 20px;">
|
|
|
|
导出进行中。。。<br/>
|
|
|
|
如果导出成功你也可以手动关闭此页面
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 数据列表 -->
|
|
|
|
<div class="data_list" style="display: none">
|
|
|
|
<empty name="show_status">
|
|
|
|
<div class="">
|
|
|
|
<table id="exporttable">
|
|
|
|
<!-- 表头 -->
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th >合作方名称</th>
|
|
|
|
<th >对应平台</th>
|
|
|
|
<th >公司性质</th>
|
|
|
|
<!-- <th >支付渠道</th>-->
|
|
|
|
<th >原包名</th>
|
|
|
|
<th >现包名</th>
|
|
|
|
<th >聚合包名</th>
|
|
|
|
<th >产品类型</th>
|
|
|
|
<th >结算周期</th>
|
|
|
|
<th colspan="2">游戏分成比例</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 >开票税点</th>
|
|
|
|
<th >发票类型</th>
|
|
|
|
|
|
|
|
<th >开票内容</th>
|
|
|
|
|
|
|
|
<th >税费费率</th>
|
|
|
|
<th >渠道费率</th>
|
|
|
|
<th >联系人</th>
|
|
|
|
<th >联系电话</th>
|
|
|
|
<th >联系地址</th>
|
|
|
|
<th >注册电话</th>
|
|
|
|
<th >注册地址</th>
|
|
|
|
<th >公司税号</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<!-- 列表 -->
|
|
|
|
<tbody>
|
|
|
|
<style>
|
|
|
|
.data-table thead th, .data-table tbody td{text-align:center}
|
|
|
|
.data-table tbody td{border-right:1px solid #DDDDDD;}
|
|
|
|
.d_list .drop-down ul {z-index:999;}
|
|
|
|
</style>
|
|
|
|
<!-- <if condition = "empty($data)">-->
|
|
|
|
<!-- <tr>-->
|
|
|
|
<!-- <td colspan="14" class="text-center">aOh! 暂时还没有内容!</td>-->
|
|
|
|
<!-- </tr>-->
|
|
|
|
<!-- </if>-->
|
|
|
|
<notemtpy name = "listdata">
|
|
|
|
<volist name="listdata" id="vo">
|
|
|
|
<tr>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.name|default="------"}</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.platform|default="------"}</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.company_properties|default="------"}</td>
|
|
|
|
<td rowspan="{$vo['sec_rowspan'][0]}">{$vo['original_package_name'][0]|default="------"}</td>
|
|
|
|
<td rowspan="{$vo['sec_rowspan'][0]}">{$vo['game_name'][0]|default="------"}</td>
|
|
|
|
<td rowspan="{$vo['sec_rowspan'][0]}">{$vo['game_name'][0]|default="------"}</td>
|
|
|
|
<td rowspan="{$vo['sec_rowspan'][0]}">{$vo['game_type'][0]|default="------"}</td>
|
|
|
|
<td rowspan="{$vo['sec_rowspan'][0]}">{$vo['withdraw_type'][0]|default="------"}</td>
|
|
|
|
<td rowspan='1'>默认</td>
|
|
|
|
<td rowspan='1'>{$vo['rate_data'][0][0]['exploitation_rate']|default="0"}</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.bank_user|default="------"}</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.bank_card|default="------"}</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.bank_name|default="------"}</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.alipay_user|default="------"}</td>
|
|
|
|
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.is_received|default="否"}</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.is_surplus|default="否"}</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.before_amount|default="0"}</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.is_contract|default="------"}</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.is_cooperate|default="------"}</td>
|
|
|
|
<!-- <td rowspan="{$vo.rowspan}">{$vo.is_qualifity|default="否"}</td>-->
|
|
|
|
|
|
|
|
<td rowspan="{$vo.rowspan}">
|
|
|
|
<span class="form-required" style="line-height: 30px;">{$vo['agreement_time']['start_time']}</span>—
|
|
|
|
<span class="form-required" style="line-height: 30px;">{$vo['agreement_time']['end_time']|default="永久"}</span></td>
|
|
|
|
<td rowspan="{$vo.rowspan}">
|
|
|
|
<span class="form-required" style="line-height: 30px;">{$vo['balance_time']['start_time']}</span>—
|
|
|
|
<span class="form-required" style="line-height: 30px;">{$vo['balance_time']['end_time']|default="永久"}</span>
|
|
|
|
</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo['tax_point']}%</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.invoice_type|default="------"}</td>
|
|
|
|
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.invoice_item|default="信息服务费"}</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.tax_ratio|default="0"}%</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.channel_radio|default="0"}%</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.connection_person|default="------"}</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.phone|default="------"}</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.connection_address|default="------"}</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.register_phone|default="------"}</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.register_address|default="------"}</td>
|
|
|
|
<td rowspan="{$vo.rowspan}">{$vo.tax_identification_number|default="------"}</td>
|
|
|
|
</tr>
|
|
|
|
<volist name="vo.game_name" id="sec" key="index">
|
|
|
|
<if condition="$index gt 1">
|
|
|
|
<tr>
|
|
|
|
<td rowspan="{$vo['sec_rowspan'][$index-1]}">{$vo['original_package_name'][$index-1]|default="------"}</td>
|
|
|
|
<td rowspan="{$vo['sec_rowspan'][$index-1]}">{$vo['game_name'][$index-1]|default="------"}</td>
|
|
|
|
<td rowspan="{$vo['sec_rowspan'][$index-1]}">{$vo['game_name'][$index-1]|default="------"}</td>
|
|
|
|
<td rowspan="{$vo['sec_rowspan'][$index-1]}">{$vo['game_type'][$index-1]|default="------"}</td>
|
|
|
|
<td rowspan="{$vo['sec_rowspan'][$index-1]}">{$vo['withdraw_type'][$index-1]|default="------"}</td>
|
|
|
|
<td rowspan='1'>{$vo['rate_data'][$index-1][0]['exploitation_name']}</td>
|
|
|
|
<td rowspan='1'>{$vo['rate_data'][$index-1][0]['exploitation_rate']}</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
</if>
|
|
|
|
<volist name="vo['rate_data'][$index-1]" id="rate" key="rate_index">
|
|
|
|
<if condition="$rate['exploitation_name'] neq '默认'">
|
|
|
|
<tr>
|
|
|
|
<td rowspan='1'>{$rate.exploitation_name}</td>
|
|
|
|
<td rowspan='1'>{$rate.exploitation_rate}</td>
|
|
|
|
</tr>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
</volist>
|
|
|
|
|
|
|
|
|
|
|
|
</volist>
|
|
|
|
</volist>
|
|
|
|
|
|
|
|
</notemtpy>
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</empty>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</block>
|
|
|
|
|
|
|
|
<block name="script">
|
|
|
|
<script src="__STATIC__/layer/layer.js" type="text/javascript"></script>
|
|
|
|
<script type="text/javascript" src="__STATIC__/layer/extend/layer.ext.js" ></script>
|
|
|
|
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
|
|
|
|
<php>if(C('COLOR_STYLE')=='blue_color') echo '<link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css">';</php>
|
|
|
|
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
|
|
|
|
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
|
|
|
|
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
|
|
|
|
<script src="__STATIC__/table2excel.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
$("#channel_id").select2();
|
|
|
|
$("#company_properties").select2();
|
|
|
|
$("#origin_game_name").select2();
|
|
|
|
$("#game_id").select2();
|
|
|
|
|
|
|
|
function showWindow() {
|
|
|
|
layer.open({
|
|
|
|
type: 2,
|
|
|
|
title: "游戏登录记录",
|
|
|
|
shadeClose: true,
|
|
|
|
shade: 0.8,
|
|
|
|
area: ['70%', '80%'],
|
|
|
|
content: ['admin.php?s=/Member/denglu/id/', 'no']
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
function get_game_list()
|
|
|
|
{
|
|
|
|
var game_name = "{:I('game_id')}";
|
|
|
|
$.ajax({
|
|
|
|
url:"{:U('PayChannel/getGameList')}",
|
|
|
|
type:"post",
|
|
|
|
data:{partner_id:$("#partner_id option:selected").val(), sdk_type:$("#sdk_version1 option:selected").val()},
|
|
|
|
dataType:'json',
|
|
|
|
success:function(data){
|
|
|
|
var str = "<option value=''>请选择游戏</option>";
|
|
|
|
for (var i in data){
|
|
|
|
str += "<option value='"+data[i].id+"'"+(game_name && data[i].id == game_name?'selected':'')+">"+data[i].game_name+"</option>"
|
|
|
|
}
|
|
|
|
// console.log(str);
|
|
|
|
$("#game_name").empty();
|
|
|
|
$("#game_name").append(str);
|
|
|
|
$("#game_name").select2();
|
|
|
|
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
get_game_list();
|
|
|
|
$(function(){
|
|
|
|
|
|
|
|
$("#exporttable").table2excel({
|
|
|
|
filename: "下游聚合公司导出.xls", // do include extension
|
|
|
|
preserveColors: false // set to true if you want background colors and font colors preserved
|
|
|
|
});
|
|
|
|
|
|
|
|
$('#timestart').datetimepicker({
|
|
|
|
format: 'yyyy-mm-dd',
|
|
|
|
language:"zh-CN",
|
|
|
|
minView:2,
|
|
|
|
autoclose:true
|
|
|
|
});
|
|
|
|
|
|
|
|
$('#datetimepicker').datetimepicker({
|
|
|
|
format: 'yyyy-mm-dd',
|
|
|
|
language:"zh-CN",
|
|
|
|
minView:2,
|
|
|
|
autoclose:true,
|
|
|
|
pickerPosition:'bottom-left'
|
|
|
|
})
|
|
|
|
|
|
|
|
//搜索功能
|
|
|
|
$("#search").click(function(){
|
|
|
|
var starttime = $.trim($('#time-start').val());
|
|
|
|
var endtime = $.trim($('#time-end').val());
|
|
|
|
|
|
|
|
if (starttime && endtime && starttime > endtime) {layer.msg('开始时间必须小于等于结束时间');return false;}
|
|
|
|
|
|
|
|
|
|
|
|
var url = $(this).attr('url');
|
|
|
|
var query = $('.jssearch').find('input').serialize();
|
|
|
|
query += "&" + $('.jssearch').find('select').serialize();
|
|
|
|
query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g,'');
|
|
|
|
query = query.replace(/^&/g,'');
|
|
|
|
if( url.indexOf('?')>0 ){
|
|
|
|
url += '&' + query;
|
|
|
|
}else{
|
|
|
|
url += '?' + query;
|
|
|
|
}
|
|
|
|
window.location.href = url;
|
|
|
|
});
|
|
|
|
|
|
|
|
//回车自动提交
|
|
|
|
$('.jssearch').find('input').keyup(function(event){
|
|
|
|
if(event.keyCode===13){
|
|
|
|
$("#search").click();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
</block>
|
|
|
|
</html>
|