5234599e by yangjianbin

init

1 parent ec8083b7
......@@ -116,13 +116,13 @@
ajax: {
url: apiBaseUrl + '/order/into/getAllApplyOrder',
dataSrc: function ( json ) {
for ( var i=0, ien=json.data.length ; i<ien ; i++ ) {
json.data[i][0] = '<a href="/message/'+json.data[i][0]+'>View message</a>';
}
// for ( var i=0, ien=json.data.length ; i<ien ; i++ ) {
// json.data[i][0] = '<a href="/message/'+json.data[i][0]+'>View message</a>';
// }
json.draw = json.page.currentPage;
json.recordsTotal = json.page.totalNumber;
json.recordsFiltered = json.page.totalNumber;
return json.data;
return json;
}
},
columns: [
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!