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.

385 lines
20 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: 16px;color: red;line-height: 3;padding: 20px;">
导出进行中。。。<br />
如果导出成功你也可以手动关闭此页面
</div>
<table border="1" id="exporttable" style="opacity: 0;">
<!-- 表头 -->
<thead>
<tr>
<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 colspan="2">推广分成比例</th>
<th colspan="2">CP分成比例</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>
<empty name="listData">
<td colspan="99" class="text-center">aOh! 暂时还没有内容!</td>
<else />
<volist name="listData" id="data" key="companykey">
<tr>
<td rowspan="{$data.row}">{$data.company_name}</td>
<td rowspan="{$data.row}">{$data.platform_name|default="--"}</td>
<td rowspan="{$data.row}">{$data.company_belong}</td>
<td rowspan="{$data.row}">{$data.develop_type}</td>
<td rowspan="{$data.row}">{$data.company_type}</td>
<td rowspan="{$data.row}">{$data.settlement_type}</td>
<td rowspan="{$data.row}">{$data.deposit_pay_type}</td>
<td rowspan="{$data.row}">{$data.deposit_amount}</td>
<td rowspan="{$data.row}">{$data.deposit_status}</td>
<notempty name="data.list">
<td rowspan="{$data['list'][0]['row']}">{$data['list'][0]['account']|default="--"}</td>
<td rowspan="{$data['list'][0]['row']}">{$data['list'][0]['market_admin_username']|default="--"}</td>
<!-- <td rowspan="{$data['list'][0]['row']}">{$data['list'][0]['pay_type']|default="--"}</td> -->
<!-- <td rowspan="{$data['list'][0]['row']}">{$data['list'][0]['amount']|default="--"}</td> -->
<!-- <td rowspan="{$data['list'][0]['row']}">{$data['list'][0]['status']|default="--"}</td> -->
<notempty name="data['list'][0]['list']">
<td rowspan="{$data['list'][0]['list'][0]['row']}">
{$data['list'][0]['list'][0]['original_package_name']|default="--"}</td>
<td rowspan="{$data['list'][0]['list'][0]['row']}">
{$data['list'][0]['list'][0]['relation_game_name']|default="--"}</td>
<td rowspan="{$data['list'][0]['list'][0]['row']}">
{$data['list'][0]['list'][0]['aggregate_gamename']|default="--"}</td>
<td rowspan="{$data['list'][0]['list'][0]['row']}">
{$data['list'][0]['list'][0]['game_type_name']|default="--"}</td>
<notempty name="data['list'][0]['list'][0]['turnover_ratio']">
<td>{$data['list'][0]['list'][0]['turnover_ratio'][0]['name']|default="--"}</td>
<td>{$data['list'][0]['list'][0]['turnover_ratio'][0]['ratio']|showPercent}</td>
<td>{$data['list'][0]['list'][0]['cp_ratio'][0]['name']|default="--"}</td>
<td>{$data['list'][0]['list'][0]['cp_ratio'][0]['ratio']|showPercent}</td>
<else />
<td>--</td>
<td>--</td>
<td>--</td>
<td>--</td>
</notempty>
<else />
<td>--</td>
<td>--</td>
<td>--</td>
<td>--</td>
<td>--</td>
<td>--</td>
<td>--</td>
<td>--</td>
</notempty>
<else />
<td>--</td>
<td>--</td>
<td>--</td>
<td>--</td>
<td>--</td>
<td>--</td>
<td>--</td>
<td>--</td>
<td>--</td>
<td>--</td>
</notempty>
<td rowspan="{$data.row}">{$data.bank_address|default="--"}</td>
<td rowspan="{$data.row}">&nbsp;{$data.bank_card|default="--"}</td>
<td rowspan="{$data.row}">{$data.bank_name|default="--"}</td>
<td rowspan="{$data.row}">{$data.collection|default="--"}</td>
<td rowspan="{$data.row}">{$data.is_payment|default="--"}</td>
<!-- <td rowspan="{$data.row}">{$data.ali_user|default="&#45;&#45;"}</td>-->
<!-- <td rowspan="{$data.row}">{$data.ali_account|default="&#45;&#45;"}</td>-->
<td rowspan="{$data.row}">{$data.is_sign_contact|default="--"}</td>
<td rowspan="{$data.row}">{$data.contract_time}</td>
<td rowspan="{$data.row}">{$data.validity_time}</td>
<td rowspan="{$data.row}">{$data.fax_ratio|showPercent}</td>
<td rowspan="{$data.row}">{$data.invoice_type|default="--"}</td>
<td rowspan="{$data.row}">{$data.taxation_rate|showPercent}</td>
<td rowspan="{$data.row}">{$data.channel_rate|showPercent}</td>
<td rowspan="{$data.row}">{$data.reg_address|default="--"}</td>
<td rowspan="{$data.row}">{$data.reg_phone|default="--"}</td>
<td rowspan="{$data.row}">{$data.settlement_contact|default="--"}</td>
<td rowspan="{$data.row}">{$data.contact_phone|default="--"}</td>
<td rowspan="{$data.row}">{$data.address|default="--"}</td>
</tr>
<if condition="$data['list'][0]['list'][0]['row'] gt 1">
<foreach name="data['list'][0]['list'][0]['turnover_ratio']" item="game_ratio" key="gamekey">
<if condition="$gamekey gt 0">
<tr>
<td>{$game_ratio['name']|default="--"}</td>
<td>{$game_ratio['ratio']|showPercent}</td>
<td>{$data['list'][0]['list'][0]['cp_ratio'][$gamekey]['name']|default="--"}</td>
<td>{$data['list'][0]['list'][0]['cp_ratio'][$gamekey]['ratio']|showPercent}</td>
</tr>
</if>
</foreach>
</if>
<!-- 游戏循环 -->
<if condition="$data['list'][0]['row'] gt 1">
<foreach name="data['list'][0]['list']" item="p_ratio" key="pkey">
<if condition="$pkey gt 0">
<tr>
<td rowspan="{$p_ratio['row']}">{$p_ratio['original_package_name']|default="--"}</td>
<td rowspan="{$p_ratio['row']}">{$p_ratio['relation_game_name']|default="--"}</td>
<td rowspan="{$p_ratio['row']}">{$p_ratio['aggregate_gamename']|default="--"}</td>
<td rowspan="{$p_ratio['row']}">{$p_ratio['game_type_name']|default="--"}</td>
<notempty name="p_ratio['turnover_ratio']">
<td>{$p_ratio['turnover_ratio'][0]['name']|default="--"}</td>
<td>{$p_ratio['turnover_ratio'][0]['ratio']|showPercent}</td>
<td>{$p_ratio['cp_ratio'][0]['name']|default="--"}</td>
<td>{$p_ratio['cp_ratio'][0]['ratio']|showPercent}</td>
<else />
<td >-</td>
<td>-</td>
<td >-</td>
<td>-</td>
</notempty>
</tr>
<if condition="$p_ratio['row'] gt 1">
<foreach name="p_ratio['turnover_ratio']" item="game_ratio" key="gamekey">
<if condition="$gamekey gt 0">
<tr>
<td>{$game_ratio['name']|default="--"}</td>
<td>{$game_ratio['ratio']|showPercent}</td>
<td>{$p_ratio['cp_ratio'][$gamekey]['name']|default="--"}</td>
<td>{$p_ratio['cp_ratio'][$gamekey]['ratio']|showPercent}</td>
</tr>
</if>
</foreach>
</if>
</if>
</foreach>
</if>
<!-- 会长循环 -->
<if condition="$data['row'] gt 1">
<foreach name="data['list']" item="promote" key="promotekey">
<if condition="$promotekey gt 0">
<tr>
<td rowspan="{$promote['row']}">{$promote['account']|default="--"}</td>
<td rowspan="{$promote['row']}">{$promote['market_admin_username']|default="--"}</td>
<!-- <td rowspan="{$promote['row']}">{$promote['pay_type']|default="--"}</td> -->
<!-- <td rowspan="{$promote['row']}">{$promote['amount']|default="--"}</td> -->
<!-- <td rowspan="{$promote['row']}">{$promote['status']|default="--"}</td> -->
<notempty name="promote['list']">
<td rowspan="{$promote['list'][0]['row']}">{$promote['list'][0]['original_package_name']|default="--"}</td>
<td rowspan="{$promote['list'][0]['row']}">{$promote['list'][0]['relation_game_name']|default="--"}</td>
<td rowspan="{$promote['list'][0]['row']}">{$promote['list'][0]['aggregate_gamename']|default="--"}</td>
<td rowspan="{$promote['list'][0]['row']}">{$promote['list'][0]['game_type_name']|default="--"}</td>
<notempty name="promote['list'][0]['turnover_ratio']">
<td>{$promote['list'][0]['turnover_ratio'][0]['name']|default="--"}</td>
<td>{$promote['list'][0]['turnover_ratio'][0]['ratio']|showPercent}</td>
<td>{$promote['list'][0]['cp_ratio'][0]['name']|default="--"}</td>
<td>{$promote['list'][0]['cp_ratio'][0]['ratio']|showPercent}</td>
<else />
<td >--</td>
<td>--</td>
<td >--</td>
<td>--</td>
</notempty>
<else />
<td >--</td>
<td>--</td>
<td>--</td>
<td>--</td>
<td>--</td>
<td>--</td>
<td>--</td>
</notempty>
</tr>
<if condition="$promote['list'][0]['row'] gt 1">
<foreach name="promote['list'][0]['turnover_ratio']" item="game_ratio" key="gamekey">
<if condition="$gamekey gt 0">
<tr>
<td>{$game_ratio['name']|default="--"}</td>
<td>{$game_ratio['ratio']|showPercent}</td>
<td>{$promote['list'][0]['cp_ratio'][$gamekey]['name']|default="--"}</td>
<td>{$promote['list'][0]['cp_ratio'][$gamekey]['ratio']|showPercent}</td>
</tr>
</if>
</foreach>
</if>
<foreach name="promote['list']" item="game" key="gkey">
<if condition="$gkey gt 0">
<tr>
<td rowspan="{$game['row']}">{$game['original_package_name']|default="--"}</td>
<td rowspan="{$game['row']}">{$game['relation_game_name']|default="--"}</td>
<td rowspan="{$game['row']}">{$game['aggregate_gamename']|default="--"}</td>
<td rowspan="{$game['row']}">{$game['game_type_name']|default="--"}</td>
<notempty name="game['turnover_ratio']">
<td>{$game['turnover_ratio'][0]['name']|default="--"}</td>
<td>{$game['turnover_ratio'][0]['ratio']|showPercent}</td>
<td>{$game['cp_ratio'][0]['name']|default="--"}</td>
<td>{$game['cp_ratio'][0]['ratio']|showPercent}</td>
<else />
<td >-</td>
<td>-</td>
<td>-</td>
<td>-</td>
</notempty>
</tr>
<if condition="$game['row'] gt 1">
<foreach name="game['turnover_ratio']" item="game_ratio2" key="gamekey2">
<if condition="$gamekey2 gt 0">
<tr>
<td>{$game_ratio2['name']|default="--"}</td>
<td>{$game_ratio2['ratio']|showPercent}</td>
<td>{$game['cp_ratio'][$gamekey2]['name']|default="--"}</td>
<td>{$game['cp_ratio'][$gamekey2]['ratio']|showPercent}</td>
</tr>
</if>
</foreach>
</if>
</if>
</foreach>
</if>
</foreach>
</if>
</volist>
<tr class="data_summary">
<td style="text-align: center;" colspan="3">汇总:</td>
<td colspan="33">
累计推广公司数量:{$count}&#12288;&#12288;会长数量:{$promotecount}
</td>
</tr>
</empty>
</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 () {
console.log(222);
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>