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) {