调试
This commit is contained in:
		| @@ -108,8 +108,6 @@ export default { | ||||
|   methods: { | ||||
|     ...mapActions(['selectPrivilegedContact']), | ||||
|     handleSelectUser() { | ||||
|       console.log(this.form.ticket) | ||||
|       console.log(this.form.persons) | ||||
|       if (this.clickedUserSelect) return this.$u.toast("正在打开人员选择器") | ||||
|       this.clickedUserSelect = true | ||||
|       this.selectPrivilegedContact({ | ||||
| @@ -117,16 +115,11 @@ export default { | ||||
|         selectedTickets: this.form.ticket ? [this.form.ticket] : [], | ||||
|         selectedOpenUserIds: this.form.persons ? 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.selectedUserCount | ||||
|         this.clickedUserSelect = false | ||||
|       }).catch(e => { | ||||
|         console.log('错误信息') | ||||
|         console.log(e) | ||||
|         this.clickedUserSelect = false | ||||
|       }) | ||||
|   | ||||
| @@ -363,6 +363,8 @@ const store = new Vuex.Store({ | ||||
|               mode: "multi", | ||||
|               ...params | ||||
|             }, res => { | ||||
|               console.log(111) | ||||
|               console.log(res) | ||||
|               if (res.err_msg == "selectPrivilegedContact:ok") { | ||||
|                 if (typeof res.result == 'string') { | ||||
|                   res.result = JSON.parse(res.result) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user