非dicom文件预览及阅片结果预览bug修复
parent
df6a1cb412
commit
56783a6f3a
|
@ -56,7 +56,7 @@ router.beforeEach(async(to, from, next) => {
|
||||||
/* has no token*/
|
/* has no token*/
|
||||||
if (whiteList.indexOf(to.path) !== -1) {
|
if (whiteList.indexOf(to.path) !== -1) {
|
||||||
// 在免登录whiteList中,直接进入
|
// 在免登录whiteList中,直接进入
|
||||||
if (to.path === '/readingDicoms'){
|
if (to.path === '/readingDicoms' || to.path === '/noneDicomReading'){
|
||||||
OSSclient()
|
OSSclient()
|
||||||
}
|
}
|
||||||
next()
|
next()
|
||||||
|
|
|
@ -623,6 +623,7 @@ export default {
|
||||||
if (this.faccept.indexOf(extendName) !== -1) {
|
if (this.faccept.indexOf(extendName) !== -1) {
|
||||||
files[i].id = `${files[i].lastModified}${files[i].name}`
|
files[i].id = `${files[i].lastModified}${files[i].name}`
|
||||||
this.fileList.push(files[i])
|
this.fileList.push(files[i])
|
||||||
|
this.$refs.filesTable.toggleRowSelection(files[i], true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.resetUploadForm()
|
this.resetUploadForm()
|
||||||
|
|
|
@ -1086,7 +1086,8 @@
|
||||||
style="border: 2px solid #ccc; padding: 10px"
|
style="border: 2px solid #ccc; padding: 10px"
|
||||||
>
|
>
|
||||||
<el-image
|
<el-image
|
||||||
:src="`/api${imgObj.url}`"
|
:src="`${OSSclientConfig.basePath}${imgObj.url}`"
|
||||||
|
crossorigin="anonymous"
|
||||||
fit="fit"
|
fit="fit"
|
||||||
style="height: 500px; width: 500px"
|
style="height: 500px; width: 500px"
|
||||||
@error="imgObj.loading = false"
|
@error="imgObj.loading = false"
|
||||||
|
|
Loading…
Reference in New Issue