Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
aixianling
2021-12-03 15:21:30 +08:00
2 changed files with 11 additions and 2 deletions

View File

@@ -158,7 +158,11 @@ export default {
methods: {
...mapActions(['selectEnterpriseContact']),
handleSelectUser() {
this.selectEnterpriseContact({fromDepartmentId:0,type:["department", "user"]}).then(res => {
this.selectEnterpriseContact({
fromDepartmentId:0,
type:["department", "user"],
selectedUserIds: this.form.attendees?.map(e=>e.id)
}).then(res => {
this.change(res?.userList || [])
})
},

View File

@@ -121,8 +121,13 @@
methods: {
...mapActions(['selectEnterpriseContact']),
handleSelectUser() {
this.selectEnterpriseContact({fromDepartmentId:0,type:["department", "user"]}).then(res => {
this.selectEnterpriseContact({
fromDepartmentId:0,
type:["department", "user"],
selectedUserIds: this.form.persons?.map(e=>e.id)
}).then(res => {
this.form.persons = res?.userList || []
console.log(this.form.persons);
})
},
confirm(e){