行政处罚信用修复改为三级审批流程
This commit is contained in:
parent
595111c613
commit
d03d00229b
|
|
@ -94,8 +94,12 @@ export default {
|
||||||
// 严重违法 end
|
// 严重违法 end
|
||||||
case 'startAccept':
|
case 'startAccept':
|
||||||
return '待受理'
|
return '待受理'
|
||||||
|
case 'handleRemPunish':
|
||||||
|
return '待审核'
|
||||||
case 'approveRemPunish':
|
case 'approveRemPunish':
|
||||||
return '待审批'
|
return '待审批'
|
||||||
|
case 'returnRemPunish':
|
||||||
|
return '回退待处理'
|
||||||
default:
|
default:
|
||||||
return '未知节点状态'
|
return '未知节点状态'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -230,15 +230,15 @@
|
||||||
<template v-if="taskInfo && taskInfo.origin === '1'">
|
<template v-if="taskInfo && taskInfo.origin === '1'">
|
||||||
<!-- origin为1时,代表外网申请的 -->
|
<!-- origin为1时,代表外网申请的 -->
|
||||||
<el-form-item label="是否受理:" prop="isAccept">
|
<el-form-item label="是否受理:" prop="isAccept">
|
||||||
<el-radio v-model="punishInfo.isAccept" label="1" style="font-size: unset" @change="handleAcceptChange">受理</el-radio>
|
<el-radio v-model="punishInfo.isAccept" label="1" style="font-size: unset" @change="handleAcceptChange" :disabled="punishInfo.linkType !== '1'">受理</el-radio>
|
||||||
<el-radio v-model="punishInfo.isAccept" label="0" style="font-size: unset" @change="handleAcceptChange">不予受理(回退至申请人)</el-radio>
|
<el-radio v-model="punishInfo.isAccept" label="0" style="font-size: unset" @change="handleAcceptChange" :disabled="punishInfo.linkType !== '1'">不予受理(回退至申请人)</el-radio>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<!-- origin不为1时,代表内网发起的 -->
|
<!-- origin不为1时,代表内网发起的 -->
|
||||||
<el-form-item label="是否受理:" prop="isAccept">
|
<el-form-item label="是否受理:" prop="isAccept">
|
||||||
<el-radio v-model="punishInfo.isAccept" label="1" style="font-size: unset" @change="handleAcceptChange">受理</el-radio>
|
<el-radio v-model="punishInfo.isAccept" label="1" style="font-size: unset" @change="handleAcceptChange" :disabled="punishInfo.linkType !== '1'">受理</el-radio>
|
||||||
<el-radio v-model="punishInfo.isAccept" label="0" style="font-size: unset" @change="handleAcceptChange">不予受理</el-radio>
|
<el-radio v-model="punishInfo.isAccept" label="0" style="font-size: unset" @change="handleAcceptChange" :disabled="punishInfo.linkType !== '1'">不予受理</el-radio>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -259,6 +259,26 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
<el-row class="bt0 flex-row" v-if="punishInfo.isAccept === '1'">
|
||||||
|
<el-col :span="24">
|
||||||
|
<!-- 单选按钮组 -->
|
||||||
|
<el-form-item label="下一步操作:" prop="nextNodeId">
|
||||||
|
<el-radio-group v-model="punishInfo.nextNodeId">
|
||||||
|
<template v-if="punishInfo.linkType === '1'">
|
||||||
|
<el-radio label="handleRemPunish">提交至执法人员审核</el-radio>
|
||||||
|
</template>
|
||||||
|
<template v-else-if="punishInfo.linkType === '0'">
|
||||||
|
<el-radio label="approveRemPunish">提交至审批人</el-radio>
|
||||||
|
<el-radio label="returnRemPunish">回退上一步</el-radio>
|
||||||
|
</template>
|
||||||
|
<template v-else-if="punishInfo.linkType === '2'">
|
||||||
|
<el-radio label="endRemPunish">业务结束</el-radio>
|
||||||
|
<el-radio label="returnRemPunish">回退上一步</el-radio>
|
||||||
|
</template>
|
||||||
|
</el-radio-group>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
<el-row class="bt0 flex-row">
|
<el-row class="bt0 flex-row">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="意见" prop="opinion">
|
<el-form-item label="意见" prop="opinion">
|
||||||
|
|
@ -266,10 +286,19 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row class="bt0 flex-row" v-if="punishInfo.linkType === '1' && punishInfo.isAccept === '1'">
|
<el-row class="bt0 flex-row" v-if="punishInfo.isAccept === '1' && !(punishInfo.nextNodeId === 'endRemPunish' || punishInfo.nextNodeId === 'returnRemPunish') && punishInfo.linkType !== '2'">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="下一步操作人" prop="nextPerformerids">
|
<el-form-item
|
||||||
<el-select v-model="punishInfo.nextPerformerids" placeholder="请选择下一步操作人" filterable class="custom" style="width:40%">
|
:label="getOperatorLabel()"
|
||||||
|
prop="nextPerformerids"
|
||||||
|
>
|
||||||
|
<el-select
|
||||||
|
v-model="punishInfo.nextPerformerids"
|
||||||
|
placeholder="请选择下一步操作人"
|
||||||
|
filterable
|
||||||
|
class="custom"
|
||||||
|
style="width:40%"
|
||||||
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in reviewer"
|
v-for="item in reviewer"
|
||||||
:key="'reviewer'+item.primaryKey"
|
:key="'reviewer'+item.primaryKey"
|
||||||
|
|
@ -341,7 +370,9 @@ export default {
|
||||||
fullscreenLoading: false,
|
fullscreenLoading: false,
|
||||||
user: JSON.parse(sessionStorage.getItem('user')),
|
user: JSON.parse(sessionStorage.getItem('user')),
|
||||||
bizSeq: this.$route.query.bizSeq,
|
bizSeq: this.$route.query.bizSeq,
|
||||||
punishInfo: {},
|
punishInfo: {
|
||||||
|
nextNodeId: ''
|
||||||
|
},
|
||||||
IlcPunInfo: {},
|
IlcPunInfo: {},
|
||||||
taskInfo: {},
|
taskInfo: {},
|
||||||
process: {},
|
process: {},
|
||||||
|
|
@ -430,6 +461,15 @@ export default {
|
||||||
this.loadReviewer()
|
this.loadReviewer()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 动态获取下一步操作人的 label
|
||||||
|
getOperatorLabel() {
|
||||||
|
if (this.punishInfo.linkType === '1') {
|
||||||
|
return '审核人';
|
||||||
|
} else if (this.punishInfo.linkType === '0') {
|
||||||
|
return '审批人';
|
||||||
|
}
|
||||||
|
return '下一步操作人'; // 默认值
|
||||||
|
},
|
||||||
toEntDetail() {
|
toEntDetail() {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/aiccs/comprehensive/details',
|
path: '/aiccs/comprehensive/details',
|
||||||
|
|
@ -475,15 +515,20 @@ export default {
|
||||||
},
|
},
|
||||||
// 提取公共提交逻辑
|
// 提取公共提交逻辑
|
||||||
performSubmit() {
|
performSubmit() {
|
||||||
// 只在 linkType 不为 '1' 时显示提交提示
|
// 构造提交数据
|
||||||
if (this.punishInfo.linkType !== '1') {
|
const submitData = {
|
||||||
|
...this.punishInfo,
|
||||||
|
nextNodeId: this.punishInfo.nextNodeId // 携带 nextNodeId
|
||||||
|
};
|
||||||
|
// 当结束流程时,给出提示
|
||||||
|
if (this.punishInfo.nextNodeId === 'endRemPunish') {
|
||||||
this.$message({
|
this.$message({
|
||||||
message: '提醒!后台正在生成文书,过程需要耐心等待,切勿重复点击提交,待生成完毕页面会自动返回待办。',
|
message: '提醒!后台正在生成文书,过程需要耐心等待,切勿重复点击提交,待生成完毕页面会自动返回待办。',
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
duration: 5000 // 5秒后自动消失
|
duration: 5000 // 5秒后自动消失
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
submitTask(this.punishInfo).then(res => {
|
submitTask(submitData).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
this.$router.back()
|
this.$router.back()
|
||||||
|
|
@ -546,11 +591,14 @@ export default {
|
||||||
},
|
},
|
||||||
// 加载审核人
|
// 加载审核人
|
||||||
loadReviewer() {
|
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) {
|
if (res.code === 0) {
|
||||||
this.reviewer = res.data
|
this.reviewer = res.data;
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
},
|
},
|
||||||
// 自定义验证方法
|
// 自定义验证方法
|
||||||
validateBusinessForm() {
|
validateBusinessForm() {
|
||||||
|
|
@ -577,6 +625,13 @@ export default {
|
||||||
// 当选择受理时,清空之前的是否准予修复选择
|
// 当选择受理时,清空之前的是否准予修复选择
|
||||||
if (value === '1') {
|
if (value === '1') {
|
||||||
this.punishInfo.isAgreeRepair = '';
|
this.punishInfo.isAgreeRepair = '';
|
||||||
|
// 如果是 linkType === '1',自动选择提交至执法人员审核
|
||||||
|
if (this.punishInfo.linkType === '1') {
|
||||||
|
this.punishInfo.nextNodeId = 'handleRemPunish';
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
// 当选择不予受理时,清空下一步操作的值
|
||||||
|
this.punishInfo.nextNodeId = '';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
openDialog(type) {
|
openDialog(type) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue