|
|
@ -242,7 +242,8 @@ let header_app = [{ |
|
|
|
title: "确认/恢复时间", |
|
|
|
key: "confirmTime", |
|
|
|
}]; |
|
|
|
async function getExportAlarmHeader(ctx, type) { |
|
|
|
module.exports = function (app, opts) { |
|
|
|
async function getExportAlarmHeader(ctx, type) { |
|
|
|
try { |
|
|
|
let headerMap = { |
|
|
|
"1": headerZD,//数据中断
|
|
|
@ -260,8 +261,9 @@ async function getExportAlarmHeader(ctx, type) { |
|
|
|
message: typeof error == 'string' ? error : undefined |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
module.exports = { |
|
|
|
return { |
|
|
|
getExportAlarmHeader |
|
|
|
}; |
|
|
|
} |
|
|
|
} |