|
|
|
@ -8,160 +8,157 @@ |
|
|
|
|
{/block} |
|
|
|
|
{block name="body"} |
|
|
|
|
<div class="layui-card"> |
|
|
|
|
<div class="layui-card-header layui-card-header-auto layui-form"> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label" style="width: 100px;">车牌号</label> |
|
|
|
|
<div class="layui-input-inline" style="width: 200px;"> |
|
|
|
|
<input type="text" name="car_no" id="car_no" autocomplete="off" class="layui-input" |
|
|
|
|
value="{$params.car_no | default=''}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label" style="width: 100px;">车架号</label> |
|
|
|
|
<div class="layui-input-inline" style="width: 200px;"> |
|
|
|
|
<input type="text" name="car_frame_no" id="car_frame_no" autocomplete="off" |
|
|
|
|
class="layui-input" value="{$params.car_frame_no | default=''}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label" style="width: 100px;">厂牌型号</label> |
|
|
|
|
<div class="layui-input-inline" style="width: 200px;"> |
|
|
|
|
<input type="text" name="factory_model" id="factory_model" autocomplete="off" |
|
|
|
|
class="layui-input" value="{$params.factory_model | default=''}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label" style="width: 100px;">注册日期</label> |
|
|
|
|
<div class="layui-input-inline" style="width: 200px;"> |
|
|
|
|
<input type="text" name="register_date" id="register_date" autocomplete="off" |
|
|
|
|
class="layui-input layui-date-elem" value="{$params.register_date | default=''}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label" style="width: 100px;">车主姓名</label> |
|
|
|
|
<div class="layui-input-inline" style="width: 200px;"> |
|
|
|
|
<input type="text" name="car_man" id="car_man" autocomplete="off" |
|
|
|
|
class="layui-input" value="{$params.car_man | default=''}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label" style="width: 100px;">身份证号</label> |
|
|
|
|
<div class="layui-input-inline" style="width: 200px;"> |
|
|
|
|
<input type="text" name="car_number" id="car_number" autocomplete="off" |
|
|
|
|
class="layui-input" value="{$params.car_number | default=''}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label" style="width: 100px;">联系电话</label> |
|
|
|
|
<div class="layui-input-inline" style="width: 200px;"> |
|
|
|
|
<input type="text" name="car_phone" id="car_phone" autocomplete="off" |
|
|
|
|
class="layui-input" value="{$params.car_phone | default=''}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label" style="width: 100px;">导出文件名</label> |
|
|
|
|
<div class="layui-input-inline" style="width: 200px;"> |
|
|
|
|
<input type="text" name="export_name" id="export_name" autocomplete="off" |
|
|
|
|
class="layui-input" value="{$params.export_name | default=''}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<div class="layui-inline" style="width: 695px;"> |
|
|
|
|
<label class="layui-form-label" style="width: 100px;">初登日期</label> |
|
|
|
|
<div class="layui-input-inline" style="width: 200px;"> |
|
|
|
|
<input type="text" name="register_date1" id="register-date1" class="layui-input layui-date-elem"> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-mid">-</div> |
|
|
|
|
<div class="layui-input-inline" style="width: 200px;"> |
|
|
|
|
<input type="text" name="register_date2" id="register-date2" class="layui-input layui-date-elem"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label" style="width: 100px;">保险日期</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<input type="text" name="insurer_month1" class="layui-input" style="display: inline-block; width: 60px;"> 月 |
|
|
|
|
<input type="text" name="insurer_day1" class="layui-input" style="display: inline-block; width: 60px;"> 日 |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-mid">-</div> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<input type="text" name="insurer_month2" class="layui-input" style="display: inline-block; width: 60px;"> 月 |
|
|
|
|
<input type="text" name="insurer_day2" class="layui-input" style="display: inline-block; width: 60px;"> 日 |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<div class="layui-inline" style="width: 100%;"> |
|
|
|
|
<label class="layui-form-label" style="width: 100px;">数据状态</label> |
|
|
|
|
<div class="layui-input-inline" style="width: 1100px;"> |
|
|
|
|
<table class="layui-table"> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="3"><input type="checkbox" name="data_filter[]" value="bhx" title="已导出清洗"></td> |
|
|
|
|
<td colspan="2"><input type="checkbox" name="data_filter[]" value="none" title="未处理"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td><input type="checkbox" name="data_filter[]" value="bhx_success" title="已清洗成功"></td> |
|
|
|
|
<td><input type="checkbox" name="data_filter[]" value="bhx_failed" title="已清洗失败"></td> |
|
|
|
|
<td><input type="checkbox" name="data_filter[]" value="bhx_none" title="未处理"></td> |
|
|
|
|
<td><input type="checkbox" name="data_filter[]" value="none_bmc" title="已上传"></td> |
|
|
|
|
<td><input type="checkbox" name="data_filter[]" value="none_none" title="未处理"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td><input type="checkbox" name="data_filter[]" value="bhx_success_bmc" title="已上传"> |
|
|
|
|
<input type="checkbox" name="data_filter[]" value="bhx_success_none" title="未上传"></td> |
|
|
|
|
<td><input type="checkbox" name="data_filter[]" value="bhx_failed_bmc" title="已上传"> |
|
|
|
|
<input type="checkbox" name="data_filter[]" value="bhx_failed_bhx" title="已导出清洗"> |
|
|
|
|
<input type="checkbox" name="data_filter[]" value="bhx_failed_none" title="未处理"></td> |
|
|
|
|
<td></td> |
|
|
|
|
<td></td> |
|
|
|
|
<td></td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label" style="width: 100px;">新车购置价</label> |
|
|
|
|
<div class="layui-input-inline" style="width: auto;"> |
|
|
|
|
<input type="text" name="price1" class="layui-input" style="display: inline-block; width: 60px;"> 万 |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-mid">-</div> |
|
|
|
|
<div class="layui-input-inline" style="width: auto;"> |
|
|
|
|
<input type="text" name="price2" class="layui-input" style="display: inline-block; width: 60px;"> 万 |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label" style="width: 100px;">电话检测</label> |
|
|
|
|
<div class="layui-input-inline" style="width: 300px"> |
|
|
|
|
<input type="radio" class="layui-input" name="car_phone_empty" value="all" title="全部" checked> |
|
|
|
|
<input type="radio" class="layui-input" name="car_phone_empty" value="yes" title="不为空"> |
|
|
|
|
<input type="radio" class="layui-input" name="car_phone_empty" value="no" title="空"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label" style="width: 100px;">重复数据检测</label> |
|
|
|
|
<div class="layui-input-inline" style="width: 400px;"> |
|
|
|
|
<input type="radio" class="layui-input" name="data_check" value="no" title="否" checked> |
|
|
|
|
{if $repeat_frame_count > 0 } |
|
|
|
|
<input type="radio" class="layui-input" name="data_check" value="car_frame_check" title="车架号"> |
|
|
|
|
{/if} |
|
|
|
|
{if $peer_phone_count > 0 } |
|
|
|
|
<input type="radio" class="layui-input" name="data_check" value="car_phone_check" title="个人电话"> |
|
|
|
|
{/if} |
|
|
|
|
<div class="layui-card-body layui-form"> |
|
|
|
|
<div class="layui-collapse"> |
|
|
|
|
<div class="layui-colla-item"> |
|
|
|
|
<h2 class="layui-colla-title">筛选</h2> |
|
|
|
|
<div class="layui-colla-content layui-form"> |
|
|
|
|
<div class="layui-row"> |
|
|
|
|
<div class="layui-form-item layui-col-md3" style="clear: none;"> |
|
|
|
|
<label class="layui-form-label">车牌号</label> |
|
|
|
|
<div class="layui-input-block"> |
|
|
|
|
<input type="text" name="car_no" id="car_no" autocomplete="off" class="layui-input" |
|
|
|
|
value="{$params.car_no | default=''}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item layui-col-md3" style="clear: none;"> |
|
|
|
|
<label class="layui-form-label">车架号</label> |
|
|
|
|
<div class="layui-input-block"> |
|
|
|
|
<input type="text" name="car_frame_no" id="car_frame_no" autocomplete="off" |
|
|
|
|
class="layui-input" value="{$params.car_frame_no | default=''}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item layui-col-md3" style="clear: none;"> |
|
|
|
|
<label class="layui-form-label">厂牌型号</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<input type="text" name="factory_model" id="factory_model" autocomplete="off" |
|
|
|
|
class="layui-input" value="{$params.factory_model | default=''}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item layui-col-md3" style="clear: none;"> |
|
|
|
|
<label class="layui-form-label">注册日期</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<input type="text" name="register_date" id="register_date" autocomplete="off" |
|
|
|
|
class="layui-input layui-date-elem" value="{$params.register_date | default=''}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item layui-col-md3" style="clear: none;"> |
|
|
|
|
<label class="layui-form-label">车主姓名</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<input type="text" name="car_man" id="car_man" autocomplete="off" |
|
|
|
|
class="layui-input" value="{$params.car_man | default=''}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item layui-col-md3" style="clear: none;"> |
|
|
|
|
<label class="layui-form-label">身份证号</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<input type="text" name="car_number" id="car_number" autocomplete="off" |
|
|
|
|
class="layui-input" value="{$params.car_number | default=''}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item layui-col-md3" style="clear: none;"> |
|
|
|
|
<label class="layui-form-label">联系电话</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<input type="text" name="car_phone" id="car_phone" autocomplete="off" |
|
|
|
|
class="layui-input" value="{$params.car_phone | default=''}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item layui-col-md3" style="clear: none;"> |
|
|
|
|
<label class="layui-form-label">导出文件名</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<input type="text" name="export_name" id="export_name" autocomplete="off" |
|
|
|
|
class="layui-input" value="{$params.export_name | default=''}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item layui-col-md6" style="clear: none;"> |
|
|
|
|
<label class="layui-form-label">初登日期</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<input type="text" name="register_date1" id="register-date1" class="layui-input layui-date-elem"> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-mid">-</div> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<input type="text" name="register_date2" id="register-date2" class="layui-input layui-date-elem"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item layui-col-md6" style="clear: none;"> |
|
|
|
|
<label class="layui-form-label">保险日期</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<input type="text" name="insurer_month1" class="layui-input" style="display: inline-block; width: 60px;"> 月 |
|
|
|
|
<input type="text" name="insurer_day1" class="layui-input" style="display: inline-block; width: 60px;"> 日 |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-mid">-</div> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<input type="text" name="insurer_month2" class="layui-input" style="display: inline-block; width: 60px;"> 月 |
|
|
|
|
<input type="text" name="insurer_day2" class="layui-input" style="display: inline-block; width: 60px;"> 日 |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item layui-col-md4" style="clear: none;"> |
|
|
|
|
<label class="layui-form-label">新车购置价</label> |
|
|
|
|
<div class="layui-input-inline" style="width: 100px;"> |
|
|
|
|
<input type="text" name="price1" class="layui-input" placeholder="万"> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-mid">-</div> |
|
|
|
|
<div class="layui-input-inline" style="width: 100px;"> |
|
|
|
|
<input type="text" name="price2" class="layui-input" placeholder="万"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item layui-col-md4" style="clear: none;"> |
|
|
|
|
<label class="layui-form-label">电话检测</label> |
|
|
|
|
<div class="layui-input-inline" style="width: 300px;"> |
|
|
|
|
<input type="radio" class="layui-input" name="car_phone_empty" value="all" title="全部" checked> |
|
|
|
|
<input type="radio" class="layui-input" name="car_phone_empty" value="yes" title="不为空"> |
|
|
|
|
<input type="radio" class="layui-input" name="car_phone_empty" value="no" title="空"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item layui-col-md4" style="clear: none;"> |
|
|
|
|
<label class="layui-form-label">重复数据</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<input type="radio" class="layui-input" name="data_check" value="no" title="否" checked> |
|
|
|
|
{if $repeat_frame_count > 0 } |
|
|
|
|
<input type="radio" class="layui-input" name="data_check" value="car_frame_check" title="车架号"> |
|
|
|
|
{/if} |
|
|
|
|
{if $peer_phone_count > 0 } |
|
|
|
|
<input type="radio" class="layui-input" name="data_check" value="car_phone_check" title="个人电话"> |
|
|
|
|
{/if} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item layui-col-md12" style="clear: none;"> |
|
|
|
|
<label class="layui-form-label">数据状态</label> |
|
|
|
|
<div class="layui-input-inline" style="min-width: 1100px;"> |
|
|
|
|
<table class="layui-table"> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="3"><input type="checkbox" name="data_filter[]" value="bhx" title="已导出清洗"></td> |
|
|
|
|
<td colspan="2"><input type="checkbox" name="data_filter[]" value="none" title="未处理"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td><input type="checkbox" name="data_filter[]" value="bhx_success" title="已清洗成功"></td> |
|
|
|
|
<td><input type="checkbox" name="data_filter[]" value="bhx_failed" title="已清洗失败"></td> |
|
|
|
|
<td><input type="checkbox" name="data_filter[]" value="bhx_none" title="未处理"></td> |
|
|
|
|
<td><input type="checkbox" name="data_filter[]" value="none_bmc" title="已上传"></td> |
|
|
|
|
<td><input type="checkbox" name="data_filter[]" value="none_none" title="未处理"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td><input type="checkbox" name="data_filter[]" value="bhx_success_bmc" title="已上传"> |
|
|
|
|
<input type="checkbox" name="data_filter[]" value="bhx_success_none" title="未上传"></td> |
|
|
|
|
<td><input type="checkbox" name="data_filter[]" value="bhx_failed_bmc" title="已上传"> |
|
|
|
|
<input type="checkbox" name="data_filter[]" value="bhx_failed_bhx" title="已导出清洗"> |
|
|
|
|
<input type="checkbox" name="data_filter[]" value="bhx_failed_none" title="未处理"></td> |
|
|
|
|
<td></td> |
|
|
|
|
<td></td> |
|
|
|
|
<td></td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-input-block layui-text-right" id="tool-bar"> |
|
|
|
|
<button type="button" class="layui-btn" id="search-btn">搜索</button> |
|
|
|
|
<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> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-input-block layui-text-right" id="tool-bar"> |
|
|
|
|
<button type="button" class="layui-btn" id="search-btn">搜索</button> |
|
|
|
|
<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> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-card-body layui-form"> |
|
|
|
|
<table class="layui-hide" id="car-info" lay-filter="car-info"></table> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -226,6 +223,7 @@ |
|
|
|
|
url: '{:url("/index/carInfo/")}', //数据接口 |
|
|
|
|
where: getUrlParam('Object'), |
|
|
|
|
toolbar: true, |
|
|
|
|
height: 'full - 45', |
|
|
|
|
page: true, //开启分页 |
|
|
|
|
limit: 20, |
|
|
|
|
loading: true, |
|
|
|
@ -349,7 +347,7 @@ |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
$('#search-btn').on('click', function(){ |
|
|
|
|
var param = $('.layui-card-header').find(':input').serializeObject(); |
|
|
|
|
var param = $('.layui-colla-content').find(':input').serializeObject(); |
|
|
|
|
param['data_filter[]'] = param['data_filter[]']?param['data_filter[]']:''; |
|
|
|
|
param = Object.assign(param, urlParams); |
|
|
|
|
//执行重载 |
|
|
|
@ -365,7 +363,7 @@ |
|
|
|
|
layer.close(index); |
|
|
|
|
index = layer.load(); |
|
|
|
|
//向服务端发送删除指令 |
|
|
|
|
$.post('{:url("index/deletes/")}', $('.layui-card-header').find(':input').serialize(), function (ret) { |
|
|
|
|
$.post('{:url("/index/deletes/")}', $('.layui-colla-content').find(':input').serialize(), function (ret) { |
|
|
|
|
layer.close(index); |
|
|
|
|
layer.msg(ret.msg, function () { |
|
|
|
|
layui.table.reload('carInfo'); |
|
|
|
|