diff --git a/src/permission.js b/src/permission.js index db67208e..f7bc06ad 100644 --- a/src/permission.js +++ b/src/permission.js @@ -10,7 +10,7 @@ import { OSSclient } from './utils/oss' NProgress.configure({ showSpinner: false }) -const whiteList = ['/ReviewersResearch', '/login', '/error', '/resetpassword', '/recompose', '/email-recompose', '/trialStats', '/showdicom', '/imagesShare', '/audit', '/preview', '/researchLogin', '/blindResumeInfo', '/trialsResume', '/joinVerify', '/showNoneDicoms', '/noneDicomReading', '/clinicalData', '/readingDicoms', '/readingPage', '/visitDicomReview', '/visitNondicomReview', '/globalReview', '/adReview', '/oncologyReview', '/nonedicoms'] +const whiteList = ['/ReviewersResearch', '/login', '/error', '/resetpassword', '/recompose', '/email-recompose', '/trialStats', '/showdicom', '/imagesShare', '/audit', '/preview', '/researchLogin', '/researchLogin_m', '/researchDetail_m', '/blindResumeInfo', '/trialsResume', '/joinVerify', '/showNoneDicoms', '/noneDicomReading', '/clinicalData', '/readingDicoms', '/readingPage', '/visitDicomReview', '/visitNondicomReview', '/globalReview', '/adReview', '/oncologyReview', '/nonedicoms'] router.beforeEach(async(to, from, next) => { NProgress.start() @@ -56,7 +56,7 @@ router.beforeEach(async(to, from, next) => { /* has no token*/ if (whiteList.indexOf(to.path) !== -1) { // 在免登录whiteList中,直接进入 - if (to.path === '/readingDicoms' || to.path === '/noneDicomReading'){ + if (to.path === '/readingDicoms' || to.path === '/noneDicomReading') { OSSclient() } next() diff --git a/src/router/index.js b/src/router/index.js index e535d071..d4b2c220 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -208,9 +208,9 @@ export const constantRoutes = [ hidden: true }, { - path: '/researchForm_m', - name: 'researchForm_m', - component: () => import('@/views/research-mobile/form'), + path: '/researchDetail_m', + name: 'researchDetail_m', + component: () => import('@/views/research-mobile/detail'), hidden: true }, { diff --git a/src/views/research-mobile/components/BasicInfo.vue b/src/views/research-mobile/components/BasicInfo.vue new file mode 100644 index 00000000..ef3d49a7 --- /dev/null +++ b/src/views/research-mobile/components/BasicInfo.vue @@ -0,0 +1,107 @@ + + + 中心调研表 + + + + {{ form.name1 }} + + + {{ form.name2 }} + + + {{ form.name3 }} + + + {{ form.name4 }} + + + + + + + + + + + + + + + + 发送 + + + + + + + + + diff --git a/src/views/research-mobile/components/Equipments.vue b/src/views/research-mobile/components/Equipments.vue new file mode 100644 index 00000000..919af34d --- /dev/null +++ b/src/views/research-mobile/components/Equipments.vue @@ -0,0 +1,153 @@ + + + + 设备调研 + 添加 + + + + + + + + {{ item.name }} + {{ item.role }} + {{ item.phone }} + + {{ item.email }} + {{ item.site }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/research-mobile/components/HistoricalParticipants.vue b/src/views/research-mobile/components/HistoricalParticipants.vue new file mode 100644 index 00000000..5901ec2e --- /dev/null +++ b/src/views/research-mobile/components/HistoricalParticipants.vue @@ -0,0 +1,10 @@ + + + 历史人员 + + + diff --git a/src/views/research-mobile/components/Notes.vue b/src/views/research-mobile/components/Notes.vue new file mode 100644 index 00000000..0177579a --- /dev/null +++ b/src/views/research-mobile/components/Notes.vue @@ -0,0 +1,34 @@ + + + + 备注 + + + + {{ $t('trials:equiptResearch:form:item1') }} + + {{ $t('trials:equiptResearch:form:item2') }} + + {{ $t('trials:equiptResearch:form:item3') }} + + {{ $t('trials:equiptResearch:form:item4') }} + + + + + + diff --git a/src/views/research-mobile/components/Participants.vue b/src/views/research-mobile/components/Participants.vue new file mode 100644 index 00000000..3425d627 --- /dev/null +++ b/src/views/research-mobile/components/Participants.vue @@ -0,0 +1,161 @@ + + + + 新增人员 + 添加 + + + + + + + + {{ item.name }} + {{ item.role }} + {{ item.phone }} + + {{ item.email }} + {{ item.site }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/research-mobile/detail.vue b/src/views/research-mobile/detail.vue new file mode 100644 index 00000000..c3cab3c8 --- /dev/null +++ b/src/views/research-mobile/detail.vue @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + diff --git a/src/views/research-mobile/form.vue b/src/views/research-mobile/form.vue deleted file mode 100644 index 4bc97cb9..00000000 --- a/src/views/research-mobile/form.vue +++ /dev/null @@ -1,3 +0,0 @@ - - form - diff --git a/src/views/research-mobile/login.vue b/src/views/research-mobile/login.vue index 47dc5243..3d301630 100644 --- a/src/views/research-mobile/login.vue +++ b/src/views/research-mobile/login.vue @@ -1,26 +1,41 @@ 中心调研表 - - - - {{ form.name1 }} - - - - - - - - - - - - - - - - + + + + {{ form.name1 }} + + + {{ form.name2 }} + + + {{ form.name3 }} + + + {{ form.name4 }} + + + + + + + + + + + + + + + + 发送 + + + + 提交 + + @@ -30,27 +45,64 @@ export default { data() { return { form: { - name1: '1111', - name2: '', - name3: '', - name4: '', - name5: '' + name1: 'ZY20240516', + name2: 'TEST', + name3: 'TEST20240613', + name4: '肺癌', + name5: '', + VerificationCode: '' } } + }, + methods: { + onSubmit() {}, + handleSendCode() { + console.log(1) + } } }