Commit 6034c577 by chenjinjing

no message

parent d9692d72
......@@ -4,8 +4,8 @@ import { get区域融合 } from "../data/analysisExcelData";
function 特化一体化电网运行管理(number) {
let checkData = new Date('2021-10-25 00:00:00').valueOf() - new Date().valueOf();
return Math.ceil(checkData / (3600 * 1000 * 24)) + number;
let checkData = new Date().valueOf() - new Date('2021-10-25 00:00:00').valueOf();
return Math.floor(checkData / (3600 * 1000 * 24)) + number;
}
export function getData(req, res) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment