|
|
|
@ -20,10 +20,48 @@ use \common\libs\MyLib; |
|
|
|
|
</div> |
|
|
|
|
<div class="ibox-content"> |
|
|
|
|
<form role="form" class="form-inline" onsubmit="return search();"> |
|
|
|
|
<div class="form-group" style="margin-bottom: 8px;"> |
|
|
|
|
<label for="car_no">车牌</label> |
|
|
|
|
<input type="text" id="car_no" name="car_no" class="form-control"> |
|
|
|
|
</div> |
|
|
|
|
<div class="form-group" style="margin-bottom: 8px;"> |
|
|
|
|
<label for="car_man">车主</label> |
|
|
|
|
<input type="text" id="car_man" name="car_man" class="form-control"> |
|
|
|
|
</div> |
|
|
|
|
<div class="form-group" style="margin-bottom: 8px;"> |
|
|
|
|
<label for="phone">联系电话</label> |
|
|
|
|
<input type="text" id="phone" name="phone" class="form-control"> |
|
|
|
|
</div> |
|
|
|
|
<div class="form-group" style="margin-bottom: 8px;"> |
|
|
|
|
<label for="datepicker1">初登日期</label> |
|
|
|
|
<div class="input-daterange input-group" id="datepicker1"> |
|
|
|
|
<input type="text" class="input-sm form-control" id="register_begin" name="register_begin" value="" autocomplete="off" /> |
|
|
|
|
<span class="input-group-addon">到</span> |
|
|
|
|
<input type="text" class="input-sm form-control" id="register_end" name="register_end" value="" autocomplete="off" /> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="form-group" style="margin-bottom: 8px;"> |
|
|
|
|
<label for="datepicker2">保险日期</label> |
|
|
|
|
<div class="input-daterange input-group" id="datepicker2"> |
|
|
|
|
<input type="text" class="input-sm form-control" id="insurer1_begin" name="insurer1_begin" value="" autocomplete="off" /> |
|
|
|
|
<span class="input-group-addon">到</span> |
|
|
|
|
<input type="text" class="input-sm form-control" id="insurer1_end" name="insurer1_end" value="" autocomplete="off" /> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="form-group" style="margin-bottom: 8px;"> |
|
|
|
|
<label for="invalid_id">无效理由</label> |
|
|
|
|
<select class="form-control" id="invalid_id" name="invalid_id"> |
|
|
|
|
<option value="0">请选择无效理由</option> |
|
|
|
|
<?php foreach($invalid_items as $item) { |
|
|
|
|
echo '<option value="'.$item->id.'">'.$item->name.'</option>'; |
|
|
|
|
} |
|
|
|
|
?> |
|
|
|
|
</select> |
|
|
|
|
</div> |
|
|
|
|
<button type="submit" class="btn btn-primary mb-8">搜索</button> |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<button type="button" class="btn btn-primary btn-assign-return">勾选恢复</button> |
|
|
|
|
<button type="button" class="btn btn-primary btn-assign-all">批量恢复</button> |
|
|
|
|
<button type="button" class="btn btn-danger btn-clear">清空搜索条件</button> |
|
|
|
|
</div> |
|
|
|
|
</form> |
|
|
|
|
<div class="row"> |
|
|
|
@ -56,6 +94,7 @@ use \common\libs\MyLib; |
|
|
|
|
<script src="/assets/js/plugins/bootstrap-table/bootstrap-table.min.js"></script> |
|
|
|
|
<script src="/assets/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script> |
|
|
|
|
<script src="/assets/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script> |
|
|
|
|
<script src="/assets/js/plugins/layer/laydate/laydate.js"></script> |
|
|
|
|
<script> |
|
|
|
|
var o = {}; |
|
|
|
|
function searchDlg() { |
|
|
|
@ -80,11 +119,27 @@ use \common\libs\MyLib; |
|
|
|
|
return o; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$(function() { |
|
|
|
|
search(); |
|
|
|
|
|
|
|
|
|
laydate({ |
|
|
|
|
elem:'#register_begin', |
|
|
|
|
format: 'YYYY-MM-DD' |
|
|
|
|
}); |
|
|
|
|
laydate({ |
|
|
|
|
elem:'#register_end', |
|
|
|
|
format: 'YYYY-MM-DD' |
|
|
|
|
}); |
|
|
|
|
laydate({ |
|
|
|
|
elem:'#insurer1_begin', |
|
|
|
|
format: 'YYYY-MM-DD' |
|
|
|
|
}); |
|
|
|
|
laydate({ |
|
|
|
|
elem:'#insurer1_end', |
|
|
|
|
format: 'YYYY-MM-DD' |
|
|
|
|
}); |
|
|
|
|
$('.btn-assign-return').click(function() { |
|
|
|
|
layer.confirm('是否确认收回操作?', { |
|
|
|
|
btn: ['确认','取消'], //按钮 |
|
|
|
|