BUG 25276

This commit is contained in:
aixianling
2021-12-08 09:17:01 +08:00
parent 040831a04b
commit d0a981a703

View File

@@ -126,6 +126,7 @@ export default {
files: [],
},
userSelect: false,
clickedUserSelect: false
}
},
created() {
@@ -159,12 +160,15 @@ export default {
methods: {
...mapActions(['selectEnterpriseContact']),
handleSelectUser() {
if (this.clickedUserSelect) return this.$u.toast("正在打开人员选择器")
this.clickedUserSelect = true
this.selectEnterpriseContact({
fromDepartmentId: 0,
type: ["user"],
selectedUserIds: this.form.attendees?.map(e => e.id)
}).then(res => {
this.change(res?.userList || [])
this.clickedUserSelect = false
})
},
fileList(e) {