8300fec1 by yangjianbin

Merge branch 'develop' of http://g.28ms.com:8000/yangjianbin/page into develop

2 parents be477444 9210bd36
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
67 } else { 67 } else {
68 layer.alert('请求成功'); 68 layer.alert('请求成功');
69 setTimeout(function () { 69 setTimeout(function () {
70 layer_close(); 70 layer_load('应用工具', '<?=site_url('tool/web');?>');
71 },500); 71 },500);
72 } 72 }
73 73
......
...@@ -102,26 +102,7 @@ ...@@ -102,26 +102,7 @@
102 ] 102 ]
103 }); 103 });
104 104
105 $.fn.dataTableExt.afnFiltering.push( 105 $('.table_search').on('keyup', function () {
106 function (oSettings, aData, iDataIndex) {
107 var min = document.getElementById('min').value;
108 var max = document.getElementById('max').value;
109 var iDateCol = 12;
110
111 var dateMin = new Date(aData[iDateCol]);
112 var dateMax = new Date(aData[iDateCol]);
113
114 if (min === '' && max === '')
115 return true;
116 else if (new Date(min).getTime() <= dateMin.getTime() && max === '')
117 return true;
118 else if (new Date(min).getTime() <= dateMin.getTime() && new Date(max).getTime() >= dateMax.getTime())
119 return true;
120 return false;
121 }
122 );
123
124 $('.table_search').on('change', function () {
125 search = $(this).val(); 106 search = $(this).val();
126 column = $(this).attr('column'); 107 column = $(this).attr('column');
127 108
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!