From 425782e015443268a90459028b82a520d640e22e Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Fri, 12 Apr 2024 13:43:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A8=BD=E6=9F=A5=E6=96=87=E4=BB=B6=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=8F=8A=E8=B7=AF=E7=94=B1=E8=B7=B3=E8=BD=AC=E6=9F=A5?= =?UTF-8?q?=E7=9C=8Bbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/permission.js | 4 ++ .../trial-summary/audit-record/index.vue | 42 ++++++++++++------- 2 files changed, 31 insertions(+), 15 deletions(-) diff --git a/src/permission.js b/src/permission.js index 3086972f..5a09cd1e 100644 --- a/src/permission.js +++ b/src/permission.js @@ -21,6 +21,7 @@ router.beforeEach(async(to, from, next) => { const hasToken = getToken() Vue.prototype.toPath = to.path Vue.prototype.$path = [] + console.log(11222) if (hasToken) { if (to.path === '/login' || to.path === '/recompose' || to.path === '/email-recompose' || to.path === '/error' || to.path === '/ReviewersResearchForm' || to.path === '/ReviewersResearch') { if (to.path === '/ReviewersResearch') { @@ -56,6 +57,9 @@ router.beforeEach(async(to, from, next) => { /* has no token*/ if (whiteList.indexOf(to.path) !== -1) { // 在免登录whiteList中,直接进入 + if (to.path === '/readingDicoms'){ + OSSclient() + } next() } else { if (to.path === '/researchForm') { 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 838f6bbf..66ff948e 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 @@ -311,6 +311,7 @@ border style="width: 100%" size="small" + max-height="400" > - + {{$t('common:button:download')}} - + {{$t('trials:auditRecord:title:viewDetail')}} @@ -357,10 +358,10 @@ @@ -415,7 +416,7 @@ {{$t('trials:auditRecord:title:viewImage')}} - + {{scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue]}} @@ -619,6 +620,7 @@ border style="width: 100%" size="small" + max-height="400" > - + {{$t('common:button:download')}} - + {{$t('trials:auditRecord:title:viewDetail')}} @@ -679,10 +681,10 @@ @@ -1181,7 +1193,7 @@ export default { item.Enum = this.$i18n.locale === 'zh' ? v.ValueCN : v.Value this[auditData].push(item) }) - console.log(this[auditData]) + console.log(this[auditData],this.tableListData,this.tableList) }, getJSON(row) { return new Promise(resolve => {