//請求
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這個資料有問題,你檢查下。