mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 19:06:45 +08:00
测评上传小细节修改
This commit is contained in:
@@ -1142,6 +1142,8 @@ import {timeoutUpload} from "@/api/configPublic";
|
||||
window.open(`/activityApi/evaluation/download?id=${record.id}`);
|
||||
}
|
||||
const of_exit = () => {
|
||||
state.uploadTypes = false
|
||||
state.uploadDownLoad = false
|
||||
state.bg_check = false;
|
||||
state.errorMessage = ''
|
||||
state.saveNotUpload = true
|
||||
@@ -1193,16 +1195,10 @@ import {timeoutUpload} from "@/api/configPublic";
|
||||
id:state.uploadId,
|
||||
successIds:state.sussessIds.length!=0?state.sussessIds.split(','):null
|
||||
}).then((res)=>{
|
||||
if(res.code == 200){
|
||||
state.uploadDownLoad = false
|
||||
state.saveNotUpload = false
|
||||
// if(res.code == 200){
|
||||
// state.bg_check = false
|
||||
// return
|
||||
|
||||
// }
|
||||
// if(res.data.code == -1){
|
||||
// message.error('保存失败')
|
||||
// }
|
||||
}
|
||||
})
|
||||
}
|
||||
if(state.uploadStatus||state.btShow){
|
||||
@@ -1277,7 +1273,6 @@ import {timeoutUpload} from "@/api/configPublic";
|
||||
state.stateUpload = false
|
||||
return false;
|
||||
}
|
||||
console.log(file.size)
|
||||
let isLt1M = file.size < 1024000000;
|
||||
if (!isLt1M) {
|
||||
message.error("文件大小超过1GB!");
|
||||
@@ -1342,8 +1337,6 @@ import {timeoutUpload} from "@/api/configPublic";
|
||||
state.failedId = file.response.data.failedId
|
||||
state.bg_results = true
|
||||
state.uploadDownLoad = false
|
||||
}else{
|
||||
state.uploadDownLoad = false
|
||||
}
|
||||
if(state.stateUpload){
|
||||
state.uploadList = fileList.slice(-1)
|
||||
|
||||
Reference in New Issue
Block a user