From 0b4d61853eed31ffa276d4beb1e156fe947091ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=89=BE=E8=B4=A4=E5=87=8C?= Date: Tue, 18 Jan 2022 18:24:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=91=98=E9=80=89=E6=8B=A9=E5=99=A8?= =?UTF-8?q?=E9=9C=80=E6=B1=82=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sass/AppMeetingNotice/addMeeting.vue | 5 +---- src/sass/AppNotification/add.vue | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) 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(() => {