You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
144 lines
5.6 KiB
HTML
144 lines
5.6 KiB
HTML
<!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>
|
|
<style>
|
|
html {
|
|
min-width:100%;
|
|
}
|
|
body {
|
|
padding: 0px;
|
|
}
|
|
</style>
|
|
<body>
|
|
<div style="margin:auto;font-size: 20px;color: red;line-height: 3;padding: 20px;">
|
|
导出进行中。。。<br/>
|
|
如果导出成功你也可以手动关闭此页面
|
|
</div>
|
|
|
|
<!-- 数据列表 -->
|
|
<table border="1" id="exporttable" style="opacity: 0;">
|
|
<!-- 表头 -->
|
|
<thead>
|
|
<tr>
|
|
<th rowspan="2">序号</th>
|
|
<th>游戏名</th>
|
|
<th>游戏合作方</th>
|
|
<th >结算时间</th>
|
|
<th>奖惩确认时间</th>
|
|
<th style="width: 350px;">事件说明</th>
|
|
<th>奖惩性质</th>
|
|
<th>添加人</th>
|
|
<th rowspan="2">审核状态</th>
|
|
</tr>
|
|
<tr>
|
|
|
|
<th>奖惩类别</th>
|
|
<th>结算方</th>
|
|
<th>结算公司类型</th>
|
|
<th>结算公司归属</th>
|
|
|
|
<th>会长账号</th>
|
|
<th>奖惩金额</th>
|
|
<th>结算方式</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<!-- 列表 -->
|
|
<tbody>
|
|
<if condition = "empty($list)">
|
|
<tr>
|
|
<td colspan="99" class="text-center">aOh! 暂时还没有内容!</td>
|
|
</tr>
|
|
</if>
|
|
<notemtpy name = "list">
|
|
<volist name="list" id="data" key="k">
|
|
<tr style="border-top:dotted 1px #c7c7c7;color: #000;background: #f5f8fa;height: 60px;line-height: 60px;">
|
|
<td rowspan="{$data['row']}">{$k}</td>
|
|
<td>{$data['relation_game_name']}</td>
|
|
<td>{$data['relation_game_partner']}</td>
|
|
<td>{$data['settlement_time']}</td>
|
|
<td>{$data['confirm_time']}</td>
|
|
<td>{$data['content']}</td>
|
|
<td>{$data['reward_type_text']}</td>
|
|
<td>{:get_admin_name($data['creater_id'])}</td>
|
|
<if condition="$data.is_verify eq 1">
|
|
<td>{$data.verify}</td>
|
|
<elseif condition="$data.is_verify eq -1"/>
|
|
<td style="color:red;">{$data.verify}</td>
|
|
<else/>
|
|
<td>--</td>
|
|
</if>
|
|
</tr>
|
|
<?php if($data['row'] > 1):?>
|
|
<?php for($i=0; $i< ($data['row']-1); $i++):?>
|
|
<tr style="border-top:dotted 1px #c7c7c7;">
|
|
<td><?=$data['detail'][$i]['detail_type'] ?? '无'?></td>
|
|
<td><?=$data['detail'][$i]['company_name'] ?? '无'?></td>
|
|
<td><?=$data['detail'][$i]['company_type_text'] ?? '无'?></td>
|
|
<td><?=$data['detail'][$i]['company_belong'] ?? '无'?></td>
|
|
|
|
|
|
<td><?=$data['detail'][$i]['promote_account'] ?? '无'?></td>
|
|
<td><?=$data['detail'][$i]['amount'] ?? '无'?></td>
|
|
<td><?=$data['detail'][$i]['settlement_type_text'] ?? '无'?></td>
|
|
<if condition="$data['detail'][$i]['is_check'] eq 1">
|
|
<td>{$data['detail'][$i].check_detail}</td>
|
|
<elseif condition="$data['detail'][$i]['is_check'] eq -1"/>
|
|
<td style="color:red;">{$data['detail'][$i].check_detail}</td>
|
|
<else/>
|
|
<td>--</td>
|
|
</if>
|
|
|
|
</tr>
|
|
<?php endfor;?>
|
|
<?php endif;?>
|
|
|
|
</volist>
|
|
</notemtpy>
|
|
<tr style="border-top:dotted 1px #c7c7c7;background: #f5f8fa;">
|
|
<td colspan="8" class="text-center">罚款合计:-{:array_sum(array_column($list, 'totalPunish'))} / 奖励合计:{:array_sum(array_column($list, 'totalReward'))}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<script>
|
|
$(function(){
|
|
$("#exporttable").table2excel({
|
|
filename: "奖惩列表.xls", // do include extension
|
|
preserveColors: false // set to true if you want background colors and font colors preserved
|
|
});
|
|
|
|
//搜索功能
|
|
$("#search").click(function(){
|
|
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.parent.reloadIframe(url);
|
|
parent.document.getElementsByTagName('iframe').src = url;
|
|
});
|
|
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|