From b717530ae3e0b1041084d0a8300ca4067da9dbea Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Thu, 4 Jul 2024 17:14:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E5=BF=83=E8=B0=83=E7=A0=94=E8=A1=A8?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E9=A1=B5=E9=9D=A2=E5=B8=83=E5=B1=80?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/permission.js | 4 +- src/router/index.js | 6 +- .../research-mobile/components/BasicInfo.vue | 107 ++++++++++++ .../research-mobile/components/Equipments.vue | 153 +++++++++++++++++ .../components/HistoricalParticipants.vue | 10 ++ .../research-mobile/components/Notes.vue | 34 ++++ .../components/Participants.vue | 161 ++++++++++++++++++ src/views/research-mobile/detail.vue | 37 ++++ src/views/research-mobile/form.vue | 3 - src/views/research-mobile/login.vue | 110 ++++++++---- 10 files changed, 588 insertions(+), 37 deletions(-) create mode 100644 src/views/research-mobile/components/BasicInfo.vue create mode 100644 src/views/research-mobile/components/Equipments.vue create mode 100644 src/views/research-mobile/components/HistoricalParticipants.vue create mode 100644 src/views/research-mobile/components/Notes.vue create mode 100644 src/views/research-mobile/components/Participants.vue create mode 100644 src/views/research-mobile/detail.vue delete mode 100644 src/views/research-mobile/form.vue 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) + } } }