diff --git a/src/project/huizhili/AppCooperationPropaganda/AppCooperationPropagandaBeta.vue b/src/project/huizhili/AppCooperationPropaganda/AppCooperationPropagandaBeta.vue index fe5b4b3e..2c28a02e 100644 --- a/src/project/huizhili/AppCooperationPropaganda/AppCooperationPropagandaBeta.vue +++ b/src/project/huizhili/AppCooperationPropaganda/AppCooperationPropagandaBeta.vue @@ -25,7 +25,7 @@ {{ item.groupOwnerCount || 0 }} {{ item.receiveExecutorCount || 0 }} 名成员完成群发,目前已完成 - {{ item.completionRate }}% + {{ item.completionRate || 0}}%
创建部门: diff --git a/src/project/huizhili/AppCooperationPropaganda/sendScoped.vue b/src/project/huizhili/AppCooperationPropaganda/sendScoped.vue index 0065b012..14659872 100644 --- a/src/project/huizhili/AppCooperationPropaganda/sendScoped.vue +++ b/src/project/huizhili/AppCooperationPropaganda/sendScoped.vue @@ -32,7 +32,7 @@ export default { { name: '按网格选择', value: '2'} ], showContent: false, - sendType: '', + sendType: '', // Residents,CircleOfFriends,ResidentsGroup deptSelect: [], girdSelect: [], sendScope: 0, @@ -95,7 +95,7 @@ export default { sendScope: this.sendScope, taskType: this.sendType == 'Residents'? 1:0, } - } else if(this.sendScope == 1 || this.sendScope == 2) { + } else { let resTags='', cirTags='', resRemove='', cirRemove='' if(this.ResidentTags.length) { resTags = this.ResidentTags?.map(e=> e.id).toString() @@ -120,18 +120,12 @@ export default { } this.$http.post(`/app/whchatmomentstask/getSendScope`,{...formData}).then(res => { if (res.code === 0) { - if(this.sendType == 'Residents') { - this.wxGroups = res.data - } else if(this.sendType == 'CircleOfFriends') { - this.wxGroups = res.data - } + this.wxGroups = res.data uni.setStorageSync('wxGroupsUser', this.wxGroups) } }).then(()=> { uni.hideLoading() uni.navigateBack() - }).finally(()=> { - uni.hideLoading() }) } },