新增首页异常网元版本号
This commit is contained in:
@@ -37,6 +37,8 @@ export async function listMain() {
|
|||||||
const ipAddress = (value as any).ipAddress;
|
const ipAddress = (value as any).ipAddress;
|
||||||
const systemState = (value as any).systemState;
|
const systemState = (value as any).systemState;
|
||||||
const serialNum = (value as any).serialNum;
|
const serialNum = (value as any).serialNum;
|
||||||
|
const version = (value as any).version;
|
||||||
|
|
||||||
|
|
||||||
const errCode = systemState && systemState['errorCode'];
|
const errCode = systemState && systemState['errorCode'];
|
||||||
var time = new Date();
|
var time = new Date();
|
||||||
@@ -52,10 +54,10 @@ export async function listMain() {
|
|||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
mergedObj = {
|
mergedObj = {
|
||||||
version: '-',
|
version,
|
||||||
refresh: parseDateToStr(time),
|
refresh: parseDateToStr(time),
|
||||||
ipAddress: ipAddress,
|
ipAddress,
|
||||||
serialNum: serialNum,
|
serialNum,
|
||||||
name: key.split('/').join('_'),
|
name: key.split('/').join('_'),
|
||||||
status: 'Abnormal',
|
status: 'Abnormal',
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user