diff --git a/src/router/index.js b/src/router/index.js index f2d54e8..cca38b0 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -232,6 +232,12 @@ export const constantRoutes = [ // component: () => import('@/views/trials/audit'), // hidden: true // }, + { + path: '/authorize', + component: () => import('@/views/authorize/index'), + name: 'Authorize', + hidden: true + }, { path: '/error', component: () => import('@/views/error'), diff --git a/src/utils/whiteList.js b/src/utils/whiteList.js index 53bafea..f5e4dcf 100644 --- a/src/utils/whiteList.js +++ b/src/utils/whiteList.js @@ -1,2 +1,2 @@ -const WHITELIST = ['/', "/activate", "/curriculumVitae", 'researchDetail_m', '/researchForm', '/ReviewersResearch', '/login', '/error', '/resetpassword', '/recompose', '/email-recompose', '/trialStats', '/showdicom', '/imagesShare', '/audit', '/preview', '/researchLogin', '/researchLogin_m', '/blindResumeInfo', '/trialsResume', '/joinVerify', '/showNoneDicoms', '/noneDicomReading', '/clinicalData', '/readingDicoms', '/readingPage', '/visitDicomReview', '/visitNondicomReview', '/globalReview', '/adReview', '/oncologyReview', '/nonedicoms'] +const WHITELIST = ['/', "/activate", "/curriculumVitae", 'researchDetail_m', '/researchForm', '/ReviewersResearch', '/login', '/error', '/resetpassword', '/recompose', '/email-recompose', '/trialStats', '/showdicom', '/imagesShare', '/audit', '/preview', '/researchLogin', '/researchLogin_m', '/blindResumeInfo', '/trialsResume', '/joinVerify', '/showNoneDicoms', '/noneDicomReading', '/clinicalData', '/readingDicoms', '/readingPage', '/visitDicomReview', '/visitNondicomReview', '/globalReview', '/adReview', '/oncologyReview', '/nonedicoms', '/authorize'] export default WHITELIST diff --git a/src/views/authorize/index.vue b/src/views/authorize/index.vue new file mode 100644 index 0000000..fe8283a --- /dev/null +++ b/src/views/authorize/index.vue @@ -0,0 +1,298 @@ + + + + {{ $t("trials:activate:ApplyMessage") }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ + form.Authorization + }} + {{ + $t("trials:trials-list:action:copy") + }} + {{ $t("trials:reading:button:download") + }} + + + + + + + + \ No newline at end of file diff --git a/src/views/trials/trials-inspection/components/pullImage/byPatient.vue b/src/views/trials/trials-inspection/components/pullImage/byPatient.vue index c63b2ef..6fce4d9 100644 --- a/src/views/trials/trials-inspection/components/pullImage/byPatient.vue +++ b/src/views/trials/trials-inspection/components/pullImage/byPatient.vue @@ -136,7 +136,7 @@ - + @@ -649,7 +649,7 @@ export default { openGroup(row, type = 1) { this.currentData = row this.groupStatus = type - if (row) { + if (row && Object.keys(row).length !== 0) { this.hospitalGroupList = row.CurrentUserHospitalGroupList } else { this.hospitalGroupList = this.multipleSelection[0].CurrentUserHospitalGroupList @@ -707,7 +707,7 @@ export default { HospitalGroupIdList: this.form.HospitalGroupIdList // studyIDList: [row.StudyID], } - if (Object.keys(row).length !== 0) { + if (row && Object.keys(row).length !== 0) { data.StudyInstanceUIDList = [row.StudyInstanceUID] } else { data.StudyInstanceUIDList = this.multipleSelection.map( diff --git a/src/views/trials/trials-inspection/components/pullImage/byTrials.vue b/src/views/trials/trials-inspection/components/pullImage/byTrials.vue index 03a3f1d..5f1418f 100644 --- a/src/views/trials/trials-inspection/components/pullImage/byTrials.vue +++ b/src/views/trials/trials-inspection/components/pullImage/byTrials.vue @@ -718,7 +718,7 @@ export default { openGroup(row, type = 1) { this.currentData = row this.groupStatus = type - if (Object.keys(row).length !== 0) { + if (row && Object.keys(row).length !== 0) { this.hospitalGroupList = row.CurrentUserHospitalGroupList } else { this.hospitalGroupList = this.multipleSelection[0].CurrentUserHospitalGroupList @@ -742,7 +742,7 @@ export default { HospitalGroupIdList: this.form.HospitalGroupIdList // studyIDList: [row.StudyID], } - if (Object.keys(row).length !== 0) { + if (row && Object.keys(row).length !== 0) { data.StudyInstanceUIDList = [row.StudyInstanceUID] } else { data.StudyInstanceUIDList = this.multipleSelection.map(
{{ $t("trials:activate:ApplyMessage") }}
+ {{ + form.Authorization + }} + {{ + $t("trials:trials-list:action:copy") + }} + {{ $t("trials:reading:button:download") + }} +