群发范围调整
This commit is contained in:
@@ -20,7 +20,13 @@
|
|||||||
item.status == 3? 'status3':item.status==4? 'status4': 'status5'"></span>{{ $dict.getLabel('mstStatus', item.status) }}</div>
|
item.status == 3? 'status3':item.status==4? 'status4': 'status5'"></span>{{ $dict.getLabel('mstStatus', item.status) }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div>群发时间:<span>{{ item.choiceTime }}</span></div>
|
<div>群发时间:<span>{{ item.choiceTime }}</span></div>
|
||||||
<div>共需<span class="num">{{ item.groupOwnerCount || 0 }}</span>名成员完成群发,目前已完成<span class="num">{{ item.completionRate || 0 }}%</span></div>
|
<div>共需
|
||||||
|
<span class="num">
|
||||||
|
<span v-if="tabIndex==0">{{ item.groupOwnerCount || 0 }}</span>
|
||||||
|
<span v-else>{{ item.receiveExecutorCount || 0 }} </span>
|
||||||
|
</span>名成员完成群发,目前已完成
|
||||||
|
<span class="num">{{ item.completionRate }}%</span>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
创建部门:
|
创建部门:
|
||||||
<span v-if="item.createUserDeptName">{{ item.createUserDeptName }}</span>
|
<span v-if="item.createUserDeptName">{{ item.createUserDeptName }}</span>
|
||||||
|
|||||||
@@ -45,8 +45,13 @@
|
|||||||
<div class="info">
|
<div class="info">
|
||||||
<div class="scope">
|
<div class="scope">
|
||||||
<span>群发范围</span>
|
<span>群发范围</span>
|
||||||
<span v-if="data.sendScope==0">全部{{ data.receiveGroupCount || 0}}个居民群</span>
|
<div>
|
||||||
<span v-if="data.sendScope==1 || data.sendScope==2">按条件筛选的{{ data.receiveGroupCount || 0}}个居民群</span>
|
<span v-if="data.sendScope==0">全部</span><span v-if="data.sendScope==1 || data.sendScope==2">按条件筛选的</span>
|
||||||
|
<span v-if="type=='ResidentsGroup'">{{ data.receiveGroupCount || 0}}</span>
|
||||||
|
<span v-if="type=='Residents'">{{ resSum || 0}}</span>
|
||||||
|
<span v-if="type=='CircleOfFriends'">{{ cirSum || 0}}</span>
|
||||||
|
<span v-if="type=='ResidentsGroup'">个居民群</span><span v-if="type=='Residents'">个居民</span><span v-if="type=='CircleOfFriends'">个朋友圈</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>群发内容</p>
|
<p>群发内容</p>
|
||||||
@@ -108,6 +113,8 @@ export default {
|
|||||||
options: '',
|
options: '',
|
||||||
approver: [], //审批人
|
approver: [], //审批人
|
||||||
type: '',
|
type: '',
|
||||||
|
resSum: 0,
|
||||||
|
cirSum: 0,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(o) {
|
onLoad(o) {
|
||||||
@@ -135,6 +142,8 @@ export default {
|
|||||||
this.webpage = res.data.contents.filter(v=> v.msgType == 4)
|
this.webpage = res.data.contents.filter(v=> v.msgType == 4)
|
||||||
this.miniapp = res.data.contents.filter(v=> v.msgType == 5)
|
this.miniapp = res.data.contents.filter(v=> v.msgType == 5)
|
||||||
this.approver = res.data.examines
|
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) { // 拒绝
|
// if(res.data.status==1) { // 拒绝
|
||||||
// this.approver = res.data.examines.filter(e=> e.examineStatus == 2)
|
// this.approver = res.data.examines.filter(e=> e.examineStatus == 2)
|
||||||
// } else { // 通过
|
// } else { // 通过
|
||||||
@@ -253,11 +262,11 @@ export default {
|
|||||||
.scope {
|
.scope {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
span:first-child {
|
& > span {
|
||||||
width: 160px;
|
width: 160px;
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
span:last-child {
|
& > div {
|
||||||
width: calc(100% - 160px);
|
width: calc(100% - 160px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,7 +60,8 @@ export default {
|
|||||||
this.$loading()
|
this.$loading()
|
||||||
if(this.sendType == 'ResidentsGroup') {
|
if(this.sendType == 'ResidentsGroup') {
|
||||||
this.getWxGroups()
|
this.getWxGroups()
|
||||||
} else if(this.sendType == 'Residents' || this.sendType == 'CircleOfFriends') {
|
}
|
||||||
|
if(this.sendType == 'Residents' || this.sendType == 'CircleOfFriends') {
|
||||||
this.getSendScope()
|
this.getSendScope()
|
||||||
}
|
}
|
||||||
uni.setStorageSync('sendScope', this.sendScope)
|
uni.setStorageSync('sendScope', this.sendScope)
|
||||||
|
|||||||
Reference in New Issue
Block a user