This commit is contained in:
wanglei
2021-12-08 13:50:39 +08:00
parent e99cf0f998
commit 9f1e45e57a
2 changed files with 5 additions and 3 deletions

View File

@@ -152,10 +152,12 @@
})
},
count(sta) {
return this.detail.attendees?.filter(e => e.joinStatus == sta)?.length;
return this.detail.attendees ? this.detail.attendees?.filter(e => e.joinStatus == sta)?.length : 0;
},
change(index) {
this.current = index;
this.detail = {};
this.getDetail();
},
call(item) {
if (item.phone) {

View File

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