Files
orico-official-website-old/app/admin/view/agents/lists.html
2024-10-29 14:04:59 +08:00

162 lines
8.7 KiB
HTML
Executable File

<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
代理商申请管理
<small>代理商申请列表</small>
</h1>
<ol class="breadcrumb">
<li><a href="<?php echo url('/admin/index/index');?>"><i class="fa fa-dashboard"></i> 首页</a></li>
<li><a href="<?php echo url('/admin/agents/lists');?>"> 代理商申请</a></li>
<li class="active"> 代理商申请列表</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid collapsed-box">
<div class="box-header with-border">
<h3 class="box-title"><i class="fa fa-fw fa-search"></i>...</h3>
<div class="box-tools">
<button type="button" class="btn btn-box-tool" data-widget="collapse">
<i class="fa fa-fw fa-search-plus"></i> 展开/关闭
</button>
<button type="button" class="btn btn-box-tool" data-widget="collapse">
<i class="fa fa-fw fa-plus"></i>
</button>
</div>
</div>
<div class="box-body">
<form class="form-horizontal" action="<?php echo url('/admin/agents/lists');?>" method="get">
<div class="col-sm-5">
<div class="form-group">
<label class="col-sm-2 control-label">名称</label>
<div class="col-sm-10">
<input type="text" name="name" class="form-control" placeholder="申请人、手机或兴趣产品" value="<?php echo $search['name']; ?>">
</div>
</div>
</div>
<div class="col-sm-7">
<div class="form-group">
<label class="col-sm-2 control-label">提交时间</label>
<div class="col-sm-10">
<div class="col-xs-12 col-sm-6 no-padding">
<div class="input-group">
<input type="text" name="timebegin" id="timebegin" class="form-control" value="<?php echo $search['timebegin']; ?>">
<span class="input-group-btn">
<button class="btn btn-primary" type="button" onclick="laydate_datetime('#timebegin');"><i class="fa fa-fw fa-calendar"></i></button>
</span>
</div>
</div>
<div class="col-xs-12 col-sm-6 no-padding">
<div class="input-group">
<input type="text" name="timeend" id="timeend" class="form-control" value="<?php echo $search['timeend']; ?>">
<span class="input-group-btn">
<button class="btn btn-primary" type="button" onclick="laydate_datetime('#timeend');"><i class="fa fa-fw fa-calendar"></i></button>
</span>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary btn-sm" ><i class="fa fa-fw fa-check"></i>搜索</button>
<button type="button" class="btn btn-info btn-sm" id="doclear"><i class="fa fa-fw fa-remove"></i>清空</button>
</div>
</div>
</div>
</form>
</div>
<!-- /.box-tools -->
</div>
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">代理商申请列表</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse">
<i class="fa fa-fw fa-minus"></i>
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div class="box-body no-padding">
<div class="table-responsive lists-table">
<table class="table table-hover table-bordered">
<tbody>
<tr>
<th width="35rem">&nbsp;</th>
<th width="160rem"style="text-align: center">公司名称</th>
<th width="60rem" style="text-align: center">姓名</th>
<th width="60rem" style="text-align: center">邮箱</th>
<th width="60rem" style="text-align: center">手机</th>
<th class="text-center" style="margin: auto">想代理的产品</th>
<th width="120rem" style="text-align: center">代理区域/国家</th>
<th wwidth="100rem" style="text-align: center">提交时间</th>
<th wwidth="35rem" style="text-align: center">操作</th>
</tr>
{volist name='list' id ='vv'}
<tr>
<td class="text-center"><input type="checkbox" name="ids[]" value="<?php echo $vv['id'];?>"></td>
<th class="text-center">{$vv.company}</th>
<th class="text-center">{$vv.name} {$vv.last_name}</th>
<th class="text-center">{$vv.email}</th>
<th class="text-center">{$vv.phone}</th>
<th class="text-center">{$vv.interest}</th>
<th class="text-center">{$vv.country}</th>
<th class="text-center">{$vv.createtime}</th>
<th class="text-center">
<a class="btn btn-xs btn-info" href="<?php echo url('/admin/agents/view',['id'=>$vv['id']]);?>">查看</a>
<a class="btn btn-xs btn-info" data-id="<?php echo $vv['id'];?>" data-url="<?php echo url('/admin/agents/delete');?>" data-cod="dowarn">删除</a>
</th>
</tr>
{/volist}
</tbody>
</table>
<!-- /.table -->
</div>
<!-- /.lists-table -->
</div>
<!-- /.box-body -->
<div class="box-footer no-padding">
<div class="mailbox-controls row">
<div class="col-sm-6">
<button type="button" class="btn btn-default btn-sm checkbox-toggle"><i class="fa fa-square-o"></i></button>
<div class="btn-group">
<button type="button" class="btn btn-default btn-sm" data-url="<?php echo url('/admin/agents/deletes');?>" data-cod="batch">删除</button>
<button type="button" class="btn btn-default btn-sm" data-cod="refresh">刷新</button>
</div>
<!-- /.btn-group -->
</div>
<div class="col-sm-6">
<div class="pull-right">
{$page}
</div>
<!-- /.pull-right -->
</div>
</div>
</div>
</div>
<!-- /.box -->
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<style>
.table-responsive .table tbody > tr > th,.table-responsive .table thead > tr > td, .table-responsive .table tbody > tr > td {
vertical-align: middle;
}
</style>
<!-- Page Script -->
<script type="text/javascript">
$(function() {
});
</script>