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('ResidentTagsRemove')
uni.removeStorageSync('circleTags') uni.removeStorageSync('circleTags')
uni.removeStorageSync('circleTagsRemove') uni.removeStorageSync('circleTagsRemove')
uni.removeStorageSync('startTime')
uni.removeStorageSync('endTime')
this.$dict.load('mstStatus').then(() => { this.$dict.load('mstStatus').then(() => {
this.getList() this.getList()
}) })

View File

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

View File

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

View File

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