添加下一操作人姓名的参数

This commit is contained in:
zhouxy 2026-02-11 14:19:32 +08:00
parent 059f23168d
commit 75c70a7855
1 changed files with 14 additions and 3 deletions

View File

@ -269,11 +269,11 @@
</template>
<template v-else-if="punishInfo.linkType === '0'">
<el-radio label="approveRemPunish">提交至审批人</el-radio>
<el-radio label="returnRemPunish">回退上一步</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>
<el-radio label="returnRemPunish">回退至上一操作人</el-radio>
</template>
</el-radio-group>
</el-form-item>
@ -298,6 +298,7 @@
filterable
class="custom"
style="width:40%"
@change="handlePerformerChange"
>
<el-option
v-for="item in reviewer"
@ -414,7 +415,8 @@ export default {
isAgreeRepair: '',
formData: {
opinion: '',
nextPerformerids: ''
nextPerformerids: '',
nextPerformerName: ''
},
reviewer: []
}
@ -461,6 +463,15 @@ export default {
this.loadReviewer()
},
methods: {
handlePerformerChange(selectedValue) {
// reviewer nextPerformerName
const selectedReviewer = this.reviewer.find(item => item.primaryKey === selectedValue);
if (selectedReviewer) {
this.punishInfo.nextPerformerName = selectedReviewer.name;
} else {
this.punishInfo.nextPerformerName = ''; //
}
},
// label
getOperatorLabel() {
if (this.punishInfo.linkType === '1') {