From d01ce5d4a4f9cdb466c0c3c78bbf1ada98221962 Mon Sep 17 00:00:00 2001 From: yang chen Date: Thu, 23 Oct 2025 16:29:23 +0800 Subject: [PATCH 1/5] =?UTF-8?q?feat(bpm):=20=E6=96=B0=E5=A2=9E=E6=8A=84?= =?UTF-8?q?=E9=80=81=E4=BB=BB=E5=8A=A1=E9=A1=B5=E9=9D=A2=E5=B9=B6=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E6=B5=81=E7=A8=8B=E5=AE=9E=E4=BE=8B=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增抄送任务页面,支持查看抄送我的流程任务 -优化流程实例页面UI细节,调整按钮布局和间距 - 完善表单验证规则,确保必填字段校验正确 -修复流程取消功能,支持输入取消原因- 调整代码格式,统一导入语句和对象属性写法- 启用任务抄送按钮,完善审批操作栏功能 --- src/views/bpm/processInstance/index.vue | 30 ++--- src/views/bpm/task/copy/index.vue | 159 ++++++++++++++++++++++++ src/views/bpm/task/todo/index.vue | 2 +- 3 files changed, 176 insertions(+), 15 deletions(-) create mode 100644 src/views/bpm/task/copy/index.vue diff --git a/src/views/bpm/processInstance/index.vue b/src/views/bpm/processInstance/index.vue index 1f9d89f..db3f7b2 100644 --- a/src/views/bpm/processInstance/index.vue +++ b/src/views/bpm/processInstance/index.vue @@ -16,7 +16,7 @@ @current-change="currentChange" > diff --git a/src/views/bpm/task/todo/index.vue b/src/views/bpm/task/todo/index.vue index 4bfa17c..8b3b822 100644 --- a/src/views/bpm/task/todo/index.vue +++ b/src/views/bpm/task/todo/index.vue @@ -26,7 +26,7 @@ From 7328df959dd71e00d9ac6e7929082af01fd37818 Mon Sep 17 00:00:00 2001 From: yang chen Date: Thu, 23 Oct 2025 17:44:30 +0800 Subject: [PATCH 2/5] =?UTF-8?q?Revert=20"=E6=94=BE=E5=BC=80=E6=8A=84?= =?UTF-8?q?=E9=80=81"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit bea6e51eeafb4034d06f12dd2ff4ce2cddd44fb5. --- src/views/bpm/task/todo/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/bpm/task/todo/index.vue b/src/views/bpm/task/todo/index.vue index 8b3b822..4bfa17c 100644 --- a/src/views/bpm/task/todo/index.vue +++ b/src/views/bpm/task/todo/index.vue @@ -26,7 +26,7 @@ From 256edf264eacd0d6713d5952316b13fe340943b3 Mon Sep 17 00:00:00 2001 From: yang chen Date: Mon, 27 Oct 2025 10:37:57 +0800 Subject: [PATCH 3/5] =?UTF-8?q?feat(bpm):=20=E6=B7=BB=E5=8A=A0=E6=8A=84?= =?UTF-8?q?=E9=80=81=E4=BB=BB=E5=8A=A1=E6=B5=81=E7=A8=8B=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在抄送任务列表中增加“流程”按钮,跳转至流程实例详情页 - 调整流程编号字段显示逻辑,默认展示并支持搜索 -优化抄送时间字段格式化方式,并调整搜索类型为时间范围选择 - 禁用规则类型下拉框编辑状态,并默认选中固定值30- 设置任务名称、ID及流程实例名称回填逻辑 --- .../detail/TaskCCDialogForm.vue | 4 +-- src/views/bpm/task/copy/index.vue | 30 ++++++++++++++----- 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/src/views/bpm/processInstance/detail/TaskCCDialogForm.vue b/src/views/bpm/processInstance/detail/TaskCCDialogForm.vue index a3013ea..e7569c3 100644 --- a/src/views/bpm/processInstance/detail/TaskCCDialogForm.vue +++ b/src/views/bpm/processInstance/detail/TaskCCDialogForm.vue @@ -14,7 +14,7 @@ - + { resetForm() // 2. 再设置表单 if (row != null) { - formData.value.type = undefined as unknown as number + formData.value.type = 30 formData.value.taskName = row.name formData.value.taskId = row.id formData.value.processInstanceName = row.processInstance.name diff --git a/src/views/bpm/task/copy/index.vue b/src/views/bpm/task/copy/index.vue index 9dd9ffc..57073b3 100644 --- a/src/views/bpm/task/copy/index.vue +++ b/src/views/bpm/task/copy/index.vue @@ -15,7 +15,9 @@ @size-change="sizeChange" @current-change="currentChange" > - + @@ -58,7 +60,6 @@ const tableOption = reactive({ }, processInstanceId: { label: '流程编号', - display: false, search: true, }, processInstanceName: { @@ -78,14 +79,20 @@ const tableOption = reactive({ label: '抄送时间', type: 'datetime', width: 180, - search: true, - searchType: 'daterange', - valueFormat: 'YYYY-MM-DD HH:mm:ss', - startPlaceholder: '开始时间', - endPlaceholder: '结束时间', formatter: (row: any, value: any, rowv: any, column: any) => { return dateFormatter(row, column, value) } + }, + searchCreateTime: { + label: '抄送时间', + display: false, + hide: true, + search: true, + searchType: 'datetimerange', + valueFormat: 'YYYY-MM-DD HH:mm:ss', + startPlaceholder: '开始时间', + endPlaceholder: '结束时间', + searchRange: true, } } }) @@ -151,6 +158,15 @@ const currentChange = (currentPage) => { getTableData() } +const handleAudit = (row: any) => { + push({ + name: 'BpmProcessInstanceDetail', + query: { + id: row.processInstanceId + } + }) +} + /** 初始化 **/ onMounted(async () => { await getTableData() From 5a1567dc348d708f05b6249ddc0ec58230a2410b Mon Sep 17 00:00:00 2001 From: yang chen Date: Mon, 27 Oct 2025 11:42:55 +0800 Subject: [PATCH 4/5] =?UTF-8?q?feat(bpm):=20=E9=9A=90=E8=97=8F=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E5=AE=9E=E4=BE=8B=E8=AF=A6=E6=83=85=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E8=BD=AC=E5=8A=9E=E5=92=8C=E5=8A=A0=E7=AD=BE=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 注释掉了任务转办功能按钮 - 注释掉了任务加签功能按钮 -保留了其他操作按钮的功能逻辑 --- src/views/bpm/processInstance/detail/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/bpm/processInstance/detail/index.vue b/src/views/bpm/processInstance/detail/index.vue index 2c41566..5dbd623 100644 --- a/src/views/bpm/processInstance/detail/index.vue +++ b/src/views/bpm/processInstance/detail/index.vue @@ -41,6 +41,7 @@ 不通过 + 回退 From 5d07ca6d0e8384d75b1c5e86a7239c07c4d4ec0a Mon Sep 17 00:00:00 2001 From: yang chen Date: Thu, 30 Oct 2025 15:22:30 +0800 Subject: [PATCH 5/5] =?UTF-8?q?feat(bpm):=20=E6=96=B0=E5=A2=9E=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E5=88=86=E9=85=8D=E8=A7=84=E5=88=99=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E7=94=A8=E6=88=B7=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在任务分配规则中增加 userSelects 类型支持 - 新增 TaskSelectAssigneeForm 组件用于选择任务候选人 - 更新 UserSelect 组件导出 Column 接口- 调整任务分配表单逻辑以适配新的用户选择类型- 优化任务分配规则获取与展示逻辑 --- .../BpmTaskAssign/TaskSelectAssigneeForm.vue | 105 ++++++++++++++++++ .../LowDesign/src/shareControl/UserSelect.vue | 2 +- src/views/bpm/taskAssignRule/index.vue | 41 +++---- 3 files changed, 128 insertions(+), 20 deletions(-) create mode 100644 src/components/BpmTaskAssign/TaskSelectAssigneeForm.vue diff --git a/src/components/BpmTaskAssign/TaskSelectAssigneeForm.vue b/src/components/BpmTaskAssign/TaskSelectAssigneeForm.vue new file mode 100644 index 0000000..ffc454f --- /dev/null +++ b/src/components/BpmTaskAssign/TaskSelectAssigneeForm.vue @@ -0,0 +1,105 @@ + + diff --git a/src/components/LowDesign/src/shareControl/UserSelect.vue b/src/components/LowDesign/src/shareControl/UserSelect.vue index a42bcc4..5a3a879 100644 --- a/src/components/LowDesign/src/shareControl/UserSelect.vue +++ b/src/components/LowDesign/src/shareControl/UserSelect.vue @@ -217,7 +217,7 @@ defineOptions({ name: 'UserSelect' }) * all_sub 所有下级 */ -interface Column { +export interface Column { label: string findType: 'all' | 'now' | 'sub' | 'all_sub' | 'direct_sub' //查询类型 columnKey: Array<'mobile' | 'email' | 'sex' | 'post' | 'deptName'> //扩展显示列 diff --git a/src/views/bpm/taskAssignRule/index.vue b/src/views/bpm/taskAssignRule/index.vue index 2806c83..3fbca3d 100644 --- a/src/views/bpm/taskAssignRule/index.vue +++ b/src/views/bpm/taskAssignRule/index.vue @@ -32,22 +32,22 @@