From 3dbf6cfedcd427235f47521ad18f2e067ef112cf Mon Sep 17 00:00:00 2001 From: DU Date: Fri, 23 Oct 2026 17:16:36 +0800 Subject: [PATCH] =?UTF-8?q?Web=20=E7=94=B3=E8=AF=89=E8=AF=A6=E6=83=85/?= =?UTF-8?q?=E5=AE=A1=E6=89=B9=E5=BC=B9=E7=AA=97=E6=96=B0=E5=A2=9E=E3=80=8C?= =?UTF-8?q?=E5=AE=A1=E6=89=B9=E8=BF=9B=E5=BA=A6=E3=80=8D=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 getAppealFlowRecord(procInsId) 封装 /flowable/task/flowRecord - 详情弹窗与审批弹窗均展示流转节点(节点名/办理人/时间/审批意见,已办结·进行中标签) - detail/{id} 文档虽标注含流程进度,实测只返回实体字段,故单独调 flowRecord --- src/api/points/appeal.js | 10 ++ .../appeal/components/AppealLedgerPanel.vue | 136 +++++++++++++++++- 2 files changed, 145 insertions(+), 1 deletion(-) diff --git a/src/api/points/appeal.js b/src/api/points/appeal.js index 75977e9..00c1d1b 100644 --- a/src/api/points/appeal.js +++ b/src/api/points/appeal.js @@ -19,6 +19,16 @@ export function getAppealProcessDetail(flowInstanceId) { }) } +// 申诉流程流转记录(节点名/办理人/时间/意见),用于详情与审批弹窗展示「审批进度」 +// 注意:detail/{id} 虽文档标注「含流程进度信息」,实测只返回实体字段,流程进度需单独调本接口 +export function getAppealFlowRecord(procInsId) { + return request({ + url: '/flowable/task/flowRecord', + method: 'get', + params: { procInsId } + }) +} + // 审批申诉流程(通过/驳回当前节点);流程结束时后端按 adjustPoints 补/扣分并推送消息 export function completeAppealFlow(data) { return request({ url: '/business/points/appeal/completeFlow', method: 'post', data }) diff --git a/src/views/points/appeal/components/AppealLedgerPanel.vue b/src/views/points/appeal/components/AppealLedgerPanel.vue index 2905f25..9f90eba 100644 --- a/src/views/points/appeal/components/AppealLedgerPanel.vue +++ b/src/views/points/appeal/components/AppealLedgerPanel.vue @@ -65,6 +65,26 @@
+
+
审批进度
+ + +
+ {{ node.taskName }} + {{ node.finished ? '已办结' : '进行中' }} +
+
办理人:{{ node.operator }}
+
审批意见:{{ node.comment }}
+
+
+
{{ detailFlowLoading ? '加载中…' : '暂无审批记录' }}
+
{{ detail.appealNo || '—' }} {{ typeLabel(detail) }} @@ -95,6 +115,26 @@
关联隐患:{{ approveForm.reportNo || '—' }}
申诉理由:{{ approveForm.appealReason || '—' }}
+
+
审批进度
+ + +
+ {{ node.taskName }} + {{ node.finished ? '已办结' : '进行中' }} +
+
办理人:{{ node.operator }}
+
审批意见:{{ node.comment }}
+
+
+
{{ approveFlowLoading ? '加载中…' : '暂无审批记录' }}
+
@@ -120,7 +160,7 @@