群发居民群
This commit is contained in:
@@ -56,19 +56,14 @@ export default {
|
||||
},
|
||||
submit() {
|
||||
if(this.sendType == 'ResidentsGroup') {
|
||||
this.getWxGroups().then(()=>{
|
||||
setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
}, 600)
|
||||
})
|
||||
this.getWxGroups()
|
||||
} else if(this.sendType == 'Residents' || this.sendType == 'CircleOfFriends') {
|
||||
this.getSendScope().then(()=>{
|
||||
setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
}, 600)
|
||||
})
|
||||
this.getSendScope()
|
||||
}
|
||||
uni.setStorageSync('sendScope', this.sendScope)
|
||||
setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
}, 600)
|
||||
},
|
||||
// 群发居民群
|
||||
getWxGroups() {
|
||||
@@ -120,6 +115,7 @@ export default {
|
||||
},
|
||||
onShow() {
|
||||
this.sendScope = uni.getStorageSync('sendScope') || ''
|
||||
// 部门、网格
|
||||
const girdArr = uni.getStorageSync('girdSelect')
|
||||
if(girdArr.length) {
|
||||
this.girdListIds = girdArr.map(e=>e.id)
|
||||
@@ -128,6 +124,7 @@ export default {
|
||||
if(deptArr.length) {
|
||||
this.deptListIds = deptArr.map(v=>v.id)
|
||||
}
|
||||
// 性别
|
||||
this.sex = uni.getStorageSync('gender')
|
||||
// 标签
|
||||
if(this.sendType == 'Residents') {
|
||||
|
||||
Reference in New Issue
Block a user