crc上传问题及ir下载subjectId和code获取
continuous-integration/drone/push Build is passing Details

uat_us
DESKTOP-6C3NK6N\WXS 2024-09-26 10:43:00 +08:00
parent 001faf1f79
commit a1addde722
4 changed files with 14 additions and 3 deletions

View File

@ -31,6 +31,7 @@
<el-button <el-button
type="primary" type="primary"
size="mini" size="mini"
v-if="hasDicom || hasNonedicom"
@click.stop="getIRReadingDownloadStudyInfo('all')" @click.stop="getIRReadingDownloadStudyInfo('all')"
> >
{{ $t('download:button:downloadAll') }} {{ $t('download:button:downloadAll') }}
@ -257,9 +258,9 @@ export default {
async getIRReadingDownloadStudyInfo(type, row) { async getIRReadingDownloadStudyInfo(type, row) {
try { try {
let data = { let data = {
SubjectId: this.SubjectId, SubjectId: this.SubjectId || this.list[0].SubjectId,
TrialReadingCriterionId: this.Criterion.TrialReadingCriterionId, TrialReadingCriterionId: this.Criterion.TrialReadingCriterionId,
SubjectCode: this.SubjectCode, SubjectCode: this.SubjectCode || this.list[0].SubjectCode,
SubjectVisitTaskList: [], SubjectVisitTaskList: [],
DicomStudyIdList: [], DicomStudyIdList: [],
NoneDicomStudyIdList: [], NoneDicomStudyIdList: [],

View File

@ -1090,6 +1090,7 @@ export default {
this.btnLoading = true this.btnLoading = true
var studyList = [] var studyList = []
this.selectArr.forEach((item) => { this.selectArr.forEach((item) => {
item.dicomInfo.uploadFileSize = 0
if (!item.uploadState.selected) { if (!item.uploadState.selected) {
studyList.push({ studyList.push({
studyInstanceUid: item.dicomInfo.studyUid, studyInstanceUid: item.dicomInfo.studyUid,

View File

@ -92,10 +92,15 @@ async function multipartUpload(OSSclient, partSize, saveFileId, uploadFile, data
// 重新去掉某个缓存进行设置 // 重新去掉某个缓存进行设置
delete savaData[saveFileId]; delete savaData[saveFileId];
saveFinishedData(savaData); saveFinishedData(savaData);
} else if (res.res.status === 404) {
delete savaData[saveFileId];
saveFinishedData(savaData);
} }
return res; return res;
} catch (e) { } catch (e) {
console.log(e); console.log(e);
delete savaData[saveFileId];
saveFinishedData(savaData);
// 捕获超时异常。 // 捕获超时异常。
if (e.code === "ConnectionTimeoutError") { if (e.code === "ConnectionTimeoutError") {
console.log("TimeoutError"); console.log("TimeoutError");

View File

@ -406,7 +406,10 @@
/> />
<span> <span>
{{ $t('trials:uploadDicomList:table:uploadNow') {{ $t('trials:uploadDicomList:table:uploadNow')
}}{{ scope.row.dicomInfo.failedFileCount }}/{{ scope.row.dicomInfo.fileCount }} ({{ }}{{ scope.row.dicomInfo.failedFileCount }}/{{
scope.row.dicomInfo.fileCount
}}
({{
(scope.row.dicomInfo.uploadFileSize / 1024 / 1024).toFixed(2) (scope.row.dicomInfo.uploadFileSize / 1024 / 1024).toFixed(2)
}}MB/{{ }}MB/{{
(scope.row.dicomInfo.fileSize / 1024 / 1024).toFixed(2) (scope.row.dicomInfo.fileSize / 1024 / 1024).toFixed(2)
@ -1364,6 +1367,7 @@ export default {
this.btnLoading = true this.btnLoading = true
var studyList = [] var studyList = []
this.selectArr.forEach((item) => { this.selectArr.forEach((item) => {
item.dicomInfo.uploadFileSize = 0
if (!item.uploadState.selected) { if (!item.uploadState.selected) {
studyList.push({ studyList.push({
studyInstanceUid: item.dicomInfo.studyUid, studyInstanceUid: item.dicomInfo.studyUid,