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