人员选择器需求调整
This commit is contained in:
@@ -105,16 +105,16 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
...mapActions(['selectEnterpriseContact']),
|
||||
...mapActions(['selectPrivilegedContact']),
|
||||
handleSelectUser() {
|
||||
if (this.clickedUserSelect) return this.$u.toast("正在打开人员选择器")
|
||||
this.clickedUserSelect = true
|
||||
this.selectEnterpriseContact({
|
||||
this.selectPrivilegedContact({
|
||||
fromDepartmentId: 0,
|
||||
type: ["user"],
|
||||
selectedUserIds: this.form.persons?.map(e => e.id)
|
||||
selectedOpenUserIds: this.form.persons?.map(e => e.id)
|
||||
}).then(res => {
|
||||
this.form.persons = res?.userList || []
|
||||
this.form.ticket = res?.selectedTicket
|
||||
this.clickedUserSelect = false
|
||||
}).catch(() => {
|
||||
this.clickedUserSelect = false
|
||||
|
||||
Reference in New Issue
Block a user