群发内容
@@ -108,6 +113,8 @@ export default { options: '', approver: [], //审批人 type: '', + resSum: 0, + cirSum: 0, } }, onLoad(o) { @@ -135,6 +142,8 @@ export default { this.webpage = res.data.contents.filter(v=> v.msgType == 4) this.miniapp = res.data.contents.filter(v=> v.msgType == 5) this.approver = res.data.examines + this.resSum = res.data.groupList.reduce((pre, cur) => pre + cur.customerCount, 0) + this.cirSum = res.data.executorList.reduce((pre, cur) => pre + cur.customerCount, 0) // if(res.data.status==1) { // 拒绝 // this.approver = res.data.examines.filter(e=> e.examineStatus == 2) // } else { // 通过 @@ -253,11 +262,11 @@ export default { .scope { display: flex; margin-bottom: 16px; - span:first-child { + & > span { width: 160px; color: #999; } - span:last-child { + & > div { width: calc(100% - 160px); } } diff --git a/src/project/huizhili/AppCooperationPropaganda/sendScoped.vue b/src/project/huizhili/AppCooperationPropaganda/sendScoped.vue index fe3ce47e..0065b012 100644 --- a/src/project/huizhili/AppCooperationPropaganda/sendScoped.vue +++ b/src/project/huizhili/AppCooperationPropaganda/sendScoped.vue @@ -60,7 +60,8 @@ export default { this.$loading() if(this.sendType == 'ResidentsGroup') { this.getWxGroups() - } else if(this.sendType == 'Residents' || this.sendType == 'CircleOfFriends') { + } + if(this.sendType == 'Residents' || this.sendType == 'CircleOfFriends') { this.getSendScope() } uni.setStorageSync('sendScope', this.sendScope)