搜索按钮
Showing
37 changed files
with
51 additions
and
41 deletions
| ... | @@ -118,11 +118,7 @@ | ... | @@ -118,11 +118,7 @@ |
| 118 | }, | 118 | }, |
| 119 | }); | 119 | }); |
| 120 | 120 | ||
| 121 | $('.table_search').on('change', function () { | 121 | $('.bsearch').on('click', function () { |
| 122 | $('#table').DataTable().draw(); | ||
| 123 | }); | ||
| 124 | |||
| 125 | $('.table_search').on('keyup', function () { | ||
| 126 | $('#table').DataTable().draw(); | 122 | $('#table').DataTable().draw(); |
| 127 | }); | 123 | }); |
| 128 | 124 | ||
| ... | @@ -131,6 +127,6 @@ | ... | @@ -131,6 +127,6 @@ |
| 131 | }); | 127 | }); |
| 132 | 128 | ||
| 133 | function resetHandler() { | 129 | function resetHandler() { |
| 134 | $('#table').DataTable().columns().search("").draw(); | 130 | $('#table').DataTable().draw(); |
| 135 | } | 131 | } |
| 136 | </script> | 132 | </script> | ... | ... |
| ... | @@ -5,7 +5,8 @@ | ... | @@ -5,7 +5,8 @@ |
| 5 | <form class="" onreset="resetHandler()"> | 5 | <form class="" onreset="resetHandler()"> |
| 6 | <?php $this->load->view('work/search2'); ?> | 6 | <?php $this->load->view('work/search2'); ?> |
| 7 | <div> | 7 | <div> |
| 8 | <input class="btn btn-warning radius" type="reset" value="重置"> | 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">搜索</button> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置"> | ||
| 9 | </div> | 10 | </div> |
| 10 | </form> | 11 | </form> |
| 11 | 12 | ... | ... |
| ... | @@ -5,6 +5,7 @@ | ... | @@ -5,6 +5,7 @@ |
| 5 | <form class="" onreset="resetHandler()"> | 5 | <form class="" onreset="resetHandler()"> |
| 6 | <?php $this->load->view('work/search2'); ?> | 6 | <?php $this->load->view('work/search2'); ?> |
| 7 | <div> | 7 | <div> |
| 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">搜索</button> | ||
| 8 | <input class="btn btn-warning radius" type="reset" value="重置"> | 9 | <input class="btn btn-warning radius" type="reset" value="重置"> |
| 9 | </div> | 10 | </div> |
| 10 | </form> | 11 | </form> | ... | ... |
| ... | @@ -5,7 +5,8 @@ | ... | @@ -5,7 +5,8 @@ |
| 5 | <form class="" onreset="resetHandler()"> | 5 | <form class="" onreset="resetHandler()"> |
| 6 | <?php $this->load->view('work/search2'); ?> | 6 | <?php $this->load->view('work/search2'); ?> |
| 7 | <div> | 7 | <div> |
| 8 | <input class="btn btn-warning radius" type="reset" value="重置"> | 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">搜索</button> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置"> | ||
| 9 | </div> | 10 | </div> |
| 10 | </form> | 11 | </form> |
| 11 | 12 | ... | ... |
| ... | @@ -5,7 +5,8 @@ | ... | @@ -5,7 +5,8 @@ |
| 5 | <form class="" onreset="resetHandler()" id="repayment"> | 5 | <form class="" onreset="resetHandler()" id="repayment"> |
| 6 | <?php $this->load->view('work/search2'); ?> | 6 | <?php $this->load->view('work/search2'); ?> |
| 7 | <div> | 7 | <div> |
| 8 | <input class="btn btn-warning radius" type="reset" value="重置"> | 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">搜索</button> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置"> | ||
| 9 | 10 | ||
| 10 | <button class="btn btn-primary radius" type="button" onclick="layer_show('导入', '<?=site_url('loan/import/4')?>')">导入</button> | 11 | <button class="btn btn-primary radius" type="button" onclick="layer_show('导入', '<?=site_url('loan/import/4')?>')">导入</button> |
| 11 | 12 | ... | ... |
| ... | @@ -5,7 +5,8 @@ | ... | @@ -5,7 +5,8 @@ |
| 5 | <form class="" onreset="resetHandler()" id="prosecute"> | 5 | <form class="" onreset="resetHandler()" id="prosecute"> |
| 6 | <?php $this->load->view('loan/search'); ?> | 6 | <?php $this->load->view('loan/search'); ?> |
| 7 | <div> | 7 | <div> |
| 8 | <input class="btn btn-warning radius" type="reset" value="重置"> | 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">搜索</button> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置"> | ||
| 9 | 10 | ||
| 10 | <button class="btn btn-primary radius" type="button" onclick="layer_show('导入', '<?=site_url('loan/import/3')?>')">导入</button> | 11 | <button class="btn btn-primary radius" type="button" onclick="layer_show('导入', '<?=site_url('loan/import/3')?>')">导入</button> |
| 11 | <button class="btn btn-success radius r" type="button" onclick="excel()">导出</button> | 12 | <button class="btn btn-success radius r" type="button" onclick="excel()">导出</button> | ... | ... |
| ... | @@ -5,7 +5,8 @@ | ... | @@ -5,7 +5,8 @@ |
| 5 | <form class="" onreset="resetHandler()" id="prosecute"> | 5 | <form class="" onreset="resetHandler()" id="prosecute"> |
| 6 | <?php $this->load->view('loan/search'); ?> | 6 | <?php $this->load->view('loan/search'); ?> |
| 7 | <div> | 7 | <div> |
| 8 | <input class="btn btn-warning radius" type="reset" value="重置"> | 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">搜索</button> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置"> | ||
| 9 | 10 | ||
| 10 | <button class="btn btn-primary radius" type="button" onclick="layer_show('导入', '<?=site_url('loan/import/3')?>')">导入</button> | 11 | <button class="btn btn-primary radius" type="button" onclick="layer_show('导入', '<?=site_url('loan/import/3')?>')">导入</button> |
| 11 | <button class="btn btn-success radius r" type="button" onclick="excel()">导出</button> | 12 | <button class="btn btn-success radius r" type="button" onclick="excel()">导出</button> | ... | ... |
| ... | @@ -5,7 +5,8 @@ | ... | @@ -5,7 +5,8 @@ |
| 5 | <form class="" onreset="resetHandler()" id="reminder"> | 5 | <form class="" onreset="resetHandler()" id="reminder"> |
| 6 | <?php $this->load->view('loan/search'); ?> | 6 | <?php $this->load->view('loan/search'); ?> |
| 7 | <div> | 7 | <div> |
| 8 | <input class="btn btn-warning radius" type="reset" value="重置"> | 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">搜索</button> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置"> | ||
| 9 | 10 | ||
| 10 | <button class="btn btn-primary radius" type="button" onclick="layer_show('导入', '<?=site_url('loan/import/3')?>')">导入</button> | 11 | <button class="btn btn-primary radius" type="button" onclick="layer_show('导入', '<?=site_url('loan/import/3')?>')">导入</button> |
| 11 | <button class="btn btn-success radius r" type="button" onclick="excel()">导出</button> | 12 | <button class="btn btn-success radius r" type="button" onclick="excel()">导出</button> | ... | ... |
| ... | @@ -5,7 +5,8 @@ | ... | @@ -5,7 +5,8 @@ |
| 5 | <form class="" onreset="resetHandler()" id="repayment"> | 5 | <form class="" onreset="resetHandler()" id="repayment"> |
| 6 | <?php $this->load->view('loan/search2'); ?> | 6 | <?php $this->load->view('loan/search2'); ?> |
| 7 | <div> | 7 | <div> |
| 8 | <input class="btn btn-warning radius" type="reset" value="重置"> | 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">搜索</button> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置"> | ||
| 9 | 10 | ||
| 10 | <button class="btn btn-primary radius" type="button" onclick="layer_show('导入', '<?=site_url('loan/import/1')?>')">导入</button> | 11 | <button class="btn btn-primary radius" type="button" onclick="layer_show('导入', '<?=site_url('loan/import/1')?>')">导入</button> |
| 11 | <button class="btn btn-primary radius" type="button" onclick="layer_show('批量导入', '<?=site_url('loan/import/2')?>')">批量导入</button> | 12 | <button class="btn btn-primary radius" type="button" onclick="layer_show('批量导入', '<?=site_url('loan/import/2')?>')">批量导入</button> | ... | ... |
| ... | @@ -29,7 +29,8 @@ | ... | @@ -29,7 +29,8 @@ |
| 29 | </div> | 29 | </div> |
| 30 | 30 | ||
| 31 | <div> | 31 | <div> |
| 32 | <input class="btn btn-warning radius" type="reset" value="重置"> | 32 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">搜索</button> |
| 33 | <input class="btn btn-warning radius" type="reset" value="重置"> | ||
| 33 | </div> | 34 | </div> |
| 34 | </form>--> | 35 | </form>--> |
| 35 | <div class="body mt-20"> | 36 | <div class="body mt-20"> | ... | ... |
| ... | @@ -5,7 +5,8 @@ | ... | @@ -5,7 +5,8 @@ |
| 5 | <form class="" onreset="resetHandler()"> | 5 | <form class="" onreset="resetHandler()"> |
| 6 | <?php $this->load->view('work/search'); ?> | 6 | <?php $this->load->view('work/search'); ?> |
| 7 | <div> | 7 | <div> |
| 8 | <input class="btn btn-warning radius" type="reset" value="重置"> | 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">搜索</button> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置"> | ||
| 9 | </div> | 10 | </div> |
| 10 | </form> | 11 | </form> |
| 11 | <div class="body mt-20"> | 12 | <div class="body mt-20"> | ... | ... |
| ... | @@ -6,7 +6,8 @@ | ... | @@ -6,7 +6,8 @@ |
| 6 | <form class="" onreset="resetHandler()"> | 6 | <form class="" onreset="resetHandler()"> |
| 7 | <?php $this->load->view('work/search'); ?> | 7 | <?php $this->load->view('work/search'); ?> |
| 8 | <div> | 8 | <div> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置"> | 9 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">搜索</button> |
| 10 | <input class="btn btn-warning radius" type="reset" value="重置"> | ||
| 10 | </div> | 11 | </div> |
| 11 | </form> | 12 | </form> |
| 12 | 13 | ... | ... |
| ... | @@ -66,7 +66,7 @@ | ... | @@ -66,7 +66,7 @@ |
| 66 | </div> | 66 | </div> |
| 67 | </div> | 67 | </div> |
| 68 | <div> | 68 | <div> |
| 69 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 69 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 70 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 70 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 71 | 71 | ||
| 72 | <button class="btn btn-primary radius" type="button" onclick="gets()">批量获取</button> | 72 | <button class="btn btn-primary radius" type="button" onclick="gets()">批量获取</button> | ... | ... |
| ... | @@ -11,7 +11,7 @@ | ... | @@ -11,7 +11,7 @@ |
| 11 | <form class="search"> | 11 | <form class="search"> |
| 12 | <?php $this->load->view('work/search'); ?> | 12 | <?php $this->load->view('work/search'); ?> |
| 13 | <div> | 13 | <div> |
| 14 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 14 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 15 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 15 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 16 | </div> | 16 | </div> |
| 17 | </form> | 17 | </form> | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | <div class="form-group col-sm-3 col-md-2"> | 5 | <div class="form-group col-sm-3 col-md-2"> |
| 6 | <label>资料上传</label> | 6 | <label>资料上传</label> |
| 7 | <span class="form-control select-box"> | 7 | <span class="form-control select-box"> |
| 8 | <select class="select uploader" size="1"> | 8 | <select class="select uploader" size="1" id="upload"> |
| 9 | <?php foreach ($this->session->sourceBaseType as $k=>$v):?> | 9 | <?php foreach ($this->session->sourceBaseType as $k=>$v):?> |
| 10 | <option value="<?=$v->code?>"><?=$v->desc?></option> | 10 | <option value="<?=$v->code?>"><?=$v->desc?></option> |
| 11 | <?php if($v->children && !empty($v->children)):?> | 11 | <?php if($v->children && !empty($v->children)):?> | ... | ... |
| ... | @@ -11,7 +11,7 @@ | ... | @@ -11,7 +11,7 @@ |
| 11 | <form class="search"> | 11 | <form class="search"> |
| 12 | <?php $this->load->view('work/search'); ?> | 12 | <?php $this->load->view('work/search'); ?> |
| 13 | <div> | 13 | <div> |
| 14 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 14 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 15 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 15 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 16 | </div> | 16 | </div> |
| 17 | </form> | 17 | </form> | ... | ... |
| ... | @@ -6,7 +6,8 @@ | ... | @@ -6,7 +6,8 @@ |
| 6 | <form class="" onreset="resetHandler()"> | 6 | <form class="" onreset="resetHandler()"> |
| 7 | <?php $this->load->view('work/search'); ?> | 7 | <?php $this->load->view('work/search'); ?> |
| 8 | <div> | 8 | <div> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置"> | 9 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">搜索</button> |
| 10 | <input class="btn btn-warning radius" type="reset" value="重置"> | ||
| 10 | </div> | 11 | </div> |
| 11 | </form> | 12 | </form> |
| 12 | 13 | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | <form class="search"> | 5 | <form class="search"> |
| 6 | <?php $this->load->view('work/search'); ?> | 6 | <?php $this->load->view('work/search'); ?> |
| 7 | <div> | 7 | <div> |
| 8 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 9 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 10 | </div> | 10 | </div> |
| 11 | </form> | 11 | </form> | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | <form class="search"> | 5 | <form class="search"> |
| 6 | <?php $this->load->view('work/search'); ?> | 6 | <?php $this->load->view('work/search'); ?> |
| 7 | <div> | 7 | <div> |
| 8 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 9 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 10 | </div> | 10 | </div> |
| 11 | </form> | 11 | </form> | ... | ... |
| ... | @@ -6,7 +6,8 @@ | ... | @@ -6,7 +6,8 @@ |
| 6 | <form class="" onreset="resetHandler()"> | 6 | <form class="" onreset="resetHandler()"> |
| 7 | <?php $this->load->view('work/search'); ?> | 7 | <?php $this->load->view('work/search'); ?> |
| 8 | <div> | 8 | <div> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置"> | 9 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">搜索</button> |
| 10 | <input class="btn btn-warning radius" type="reset" value="重置"> | ||
| 10 | </div> | 11 | </div> |
| 11 | </form> | 12 | </form> |
| 12 | 13 | ... | ... |
| ... | @@ -6,7 +6,8 @@ | ... | @@ -6,7 +6,8 @@ |
| 6 | <form class="" onreset="resetHandler()"> | 6 | <form class="" onreset="resetHandler()"> |
| 7 | <?php $this->load->view('work/search'); ?> | 7 | <?php $this->load->view('work/search'); ?> |
| 8 | <div> | 8 | <div> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置"> | 9 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">搜索</button> |
| 10 | <input class="btn btn-warning radius" type="reset" value="重置"> | ||
| 10 | </div> | 11 | </div> |
| 11 | </form> | 12 | </form> |
| 12 | 13 | ... | ... |
| ... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
| 6 | <form class="search"> | 6 | <form class="search"> |
| 7 | <?php $this->load->view('work/search'); ?> | 7 | <?php $this->load->view('work/search'); ?> |
| 8 | <div> | 8 | <div> |
| 9 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 9 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 11 | </div> | 11 | </div> |
| 12 | </form> | 12 | </form> | ... | ... |
| ... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
| 6 | <form class="search"> | 6 | <form class="search"> |
| 7 | <?php $this->load->view('work/search'); ?> | 7 | <?php $this->load->view('work/search'); ?> |
| 8 | <div> | 8 | <div> |
| 9 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 9 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 11 | </div> | 11 | </div> |
| 12 | </form> | 12 | </form> | ... | ... |
| ... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
| 6 | <form class="search"> | 6 | <form class="search"> |
| 7 | <?php $this->load->view('work/search'); ?> | 7 | <?php $this->load->view('work/search'); ?> |
| 8 | <div> | 8 | <div> |
| 9 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 9 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 11 | 11 | ||
| 12 | <button class="btn btn-primary radius" type="button" onclick="pass(1)">批量通过</button> | 12 | <button class="btn btn-primary radius" type="button" onclick="pass(1)">批量通过</button> | ... | ... |
| ... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
| 6 | <form class="search"> | 6 | <form class="search"> |
| 7 | <?php $this->load->view('work/search'); ?> | 7 | <?php $this->load->view('work/search'); ?> |
| 8 | <div> | 8 | <div> |
| 9 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 9 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 11 | </div> | 11 | </div> |
| 12 | </form> | 12 | </form> | ... | ... |
| ... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
| 6 | <form class="search"> | 6 | <form class="search"> |
| 7 | <?php $this->load->view('work/search'); ?> | 7 | <?php $this->load->view('work/search'); ?> |
| 8 | <div> | 8 | <div> |
| 9 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 9 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 11 | </div> | 11 | </div> |
| 12 | </form> | 12 | </form> | ... | ... |
| ... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
| 6 | <form class="search"> | 6 | <form class="search"> |
| 7 | <?php $this->load->view('work/search'); ?> | 7 | <?php $this->load->view('work/search'); ?> |
| 8 | <div> | 8 | <div> |
| 9 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 9 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 11 | </div> | 11 | </div> |
| 12 | </form> | 12 | </form> | ... | ... |
| ... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
| 6 | <form class="search"> | 6 | <form class="search"> |
| 7 | <?php $this->load->view('work/search'); ?> | 7 | <?php $this->load->view('work/search'); ?> |
| 8 | <div> | 8 | <div> |
| 9 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 9 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 11 | </div> | 11 | </div> |
| 12 | </form> | 12 | </form> | ... | ... |
| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | <?php $this->load->view('work/search'); ?> | 7 | <?php $this->load->view('work/search'); ?> |
| 8 | 8 | ||
| 9 | <div> | 9 | <div> |
| 10 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 10 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 11 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 11 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 12 | </div> | 12 | </div> |
| 13 | </form> | 13 | </form> | ... | ... |
| ... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
| 6 | <form class="search"> | 6 | <form class="search"> |
| 7 | <?php $this->load->view('work/search'); ?> | 7 | <?php $this->load->view('work/search'); ?> |
| 8 | <div> | 8 | <div> |
| 9 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 9 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 11 | </div> | 11 | </div> |
| 12 | </form> | 12 | </form> | ... | ... |
| ... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
| 6 | <form class="search"> | 6 | <form class="search"> |
| 7 | <?php $this->load->view('work/search'); ?> | 7 | <?php $this->load->view('work/search'); ?> |
| 8 | <div> | 8 | <div> |
| 9 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 9 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 10 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 11 | </div> | 11 | </div> |
| 12 | </form> | 12 | </form> | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | <form class="search"> | 5 | <form class="search"> |
| 6 | <?php $this->load->view('work/search'); ?> | 6 | <?php $this->load->view('work/search'); ?> |
| 7 | <div> | 7 | <div> |
| 8 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 9 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 10 | </div> | 10 | </div> |
| 11 | </form> | 11 | </form> | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | <form class="search"> | 5 | <form class="search"> |
| 6 | <?php $this->load->view('work/search'); ?> | 6 | <?php $this->load->view('work/search'); ?> |
| 7 | <div> | 7 | <div> |
| 8 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 9 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 10 | </div> | 10 | </div> |
| 11 | </form> | 11 | </form> | ... | ... |
| ... | @@ -11,7 +11,7 @@ | ... | @@ -11,7 +11,7 @@ |
| 11 | <form class="search"> | 11 | <form class="search"> |
| 12 | <?php $this->load->view('work/search'); ?> | 12 | <?php $this->load->view('work/search'); ?> |
| 13 | <div> | 13 | <div> |
| 14 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 14 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 15 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 15 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 16 | </div> | 16 | </div> |
| 17 | </form> | 17 | </form> | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | <form class="search"> | 5 | <form class="search"> |
| 6 | <?php $this->load->view('work/search'); ?> | 6 | <?php $this->load->view('work/search'); ?> |
| 7 | <div> | 7 | <div> |
| 8 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 9 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 10 | </div> | 10 | </div> |
| 11 | </form> | 11 | </form> | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | <form class="search"> | 5 | <form class="search"> |
| 6 | <?php $this->load->view('work/search'); ?> | 6 | <?php $this->load->view('work/search'); ?> |
| 7 | <div> | 7 | <div> |
| 8 | <input class="btn btn-primary radius" type="submit" value="提交搜索"> | 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 9 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 10 | 10 | ||
| 11 | <button class="btn btn-primary radius" type="button" onclick="pass(1)">批量通过</button> | 11 | <button class="btn btn-primary radius" type="button" onclick="pass(1)">批量通过</button> | ... | ... |
| ... | @@ -12,7 +12,7 @@ jQuery(function() { | ... | @@ -12,7 +12,7 @@ jQuery(function() { |
| 12 | auto: true, | 12 | auto: true, |
| 13 | 13 | ||
| 14 | // 文件接收服务端。 | 14 | // 文件接收服务端。 |
| 15 | server: 'http://151.28ms.com:8088/order/ordersource/baseUpload', | 15 | server: 'http://151.28ms.com:8088/order/ordersource/baseUpload?type=' + $('#upload').val(), |
| 16 | 16 | ||
| 17 | // 选择文件的按钮。可选。 | 17 | // 选择文件的按钮。可选。 |
| 18 | // 内部根据当前运行是创建,可能是input元素,也可能是flash. | 18 | // 内部根据当前运行是创建,可能是input元素,也可能是flash. | ... | ... |
-
Please register or sign in to post a comment