From ec0518f36a6c79e3777387c6b17ea8e696f79325 Mon Sep 17 00:00:00 2001
From: jason <2667446@qq.com>
Date: Sat, 15 Nov 2025 21:52:09 +0800
Subject: [PATCH 1/2] =?UTF-8?q?feat:=20[bpm][antd]=20=E6=B5=81=E7=A8=8B?=
=?UTF-8?q?=E6=89=93=E5=8D=B0=E8=87=AA=E5=AE=9A=E4=B9=89=E6=A8=A1=E6=9D=BF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../form/modules/custom-print-template.vue | 127 ++++++++++++++++++
.../bpm/model/form/modules/extra-setting.vue | 123 ++++++++++++++++-
.../bpm/model/form/modules/tinymce-plugin.ts | 78 +++++++++++
.../bpm/processInstance/detail/index.vue | 2 +-
.../{processs-print.vue => process-print.vue} | 66 ++++-----
5 files changed, 349 insertions(+), 47 deletions(-)
create mode 100644 apps/web-antd/src/views/bpm/model/form/modules/custom-print-template.vue
create mode 100644 apps/web-antd/src/views/bpm/model/form/modules/tinymce-plugin.ts
rename apps/web-antd/src/views/bpm/processInstance/detail/modules/{processs-print.vue => process-print.vue} (80%)
diff --git a/apps/web-antd/src/views/bpm/model/form/modules/custom-print-template.vue b/apps/web-antd/src/views/bpm/model/form/modules/custom-print-template.vue
new file mode 100644
index 000000000..d4b26c391
--- /dev/null
+++ b/apps/web-antd/src/views/bpm/model/form/modules/custom-print-template.vue
@@ -0,0 +1,127 @@
+
+
+
+
| 流程记录 | |
| 节点 | ', + '操作 | ', + '
| 发起人 | -+ | 发起人 | +{{ printData.processInstance.startUser?.nickname }} | -发起时间 | -- + | 发起时间 | ++ {{ formatDate(printData.processInstance.startTime) }} |
| 所属部门 | -+ | 所属部门 | +{{ printData.processInstance.startUser?.deptName }} | -流程状态 | -+ | 流程状态 | +{{ getDictLabel( DICT_TYPE.BPM_PROCESS_INSTANCE_STATUS, @@ -268,33 +254,33 @@ function getPrintTemplateHTML() { |
表单内容 |
|||||||
| + | {{ item.name }} | -+ | |||||
- 流程节点+流程记录 |
|||||||
| + | {{ item.name }} | -+ |
{{ item.description }}
| ||||