perf: 选人组件带入部门字段修改

This commit is contained in:
zyn
2023-12-29 09:20:46 +08:00
parent d5ee8086dd
commit 9ac1a51b77
@@ -93,8 +93,8 @@ export default {
this.$emit('input', nameList)
this.$emit('update:id', idList)
this.$emit('change', {
ids: this.unique(data.map(item => item.topUnitId)).join(','),
names: this.unique(data.map(item => item.topUnit)).join(',')
ids: this.unique(data.map(item => item.institutionId)).join(','),
names: this.unique(data.map(item => item.institutionCascade)).join(',')
})
},
unique (newArr) {