feat(force-notice): 修复办理页面下拉选项显示问题

- 在force、inclusion、liccan、recovery和remove模块的handle.vue文件中,
  修复了nextPerformerMap数据映射问题
- 将原始的直接返回对象改为使用map函数处理,确保label显示name字段,
  value使用primaryKey字段
- 使下拉选择器能够正确显示和绑定数据
This commit is contained in:
chenxf 2026-01-06 18:40:02 +08:00
parent 155817126b
commit 9ccb35c63f
5 changed files with 35 additions and 5 deletions

View File

@ -444,7 +444,13 @@ export default {
span: 12,
required: true,
options: () => {
return this.nextPerformerMap
return this.nextPerformerMap.map((item) => {
return {
...item,
label: item.name,
value: item.primaryKey
}
})
},
showInForm: ({ formData }) => {
return !this.readonly && ['0', '1', '7'].includes(formData.status) && !['nullify', 'transfer', 'examineFinish', 'approveFinish', 'lawFinish', 'handleReturn', 'examineReturn', 'end', 'upApproveFinish'].includes(formData.isAgree)

View File

@ -415,7 +415,13 @@ export default {
span: 12,
required: true,
options: () => {
return this.nextPerformerMap
return this.nextPerformerMap.map((item) => {
return {
...item,
label: item.name,
value: item.primaryKey
}
})
},
showInForm: ({ formData }) => {
return !this.readonly && ['0', '1', '7'].includes(formData.status) && !['nullify', 'transfer', 'examineFinish', 'approveFinish', 'lawFinish', 'handleReturn', 'examineReturn', 'end', 'upApproveFinish'].includes(formData.isAgree)

View File

@ -298,7 +298,13 @@ export default {
span: 12,
required: true,
options: () => {
return this.nextPerformerMap
return this.nextPerformerMap.map((item) => {
return {
...item,
label: item.name,
value: item.primaryKey
}
})
},
showInForm: ({ formData }) => {
return !this.readonly && ['0', '1', '7'].includes(formData.status) && !['nullify', 'transfer', 'examineFinish', 'approveFinish', 'lawFinish', 'handleReturn', 'examineReturn', 'end', 'upApproveFinish'].includes(formData.isAgree)

View File

@ -344,7 +344,13 @@ export default {
span: 12,
required: true,
options: () => {
return this.nextPerformerMap
return this.nextPerformerMap.map((item) => {
return {
...item,
label: item.name,
value: item.primaryKey
}
})
},
showInForm: ({ formData }) => {
return !this.readonly && formData.isAccept && ['0', '1', '7'].includes(formData.status) && !['nullify', 'transfer', 'examineFinish', 'approveFinish', 'lawFinish', 'handleReturn', 'examineReturn', 'end', 'upApproveFinish'].includes(formData.isAgree)

View File

@ -347,7 +347,13 @@ export default {
span: 12,
required: true,
options: () => {
return this.nextPerformerMap
return this.nextPerformerMap.map((item) => {
return {
...item,
label: item.name,
value: item.primaryKey
}
})
},
showInForm: ({ formData }) => {
return !this.readonly && (formData.remType === '2' || (formData.remType === '1' && formData.isAccept === '1')) && ['0', '1', '7'].includes(formData.status) && !['nullify', 'transfer', 'examineFinish', 'approveFinish', 'lawFinish', 'handleReturn', 'examineReturn', 'end', 'upApproveFinish'].includes(formData.isAgree) && formData.endForceRra