127 lines
6.6 KiB
HTML
Executable File
127 lines
6.6 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/msgform/lists');?>"> 反馈</a></li>
|
|
<li class="active"> 反馈列表</li>
|
|
</ol>
|
|
</section>
|
|
|
|
<!-- Main content -->
|
|
<section class="content">
|
|
<div class="box box-primary">
|
|
<div class="box-header with-border">
|
|
<h3 class="box-title">反馈列表</h3>
|
|
<div class="box-tools pull-right">
|
|
<div class="input-group input-group-sm">
|
|
<input type="text" class="form-control pull-right" id="list-search-in" placeholder="Search Name" value="<?php echo $search['skeyword'];?>">
|
|
<div class="input-group-btn">
|
|
<button type="button" class="btn btn-default" id="list-search-btn"><i class="fa fa-search"></i></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- /.box-tools -->
|
|
</div>
|
|
<!-- /.box-header -->
|
|
<div class="box-body no-padding">
|
|
<?php if(!empty($list)):?>
|
|
<div class="table-responsive lists-table">
|
|
<table class="table table-hover table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<th width="35rem"> </th>
|
|
<th class="text-center" width="60rem">ID</th>
|
|
<th class="text-center">称呼</th>
|
|
<th class="text-center">订单</th>
|
|
<th class="text-center">渠道</th>
|
|
<th class="text-center">反馈主题</th>
|
|
<th class="text-center">联系方法</th>
|
|
<th class="text-center">联系方式</th>
|
|
<th class="text-center">反馈类型</th>
|
|
<th width="75rem" class="text-center">添加时间</th>
|
|
<th width="135rem">操作</th>
|
|
</tr>
|
|
<?php foreach($list as $k=>$msgform):?>
|
|
<tr>
|
|
<td class="text-center"><input type="checkbox" name="ids[]" value="<?php echo $msgform['id'];?>"></td>
|
|
<td class="text-center"><?php echo $msgform['id'];?></td>
|
|
<td class="text-center"><?php echo $msgform['name'];?></td>
|
|
<td class="text-center"><?php echo $msgform['order_id'];?></td>
|
|
<td class="text-center"><?php echo $msgform['channel'];?></td>
|
|
<td class="text-center"><?php echo $msgform['subject'];?></td>
|
|
<td class="text-center"><?php echo $msgform['way'];?></td>
|
|
<td class="text-center"><?php echo $msgform['contact'];?></td>
|
|
<td class="text-center"><?php echo $msgform['feedback_type'];?></td>
|
|
<td class="text-center"><?php echo $msgform['addtime'];?></td>
|
|
<td>
|
|
<!-- <a class="btn btn-xs btn-info" data-id="<?php echo $msgform['id'];?>" data-url="<?php echo url('/admin/msgform/modalview');?>" data-cod="doview">查看</a> -->
|
|
<a class="btn btn-xs btn-info" href="<?php echo url('/admin/msgform/view',['id'=>$msgform['id']]);?>">查看</a>
|
|
<a class="btn btn-xs btn-info" data-id="<?php echo $msgform['id'];?>" data-url="<?php echo url('/admin/msgform/delete');?>" data-cod="dowarn">删除</a>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach;?>
|
|
</tbody>
|
|
</table>
|
|
<!-- /.table -->
|
|
</div>
|
|
<?php endif;?>
|
|
<!-- /.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/msgform/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">
|
|
<?php if($page):
|
|
echo $page;
|
|
endif;?>
|
|
</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() {
|
|
$("[data-cod='doview']").click(function(event) {
|
|
var param = {}, url = $(this).data('url');
|
|
param.id = $(this).data('id');
|
|
$('#modal-doview').remove();
|
|
$.ajax({
|
|
url: url,
|
|
data: param,
|
|
dataType: 'html',
|
|
success: function(html) {
|
|
$('body').append('<div id="modal-doview" class="modal fade">' + html + '</div>');
|
|
$('#modal-doview').modal({show: true, backdrop: 'static'});
|
|
}
|
|
});
|
|
});
|
|
});
|
|
</script>
|