From bf985bcbc82a4ce54285b7a18b6f08462e433131 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Tue, 12 Aug 2025 14:26:22 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=B7=A5=E5=85=B7=E6=96=87?=
=?UTF-8?q?=E4=BB=B6=E4=B8=8A=E4=BC=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/ToolsTemplate/TemplateForm.vue | 269 ++++++++++++++++++
.../components/ToolsTemplate/index.vue | 238 ++++++++++++++++
src/views/dictionary/attachment/index.vue | 58 ++--
.../trial-summary/image-summary/index.vue | 3 +-
4 files changed, 525 insertions(+), 43 deletions(-)
create mode 100644 src/views/dictionary/attachment/components/ToolsTemplate/TemplateForm.vue
create mode 100644 src/views/dictionary/attachment/components/ToolsTemplate/index.vue
diff --git a/src/views/dictionary/attachment/components/ToolsTemplate/TemplateForm.vue b/src/views/dictionary/attachment/components/ToolsTemplate/TemplateForm.vue
new file mode 100644
index 00000000..6bd75b22
--- /dev/null
+++ b/src/views/dictionary/attachment/components/ToolsTemplate/TemplateForm.vue
@@ -0,0 +1,269 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Select
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dictionary/attachment/components/ToolsTemplate/index.vue b/src/views/dictionary/attachment/components/ToolsTemplate/index.vue
new file mode 100644
index 00000000..f08964f5
--- /dev/null
+++ b/src/views/dictionary/attachment/components/ToolsTemplate/index.vue
@@ -0,0 +1,238 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('common:button:search') }}
+
+
+
+ {{ $t('common:button:reset') }}
+
+
+
+ {{ $t('common:button:new') }}
+
+
+
+
+
+
+
+
+
+
+ {{
+ $fd(
+ 'Common_File_BusinessScenario',
+ scope.row.BusinessScenarioEnum
+ )
+ }}
+
+
+
+
+
+
+
+
+
+
+ {{
+ $fd('YesOrNo', scope.row.IsDeleted)
+ }}
+ {{
+ $fd('YesOrNo', scope.row.IsDeleted)
+ }}
+
+
+
+
+
+
+
+
+
+ {{ $t('common:button:download') }}
+
+
+ {{ $t('common:button:edit') }}
+
+
+ {{ $t('common:button:delete') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dictionary/attachment/index.vue b/src/views/dictionary/attachment/index.vue
index 08dd427c..d5313858 100644
--- a/src/views/dictionary/attachment/index.vue
+++ b/src/views/dictionary/attachment/index.vue
@@ -1,52 +1,22 @@
-
-
-
+
+
+
-
+
+
-
-
-
+
+
+
@@ -57,6 +27,7 @@ import ExportTemplate from './components/ExportTemplate'
import EmailTemplate from './components/EmailTemplate'
import CommonTemplate from './components/CommonTemplate'
import SignatureTemplate from './components/SignatureTemplate'
+import ToolsTemplate from './components/ToolsTemplate'
import VueOfficeDocx from '@vue-office/docx'
import '@vue-office/docx/lib/index.css'
import VueOfficeExcel from '@vue-office/excel'
@@ -73,6 +44,7 @@ export default {
VueOfficeDocx,
VueOfficeExcel,
PreviewFile,
+ ToolsTemplate
},
data() {
return {
@@ -142,16 +114,18 @@ export default {
display: flex;
flex-direction: column;
}
+
.el-tabs__header {
height: 40px;
margin-bottom: 5px;
}
+
.el-tabs__content {
flex: 1;
+
.el-tab-pane {
height: 100%;
}
}
}
-
diff --git a/src/views/trials/trials-panel/trial-summary/image-summary/index.vue b/src/views/trials/trials-panel/trial-summary/image-summary/index.vue
index c6074566..8e17d55c 100644
--- a/src/views/trials/trials-panel/trial-summary/image-summary/index.vue
+++ b/src/views/trials/trials-panel/trial-summary/image-summary/index.vue
@@ -251,8 +251,9 @@ export default {
visit.NoneDicomStudyList.forEach(noneDicomStudy => {
if (noneDicomStudy.FileList && noneDicomStudy.FileList.length > 0) {
noneDicomStudy.FileList.forEach(file => {
+ let time = noneDicomStudy.ImageDate.split(' ')[0]
let obj = {
- name: `${visit.TrialSiteCode}/${visit.SubjectCode}/${visit.VisitName}/${noneDicomStudy.StudyCode}_${noneDicomStudy.ImageDate}_${noneDicomStudy.Modality}/${file.FileName}`,
+ name: `${visit.TrialSiteCode}/${visit.SubjectCode}/${visit.VisitName}/${noneDicomStudy.StudyCode}_${time}_${noneDicomStudy.Modality}/${file.FileName}`,
url: this.OSSclientConfig.basePath + file.Path,
}
files.push(obj)