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 9d49a455..f831a706 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
@@ -347,9 +347,9 @@
{{$t('trials:auditRecord:title:viewDetail')}}
-
+
- {{$t('trials:auditRecord:title:viewImage')}}{{scope.row.oldValue instanceof Array ? `(${scope.row.oldValue.length})` : ''}}
+ {{$t('trials:auditRecord:title:viewImage')}}{{scope.row.oldValue instanceof Array ? `(${scope.row.oldValue.length})` : ''}}
@@ -378,9 +378,9 @@
{{$t('trials:auditRecord:title:viewDetail')}}
-
+
- {{$t('trials:auditRecord:title:viewImage')}}{{scope.row.newValue instanceof Array ? `(${scope.row.newValue.length})` : ''}}
+ {{$t('trials:auditRecord:title:viewImage')}}{{scope.row.newValue instanceof Array ? `(${scope.row.newValue.length})` : ''}}
@@ -409,9 +409,9 @@
:key="'tableList' + index"
>
-
+
- {{$t('trials:auditRecord:title:viewImage')}}
+ {{$t('trials:auditRecord:title:viewImage')}}
{{scope.row[item.ColumnValue]}}
@@ -426,9 +426,9 @@
:key="'ChildrenList' + index"
>
-
+
-
+
{{$t('trials:auditRecord:title:viewImage')}}
@@ -897,19 +897,22 @@ export default {
this.getList()
},
methods: {
- openImage(url) {
+ openImage(url, type) {
console.log(url)
this.$nextTick(()=>{
if (url instanceof Array) {
this.imagesList = url.map(v => this.OSSclientConfig.basePath + v)
- this.$refs[url[0]].$viewer.show()
+ let refName = type ? `${url[0]}_${type}` : url[0]
+ this.$refs[refName].$viewer.show()
} else {
this.imagesList = [this.OSSclientConfig.basePath + url]
if(this.$refs[url] instanceof Array){
- this.$refs[url][0].$viewer.show()
+ let refName = type ? `${url}_${type}` : url
+ this.$refs[refName][0].$viewer.show()
}else{
- this.$refs[url].$viewer.show()
+ let refName = type ? `${url}_${type}` : url
+ this.$refs[refName].$viewer.show()
}
}
})