From fa4c00230f9ec27980819b3eb0fb3d9d3feb19b4 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 9 Jun 2025 15:58:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=96=87=E6=A1=A3=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E8=AE=B0=E5=BD=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/dictionary.js | 31 ++ .../components/fileRecord/index.vue | 374 ++++---------- .../components/historyFileList.vue | 324 ++++++++++++ .../components/report_doc/form.vue | 133 ++--- .../components/report_doc/index.vue | 458 +++++------------ .../components/trainRecord/form.vue | 4 +- .../components/trainRecord/index.vue | 460 +++++------------- 7 files changed, 736 insertions(+), 1048 deletions(-) create mode 100644 src/views/trials/trials-panel/trial-summary/trial-document/components/historyFileList.vue diff --git a/src/api/dictionary.js b/src/api/dictionary.js index 2f074edb..f52a4314 100644 --- a/src/api/dictionary.js +++ b/src/api/dictionary.js @@ -1357,6 +1357,37 @@ export function deleteAttachment(data) { data }) } +// 项目文档-获取历史记录列表 +export function getTrialHistoryRecordFileList(data) { + return request({ + url: `/TrialHistoryRecordFile/getTrialHistoryRecordFileList`, + method: 'post', + data + }) +} +// 项目文档-新增/修改历史记录 +export function addOrUpdateTrialHistoryRecordFile(data) { + return request({ + url: `/TrialHistoryRecordFile/addOrUpdateTrialHistoryRecordFile`, + method: 'post', + data + }) +} +// 项目文档-批量新增历史记录 +export function batchAddTrialHistoryRecordFile(data) { + return request({ + url: `/TrialHistoryRecordFile/batchAddTrialHistoryRecordFile`, + method: 'post', + data + }) +} +// 项目文档-删除历史记录 +export function deleteTrialHistoryRecordFile(id) { + return request({ + url: `/TrialHistoryRecordFile/deleteTrialHistoryRecordFile/${id}`, + method: 'delete', + }) +} // 邮件管理-批量修改邮件 export function batchUpdateEmail(data) { return request({ diff --git a/src/views/trials/trials-panel/trial-summary/trial-document/components/fileRecord/index.vue b/src/views/trials/trials-panel/trial-summary/trial-document/components/fileRecord/index.vue index f0b31b38..74974171 100644 --- a/src/views/trials/trials-panel/trial-summary/trial-document/components/fileRecord/index.vue +++ b/src/views/trials/trials-panel/trial-summary/trial-document/components/fileRecord/index.vue @@ -4,52 +4,25 @@ {{ TITLE }} - - - {{ item.label }} + + + {{ item.label }} - - - {{ item.label }} + + + {{ item.label }} - + {{ $t('common:button:edit') }} - + {{ $t('common:button:save') }} @@ -58,32 +31,14 @@ - - + + - + - + - + - + - + - - + + - - + + + - - \ No newline at end of file diff --git a/src/views/trials/trials-panel/trial-summary/trial-document/components/report_doc/form.vue b/src/views/trials/trials-panel/trial-summary/trial-document/components/report_doc/form.vue index 0a5e21e3..5668597c 100644 --- a/src/views/trials/trials-panel/trial-summary/trial-document/components/report_doc/form.vue +++ b/src/views/trials/trials-panel/trial-summary/trial-document/components/report_doc/form.vue @@ -1,131 +1,64 @@ -