作者 sgj
1 个管道 的构建 通过 耗费 0 秒

添加最新版本的easywechat

... ... @@ -6,7 +6,7 @@
<li class="active"><a href="{:url('volunteer/index')}">志愿者列表</a></li>
<!--<li><a href="{:url('volunteer/add')}">添加志愿者</a></li>-->
</ul>
<form class="well form-inline margin-top-20" method="post" action="{:url('volunteer/index')}">
<form id="forms" class="well form-inline margin-top-20" method="post" action="{:url('volunteer/index')}">
分类:
<select class="form-control" name="category" style="width: 140px;">
<option value='0'>全部</option>
... ... @@ -34,6 +34,18 @@
<input type="submit" id="excel" class="btn btn-primary" value="导出" />
<a class="btn btn-danger" href="{:url('volunteer/index')}">清空</a>
</form>
<script type="application/javascript">
var search="{:url('volunteer/index')}";
var excel="{:url('excels')}";
document.getElementById('search').onclick=function () {
document.getElementById('forms').action=search;
}
document.getElementById('excel').onclick=function () {
document.getElementById('forms').action=excel;
}
</script>
<form class="js-ajax-form" action="" method="post">
<table class="table table-hover table-bordered">
<div class="table-actions">
... ...