71bef1a4 by wang

init

1 parent c267c0fe
...@@ -55,18 +55,18 @@ ...@@ -55,18 +55,18 @@
55 <div class="col-xs-2"> 55 <div class="col-xs-2">
56 <input type="text" class="form-control input-text table_search" value="" placeholder="手机号" column="5" name="phoneNumber"> 56 <input type="text" class="form-control input-text table_search" value="" placeholder="手机号" column="5" name="phoneNumber">
57 </div> 57 </div>
58 <div class="col-xs-2"> 58 <!-- <div class="col-xs-2">-->
59 <input type="text" class="form-control input-text" value="" id="loanMinMoney" placeholder="最小申请金额" name="loanMinMoney"> 59 <!-- <input type="text" class="form-control input-text" value="" id="loanMinMoney" placeholder="最小申请金额" name="loanMinMoney">-->
60 </div> 60 <!-- </div>-->
61 <div class="col-xs-2"> 61 <!-- <div class="col-xs-2">-->
62 <input type="text" class="form-control input-text table_search" id="loanMaxMoney" value="" placeholder="最大申请金额" name="loanMaxMoney"> 62 <!-- <input type="text" class="form-control input-text table_search" id="loanMaxMoney" value="" placeholder="最大申请金额" name="loanMaxMoney">-->
63 </div> 63 <!-- </div>-->
64 <div class="col-xs-2"> 64 <!-- <div class="col-xs-2">-->
65 <input type="text" class="form-control input-text table_search" id="ratifyMinMoney" value="" placeholder="最小审批金额" name="ratifyMinMoney"> 65 <!-- <input type="text" class="form-control input-text table_search" id="ratifyMinMoney" value="" placeholder="最小审批金额" name="ratifyMinMoney">-->
66 </div> 66 <!-- </div>-->
67 <div class="col-xs-2"> 67 <!-- <div class="col-xs-2">-->
68 <input type="text" class="form-control input-text table_search" id="ratifyMaxMoney" value="" placeholder="最大审批金额" name="ratifyMaxMoney"> 68 <!-- <input type="text" class="form-control input-text table_search" id="ratifyMaxMoney" value="" placeholder="最大审批金额" name="ratifyMaxMoney">-->
69 </div> 69 <!-- </div>-->
70 </div> 70 </div>
71 71
72 <div> 72 <div>
...@@ -269,12 +269,12 @@ ...@@ -269,12 +269,12 @@
269 $('#table').DataTable().draw(); 269 $('#table').DataTable().draw();
270 }); 270 });
271 271
272 $('#loanMinMoney, #loanMaxMoney,#ratifyMinMoney, #ratifyMaxMoney').on('keyup', function () { 272 // $('#loanMinMoney, #loanMaxMoney,#ratifyMinMoney, #ratifyMaxMoney').on('keyup', function () {
273 var url = window.location.href+window.location.search; 273 // var url = window.location.href;
274 // alert(url); 274 //// alert(url);
275 location.href = url+'&loanMinMoney='+$("#loanMinMoney").val()+'&loanMaxMoney='+$("#loanMaxMoney").val()+'&ratifyMinMoney='+$("#ratifyMinMoney").val()+'&ratifyMaxMoney='+$("#ratifyMaxMoney").val() 275 // location.href = url+'&loanMinMoney='+$("#loanMinMoney").val()+'&loanMaxMoney='+$("#loanMaxMoney").val()+'&ratifyMinMoney='+$("#ratifyMinMoney").val()+'&ratifyMaxMoney='+$("#ratifyMaxMoney").val()
276 // $('#table').DataTable().draw(); 276 //// $('#table').DataTable().draw();
277 }); 277 // });
278 278
279 function resetHandler() { 279 function resetHandler() {
280 $('#table').DataTable().columns().search("").draw(); 280 $('#table').DataTable().columns().search("").draw();
...@@ -289,6 +289,12 @@ ...@@ -289,6 +289,12 @@
289 layer.msg('通过'); 289 layer.msg('通过');
290 }); 290 });
291 } 291 }
292 //获取url中的参数
293 function getUrlParam(name) {
294 var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
295 var r = window.location.search.substr(1).match(reg); //匹配目标参数
296 if (r != null) return unescape(r[2]); return null; //返回参数值
297 }
292 </script> 298 </script>
293 </body> 299 </body>
294 <html> 300 <html>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!