上传bug处理,bug日志记录2

uat_us
熊飞 2024-01-16 14:00:27 +08:00
parent 7bd25cf192
commit fc6d99b01d
1 changed files with 3 additions and 2 deletions

View File

@ -132,10 +132,11 @@
<el-divider content-position="left">{{ $t('trials:uploadedDicoms:title:dicomFilesOnly') }}</el-divider> <el-divider content-position="left">{{ $t('trials:uploadedDicoms:title:dicomFilesOnly') }}</el-divider>
<div class="form-group"> <div class="form-group">
<div id="directoryInputWrapper" class="btn btn-link file-input"> <div id="directoryInputWrapper" class="btn btn-link file-input">
<el-button type="primary" :loading="btnLoading" size="small">{{ $t('trials:uploadedDicomsicom:button:selectFolder') }}</el-button> <el-button type="primary" :disabled="btnLoading" :loading="btnLoading" size="small">{{ $t('trials:uploadedDicomsicom:button:selectFolder') }}</el-button>
<input <input
type="file" type="file"
name="file" name="file"
:disabled="btnLoading"
webkitdirectory webkitdirectory
multiple multiple
@change="beginScanFiles($event)" @change="beginScanFiles($event)"
@ -1240,7 +1241,7 @@ export default {
}, },
// CheckBox // CheckBox
handleSelectable(row) { handleSelectable(row) {
if (row.uploadState.selected) { if (row.uploadState.selected || this.btnLoading) {
return false return false
} else { } else {
return true return true