Authored by whb

在线登记后台修改

... ... @@ -7,6 +7,24 @@ define('admin/onlinereg', function(require, exports){
$("#form_pan").remove();
exports.index = function()
{
//全选
$("#all_check").bind("click",function()
{
if($(this).attr("checked"))
{
$.each($("input[type=checkbox]"), function(i, obj)
{
$(obj).attr("checked", 1);
});
}
else
{
$.each($("input[type=checkbox]"), function(i, obj)
{
$(obj).attr("checked", false);
});
}
});
//批量导出
$(".batch_export").bind("click",function()
{
... ...
... ... @@ -19,7 +19,7 @@
<button class="btn batch_export" style="margin-left:100px">批量导出</button>
</caption>
<thead>
<td width="5%">选择</td>
<td width="5%"> <input type="checkbox" id="all_check" /> 选择</td>
<td width="5%">ID</td>
<td width="5%">品牌名称</td>
<td width="5%">类型</td>
... ... @@ -133,7 +133,7 @@
<button class="btn batch_export" style="float:left;">批量导出</button>
</caption>
<thead>
<td width="5%">选择</td>
<td width="5%"> <input type="checkbox" id="all_check" /> 选择</td>
<td width="5%">ID</td>
<td width="5%">品牌名称</td>
<td width="5%">产品类型</td>
... ... @@ -229,7 +229,7 @@
<button class="btn batch_export" style="margin-left:100px">批量导出</button>
</caption>
<thead>
<td width="5%">选择</td>
<td width="5%"><input type="checkbox" id="all_check" /> 选择</td>
<td width="5%">ID</td>
<td width="5%">姓名</td>
<td width="5%">类型</td>
... ...