This commit is contained in:
Celeste 2023-02-14 15:16:24 +08:00
commit 0da4c4cdd7

View File

@ -643,9 +643,11 @@
} }
function refTable(data) { function refTable(data) {
let tag = "#alertTable"; let tag = "#alertTable";
$.each(data, function (i, v) {
v.formId = AlertList(v.uuid); $.each(data, function (i, v) {
v.formId = AlertList(v.uuid.$val);
}); });
let column_defs = [ let column_defs = [
@ -680,7 +682,6 @@
"title": "設備名稱", "title": "設備名稱",
"data": "sourceName_zh", "data": "sourceName_zh",
render: (data) => { render: (data) => {
console.log(data);
return allDevices.find(d => d.device_number === data)?.full_name || "" return allDevices.find(d => d.device_number === data)?.full_name || ""
} }
}, },