From 5ec234c9dd6c0e550ca729c511f06a7672e1a683 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 1 Jul 2026 17:24:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E5=BF=83=E8=B0=83=E7=A0=94=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/trials.js | 8 + src/views/research/components/BaseInfo.vue | 239 ++++++++++++++++-- .../research/components/EquipmentForm.vue | 6 +- .../research/components/EquipmentList.vue | 11 +- .../components/HistoricalParticipant.vue | 84 ++---- .../research/components/ParticipantForm.vue | 37 ++- .../research/components/ParticipantList.vue | 91 +++---- .../research/components/ResearchForm.vue | 11 +- src/views/research/form.vue | 93 ++++--- .../site-research/components/ImageManual.vue | 33 ++- 10 files changed, 399 insertions(+), 214 deletions(-) diff --git a/src/api/trials.js b/src/api/trials.js index 7699db50..a49ed798 100644 --- a/src/api/trials.js +++ b/src/api/trials.js @@ -4514,4 +4514,12 @@ export function getLinkVerificationCodeIsEffective(data) { method: 'post', data, }) +} +// 上传通用文件记录 +export function addOrUpdateCommonUploadRecord(data) { + return request({ + url: `/FileUploadRecord/addOrUpdateCommonUploadRecord`, + method: 'post', + data, + }) } \ No newline at end of file diff --git a/src/views/research/components/BaseInfo.vue b/src/views/research/components/BaseInfo.vue index 4b896f15..9be7d419 100644 --- a/src/views/research/components/BaseInfo.vue +++ b/src/views/research/components/BaseInfo.vue @@ -1,6 +1,6 @@ + diff --git a/src/views/research/components/EquipmentForm.vue b/src/views/research/components/EquipmentForm.vue index 16b0ced8..552b5e3a 100644 --- a/src/views/research/components/EquipmentForm.vue +++ b/src/views/research/components/EquipmentForm.vue @@ -132,7 +132,11 @@ export default { default: () => { return [] } - } + }, + isPM: { + type: Boolean, + default: false + }, }, data() { return { diff --git a/src/views/research/components/EquipmentList.vue b/src/views/research/components/EquipmentList.vue index 7de4adb9..c09f1cab 100644 --- a/src/views/research/components/EquipmentList.vue +++ b/src/views/research/components/EquipmentList.vue @@ -2,7 +2,8 @@
- {{ $t('common:button:add') }} @@ -82,7 +83,7 @@ -