This commit is contained in:
Iruka 2025-01-06 18:03:14 +08:00
parent 1f2dfa8827
commit 325eaadb26

View File

@ -109,17 +109,22 @@
}).then(response => {
if (response.rows.length) {
response.rows.forEach(item => {
if (item.eventType == 9) {
stepList.splice(stepCurrent, 0, {
title: '中断',
description: item.occurTime,
status: 'success'
});
} else {
if (item.eventType > stepCurrent) {
if (item.eventType > stepCurrent) {
if (item.eventType == 9) {
stepList.splice(stepCurrent, 0, {
title: '中断',
description: item.occurTime,
status: 'success'
});
} else {
stepCurrent = item.eventType;
stepList[stepCurrent - 1].description = item.occurTime;
stepList[stepCurrent - 1].status = 'success';
if (item.eventType == 5 && stepList[3].status == "") {
stepList[3].description = item.occurTime;
stepList[3].status = 'success';
}
}
}
});