69adc2b1 by yangjianbin

init

1 parent 21777f52
......@@ -114,12 +114,14 @@
// return json.data;
// },
ajax: {
url: '<?=site_url("work/data")?>',
url: apiBaseUrl + '/order/into/getAllApplyOrder',
dataSrc: function ( json ) {
alert('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>';
}
json.draw = json.page.currentPage;
json.recordsTotal = json.page.totalNumber;
json.recordsFiltered = json.page.totalNumber;
return json.data;
}
},
......@@ -132,8 +134,8 @@
<li><a href="#">客户取消</a></li>\
</ul></span>';
}},
{data: "name"},
{data: "name"},
{data: "userName"},
{data: "userName"},
{data: "name"},
{data: "name"},
{data: "name"},
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!