Merge remote-tracking branch 'origin/develop' into develop
# Conflicts: # application/views/perm/staff.php
Showing
1 changed file
with
1 additions
and
4 deletions
| ... | @@ -119,7 +119,6 @@ | ... | @@ -119,7 +119,6 @@ |
| 119 | ] | 119 | ] |
| 120 | }); | 120 | }); |
| 121 | 121 | ||
| 122 | |||
| 123 | $.fn.dataTableExt.afnFiltering.push( | 122 | $.fn.dataTableExt.afnFiltering.push( |
| 124 | function (oSettings, aData, iDataIndex) { | 123 | function (oSettings, aData, iDataIndex) { |
| 125 | var min = document.getElementById('min').value; | 124 | var min = document.getElementById('min').value; |
| ... | @@ -219,7 +218,6 @@ | ... | @@ -219,7 +218,6 @@ |
| 219 | }); | 218 | }); |
| 220 | } | 219 | } |
| 221 | 220 | ||
| 222 | |||
| 223 | function unfreeze(id) { | 221 | function unfreeze(id) { |
| 224 | layer.confirm('您确定要解冻这个员工账号吗?', { | 222 | layer.confirm('您确定要解冻这个员工账号吗?', { |
| 225 | btn: ['确认','取消'], | 223 | btn: ['确认','取消'], |
| ... | @@ -228,8 +226,7 @@ | ... | @@ -228,8 +226,7 @@ |
| 228 | }, function(){ | 226 | }, function(){ |
| 229 | $.ajax({ | 227 | $.ajax({ |
| 230 | type: 'put', | 228 | type: 'put', |
| 231 | // url: apiBaseUrl + 'manage/financial/confirm/' + id + '?realRepaymentDate=' + Date.now(), | 229 | url: apiBaseUrl + 'manage/financial/confirm/' + id + '?realRepaymentDate=' + Date.now(), |
| 232 | url: apiBaseUrl +'/system/user/unfreeze/'+data['id'], | ||
| 233 | cache: false, | 230 | cache: false, |
| 234 | dataType: 'json', | 231 | dataType: 'json', |
| 235 | contentType: "application/json; charset=UTF-8", | 232 | contentType: "application/json; charset=UTF-8", | ... | ... |
-
Please register or sign in to post a comment