|
@@ -1,4 +1,4 @@
|
|
|
-import { floor, random } from 'lodash-es';
|
|
|
+import { floor, random, slice } from 'lodash-es';
|
|
|
import { defHttp } from '/@/utils/http/axios';
|
|
|
import { get } from '../billboard/utils';
|
|
|
|
|
@@ -76,6 +76,10 @@ export const list = (params) => {
|
|
|
e.readData.fy_merge_int = drag_merge;
|
|
|
// e.dengjikong_merge = floor((1.19 * (m3_merge / 60)) / Math.sqrt(drag_merge), 2);
|
|
|
});
|
|
|
+ res.sys_surface_caimei.forEach((e) => {
|
|
|
+ e.history = slice(e.history, e.history.length - 30, e.history.length);
|
|
|
+ e.history_report = slice(e.history_report, e.history_report.length - 30, e.history_report.length);
|
|
|
+ });
|
|
|
res.device_arr = Object.values(res.device);
|
|
|
|
|
|
return res;
|