群发居民群

This commit is contained in:
shijingjing
2022-09-08 16:05:19 +08:00
parent cd3d85fe12
commit 8960553ceb
5 changed files with 109 additions and 83 deletions

View File

@@ -108,26 +108,19 @@ export default {
this.endTime = e.endDate
},
submit() {
uni.setStorageSync('girdList',this.selectedUser)
uni.setStorageSync('deptList',this.deptListArr)
uni.navigateBack({
success: () => {
uni.$emit("girdList", this.selectedUser)
uni.$emit("deptList", this.deptListArr)
}
})
uni.navigateBack()
}
},
onLoad(o) {
this.type = o.type;
this.sendType = o.sendType;
document.title = this.type == 1? '按部门选择':'按网格选择'
uni.$on("pagePicker:custom", res => {
this.selectedUser = res
})
this.selectedUser = uni.getStorageSync('girdList')
this.deptListArr = uni.getStorageSync('deptList')
},
onShow() {
this.selectedUser = uni.getStorageSync('girdSelect')
this.deptListArr = uni.getStorageSync('deptList')
}
}
</script>