init
Showing
1 changed file
with
4 additions
and
4 deletions
| ... | @@ -116,13 +116,13 @@ | ... | @@ -116,13 +116,13 @@ |
| 116 | ajax: { | 116 | ajax: { |
| 117 | url: apiBaseUrl + '/order/into/getAllApplyOrder', | 117 | url: apiBaseUrl + '/order/into/getAllApplyOrder', |
| 118 | dataSrc: function ( json ) { | 118 | dataSrc: function ( json ) { |
| 119 | for ( var i=0, ien=json.data.length ; i<ien ; i++ ) { | 119 | // for ( var i=0, ien=json.data.length ; i<ien ; i++ ) { |
| 120 | json.data[i][0] = '<a href="/message/'+json.data[i][0]+'>View message</a>'; | 120 | // json.data[i][0] = '<a href="/message/'+json.data[i][0]+'>View message</a>'; |
| 121 | } | 121 | // } |
| 122 | json.draw = json.page.currentPage; | 122 | json.draw = json.page.currentPage; |
| 123 | json.recordsTotal = json.page.totalNumber; | 123 | json.recordsTotal = json.page.totalNumber; |
| 124 | json.recordsFiltered = json.page.totalNumber; | 124 | json.recordsFiltered = json.page.totalNumber; |
| 125 | return json.data; | 125 | return json; |
| 126 | } | 126 | } |
| 127 | }, | 127 | }, |
| 128 | columns: [ | 128 | columns: [ | ... | ... |
-
Please register or sign in to post a comment