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.executorList.length }}</i>
|
||||
<i>{{ totalLength }}</i>
|
||||
<span>个居民</span>
|
||||
<em @click="isShowGroups = true">详情</em>
|
||||
</div>
|
||||
@@ -144,7 +144,7 @@
|
||||
<ai-info-item label="消息发送" isLine :value="info.taskTitle">
|
||||
<div class="text">
|
||||
<span>{{ info.sendScope === '0' ? '全部' : '按条件筛选的' }}</span>
|
||||
<i>{{ info.executorList.length }}</i>
|
||||
<i>{{ totalLength }}</i>
|
||||
<span>个居民</span>
|
||||
</div>
|
||||
</ai-info-item>
|
||||
@@ -217,7 +217,17 @@
|
||||
},
|
||||
|
||||
computed: {
|
||||
...mapState(['user'])
|
||||
...mapState(['user']),
|
||||
|
||||
totalLength () {
|
||||
if (!this.info.executorList) {
|
||||
return 0
|
||||
}
|
||||
|
||||
return this.info.executorList.map(v => v.customerCount).reduce((prev, cur) => {
|
||||
return prev + cur
|
||||
}, 0)
|
||||
}
|
||||
},
|
||||
|
||||
created () {
|
||||
|
||||
Reference in New Issue
Block a user