bug
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
<ai-info-item label="群发范围" isLine>
|
||||
<div class="text">
|
||||
<span>{{ info.sendScope === '0' ? '全部' : '按条件筛选的' }}</span>
|
||||
<i>{{ info.groupList.length }}</i>
|
||||
<i>{{ totalLength }}</i>
|
||||
<span>个居民</span>
|
||||
<em @click="isShowGroups = true">详情</em>
|
||||
</div>
|
||||
@@ -156,7 +156,7 @@
|
||||
<ai-info-item label="消息发送" isLine :value="info.taskTitle">
|
||||
<div class="text">
|
||||
<span>{{ info.sendScope === '0' ? '全部' : '按条件筛选的' }}</span>
|
||||
<i>{{ info.groupList.length }}</i>
|
||||
<i>{{ totalLength }}</i>
|
||||
<span>个居民</span>
|
||||
</div>
|
||||
</ai-info-item>
|
||||
@@ -216,7 +216,7 @@
|
||||
currIndex: 0,
|
||||
colConfigs1: [
|
||||
{ slot: 'user', label: '员工' },
|
||||
{ prop: 'groupCount', label: '预计送达居民', align: 'center' }
|
||||
{ prop: 'customerCount', label: '预计送达居民', align: 'center' }
|
||||
],
|
||||
groups: [],
|
||||
timer: null,
|
||||
@@ -228,7 +228,17 @@
|
||||
},
|
||||
|
||||
computed: {
|
||||
...mapState(['user'])
|
||||
...mapState(['user']),
|
||||
|
||||
totalLength () {
|
||||
if (!this.info.groupList) {
|
||||
return 0
|
||||
}
|
||||
|
||||
return this.info.groupList.map(v => v.customerCount).reduce((prev, cur) => {
|
||||
return prev + cur
|
||||
}, 0)
|
||||
}
|
||||
},
|
||||
|
||||
created () {
|
||||
|
||||
Reference in New Issue
Block a user