diff --git a/frontend/src/views/home/components/dataCheckSingleChannelSingleTestPopup.vue b/frontend/src/views/home/components/dataCheckSingleChannelSingleTestPopup.vue index 7394290..e166f87 100644 --- a/frontend/src/views/home/components/dataCheckSingleChannelSingleTestPopup.vue +++ b/frontend/src/views/home/components/dataCheckSingleChannelSingleTestPopup.vue @@ -341,7 +341,12 @@ const updateTableData = async () => { setCheckResultData(resCheckResult) setRawData(resRawData) checkList.length = 0 - currentCheckItem.value = '' + checkList.push({value: keys1[0], label: resCheckResult.isData === 1? `${keys1[0]}`:resCheckResult.isData === 4? `${keys1[0]}(/)` :`${keys1[0]}(不符合)`}) + if (currentCheckItem.value == checkList[0].value) { + doCurrentCheckItemUpdate(checkList[0].value) + } else { + currentCheckItem.value = checkList[0].value + } } else if (keys1.length != 0) { let tempCheckList = [] for (let [key, value] of resTableData.resultData) {