This commit is contained in:
shijingjing
2022-09-13 11:50:04 +08:00
parent 8fc6e0a3a7
commit 59c332152a
2 changed files with 18 additions and 11 deletions

View File

@@ -102,7 +102,7 @@ export default {
const removeTags = this.ResidentTagsRemove.join(',')
this.$http.post(`/app/whchatmomentstask/getCustomerGroups?sendScope=${this.sendScope}&addFromTime=${this.startTime}&addEndTime=${this.endTime}&gender=${this.sex}&filteTags=${tags}&excludeFilterTags=${removeTags}`,
{
filterCriteria: this.girdListIds.join(',') || this.deptListIds.join(',')
filterCriteria: this.girdListIds.join(',') || this.deptListIds.join(','),
}).then(res => {
if (res.code === 0) {
// this.groupList = res.data
@@ -112,10 +112,15 @@ export default {
}
})
},
// const array1 = [{name:'zs',num: 1},{name:'zls',num: 5},{name:'azs',num: 4}]
// const sum = array1.reduce((pre, cur) => pre + cur.num, 0)
// console.log(sum)
// 群发朋友圈
getCircleOfFriends() {
this.$http.post(`/app/whchatmomentstask/getExecutors?sendScope=${this.sendScope}`,
{
{
filterCriteria: this.girdListIds.join(',') || this.deptListIds.join(',')
}).then(res => {
if (res.code === 0) {
@@ -149,7 +154,6 @@ export default {
}
// 时间
this.startTime = uni.getStorageSync('startTime')
// console.log(this.startTime, '哈哈哈哈');
this.endTime = uni.getStorageSync('endTime')
// else if(this.sendType == 'CircleOfFriends') {
// this.circleTags = uni.getStorageSync('circleTags') // 朋友圈包含