bug
This commit is contained in:
@@ -41,11 +41,11 @@
|
||||
<u-row justify="between" class="item" @click="handleSelectUser">
|
||||
<header><em>*</em>参会人</header>
|
||||
<div class="right">
|
||||
<template v-if="!selectedUserCount">
|
||||
<template v-if="!form.selectCount">
|
||||
<span>请选择</span>
|
||||
</template>
|
||||
<template v-else>
|
||||
已选择<em v-text="selectedUserCount"/>人
|
||||
已选择<em v-text="form.selectCount"/>人
|
||||
</template>
|
||||
<div class="right-arrow"></div>
|
||||
</div>
|
||||
@@ -115,6 +115,7 @@ export default {
|
||||
address: "",
|
||||
ticket: '',
|
||||
content: "",
|
||||
selectCount: 0,
|
||||
attendees: [],
|
||||
noticeBefore: 4,
|
||||
noticeAfter: 0,
|
||||
@@ -163,7 +164,7 @@ export default {
|
||||
methods: {
|
||||
...mapActions(['selectPrivilegedContact']),
|
||||
handleSelectUser() {
|
||||
// if (this.clickedUserSelect) return this.$u.toast("正在打开人员选择器")
|
||||
if (this.clickedUserSelect) return this.$u.toast("正在打开人员选择器")
|
||||
this.clickedUserSelect = true
|
||||
this.selectPrivilegedContact({
|
||||
fromDepartmentId: 0,
|
||||
@@ -172,7 +173,7 @@ export default {
|
||||
}).then(res => {
|
||||
this.form.attendees = res.userList?.map(e => ({id: e.openUserId})) || []
|
||||
this.form.ticket = res.selectedTicket || ""
|
||||
this.selectedUserCount = res.selectedUserCount
|
||||
this.form.selectCount = res.selectedUserCount
|
||||
this.clickedUserSelect = false
|
||||
}).catch(() => {
|
||||
this.clickedUserSelect = false
|
||||
|
||||
Reference in New Issue
Block a user