默认给个0
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<span v-if="tabIndex==0">{{ item.groupOwnerCount || 0 }}</span>
|
||||
<span v-else>{{ item.receiveExecutorCount || 0 }} </span>
|
||||
</span>名成员完成群发,目前已完成
|
||||
<span class="num">{{ item.completionRate }}%</span>
|
||||
<span class="num">{{ item.completionRate || 0}}%</span>
|
||||
</div>
|
||||
<div>
|
||||
创建部门:
|
||||
|
||||
@@ -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()
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user