diff --git a/src/sass/AppMeetingNotice/addMeeting.vue b/src/sass/AppMeetingNotice/addMeeting.vue index 56b577bf..14cfb883 100644 --- a/src/sass/AppMeetingNotice/addMeeting.vue +++ b/src/sass/AppMeetingNotice/addMeeting.vue @@ -167,7 +167,7 @@ export default { fromDepartmentId: 0, selectedOpenUserIds: this.form.attendees?.map(e => e.id) }).then(res => { - this.change(res?.userList || []) + this.form.attendees = res.userList?.map(e => ({id: e.openUserId})) || [] this.form.ticket = res?.selectedTicket || "" this.clickedUserSelect = false }).catch(() => { @@ -177,9 +177,6 @@ export default { fileList(e) { this.form.files = e }, - change(e) { - this.form.attendees = e - }, beforeNoticeChange(e) { this.form.noticeBefore = e.detail.value }, diff --git a/src/sass/AppNotification/add.vue b/src/sass/AppNotification/add.vue index a6e15e4a..349d42c1 100644 --- a/src/sass/AppNotification/add.vue +++ b/src/sass/AppNotification/add.vue @@ -113,7 +113,7 @@ export default { fromDepartmentId: 0, selectedOpenUserIds: this.form.persons?.map(e => e.id) }).then(res => { - this.form.persons = res?.userList || [] + this.form.persons = res.userList?.map(e => ({id: e.openUserId})) || [] this.form.ticket = res?.selectedTicket this.clickedUserSelect = false }).catch(() => {