perf: 选人组件带入部门字段修改
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user