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 @@
-
-
+
+
@@ -280,6 +285,9 @@ export default {
this.getList()
},
methods: {
+ getDownloadPatientStudyInfo(arr) {
+ this.$emit('getDownloadPatientStudyInfo', arr)
+ },
async getHospitalGroupList() {
try {
let res = await getHospitalGroupList({})
diff --git a/src/views/trials/trials-inspection/index.vue b/src/views/trials/trials-inspection/index.vue
index 682ecc5..20a294d 100644
--- a/src/views/trials/trials-inspection/index.vue
+++ b/src/views/trials/trials-inspection/index.vue
@@ -72,14 +72,29 @@
{{ $t('common:button:viewAllStudy') }}
+
+
+
+ {{ $t('trials:inspection:button:downloadImage') }}
+
+
+
+
+ RecordVisible = true">
+ {{ $t('trials:inspection:button:downloadRecord') }}
+
+
-
+ height="100" @sort-change="handleSortByColumn" @selection-change="handleSelectionChange"
+ :default-sort="{ prop: 'LatestPushTime', order: 'descending' }">
+
+
@@ -185,13 +200,17 @@
+ :hospitalGroupList="hospitalGroupList" @getList="getList"
+ @getDownloadPatientStudyInfo="getDownloadPatientStudyInfo" />
+
+
+