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