From d03d00229bffb247df478ac29997f147fe70751c Mon Sep 17 00:00:00 2001 From: zhouxy Date: Wed, 4 Feb 2026 20:45:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=8C=E6=94=BF=E5=A4=84=E7=BD=9A=E4=BF=A1?= =?UTF-8?q?=E7=94=A8=E4=BF=AE=E5=A4=8D=E6=94=B9=E4=B8=BA=E4=B8=89=E7=BA=A7?= =?UTF-8?q?=E5=AE=A1=E6=89=B9=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/js/utils.js | 4 ++ src/views/credit/rempunish/accept.vue | 83 ++++++++++++++++++++++----- 2 files changed, 73 insertions(+), 14 deletions(-) diff --git a/src/common/js/utils.js b/src/common/js/utils.js index d82a5ca..1adc4fc 100644 --- a/src/common/js/utils.js +++ b/src/common/js/utils.js @@ -94,8 +94,12 @@ export default { // 严重违法 end case 'startAccept': return '待受理' + case 'handleRemPunish': + return '待审核' case 'approveRemPunish': return '待审批' + case 'returnRemPunish': + return '回退待处理' default: return '未知节点状态' } diff --git a/src/views/credit/rempunish/accept.vue b/src/views/credit/rempunish/accept.vue index 5f9d007..b739fb0 100644 --- a/src/views/credit/rempunish/accept.vue +++ b/src/views/credit/rempunish/accept.vue @@ -230,15 +230,15 @@ @@ -259,6 +259,26 @@ + + + + + + + + + + + + @@ -266,10 +286,19 @@ - + - - + + { + submitTask(submitData).then(res => { if (res.code === 0) { this.$message.success('提交成功') this.$router.back() @@ -546,11 +591,14 @@ export default { }, // 加载审核人 loadReviewer() { - getUsersWithPermission('exptRemoveHandle', this.user.orgId).then(res => { + // 根据 linkType 动态设置 permission 参数 + const permission = this.punishInfo.linkType === '1' ? 'exptRemoveHandle' : 'exptRemoveApprove'; + + getUsersWithPermission(permission, this.user.orgId).then(res => { if (res.code === 0) { - this.reviewer = res.data + this.reviewer = res.data; } - }) + }); }, // 自定义验证方法 validateBusinessForm() { @@ -577,6 +625,13 @@ export default { // 当选择受理时,清空之前的是否准予修复选择 if (value === '1') { this.punishInfo.isAgreeRepair = ''; + // 如果是 linkType === '1',自动选择提交至执法人员审核 + if (this.punishInfo.linkType === '1') { + this.punishInfo.nextNodeId = 'handleRemPunish'; + } + } else { + // 当选择不予受理时,清空下一步操作的值 + this.punishInfo.nextNodeId = ''; } }, openDialog(type) {