diff --git a/public/screen.pdf b/public/screen.pdf index b759276..102683f 100644 Binary files a/public/screen.pdf and b/public/screen.pdf differ diff --git a/src/api/inspection.js b/src/api/inspection.js index e5f378f..23ecc1f 100644 --- a/src/api/inspection.js +++ b/src/api/inspection.js @@ -195,4 +195,12 @@ export function getUserJoinedTrialPatientList() { url: '/Patient/getUserJoinedTrialPatientList', method: 'get', }) +} +// 获取影像下载数据 +export function getDownloadPatientStudyInfo(data) { + return request({ + url: '/Patient/getDownloadPatientStudyInfo', + method: 'post', + data + }) } \ No newline at end of file diff --git a/src/utils/oss.js b/src/utils/oss.js index fca2a8e..f38df6c 100644 --- a/src/utils/oss.js +++ b/src/utils/oss.js @@ -66,6 +66,7 @@ async function ossGenerateSTS() { objectItem[objectItem.length - 1] = new Date().getTime() + '_' + objectItem[objectItem.length - 1] objectName = objectItem.join('/') } + objectName = objectName.slice(1) const reader = new FileReader(); reader.onload = (ex) => { const bufferStream = new stream.PassThrough() @@ -78,7 +79,7 @@ async function ossGenerateSTS() { } else { resolve({ name: objectName, - url: Vue.prototype.OSSclientConfig.viewEndpoint + decodeUtf8(objectName) + url: Vue.prototype.OSSclientConfig.viewEndpoint + '/' + decodeUtf8(objectName) }) } }) diff --git a/src/views/trials/trials-inspection/components/view-study-list.vue b/src/views/trials/trials-inspection/components/view-study-list.vue index 8c99a57..88ab521 100644 --- a/src/views/trials/trials-inspection/components/view-study-list.vue +++ b/src/views/trials/trials-inspection/components/view-study-list.vue @@ -64,6 +64,11 @@ :disabled="multipleSelection.length <= 0" @click="openGroup({})"> {{ $t('trials:inspection:button:checkGroupId') }} + + + {{ $t('trials:inspection:button:downloadImage') }} + @@ -126,9 +131,9 @@ - - + +