|
@@ -64,7 +64,7 @@
|
|
|
suspectedNum: 0, // 疑似隐蔽工作面数量
|
|
suspectedNum: 0, // 疑似隐蔽工作面数量
|
|
|
vaOverLimitNum: 0, // 风速超限异常数量
|
|
vaOverLimitNum: 0, // 风速超限异常数量
|
|
|
m3LackNum: 0, // 风量不足异常数量
|
|
m3LackNum: 0, // 风量不足异常数量
|
|
|
- m3NotClosedNum: 0, // 风量不闭合异常数量
|
|
|
|
|
|
|
+ // m3NotClosedNum: 0, // 风量不闭合异常数量
|
|
|
disconnectNum: [] as any[], // 数据掉线点列表
|
|
disconnectNum: [] as any[], // 数据掉线点列表
|
|
|
enforceOffices: null, // 执法处判识情况列表
|
|
enforceOffices: null, // 执法处判识情况列表
|
|
|
windClosedStats: [] as any[], // 风量闭合/风量异常饼图统计(getMineData)
|
|
windClosedStats: [] as any[], // 风量闭合/风量异常饼图统计(getMineData)
|
|
@@ -80,7 +80,7 @@
|
|
|
suspectedNum: 0,
|
|
suspectedNum: 0,
|
|
|
vaOverLimitNum: 0,
|
|
vaOverLimitNum: 0,
|
|
|
m3LackNum: 0,
|
|
m3LackNum: 0,
|
|
|
- m3NotClosedNum: 0,
|
|
|
|
|
|
|
+ // m3NotClosedNum: 0,
|
|
|
disconnectNum: [] as any[],
|
|
disconnectNum: [] as any[],
|
|
|
pointRecords: [] as any[], // 测风点实时数据
|
|
pointRecords: [] as any[], // 测风点实时数据
|
|
|
identifyData: {
|
|
identifyData: {
|
|
@@ -97,7 +97,7 @@
|
|
|
// WindrectData.status:1正常、0已删除
|
|
// WindrectData.status:1正常、0已删除
|
|
|
const windrectStatusMap: Record<string, string> = { '1': '正常', '0': '已删除' };
|
|
const windrectStatusMap: Record<string, string> = { '1': '正常', '0': '已删除' };
|
|
|
const judgeResultMap: Record<string, string> = { '0': '数据不足', '1': '疑似', '2': '正常' };
|
|
const judgeResultMap: Record<string, string> = { '0': '数据不足', '1': '疑似', '2': '正常' };
|
|
|
- const m3ClosedMap: Record<string, string> = { '0': '数据不足', '1': '不闭合', '2': '闭合' };
|
|
|
|
|
|
|
+ const m3ClosedMap: Record<string, string> = { '0': '数据不足', /* '1': '不闭合', */ '2': '闭合' };
|
|
|
|
|
|
|
|
/** WindrectData 分页记录 → 首页风速风量传感器表格行 */
|
|
/** WindrectData 分页记录 → 首页风速风量传感器表格行 */
|
|
|
function mapWindrectRecords(records: any[]) {
|
|
function mapWindrectRecords(records: any[]) {
|
|
@@ -175,7 +175,7 @@
|
|
|
suspectedNum: statistics.suspectedNum ?? 0,
|
|
suspectedNum: statistics.suspectedNum ?? 0,
|
|
|
vaOverLimitNum: statistics.vaOverLimitNum ?? 0,
|
|
vaOverLimitNum: statistics.vaOverLimitNum ?? 0,
|
|
|
m3LackNum: statistics.m3LackNum ?? 0,
|
|
m3LackNum: statistics.m3LackNum ?? 0,
|
|
|
- m3NotClosedNum: statistics.m3NotClosedNum ?? 0,
|
|
|
|
|
|
|
+ // m3NotClosedNum: statistics.m3NotClosedNum ?? 0,
|
|
|
disconnectNum: Array.isArray(statistics.disconnectNum) ? statistics.disconnectNum : [],
|
|
disconnectNum: Array.isArray(statistics.disconnectNum) ? statistics.disconnectNum : [],
|
|
|
enforceOffices: judgeList,
|
|
enforceOffices: judgeList,
|
|
|
windClosedStats: mineStats.windClosedStats,
|
|
windClosedStats: mineStats.windClosedStats,
|
|
@@ -231,7 +231,7 @@
|
|
|
suspectedNum: statistics.suspectedNum ?? 0,
|
|
suspectedNum: statistics.suspectedNum ?? 0,
|
|
|
vaOverLimitNum: statistics.vaOverLimitNum ?? 0,
|
|
vaOverLimitNum: statistics.vaOverLimitNum ?? 0,
|
|
|
m3LackNum: statistics.m3LackNum ?? 0,
|
|
m3LackNum: statistics.m3LackNum ?? 0,
|
|
|
- m3NotClosedNum: statistics.m3NotClosedNum ?? 0,
|
|
|
|
|
|
|
+ // m3NotClosedNum: statistics.m3NotClosedNum ?? 0,
|
|
|
disconnectNum: Array.isArray(statistics.disconnectNum) ? statistics.disconnectNum : [],
|
|
disconnectNum: Array.isArray(statistics.disconnectNum) ? statistics.disconnectNum : [],
|
|
|
pointRecords: windrectPage,
|
|
pointRecords: windrectPage,
|
|
|
identifyData: identifyResult || { conclusion: '正常', m3Exception: 0, m3Closed: '数据不足', mineAreaCount: 0, windrectCount: 0 },
|
|
identifyData: identifyResult || { conclusion: '正常', m3Exception: 0, m3Closed: '数据不足', mineAreaCount: 0, windrectCount: 0 },
|