人员选择器需求调整
This commit is contained in:
		| @@ -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 | ||||
|     }, | ||||
|   | ||||
| @@ -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(() => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user