From c383c97ef627c6d9c802072bf357f2144f05b169 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Thu, 31 Jul 2025 14:38:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/formBuilder.js | 28 ++++++++++++++++++++++++++++ src/views/flow/create.vue | 2 +- src/views/flow/detailCommon.vue | 2 +- 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/utils/formBuilder.js b/src/utils/formBuilder.js index 0189512..52dddb8 100644 --- a/src/utils/formBuilder.js +++ b/src/utils/formBuilder.js @@ -1017,6 +1017,20 @@ export default function formBuilder( }, file.name ), + h( + "a", + { + style: { + padding: "0 4px", + color:'blue' + }, + attrs:{ + href:file.url, + target:"_blank" + } + }, + '下载' + ), ]), ]; }, @@ -1783,6 +1797,20 @@ export default function formBuilder( }, file.original_name || file.name ), + h( + "a", + { + style: { + padding: "0 4px", + color:'blue' + }, + attrs:{ + href:file.url, + target:"_blank" + } + }, + '下载' + ), ]) ) ); diff --git a/src/views/flow/create.vue b/src/views/flow/create.vue index f8bc89c..89a260a 100644 --- a/src/views/flow/create.vue +++ b/src/views/flow/create.vue @@ -188,7 +188,7 @@ 返回 打印 打印(带审批记录) - 下载附件 + diff --git a/src/views/flow/detailCommon.vue b/src/views/flow/detailCommon.vue index 42d156a..b8272c6 100644 --- a/src/views/flow/detailCommon.vue +++ b/src/views/flow/detailCommon.vue @@ -188,7 +188,7 @@ 返回 打印 打印(带审批记录) - 下载附件 +