You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
120 lines
4.6 KiB
120 lines
4.6 KiB
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="renderer" content="webkit|ie-comp|ie-stand">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
|
|
<meta http-equiv="Cache-Control" content="no-siteapp" />
|
|
{php}include BASE_PATH."/modules/assets/templates/top.tpl";{/php}
|
|
|
|
<title>分销管理</title>
|
|
</head>
|
|
<body>
|
|
|
|
|
|
<nav class="breadcrumb">
|
|
<a href="index.php?module=pi&p=distribution&c=Home" >分销管理</a> <span class="c-gray en">></span>
|
|
客户关系
|
|
</nav>
|
|
|
|
<div class="page-container pd-20 page_absolute">
|
|
<div style="display: flex;flex-direction: row;font-size: 16px;" class="page_bgcolor">
|
|
<div class="status qh " ><a href="index.php?module=pi&p=distribution&c=Home">佣金明细</a></div>
|
|
<div class="status qh "><a href="index.php?module=pi&p=distribution&c=goods&status=2">分销商品</a></div>
|
|
<div class="status qh isclick"><a href="index.php?module=pi&p=distribution&c=relationship&status=1">客户关系</a></div>
|
|
</div>
|
|
<div class="page_h16"></div>
|
|
<div class="text-c" >
|
|
<form name="form1" action="index.php" method="get" style="display: flex;">
|
|
<input type="hidden" name="module" value="pi"/>
|
|
<input type="hidden" name="p" value="distribution"/>
|
|
<input type="hidden" name="c" value="relationship"/>
|
|
<input type="text" name="username" size='8' value="{$username}" id="" placeholder="请输入用户名称/用户ID" style="width:200px" class="input-text">
|
|
<input type="text" name="wx_id" size='8' value="{$wx_id}" id="" placeholder="请输入推荐人ID" style="width:200px" class="input-text">
|
|
|
|
|
|
<input type="button" value="重置" id="btn8" style="border: 1px solid #D5DBE8; color: #6a7076; height: 31px;" class="reset" onclick="empty()" />
|
|
<input name="" id="" class="btn btn-success buttom_hover" type="submit" value="查询">
|
|
</form>
|
|
</div>
|
|
|
|
<div class="page_h16"></div>
|
|
<div class="mt-20">
|
|
<table class="table-border tab_content">
|
|
|
|
<thead>
|
|
<tr class="text-c tab_tr">
|
|
<th>
|
|
序号
|
|
</th>
|
|
<th style="width:170px;">用户ID</th>
|
|
<th style="width:200px;">用户名称</th>
|
|
<th >上级用户ID</th>
|
|
<th>上级用户名称</th>
|
|
<th>时间</th>
|
|
<th>操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{foreach from=$list item=item}
|
|
<tr class="text-c tab_td">
|
|
<td >
|
|
{$item->id}
|
|
</td>
|
|
<td>
|
|
{$item->user_id}
|
|
</td>
|
|
<td >
|
|
{$item->wx_name}
|
|
</td>
|
|
<td>
|
|
{$item->Referee}
|
|
</td>
|
|
<td>
|
|
{$item->parent_name}
|
|
</td>
|
|
<td style="text-align: center;">
|
|
{$item->Register_data}
|
|
</td>
|
|
<td>
|
|
<a href="index.php?module=pi&p=distribution&c=relationship&wx_id={$item->user_id}" >
|
|
查看下级</a>
|
|
</td>
|
|
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
<div style="text-align: center;display: flex;justify-content: center;">{$pages_show}</div>
|
|
<div class="page_h20"></div>
|
|
</div>
|
|
|
|
{php}include BASE_PATH."/modules/assets/templates/footer.tpl";{/php}
|
|
{literal}
|
|
<script type="text/javascript">
|
|
|
|
laydate.render({
|
|
elem: '#group_start_time', //指定元素
|
|
trigger: 'click',
|
|
type: 'datetime',
|
|
|
|
});
|
|
|
|
laydate.render({
|
|
elem: '#group_end_time',
|
|
trigger: 'click',
|
|
type: 'datetime'
|
|
});
|
|
function empty() {
|
|
$("input[name='username']").val('');
|
|
$("input[name='sNo']").val('');
|
|
$("input[name='starttime']").val('');
|
|
$("input[name='group_end_time']").val('');
|
|
}
|
|
</script>
|
|
{/literal}
|
|
</body>
|
|
</html>
|