bug
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<span>请选择</span>
|
||||
</template>
|
||||
<template v-else>
|
||||
已选择<em v-text="form.persons.length"/>人
|
||||
已选择<em>{{ selectedUserCount }}</em>人
|
||||
</template>
|
||||
<div class="right-arrow"/>
|
||||
</div>
|
||||
@@ -82,6 +82,7 @@ export default {
|
||||
releaseTime: null,
|
||||
files: [],
|
||||
},
|
||||
selectedUserCount: 0,
|
||||
flag: null,
|
||||
options: {
|
||||
year: true,
|
||||
@@ -115,9 +116,13 @@ export default {
|
||||
selectedTickets: this.form.ticket,
|
||||
selectedOpenUserIds: this.form.persons?.map(e => e.id)
|
||||
}).then(res => {
|
||||
console.log('ticket-----')
|
||||
console.log(res.selectedTicket)
|
||||
console.log('返回结果')
|
||||
console.log(res)
|
||||
this.form.persons = res.userList?.map(e => ({id: e.openUserId})) || []
|
||||
this.form.ticket = res?.selectedTicket
|
||||
this.selectedUserCount = res.SelectResult.selectedUserCount
|
||||
this.clickedUserSelect = false
|
||||
}).catch(() => {
|
||||
this.clickedUserSelect = false
|
||||
|
||||
Reference in New Issue
Block a user