diff --git a/src/views/trials/trials-panel/reading/medical-feedback/components/FeedbackForm.vue b/src/views/trials/trials-panel/reading/medical-feedback/components/FeedbackForm.vue index 33a6899f..69501103 100644 --- a/src/views/trials/trials-panel/reading/medical-feedback/components/FeedbackForm.vue +++ b/src/views/trials/trials-panel/reading/medical-feedback/components/FeedbackForm.vue @@ -486,9 +486,13 @@ export default { } /deep/ .el-upload-list__item { transition: none !important; + width: 140px; + height: 140px; + margin: 0 10px 5px 0; } /deep/ .el-upload-list__item-thumbnail { /* 图片在方框内显示长边 */ + width: 100%; object-fit: scale-down !important; } } diff --git a/src/views/trials/trials-panel/trial-summary/audit-record/index.vue b/src/views/trials/trials-panel/trial-summary/audit-record/index.vue index f831a706..930f385f 100644 --- a/src/views/trials/trials-panel/trial-summary/audit-record/index.vue +++ b/src/views/trials/trials-panel/trial-summary/audit-record/index.vue @@ -907,11 +907,10 @@ export default { this.$refs[refName].$viewer.show() } else { this.imagesList = [this.OSSclientConfig.basePath + url] - if(this.$refs[url] instanceof Array){ - let refName = type ? `${url}_${type}` : url + let refName = type ? `${url}_${type}` : url + if(this.$refs[refName] instanceof Array){ this.$refs[refName][0].$viewer.show() }else{ - let refName = type ? `${url}_${type}` : url this.$refs[refName].$viewer.show() } }