非dicom文件预览及阅片结果预览bug修复

uat_us
caiyiling 2024-04-15 14:09:55 +08:00
parent df6a1cb412
commit 56783a6f3a
3 changed files with 4 additions and 2 deletions

View File

@ -56,7 +56,7 @@ router.beforeEach(async(to, from, next) => {
/* has no token*/
if (whiteList.indexOf(to.path) !== -1) {
// 在免登录whiteList中直接进入
if (to.path === '/readingDicoms'){
if (to.path === '/readingDicoms' || to.path === '/noneDicomReading'){
OSSclient()
}
next()

View File

@ -623,6 +623,7 @@ export default {
if (this.faccept.indexOf(extendName) !== -1) {
files[i].id = `${files[i].lastModified}${files[i].name}`
this.fileList.push(files[i])
this.$refs.filesTable.toggleRowSelection(files[i], true)
}
}
this.resetUploadForm()

View File

@ -1086,7 +1086,8 @@
style="border: 2px solid #ccc; padding: 10px"
>
<el-image
:src="`/api${imgObj.url}`"
:src="`${OSSclientConfig.basePath}${imgObj.url}`"
crossorigin="anonymous"
fit="fit"
style="height: 500px; width: 500px"
@error="imgObj.loading = false"