//请求
var s = "http://127.0.0.1:8020";
var urls = "/api/appointmentlist";
$(".bts").dataTable({
"bLengthChange":false,
"bFilter":false,
"processing": true,
"ajax": "http://127.0.0.1:8020/api/appointmentlist",
"columns" : [
{"data" : "org_code"},
{"data" : "appointor"},
{"data" : "sex"},
{"data" : "merrystatus"},
{"data" : "appointtime"},
{"data" : "mobile"},
{"data" : "status"},
{"data" : "cardno"},
{"data" : "appoint_channel"},
{"data" : "reportid"},
{"data" : "operatortime"},
{"data" : "appointor"}
]
});
这是配置代码
一加在就报这个错,数据能拿到
错误信息明显提示operatortime这个数据有问题,你检查下。