This commit is contained in:
shijingjing
2023-03-02 10:21:07 +08:00
parent f846032a17
commit 2371c70e5d

View File

@@ -105,6 +105,7 @@ export default {
//由于目前各个终端尚未完全兼容需要开发者额外判断result类型以保证在各个终端的兼容性
}
this.deptListArr = res.result.departmentList
console.log(this.deptListArr, '111');
}
}).catch((err) => {
this.$u.toast(err)
@@ -122,6 +123,7 @@ export default {
this.endTime = e.endDate
},
submit() {
console.log(this.deptListArr, 'deptListArr')
uni.setStorageSync('gender',this.sex)
uni.setStorageSync('startTime', this.startTime)
uni.setStorageSync('endTime', this.endTime)
@@ -138,7 +140,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')