diff --git a/project/sass/apps/Announce/AppAnnounce/components/Detail.vue b/project/sass/apps/Announce/AppAnnounce/components/Detail.vue index 54987b4f..07cc0051 100644 --- a/project/sass/apps/Announce/AppAnnounce/components/Detail.vue +++ b/project/sass/apps/Announce/AppAnnounce/components/Detail.vue @@ -79,19 +79,19 @@

计划执行成员

-

3,324

+

{{ memberInfo.planCount || 0 }}

未执行成员

-

3,324

+

{{ memberInfo.cannotExecuteCount || 0 }}

已执行成员

-

3,324

+

{{ memberInfo.executedCount || 0 }}

@@ -102,29 +102,29 @@
-

3,324

+

{{ memberInfo.unExecutedCount || 0 }}

+ @getList="getMemberInfo">
@@ -134,47 +134,47 @@

计划送达居民群

-

3,324

+

{{ groupInfo.planCount || 0 }}

未送达居民群

-

3,324

+

{{ groupInfo.planCount || 0 }}

已送达居民群

-

3,324

+

{{ groupInfo.planCount || 0 }}

无法送达居民群

-

3,324

+

{{ groupInfo.planCount || 0 }}

+ @getList="getGroupInfo">
@@ -196,7 +196,8 @@ data () { return { - total: 0, + total1: 0, + total2: 0, radio1: '未执行', search1: { current: 1, @@ -212,18 +213,24 @@ type: 1, sendStatus: '0' }, + memberInfo: {}, + groupInfo: {}, + tableData1: [], fileList: [], - tableData: [], + tableData2: [], info: {}, content: '', currIndex: 0, - colConfigs: [ - { prop: 'position', label: '任务名称' }, - { prop: 'mobile', label: '群发类型' }, - { prop: 'position', label: '创建人' }, - { prop: 'mobile', label: '群发时间' }, - { prop: 'position', label: '状态' }, - { prop: 'mobile', label: '任务完成率' } + colConfigs1: [ + { prop: 'groupOwnerId', label: '成员', openType: 'userName' }, + { prop: 'mainDepartment', label: '成员所属部门', openType: 'departmentName', align: 'center' }, + { prop: 'groupCount', label: '预计送达居民群', align: 'center' } + ], + colConfigs2: [ + { prop: 'groupName', label: '居民群' }, + { prop: 'memberCount', label: '群人数', align: 'center' }, + { prop: 'groupOwnerId', label: '群主', openType: 'userName', align: 'center' }, + { prop: 'mainDepartment', label: '群主所属部门', openType: 'departmentName', align: 'center' } ] } }, @@ -243,6 +250,17 @@ } }).then(res => { if (res.code === 0) { + this.tableData1 = res.data.executedList.records + this.total1 = res.data.executedList.total + this.memberInfo = res.data + } + }) + }, + + sendMsg (type) { + this.instance.post(`/app/appmasssendingtask/remindSend?id=${this.params.id}`).then(res => { + if (res.code === 0) { + this.$message.success('提醒成功') } }) }, @@ -255,6 +273,9 @@ } }).then(res => { if (res.code === 0) { + this.tableData2 = res.data.executedList.records + this.total2 = res.data.executedList.total + this.groupInfo = res.data } }) },