diff --git a/src/views/evaluation/evaluationUpload.vue b/src/views/evaluation/evaluationUpload.vue index 31464468..b8bc9a7c 100644 --- a/src/views/evaluation/evaluationUpload.vue +++ b/src/views/evaluation/evaluationUpload.vue @@ -1151,7 +1151,9 @@ import {timeoutUpload} from "@/api/configPublic"; state.tableLoading = true state.uploadDownLoad = true if(state.valueAll.length != 0 && !state.loadData&&state.loadNewDown){ + state.totalNumber.failedEntisTrue = '0' if(state.valueAll.length >1){ + state.totalNumber.failedEntisTrue = state.totalNumber.failedEntries == 0 ? '0' : '1' state.bg_results = true } state.valueAll.forEach((item)=>{ @@ -1159,7 +1161,6 @@ import {timeoutUpload} from "@/api/configPublic"; item.createId = userInfo.value.userId } }) - state.totalNumber.failedEntisTrue = state.totalNumber.failedEntries == 0 ? '0' : '1' // 保存上传文件 await boeRequest('/activityApi/evaluation/detail/saveEvaluationDetail post',{ evaluationDetailListlist:state.valueAll, @@ -1192,7 +1193,10 @@ import {timeoutUpload} from "@/api/configPublic"; }) } if(state.uploadStatus||state.btShow){ - state.totalNumber.failedEntisTrue = state.totalNumber.failedEntries == 0 ? '0' : '1' + state.totalNumber.failedEntisTrue = '0' + if(state.valueAll.length >1){ + state.totalNumber.failedEntisTrue = state.totalNumber.failedEntries == 0 ? '0' : '1' + } await boeRequest('/activityApi/evaluation/save post',{ isUpload: state.totalNumber.failedEntisTrue, id: state.uploadDownId,