From 00a5a9cfb935c687df1b7e3ff2128b708f873954 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 11 Apr 2024 18:03:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=84=E4=B8=8A=E4=BC=A0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=8A=E4=BC=A0=E9=80=BB=E8=BE=91=E4=B8=8E=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E4=BF=A1=E6=81=AF=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/evaluation/evaluationUpload.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/evaluation/evaluationUpload.vue b/src/views/evaluation/evaluationUpload.vue index bbda143b..969e27be 100644 --- a/src/views/evaluation/evaluationUpload.vue +++ b/src/views/evaluation/evaluationUpload.vue @@ -703,6 +703,7 @@ import {timeoutUpload} from "@/api/configPublic"; const userInfo = computed(() => store.state.userInfo); const router = useRouter(); const state = reactive({ + uploadTypes: true, saveNotUpload: true, stateUpload: true, uploadParameters: {}, @@ -1141,6 +1142,7 @@ import {timeoutUpload} from "@/api/configPublic"; window.open(`/activityApi/evaluation/download?id=${record.id}`); } const of_exit = () => { + state.uploadTypes = true state.bg_check = false; state.errorMessage = '' state.saveNotUpload = true @@ -1312,7 +1314,9 @@ import {timeoutUpload} from "@/api/configPublic"; // } } const handleChange = ({file, fileList,event}) => { - console.log(file.response) + if(!state.uploadTypes){ + return + } if(file.response && file.response.code === 200){ state.totalNumber = file.response.data state.sussessIds = file.response.data.successId.split(',') @@ -1327,6 +1331,8 @@ import {timeoutUpload} from "@/api/configPublic"; }; const uploadRef = ref() const delUploadList = (i) => { + state.uploadTypes = false + state.uploadDownLoad = false state.sussessIds = null state.failedId = '' state.uploadList = []