From e6ec3d35508d7379ac91b549d6994c74028739cf Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 8 Apr 2024 15:55:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E9=A1=B5=E9=9D=A2=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=B0=83=E6=95=B4=E3=80=81=E5=B1=95=E7=A4=BA=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.prod | 2 +- src/api/trials.js | 9 + .../components/research-trials-list.vue | 62 +++- .../trials-list/components/TrialForm.vue | 4 +- src/views/trials/trials-list/index.vue | 11 +- .../hirVisit/components/edit-study-list.vue | 2 +- .../trials/trials-panel/hirVisit/index.vue | 6 +- .../personnel-manage/components/staffForm.vue | 274 ++++++++++-------- .../setting/personnel-manage/index.vue | 2 +- .../trials-panel/study/components/list.vue | 21 +- .../subject-list/components/SubjectsForm.vue | 87 +++--- .../subject/subject-list/index.vue | 16 +- 12 files changed, 308 insertions(+), 188 deletions(-) diff --git a/.env.prod b/.env.prod index 4f77756..d0c0cf3 100644 --- a/.env.prod +++ b/.env.prod @@ -27,7 +27,7 @@ VUE_APP_PASSWORD_FOR_PERMISSION = true VUE_APP_PASSWORD_FOR_REGULAR = ^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[-_.@^+\$!%#*?&\$~])[A-Za-z0-9-~_.@^+\$~!%#*?&]{8,32}$ # 是否开启文档签署验证 true:是 false:否 -VUE_APP_WORD_FOR_PERMISSION = true +VUE_APP_WORD_FOR_PERMISSION = false # dicom文件地址 # VUE_APP_DICOM_PATH = 'http://101.132.193.237:7080' diff --git a/src/api/trials.js b/src/api/trials.js index 5bba999..3abd7fc 100644 --- a/src/api/trials.js +++ b/src/api/trials.js @@ -3531,4 +3531,13 @@ export function getTrialInfoHir(id) { url: `/Patient/getTrialInfo/${id}`, method: 'get', }) +} + +// 修改受试者信息 +export function addOrUpdateSubjectHir(data) { + return request({ + url: `/Patient/addOrUpdateSubject`, + method: 'post', + data + }) } \ No newline at end of file diff --git a/src/views/trials/trials-inspection/components/research-trials-list.vue b/src/views/trials/trials-inspection/components/research-trials-list.vue index aa21684..ba8c49e 100644 --- a/src/views/trials/trials-inspection/components/research-trials-list.vue +++ b/src/views/trials/trials-inspection/components/research-trials-list.vue @@ -46,9 +46,37 @@ show-overflow-tooltip min-width="140" > + + + + + + + + - - + > + - + @@ -235,7 +235,7 @@ export default { ResearchProgramNo: "", ExperimentName: "", HeadPI: "", - Cro: "", + CRO: "", Sponsor: "", MedicineName: "", PhaseId: "", diff --git a/src/views/trials/trials-list/index.vue b/src/views/trials/trials-list/index.vue index 7a3bd1a..d596f4d 100644 --- a/src/views/trials/trials-list/index.vue +++ b/src/views/trials/trials-list/index.vue @@ -58,7 +58,7 @@ {{ $t("common:button:reset") }} - {{ $t("common:button:export") }} - + --> @@ -100,11 +100,7 @@ show-overflow-tooltip > { data[key] = this.searchData[key]; }); - data.PatientId = this.data.PatientList[0].PatientId; + data.PatientIdList = this.data.PatientList.map((item) => item.PatientId); data.SujectVisitId = this.data.SubjectVisitId; if (this.dateValue[0] && this.dateValue[1]) { data.EarliestStudyTime = this.dateValue[0].toISOString(); diff --git a/src/views/trials/trials-panel/hirVisit/index.vue b/src/views/trials/trials-panel/hirVisit/index.vue index 729f26b..53c3750 100644 --- a/src/views/trials/trials-panel/hirVisit/index.vue +++ b/src/views/trials/trials-panel/hirVisit/index.vue @@ -141,7 +141,11 @@ prop="SubjectSex" :label="$t('trials:subject:table:gender')" show-overflow-tooltip - /> + > + + - +
- {{ $t('trials:staff:table:name') }}: - + {{ $t("trials:staff:table:name") }}: + - {{ $t('trials:staff:table:uid') }}: - + {{ $t("trials:staff:table:uid") }}: + - {{ $t('trials:staff:table:organization') }}: - + {{ $t("trials:staff:table:organization") }}: + - {{ $t('trials:staff:table:userType') }}: - - - - + - - {{ $t('common:button:search') }} + + {{ $t("common:button:search") }} - - {{ $t('common:button:reset') }} + + {{ $t("common:button:reset") }} - - {{ $t('common:button:add') }} + + {{ $t("common:button:add") }}
@@ -124,28 +138,36 @@ sortable="custom" min-width="100" /> - -