console
This commit is contained in:
		| @@ -93,12 +93,13 @@ export default { | |||||||
|  |  | ||||||
|     getDeptUser() { |     getDeptUser() { | ||||||
|       this.selectEnterpriseContact({ |       this.selectEnterpriseContact({ | ||||||
|         fromDepartmentId: 0, |         fromDepartmentId: 0, // 从最上层开始 | ||||||
|         mode: "multi", |         mode: "multi",  // 多选 | ||||||
|         type: ["department"], |         type: ["department"],  // 选部门 | ||||||
|         selectedDepartmentIds: this.deptListArr?.map(e => e.id) |         selectedDepartmentIds: this.deptListArr?.map(e => e.id)  // 已选部门ID列表。用于多次选人时可重入 | ||||||
|       }).then((res)=>{ |       }).then((res)=>{ | ||||||
|           if(res?.userList) { |           if(res?.userList) { | ||||||
|  |             console.log(res,'企微通讯录'); | ||||||
|             this.deptListArr = res.userList |             this.deptListArr = res.userList | ||||||
|           } |           } | ||||||
|         } |         } | ||||||
| @@ -134,6 +135,7 @@ export default { | |||||||
|     // 网格或者部门 |     // 网格或者部门 | ||||||
|     this.selectedUser = uni.getStorageSync('girdSelect') || [] |     this.selectedUser = uni.getStorageSync('girdSelect') || [] | ||||||
|     this.deptListArr = uni.getStorageSync('deptList') || [] |     this.deptListArr = uni.getStorageSync('deptList') || [] | ||||||
|  |     console.log(this.deptListArr, 'deptListArr') | ||||||
|     // 添加时间 |     // 添加时间 | ||||||
|     this.startTime = uni.getStorageSync('startTime') |     this.startTime = uni.getStorageSync('startTime') | ||||||
|     this.endTime = uni.getStorageSync('endTime') |     this.endTime = uni.getStorageSync('endTime') | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user