This commit is contained in:
shijingjing
2023-03-01 09:29:36 +08:00
parent 37b74db75d
commit 6b576fbdfc
4 changed files with 15 additions and 9 deletions

View File

@@ -146,6 +146,8 @@ export default {
uni.removeStorageSync('ResidentTagsRemove')
uni.removeStorageSync('circleTags')
uni.removeStorageSync('circleTagsRemove')
uni.removeStorageSync('startTime')
uni.removeStorageSync('endTime')
this.$dict.load('mstStatus').then(() => {
this.getList()
})

View File

@@ -550,6 +550,8 @@ export default {
uni.removeStorageSync('ResidentTagsRemove')
uni.removeStorageSync('circleTags')
uni.removeStorageSync('circleTagsRemove')
uni.removeStorageSync('startTime')
uni.removeStorageSync('endTime')
},
getDeptUser() {

View File

@@ -121,7 +121,7 @@ export default {
uni.getSystemInfo({
success: (res)=>{
if(res.platform == "ios") {
this.firstClickTime = new Date(this.detail.remindTime.replace(/-/g, "/")).getTime() || 0
this.firstClickTime = new Date(this.detail.remindTime?.replace(/-/g, "/")).getTime() || 0
} else {
this.firstClickTime = new Date(this.detail.remindTime).getTime() || 0
}

View File

@@ -40,8 +40,10 @@ export default {
deptListIds: [],
wxGroups: [], // 居民群,居民,朋友圈
sex: '',
ResidentTags: [],
ResidentTagsRemove: [],
circleTags: '',
ResidentTags: '',
ResidentTagsRemove: '',
circleTagsRemove: '',
startTime: '',
endTime: '',
}
@@ -96,8 +98,8 @@ export default {
formData = {
filterCriteria: this.girdListIds.toString() || this.deptListIds.toString() || '',
sendScope: this.sendScope,
tags: this.ResidentTags.toString() || this.circleTags.toString() || '',
excludeTags: this.ResidentTagsRemove.toString() || this.circleTagsRemove.toString() || '',
tags: this.ResidentTags || this.circleTags || '',
excludeTags: this.ResidentTagsRemov || this.circleTagsRemove || '',
addFromTime: this.startTime,
addEndTime: this.endTime,
gender: this.sex,
@@ -140,11 +142,11 @@ export default {
this.sex = uni.getStorageSync('gender')
// 标签
if(this.sendType == 'Residents') {
this.ResidentTags = uni.getStorageSync('ResidentTags') // 居民包含
this.ResidentTagsRemove = uni.getStorageSync('ResidentTagsRemove') // 居民剔除
this.ResidentTags = uni.getStorageSync('ResidentTags').toString() // 居民包含
this.ResidentTagsRemove = uni.getStorageSync('ResidentTagsRemove').toString() // 居民剔除
} else if(this.sendType == 'CircleOfFriends') {
this.circleTags = uni.getStorageSync('circleTags') // 朋友圈包含
this.circleTagsRemove = uni.getStorageSync('circleTagsRemove') // 朋友圈剔除
this.circleTags = uni.getStorageSync('circleTags').toString() // 朋友圈包含
this.circleTagsRemove = uni.getStorageSync('circleTagsRemove').toString() // 朋友圈剔除
}
// 时间
this.startTime = uni.getStorageSync('startTime')