Commit aa52fef3 by lixinming

Merge branch 'master' of http://123.207.147.179:8888/changsanjiao/server

# Conflicts:
#	res/其他数据模板.xlsx
parents af2c68b2 6034c577
...@@ -4,8 +4,8 @@ import { get区域融合 } from "../data/analysisExcelData"; ...@@ -4,8 +4,8 @@ import { get区域融合 } from "../data/analysisExcelData";
function 特化一体化电网运行管理(number) { function 特化一体化电网运行管理(number) {
let checkData = new Date('2021-10-25 00:00:00').valueOf() - new Date().valueOf(); let checkData = new Date().valueOf() - new Date('2021-10-25 00:00:00').valueOf();
return Math.ceil(checkData / (3600 * 1000 * 24)) + number; return Math.floor(checkData / (3600 * 1000 * 24)) + number;
} }
export function getData(req, res) { 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