|
|
@ -8,7 +8,7 @@ |
|
|
|
{/block} |
|
|
|
{/block} |
|
|
|
{block name="body"} |
|
|
|
{block name="body"} |
|
|
|
<div class="layui-card"> |
|
|
|
<div class="layui-card"> |
|
|
|
<div class="layui-card-body layui-form" style="padding: 10px 0;"> |
|
|
|
<div class="layui-card-body layui-form" style="padding: 0 10px;"> |
|
|
|
<div class="layui-collapse"> |
|
|
|
<div class="layui-collapse"> |
|
|
|
<div class="layui-colla-item"> |
|
|
|
<div class="layui-colla-item"> |
|
|
|
<h2 class="layui-colla-title">筛选</h2> |
|
|
|
<h2 class="layui-colla-title">筛选</h2> |
|
|
@ -154,7 +154,7 @@ |
|
|
|
<div class="layui-input-block layui-text-right" id="tool-bar"> |
|
|
|
<div class="layui-input-block layui-text-right" id="tool-bar"> |
|
|
|
<button type="button" class="layui-btn" id="search-btn">搜索</button> |
|
|
|
<button type="button" class="layui-btn" id="search-btn">搜索</button> |
|
|
|
<a href="{:url('index/index')}" class="layui-btn" id="reset-btn">重置条件</a> |
|
|
|
<a href="{:url('index/index')}" class="layui-btn" id="reset-btn">重置条件</a> |
|
|
|
<button type="button" class="layui-btn layui-btn-danger" id="deletes-btn">批量删除</button> |
|
|
|
<button type="button" class="layui-btn layui-btn-danger" style="display: none;" id="deletes-btn">批量删除</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -357,6 +357,14 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
where: param, |
|
|
|
where: param, |
|
|
|
}, 'data'); |
|
|
|
}, 'data'); |
|
|
|
|
|
|
|
let param_a = param; |
|
|
|
|
|
|
|
delete param_a['car_phone_empty']; |
|
|
|
|
|
|
|
delete param_a['car_frame_check']; |
|
|
|
|
|
|
|
delete param_a['data_check']; |
|
|
|
|
|
|
|
if (param_a.filter().length > 0) |
|
|
|
|
|
|
|
$('#deletes-btn').css('display', 'inline-block') |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
$('#deletes-btn').css('display', 'none') |
|
|
|
}); |
|
|
|
}); |
|
|
|
$('#deletes-btn').on('click', function () { |
|
|
|
$('#deletes-btn').on('click', function () { |
|
|
|
layer.confirm('真的删除行么', function(index){ |
|
|
|
layer.confirm('真的删除行么', function(index){ |
|
|
|