crc上传问题及ir下载subjectId和code获取
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
001faf1f79
commit
a1addde722
|
@ -31,6 +31,7 @@
|
|||
<el-button
|
||||
type="primary"
|
||||
size="mini"
|
||||
v-if="hasDicom || hasNonedicom"
|
||||
@click.stop="getIRReadingDownloadStudyInfo('all')"
|
||||
>
|
||||
{{ $t('download:button:downloadAll') }}
|
||||
|
@ -257,9 +258,9 @@ export default {
|
|||
async getIRReadingDownloadStudyInfo(type, row) {
|
||||
try {
|
||||
let data = {
|
||||
SubjectId: this.SubjectId,
|
||||
SubjectId: this.SubjectId || this.list[0].SubjectId,
|
||||
TrialReadingCriterionId: this.Criterion.TrialReadingCriterionId,
|
||||
SubjectCode: this.SubjectCode,
|
||||
SubjectCode: this.SubjectCode || this.list[0].SubjectCode,
|
||||
SubjectVisitTaskList: [],
|
||||
DicomStudyIdList: [],
|
||||
NoneDicomStudyIdList: [],
|
||||
|
|
|
@ -1090,6 +1090,7 @@ export default {
|
|||
this.btnLoading = true
|
||||
var studyList = []
|
||||
this.selectArr.forEach((item) => {
|
||||
item.dicomInfo.uploadFileSize = 0
|
||||
if (!item.uploadState.selected) {
|
||||
studyList.push({
|
||||
studyInstanceUid: item.dicomInfo.studyUid,
|
||||
|
|
|
@ -92,10 +92,15 @@ async function multipartUpload(OSSclient, partSize, saveFileId, uploadFile, data
|
|||
// 重新去掉某个缓存进行设置
|
||||
delete savaData[saveFileId];
|
||||
saveFinishedData(savaData);
|
||||
} else if (res.res.status === 404) {
|
||||
delete savaData[saveFileId];
|
||||
saveFinishedData(savaData);
|
||||
}
|
||||
return res;
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
delete savaData[saveFileId];
|
||||
saveFinishedData(savaData);
|
||||
// 捕获超时异常。
|
||||
if (e.code === "ConnectionTimeoutError") {
|
||||
console.log("TimeoutError");
|
||||
|
|
|
@ -406,7 +406,10 @@
|
|||
/>
|
||||
<span>
|
||||
{{ $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)
|
||||
}}MB/{{
|
||||
(scope.row.dicomInfo.fileSize / 1024 / 1024).toFixed(2)
|
||||
|
@ -1364,6 +1367,7 @@ export default {
|
|||
this.btnLoading = true
|
||||
var studyList = []
|
||||
this.selectArr.forEach((item) => {
|
||||
item.dicomInfo.uploadFileSize = 0
|
||||
if (!item.uploadState.selected) {
|
||||
studyList.push({
|
||||
studyInstanceUid: item.dicomInfo.studyUid,
|
||||
|
|
Loading…
Reference in New Issue