优化体验
This commit is contained in:
@@ -110,8 +110,9 @@ export default {
|
||||
methods: {
|
||||
...mapActions(['selectPrivilegedContact', 'wxInvoke']),
|
||||
handleSelectUser() {
|
||||
if (this.clickedUserSelect) return this.$u.toast("正在打开人员选择器")
|
||||
this.clickedUserSelect = true
|
||||
// if (this.clickedUserSelect) return this.$u.toast("正在打开人员选择器")
|
||||
// this.clickedUserSelect = true
|
||||
this.$loading()
|
||||
this.selectPrivilegedContact({
|
||||
fromDepartmentId: 0,
|
||||
selectedTickets: this.form.ticket ? [this.form.ticket] : [],
|
||||
@@ -123,13 +124,8 @@ export default {
|
||||
this.form.ticket = res.selectedTicket
|
||||
this.form.selectCount = res.selectedUserCount
|
||||
}).catch(e => {
|
||||
console.log(e)
|
||||
this.clickedUserSelect = false
|
||||
uni.hideLoading()
|
||||
})
|
||||
|
||||
setTimeout(() => {
|
||||
this.clickedUserSelect = false
|
||||
}, 2000)
|
||||
},
|
||||
confirm(e) {
|
||||
if (e.timestamp < (Date.now() / 1000) || 0) {
|
||||
|
||||
Reference in New Issue
Block a user