+2
-2
@@ -81,11 +81,11 @@ export function verifyIRStudyAllowUpload(data) {
|
||||
})
|
||||
}
|
||||
// 影像下载成功确认
|
||||
export function downloadImageSuccess(params) {
|
||||
export function downloadImageSuccess(data) {
|
||||
return request({
|
||||
url: '/DownloadAndUpload/downloadImageSuccess',
|
||||
method: 'post',
|
||||
params
|
||||
data
|
||||
})
|
||||
}
|
||||
// 影像下载记录列表
|
||||
|
||||
@@ -297,7 +297,7 @@ export default {
|
||||
if (res.IsSuccess) {
|
||||
this.downloadId = res.OtherInfo.PreDownloadId
|
||||
this.IsReadingTaskViewInOrder = res.OtherInfo.IsReadingTaskViewInOrder
|
||||
this.downloadImage(res.Result)
|
||||
this.downloadImage(res.Result, data.SubjectVisitTaskList)
|
||||
}
|
||||
} catch (err) {
|
||||
this.btnLoading = false
|
||||
@@ -305,12 +305,12 @@ export default {
|
||||
}
|
||||
},
|
||||
// 打包下载
|
||||
async downloadImage(data) {
|
||||
async downloadImage(data, params) {
|
||||
try {
|
||||
let { files, name, fileType } = this.formatDownloadFile(data)
|
||||
let res = await downLoadFile(files, name, 'zip')
|
||||
if (res && this.downloadId) {
|
||||
this.downloadImageSuccess()
|
||||
this.downloadImageSuccess(params)
|
||||
}
|
||||
} catch (err) {
|
||||
console.log(err)
|
||||
@@ -449,13 +449,13 @@ export default {
|
||||
return { files, name }
|
||||
},
|
||||
// 影像下载成功确认
|
||||
async downloadImageSuccess() {
|
||||
async downloadImageSuccess(data) {
|
||||
try {
|
||||
let params = {
|
||||
TrialImageDownloadId: this.downloadId,
|
||||
}
|
||||
if (this.isReading) {
|
||||
params.VisitTaskId = this.TaskId
|
||||
params.VisitTaskIdList = data.map(item => item.TaskId)
|
||||
}
|
||||
await downloadImageSuccess(params)
|
||||
} catch (err) {
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<!--检查列表-->
|
||||
<el-table :data="list" style="width: 100%" height="300" :loading="loading">
|
||||
<el-table :data="list" style="width: 100%" height="300" :loading="loading"
|
||||
:default-sort="{ prop: 'TaskBlindName', order: 'descending' }">
|
||||
<!--受试者-->
|
||||
<el-table-column prop="SubjectCode" :label="$t('upload:dicom:table:subjectCode')" sortable
|
||||
v-if="isReadingTaskViewInOrder !== 0" />
|
||||
|
||||
Reference in New Issue
Block a user