25216
This commit is contained in:
@@ -158,7 +158,11 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
...mapActions(['selectEnterpriseContact']),
|
...mapActions(['selectEnterpriseContact']),
|
||||||
handleSelectUser() {
|
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 || [])
|
this.change(res?.userList || [])
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -121,8 +121,13 @@
|
|||||||
methods: {
|
methods: {
|
||||||
...mapActions(['selectEnterpriseContact']),
|
...mapActions(['selectEnterpriseContact']),
|
||||||
handleSelectUser() {
|
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 || []
|
this.form.persons = res?.userList || []
|
||||||
|
console.log(this.form.persons);
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
confirm(e){
|
confirm(e){
|
||||||
|
|||||||
Reference in New Issue
Block a user